From b9e3972af37de673480352e751690828418c55c8 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Tue, 10 Sep 2024 14:43:24 +0100 Subject: [PATCH] Upgrade terraform-provider-auth0 to v1.6.0 (#643) This PR was generated via `$ upgrade-provider pulumi/pulumi-auth0 --kind=all --target-bridge-version=latest`. --- - Upgrading terraform-provider-auth0 from 1.5.0 to 1.6.0. Fixes #642 --- .../bridge-metadata.json | 61 ++ .../cmd/pulumi-resource-auth0/schema.json | 437 +++++++- provider/go.mod | 16 +- provider/go.sum | 40 +- sdk/dotnet/Client.cs | 18 + sdk/dotnet/GetClient.cs | 7 + sdk/dotnet/GetPromptScreenPartials.cs | 146 +++ .../Inputs/ClientDefaultOrganizationArgs.cs | 44 + .../ClientDefaultOrganizationGetArgs.cs | 44 + .../GetPromptScreenPartialsScreenPartial.cs | 34 + ...etPromptScreenPartialsScreenPartialArgs.cs | 34 + ...reenPartialsScreenPartialInsertionPoint.cs | 56 + ...PartialsScreenPartialInsertionPointArgs.cs | 56 + .../PromptScreenPartialInsertionPointsArgs.cs | 56 + ...omptScreenPartialInsertionPointsGetArgs.cs | 56 + .../PromptScreenPartialsScreenPartialArgs.cs | 29 + ...romptScreenPartialsScreenPartialGetArgs.cs | 29 + ...artialsScreenPartialInsertionPointsArgs.cs | 56 + ...ialsScreenPartialInsertionPointsGetArgs.cs | 56 + .../Outputs/ClientDefaultOrganization.cs | 42 + .../GetClientDefaultOrganizationResult.cs | 42 + ...rtialsScreenPartialInsertionPointResult.cs | 63 ++ ...PromptScreenPartialsScreenPartialResult.cs | 32 + .../PromptScreenPartialInsertionPoints.cs | 63 ++ .../PromptScreenPartialsScreenPartial.cs | 32 + ...eenPartialsScreenPartialInsertionPoints.cs | 63 ++ sdk/dotnet/PromptCustomText.cs | 6 +- sdk/dotnet/PromptPartials.cs | 9 +- sdk/dotnet/PromptScreenPartial.cs | 180 ++++ sdk/dotnet/PromptScreenPartials.cs | 170 +++ sdk/go/auth0/client.go | 15 + sdk/go/auth0/getClient.go | 7 + sdk/go/auth0/getPromptScreenPartials.go | 128 +++ sdk/go/auth0/init.go | 14 + sdk/go/auth0/promptCustomText.go | 12 +- sdk/go/auth0/promptPartials.go | 99 +- sdk/go/auth0/promptScreenPartial.go | 309 ++++++ sdk/go/auth0/promptScreenPartials.go | 288 +++++ sdk/go/auth0/pulumiTypes.go | 997 ++++++++++++++++++ .../java/com/pulumi/auth0/Auth0Functions.java | 171 +++ .../main/java/com/pulumi/auth0/Client.java | 15 + .../java/com/pulumi/auth0/ClientArgs.java | 38 + .../com/pulumi/auth0/PromptCustomText.java | 4 +- .../pulumi/auth0/PromptCustomTextArgs.java | 8 +- .../java/com/pulumi/auth0/PromptPartials.java | 35 +- .../com/pulumi/auth0/PromptPartialsArgs.java | 120 ++- .../com/pulumi/auth0/PromptScreenPartial.java | 188 ++++ .../pulumi/auth0/PromptScreenPartialArgs.java | 165 +++ .../pulumi/auth0/PromptScreenPartials.java | 170 +++ .../auth0/PromptScreenPartialsArgs.java | 110 ++ .../inputs/ClientDefaultOrganizationArgs.java | 169 +++ .../com/pulumi/auth0/inputs/ClientState.java | 38 + .../inputs/GetPromptScreenPartialsArgs.java | 136 +++ .../GetPromptScreenPartialsPlainArgs.java | 115 ++ .../GetPromptScreenPartialsScreenPartial.java | 96 ++ ...PromptScreenPartialsScreenPartialArgs.java | 111 ++ ...enPartialsScreenPartialInsertionPoint.java | 224 ++++ ...rtialsScreenPartialInsertionPointArgs.java | 285 +++++ .../auth0/inputs/PromptCustomTextState.java | 8 +- .../auth0/inputs/PromptPartialsState.java | 120 ++- ...romptScreenPartialInsertionPointsArgs.java | 268 +++++ .../inputs/PromptScreenPartialState.java | 158 +++ ...PromptScreenPartialsScreenPartialArgs.java | 106 ++ ...tialsScreenPartialInsertionPointsArgs.java | 268 +++++ .../inputs/PromptScreenPartialsState.java | 106 ++ .../outputs/ClientDefaultOrganization.java | 104 ++ .../outputs/GetClientDefaultOrganization.java | 109 ++ .../pulumi/auth0/outputs/GetClientResult.java | 27 + .../GetPromptScreenPartialsResult.java | 109 ++ .../GetPromptScreenPartialsScreenPartial.java | 78 ++ ...enPartialsScreenPartialInsertionPoint.java | 173 +++ .../PromptScreenPartialInsertionPoints.java | 162 +++ .../PromptScreenPartialsScreenPartial.java | 74 ++ ...nPartialsScreenPartialInsertionPoints.java | 162 +++ sdk/nodejs/client.ts | 14 + sdk/nodejs/getClient.ts | 4 + sdk/nodejs/getPromptScreenPartials.ts | 93 ++ sdk/nodejs/index.ts | 21 + sdk/nodejs/promptCustomText.ts | 6 +- sdk/nodejs/promptPartials.ts | 51 +- sdk/nodejs/promptScreenPartial.ts | 161 +++ sdk/nodejs/promptScreenPartials.ts | 138 +++ sdk/nodejs/tsconfig.json | 3 + sdk/nodejs/types/input.ts | 147 +++ sdk/nodejs/types/output.ts | 127 +++ sdk/python/pulumi_auth0/__init__.py | 19 + sdk/python/pulumi_auth0/_inputs.py | 430 ++++++++ sdk/python/pulumi_auth0/client.py | 47 + sdk/python/pulumi_auth0/get_client.py | 15 +- .../get_prompt_screen_partials.py | 124 +++ sdk/python/pulumi_auth0/outputs.py | 461 ++++++++ sdk/python/pulumi_auth0/prompt_custom_text.py | 14 +- sdk/python/pulumi_auth0/prompt_partials.py | 83 +- .../pulumi_auth0/prompt_screen_partial.py | 323 ++++++ .../pulumi_auth0/prompt_screen_partials.py | 268 +++++ upstream | 2 +- 96 files changed, 10514 insertions(+), 113 deletions(-) create mode 100644 sdk/dotnet/GetPromptScreenPartials.cs create mode 100644 sdk/dotnet/Inputs/ClientDefaultOrganizationArgs.cs create mode 100644 sdk/dotnet/Inputs/ClientDefaultOrganizationGetArgs.cs create mode 100644 sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartial.cs create mode 100644 sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialArgs.cs create mode 100644 sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.cs create mode 100644 sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.cs create mode 100644 sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsArgs.cs create mode 100644 sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsGetArgs.cs create mode 100644 sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialArgs.cs create mode 100644 sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialGetArgs.cs create mode 100644 sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.cs create mode 100644 sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsGetArgs.cs create mode 100644 sdk/dotnet/Outputs/ClientDefaultOrganization.cs create mode 100644 sdk/dotnet/Outputs/GetClientDefaultOrganizationResult.cs create mode 100644 sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialInsertionPointResult.cs create mode 100644 sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialResult.cs create mode 100644 sdk/dotnet/Outputs/PromptScreenPartialInsertionPoints.cs create mode 100644 sdk/dotnet/Outputs/PromptScreenPartialsScreenPartial.cs create mode 100644 sdk/dotnet/Outputs/PromptScreenPartialsScreenPartialInsertionPoints.cs create mode 100644 sdk/dotnet/PromptScreenPartial.cs create mode 100644 sdk/dotnet/PromptScreenPartials.cs create mode 100644 sdk/go/auth0/getPromptScreenPartials.go create mode 100644 sdk/go/auth0/promptScreenPartial.go create mode 100644 sdk/go/auth0/promptScreenPartials.go create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartial.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartials.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientDefaultOrganizationArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartial.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialInsertionPointsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialState.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsState.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientDefaultOrganization.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientDefaultOrganization.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartial.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialInsertionPoints.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartial.java create mode 100644 sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartialInsertionPoints.java create mode 100644 sdk/nodejs/getPromptScreenPartials.ts create mode 100644 sdk/nodejs/promptScreenPartial.ts create mode 100644 sdk/nodejs/promptScreenPartials.ts create mode 100644 sdk/python/pulumi_auth0/get_prompt_screen_partials.py create mode 100644 sdk/python/pulumi_auth0/prompt_screen_partial.py create mode 100644 sdk/python/pulumi_auth0/prompt_screen_partials.py diff --git a/provider/cmd/pulumi-resource-auth0/bridge-metadata.json b/provider/cmd/pulumi-resource-auth0/bridge-metadata.json index c0636015..42dd33db 100644 --- a/provider/cmd/pulumi-resource-auth0/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-auth0/bridge-metadata.json @@ -265,6 +265,16 @@ "client_aliases": { "maxItemsOne": false }, + "default_organization": { + "maxItemsOne": true, + "elem": { + "fields": { + "flows": { + "maxItemsOne": false + } + } + } + }, "grant_types": { "maxItemsOne": false }, @@ -716,6 +726,31 @@ "current": "auth0:index/promptPartials:PromptPartials", "majorVersion": 3 }, + "auth0_prompt_screen_partial": { + "current": "auth0:index/promptScreenPartial:PromptScreenPartial", + "majorVersion": 3, + "fields": { + "insertion_points": { + "maxItemsOne": true + } + } + }, + "auth0_prompt_screen_partials": { + "current": "auth0:index/promptScreenPartials:PromptScreenPartials", + "majorVersion": 3, + "fields": { + "screen_partials": { + "maxItemsOne": false, + "elem": { + "fields": { + "insertion_points": { + "maxItemsOne": true + } + } + } + } + } + }, "auth0_resource_server": { "current": "auth0:index/resourceServer:ResourceServer", "majorVersion": 3 @@ -1092,6 +1127,16 @@ "client_aliases": { "maxItemsOne": false }, + "default_organization": { + "maxItemsOne": false, + "elem": { + "fields": { + "flows": { + "maxItemsOne": false + } + } + } + }, "grant_types": { "maxItemsOne": false }, @@ -1366,6 +1411,22 @@ } } }, + "auth0_prompt_screen_partials": { + "current": "auth0:index/getPromptScreenPartials:getPromptScreenPartials", + "majorVersion": 3, + "fields": { + "screen_partials": { + "maxItemsOne": false, + "elem": { + "fields": { + "insertion_points": { + "maxItemsOne": false + } + } + } + } + } + }, "auth0_resource_server": { "current": "auth0:index/getResourceServer:getResourceServer", "majorVersion": 3, diff --git a/provider/cmd/pulumi-resource-auth0/schema.json b/provider/cmd/pulumi-resource-auth0/schema.json index 96e09517..8a165301 100644 --- a/provider/cmd/pulumi-resource-auth0/schema.json +++ b/provider/cmd/pulumi-resource-auth0/schema.json @@ -1388,6 +1388,26 @@ } } }, + "auth0:index/ClientDefaultOrganization:ClientDefaultOrganization": { + "properties": { + "disable": { + "type": "boolean", + "description": "If set, the `default_organization` will be removed.\n" + }, + "flows": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Definition of the flow that needs to be configured. Eg. client_credentials\n" + }, + "organizationId": { + "type": "string", + "description": "The unique identifier of the organization\n" + } + }, + "type": "object" + }, "auth0:index/ClientJwtConfiguration:ClientJwtConfiguration": { "properties": { "alg": { @@ -3103,6 +3123,80 @@ "html" ] }, + "auth0:index/PromptScreenPartialInsertionPoints:PromptScreenPartialInsertionPoints": { + "properties": { + "formContentEnd": { + "type": "string", + "description": "Content that goes at the end of the form.\n" + }, + "formContentStart": { + "type": "string", + "description": "Content that goes at the start of the form.\n" + }, + "formFooterEnd": { + "type": "string", + "description": "Footer content for the end of the footer.\n" + }, + "formFooterStart": { + "type": "string", + "description": "Footer content for the start of the footer.\n" + }, + "secondaryActionsEnd": { + "type": "string", + "description": "Actions that go at the end of secondary actions.\n" + }, + "secondaryActionsStart": { + "type": "string", + "description": "Actions that go at the start of secondary actions.\n" + } + }, + "type": "object" + }, + "auth0:index/PromptScreenPartialsScreenPartial:PromptScreenPartialsScreenPartial": { + "properties": { + "insertionPoints": { + "$ref": "#/types/auth0:index/PromptScreenPartialsScreenPartialInsertionPoints:PromptScreenPartialsScreenPartialInsertionPoints" + }, + "screenName": { + "type": "string", + "description": "The name of the screen associated with the partials\n" + } + }, + "type": "object", + "required": [ + "insertionPoints", + "screenName" + ] + }, + "auth0:index/PromptScreenPartialsScreenPartialInsertionPoints:PromptScreenPartialsScreenPartialInsertionPoints": { + "properties": { + "formContentEnd": { + "type": "string", + "description": "Content that goes at the end of the form.\n" + }, + "formContentStart": { + "type": "string", + "description": "Content that goes at the start of the form.\n" + }, + "formFooterEnd": { + "type": "string", + "description": "Footer content for the end of the footer.\n" + }, + "formFooterStart": { + "type": "string", + "description": "Footer content for the start of the footer.\n" + }, + "secondaryActionsEnd": { + "type": "string", + "description": "Actions that go at the end of secondary actions.\n" + }, + "secondaryActionsStart": { + "type": "string", + "description": "Actions that go at the start of secondary actions.\n" + } + }, + "type": "object" + }, "auth0:index/ResourceServerScopesScope:ResourceServerScopesScope": { "properties": { "description": { @@ -5111,6 +5205,36 @@ } } }, + "auth0:index/getClientDefaultOrganization:getClientDefaultOrganization": { + "properties": { + "disable": { + "type": "boolean", + "description": "If set, the `default_organization` will be removed.\n" + }, + "flows": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Definition of the flow that needs to be configured. Eg. client_credentials\n" + }, + "organizationId": { + "type": "string", + "description": "The unique identifier of the organization\n" + } + }, + "type": "object", + "required": [ + "disable", + "flows", + "organizationId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "auth0:index/getClientJwtConfiguration:getClientJwtConfiguration": { "properties": { "alg": { @@ -6734,6 +6858,72 @@ } } }, + "auth0:index/getPromptScreenPartialsScreenPartial:getPromptScreenPartialsScreenPartial": { + "properties": { + "insertionPoints": { + "type": "array", + "items": { + "$ref": "#/types/auth0:index/getPromptScreenPartialsScreenPartialInsertionPoint:getPromptScreenPartialsScreenPartialInsertionPoint" + } + }, + "screenName": { + "type": "string", + "description": "The name of the screen associated with the partials\n" + } + }, + "type": "object", + "required": [ + "insertionPoints", + "screenName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "auth0:index/getPromptScreenPartialsScreenPartialInsertionPoint:getPromptScreenPartialsScreenPartialInsertionPoint": { + "properties": { + "formContentEnd": { + "type": "string", + "description": "Content that goes at the end of the form.\n" + }, + "formContentStart": { + "type": "string", + "description": "Content that goes at the start of the form.\n" + }, + "formFooterEnd": { + "type": "string", + "description": "Footer content for the end of the footer.\n" + }, + "formFooterStart": { + "type": "string", + "description": "Footer content for the start of the footer.\n" + }, + "secondaryActionsEnd": { + "type": "string", + "description": "Actions that go at the end of secondary actions.\n" + }, + "secondaryActionsStart": { + "type": "string", + "description": "Actions that go at the start of secondary actions.\n" + } + }, + "type": "object", + "required": [ + "formContentEnd", + "formContentStart", + "formFooterEnd", + "formFooterStart", + "secondaryActionsEnd", + "secondaryActionsStart" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "auth0:index/getResourceServerScope:getResourceServerScope": { "properties": { "description": { @@ -7598,6 +7788,10 @@ "type": "boolean", "description": "Indicates whether a custom login page is to be used.\n" }, + "defaultOrganization": { + "$ref": "#/types/auth0:index/ClientDefaultOrganization:ClientDefaultOrganization", + "description": "Configure and associate an organization with the Client\n" + }, "description": { "type": "string", "description": "Description of the purpose of the client.\n", @@ -7710,6 +7904,7 @@ "required": [ "clientId", "customLoginPageOn", + "defaultOrganization", "description", "grantTypes", "isFirstParty", @@ -7789,6 +7984,10 @@ "type": "boolean", "description": "Indicates whether a custom login page is to be used.\n" }, + "defaultOrganization": { + "$ref": "#/types/auth0:index/ClientDefaultOrganization:ClientDefaultOrganization", + "description": "Configure and associate an organization with the Client\n" + }, "description": { "type": "string", "description": "Description of the purpose of the client.\n", @@ -7960,6 +8159,10 @@ "type": "boolean", "description": "Indicates whether a custom login page is to be used.\n" }, + "defaultOrganization": { + "$ref": "#/types/auth0:index/ClientDefaultOrganization:ClientDefaultOrganization", + "description": "Configure and associate an organization with the Client\n" + }, "description": { "type": "string", "description": "Description of the purpose of the client.\n", @@ -9953,7 +10156,7 @@ }, "language": { "type": "string", - "description": "Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`.\n" + "description": "Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`.\n" }, "prompt": { "type": "string", @@ -9972,7 +10175,7 @@ }, "language": { "type": "string", - "description": "Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`.\n" + "description": "Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`.\n" }, "prompt": { "type": "string", @@ -9993,7 +10196,7 @@ }, "language": { "type": "string", - "description": "Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`.\n" + "description": "Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`.\n" }, "prompt": { "type": "string", @@ -10004,35 +10207,42 @@ } }, "auth0:index/promptPartials:PromptPartials": { - "description": "With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as auth0 from \"@pulumi/auth0\";\n\nconst myLoginPromptPartials = new auth0.PromptPartials(\"my_login_prompt_partials\", {\n prompt: \"login\",\n formContentStart: \"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\",\n formContentEnd: \"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\",\n formFooterStart: \"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\",\n formFooterEnd: \"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\",\n secondaryActionsStart: \"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\",\n secondaryActionsEnd: \"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_auth0 as auth0\n\nmy_login_prompt_partials = auth0.PromptPartials(\"my_login_prompt_partials\",\n prompt=\"login\",\n form_content_start=\"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\",\n form_content_end=\"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\",\n form_footer_start=\"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\",\n form_footer_end=\"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\",\n secondary_actions_start=\"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\",\n secondary_actions_end=\"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Auth0 = Pulumi.Auth0;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myLoginPromptPartials = new Auth0.PromptPartials(\"my_login_prompt_partials\", new()\n {\n Prompt = \"login\",\n FormContentStart = \"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\",\n FormContentEnd = \"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\",\n FormFooterStart = \"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\",\n FormFooterEnd = \"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\",\n SecondaryActionsStart = \"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\",\n SecondaryActionsEnd = \"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth0.NewPromptPartials(ctx, \"my_login_prompt_partials\", \u0026auth0.PromptPartialsArgs{\n\t\t\tPrompt: pulumi.String(\"login\"),\n\t\t\tFormContentStart: pulumi.String(\"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\"),\n\t\t\tFormContentEnd: pulumi.String(\"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\"),\n\t\t\tFormFooterStart: pulumi.String(\"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\"),\n\t\t\tFormFooterEnd: pulumi.String(\"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\"),\n\t\t\tSecondaryActionsStart: pulumi.String(\"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\"),\n\t\t\tSecondaryActionsEnd: pulumi.String(\"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.auth0.PromptPartials;\nimport com.pulumi.auth0.PromptPartialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var myLoginPromptPartials = new PromptPartials(\"myLoginPromptPartials\", PromptPartialsArgs.builder()\n .prompt(\"login\")\n .formContentStart(\"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\")\n .formContentEnd(\"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\")\n .formFooterStart(\"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\")\n .formFooterEnd(\"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\")\n .secondaryActionsStart(\"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\")\n .secondaryActionsEnd(\"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myLoginPromptPartials:\n type: auth0:PromptPartials\n name: my_login_prompt_partials\n properties:\n prompt: login\n formContentStart: \u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\n formContentEnd: \u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\n formFooterStart: \u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\n formFooterEnd: \u003cdiv\u003eUpdated Footer End\u003c/div\u003e\n secondaryActionsStart: \u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\n secondaryActionsEnd: \u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported using the prompt name.\n\n#\n\nExample:\n\n```sh\n$ pulumi import auth0:index/promptPartials:PromptPartials my_login_prompt_partials \"login\"\n```\n\n", + "description": "With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts).\n\n!\u003e **Deprecated:** `auth0.PromptPartials` has been deprecated. Please use `auth0.PromptScreenPartials` for managing multiple\nprompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as auth0 from \"@pulumi/auth0\";\n\nconst myLoginPromptPartials = new auth0.PromptPartials(\"my_login_prompt_partials\", {\n prompt: \"login\",\n formContentStart: \"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\",\n formContentEnd: \"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\",\n formFooterStart: \"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\",\n formFooterEnd: \"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\",\n secondaryActionsStart: \"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\",\n secondaryActionsEnd: \"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_auth0 as auth0\n\nmy_login_prompt_partials = auth0.PromptPartials(\"my_login_prompt_partials\",\n prompt=\"login\",\n form_content_start=\"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\",\n form_content_end=\"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\",\n form_footer_start=\"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\",\n form_footer_end=\"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\",\n secondary_actions_start=\"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\",\n secondary_actions_end=\"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Auth0 = Pulumi.Auth0;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var myLoginPromptPartials = new Auth0.PromptPartials(\"my_login_prompt_partials\", new()\n {\n Prompt = \"login\",\n FormContentStart = \"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\",\n FormContentEnd = \"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\",\n FormFooterStart = \"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\",\n FormFooterEnd = \"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\",\n SecondaryActionsStart = \"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\",\n SecondaryActionsEnd = \"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth0.NewPromptPartials(ctx, \"my_login_prompt_partials\", \u0026auth0.PromptPartialsArgs{\n\t\t\tPrompt: pulumi.String(\"login\"),\n\t\t\tFormContentStart: pulumi.String(\"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\"),\n\t\t\tFormContentEnd: pulumi.String(\"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\"),\n\t\t\tFormFooterStart: pulumi.String(\"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\"),\n\t\t\tFormFooterEnd: pulumi.String(\"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\"),\n\t\t\tSecondaryActionsStart: pulumi.String(\"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\"),\n\t\t\tSecondaryActionsEnd: pulumi.String(\"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.auth0.PromptPartials;\nimport com.pulumi.auth0.PromptPartialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var myLoginPromptPartials = new PromptPartials(\"myLoginPromptPartials\", PromptPartialsArgs.builder()\n .prompt(\"login\")\n .formContentStart(\"\u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\")\n .formContentEnd(\"\u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\")\n .formFooterStart(\"\u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\")\n .formFooterEnd(\"\u003cdiv\u003eUpdated Footer End\u003c/div\u003e\")\n .secondaryActionsStart(\"\u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\")\n .secondaryActionsEnd(\"\u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myLoginPromptPartials:\n type: auth0:PromptPartials\n name: my_login_prompt_partials\n properties:\n prompt: login\n formContentStart: \u003cdiv\u003eUpdated Form Content Start\u003c/div\u003e\n formContentEnd: \u003cdiv\u003eUpdated Form Content End\u003c/div\u003e\n formFooterStart: \u003cdiv\u003eUpdated Footer Start\u003c/div\u003e\n formFooterEnd: \u003cdiv\u003eUpdated Footer End\u003c/div\u003e\n secondaryActionsStart: \u003cdiv\u003eUpdated Secondary Actions Start\u003c/div\u003e\n secondaryActionsEnd: \u003cdiv\u003eUpdated Secondary Actions End\u003c/div\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported using the prompt name.\n\n#\n\nExample:\n\n```sh\n$ pulumi import auth0:index/promptPartials:PromptPartials my_login_prompt_partials \"login\"\n```\n\n", "properties": { "formContentEnd": { "type": "string", - "description": "Content that goes at the end of the form.\n" + "description": "Content that goes at the end of the form.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "formContentStart": { "type": "string", - "description": "Content that goes at the start of the form.\n" + "description": "Content that goes at the start of the form.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "formFooterEnd": { "type": "string", - "description": "Footer content for the end of the footer.\n" + "description": "Footer content for the end of the footer.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "formFooterStart": { "type": "string", - "description": "Footer content for the start of the footer.\n" + "description": "Footer content for the start of the footer.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "prompt": { "type": "string", - "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`.\n" + "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "secondaryActionsEnd": { "type": "string", - "description": "Actions that go at the end of secondary actions.\n" + "description": "Actions that go at the end of secondary actions.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "secondaryActionsStart": { "type": "string", - "description": "Actions that go at the start of secondary actions.\n" + "description": "Actions that go at the start of secondary actions.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." } }, "required": [ @@ -10041,31 +10251,38 @@ "inputProperties": { "formContentEnd": { "type": "string", - "description": "Content that goes at the end of the form.\n" + "description": "Content that goes at the end of the form.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "formContentStart": { "type": "string", - "description": "Content that goes at the start of the form.\n" + "description": "Content that goes at the start of the form.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "formFooterEnd": { "type": "string", - "description": "Footer content for the end of the footer.\n" + "description": "Footer content for the end of the footer.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "formFooterStart": { "type": "string", - "description": "Footer content for the start of the footer.\n" + "description": "Footer content for the start of the footer.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "prompt": { "type": "string", - "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`.\n" + "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "secondaryActionsEnd": { "type": "string", - "description": "Actions that go at the end of secondary actions.\n" + "description": "Actions that go at the end of secondary actions.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "secondaryActionsStart": { "type": "string", - "description": "Actions that go at the start of secondary actions.\n" + "description": "Actions that go at the start of secondary actions.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." } }, "requiredInputs": [ @@ -10076,31 +10293,144 @@ "properties": { "formContentEnd": { "type": "string", - "description": "Content that goes at the end of the form.\n" + "description": "Content that goes at the end of the form.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "formContentStart": { "type": "string", - "description": "Content that goes at the start of the form.\n" + "description": "Content that goes at the start of the form.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "formFooterEnd": { "type": "string", - "description": "Footer content for the end of the footer.\n" + "description": "Footer content for the end of the footer.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "formFooterStart": { "type": "string", - "description": "Footer content for the start of the footer.\n" + "description": "Footer content for the start of the footer.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "prompt": { "type": "string", - "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`.\n" + "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "secondaryActionsEnd": { "type": "string", - "description": "Actions that go at the end of secondary actions.\n" + "description": "Actions that go at the end of secondary actions.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." }, "secondaryActionsStart": { "type": "string", - "description": "Actions that go at the start of secondary actions.\n" + "description": "Actions that go at the start of secondary actions.\n", + "deprecationMessage": "This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case." + } + }, + "type": "object" + } + }, + "auth0:index/promptScreenPartial:PromptScreenPartial": { + "description": "With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts).\n\n!\u003e This resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow.\n In contrast, the `auth0.PromptScreenPartials` resource manages the complete set of prompt screens that are displayed during the\n authentication flow. To avoid potential issues, it is recommended not to use this resource in conjunction with the\n `auth0.PromptScreenPartials` resource when managing prompt screens for the same prompt.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as auth0 from \"@pulumi/auth0\";\n\nconst login = new auth0.PromptScreenPartial(\"login\", {\n promptType: \"login\",\n screenName: \"login\",\n insertionPoints: {\n formContentStart: \"\u003cdiv\u003eForm Content Start\u003c/div\u003e\",\n formContentEnd: \"\u003cdiv\u003eForm Content End\u003c/div\u003e\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_auth0 as auth0\n\nlogin = auth0.PromptScreenPartial(\"login\",\n prompt_type=\"login\",\n screen_name=\"login\",\n insertion_points={\n \"form_content_start\": \"\u003cdiv\u003eForm Content Start\u003c/div\u003e\",\n \"form_content_end\": \"\u003cdiv\u003eForm Content End\u003c/div\u003e\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Auth0 = Pulumi.Auth0;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var login = new Auth0.PromptScreenPartial(\"login\", new()\n {\n PromptType = \"login\",\n ScreenName = \"login\",\n InsertionPoints = new Auth0.Inputs.PromptScreenPartialInsertionPointsArgs\n {\n FormContentStart = \"\u003cdiv\u003eForm Content Start\u003c/div\u003e\",\n FormContentEnd = \"\u003cdiv\u003eForm Content End\u003c/div\u003e\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth0.NewPromptScreenPartial(ctx, \"login\", \u0026auth0.PromptScreenPartialArgs{\n\t\t\tPromptType: pulumi.String(\"login\"),\n\t\t\tScreenName: pulumi.String(\"login\"),\n\t\t\tInsertionPoints: \u0026auth0.PromptScreenPartialInsertionPointsArgs{\n\t\t\t\tFormContentStart: pulumi.String(\"\u003cdiv\u003eForm Content Start\u003c/div\u003e\"),\n\t\t\t\tFormContentEnd: pulumi.String(\"\u003cdiv\u003eForm Content End\u003c/div\u003e\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.auth0.PromptScreenPartial;\nimport com.pulumi.auth0.PromptScreenPartialArgs;\nimport com.pulumi.auth0.inputs.PromptScreenPartialInsertionPointsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var login = new PromptScreenPartial(\"login\", PromptScreenPartialArgs.builder()\n .promptType(\"login\")\n .screenName(\"login\")\n .insertionPoints(PromptScreenPartialInsertionPointsArgs.builder()\n .formContentStart(\"\u003cdiv\u003eForm Content Start\u003c/div\u003e\")\n .formContentEnd(\"\u003cdiv\u003eForm Content End\u003c/div\u003e\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n login:\n type: auth0:PromptScreenPartial\n properties:\n promptType: login\n screenName: login\n insertionPoints:\n formContentStart: \u003cdiv\u003eForm Content Start\u003c/div\u003e\n formContentEnd: \u003cdiv\u003eForm Content End\u003c/div\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported using the prompt name and screen_name.\n\n#\n\nAs this is not a resource identifiable by an ID within the Auth0 Management API,\n\nlogin can be imported using the prompt name and screen name using the format:\n\nprompt_name:screen_name\n\n#\n\nExample:\n\n```sh\n$ pulumi import auth0:index/promptScreenPartial:PromptScreenPartial login \"login:login\"\n```\n\n", + "properties": { + "insertionPoints": { + "$ref": "#/types/auth0:index/PromptScreenPartialInsertionPoints:PromptScreenPartialInsertionPoints", + "description": "The insertion points for the partials.\n" + }, + "promptType": { + "type": "string", + "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`.\n" + }, + "screenName": { + "type": "string", + "description": "The name of the screen associated with the partials\n" + } + }, + "required": [ + "promptType", + "screenName" + ], + "inputProperties": { + "insertionPoints": { + "$ref": "#/types/auth0:index/PromptScreenPartialInsertionPoints:PromptScreenPartialInsertionPoints", + "description": "The insertion points for the partials.\n" + }, + "promptType": { + "type": "string", + "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`.\n" + }, + "screenName": { + "type": "string", + "description": "The name of the screen associated with the partials\n" + } + }, + "requiredInputs": [ + "promptType", + "screenName" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering PromptScreenPartial resources.\n", + "properties": { + "insertionPoints": { + "$ref": "#/types/auth0:index/PromptScreenPartialInsertionPoints:PromptScreenPartialInsertionPoints", + "description": "The insertion points for the partials.\n" + }, + "promptType": { + "type": "string", + "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`.\n" + }, + "screenName": { + "type": "string", + "description": "The name of the screen associated with the partials\n" + } + }, + "type": "object" + } + }, + "auth0:index/promptScreenPartials:PromptScreenPartials": { + "description": "With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts).\n\n!\u003e This resource manages the entire set of prompt screens enabled for a prompt. In contrast, the `auth0.PromptScreenPartial`\nresource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow.\n To avoid potential issues, it is recommended not to use this resource in conjunction with the `auth0.PromptScreenPartial`\n resource when managing prompt screens for the same prompt.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as auth0 from \"@pulumi/auth0\";\n\nconst promptScreenPartials = new auth0.PromptScreenPartials(\"prompt_screen_partials\", {\n promptType: \"login-passwordless\",\n screenPartials: [\n {\n screenName: \"login-passwordless-email-code\",\n insertionPoints: {\n formContentStart: \"\u003cdiv\u003eForm Content Start\u003c/div\u003e\",\n formContentEnd: \"\u003cdiv\u003eForm Content End\u003c/div\u003e\",\n },\n },\n {\n screenName: \"login-passwordless-sms-otp\",\n insertionPoints: {\n formContentStart: \"\u003cdiv\u003eForm Content Start\u003c/div\u003e\",\n formContentEnd: \"\u003cdiv\u003eForm Content End\u003c/div\u003e\",\n },\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_auth0 as auth0\n\nprompt_screen_partials = auth0.PromptScreenPartials(\"prompt_screen_partials\",\n prompt_type=\"login-passwordless\",\n screen_partials=[\n {\n \"screen_name\": \"login-passwordless-email-code\",\n \"insertion_points\": {\n \"form_content_start\": \"\u003cdiv\u003eForm Content Start\u003c/div\u003e\",\n \"form_content_end\": \"\u003cdiv\u003eForm Content End\u003c/div\u003e\",\n },\n },\n {\n \"screen_name\": \"login-passwordless-sms-otp\",\n \"insertion_points\": {\n \"form_content_start\": \"\u003cdiv\u003eForm Content Start\u003c/div\u003e\",\n \"form_content_end\": \"\u003cdiv\u003eForm Content End\u003c/div\u003e\",\n },\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Auth0 = Pulumi.Auth0;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var promptScreenPartials = new Auth0.PromptScreenPartials(\"prompt_screen_partials\", new()\n {\n PromptType = \"login-passwordless\",\n ScreenPartials = new[]\n {\n new Auth0.Inputs.PromptScreenPartialsScreenPartialArgs\n {\n ScreenName = \"login-passwordless-email-code\",\n InsertionPoints = new Auth0.Inputs.PromptScreenPartialsScreenPartialInsertionPointsArgs\n {\n FormContentStart = \"\u003cdiv\u003eForm Content Start\u003c/div\u003e\",\n FormContentEnd = \"\u003cdiv\u003eForm Content End\u003c/div\u003e\",\n },\n },\n new Auth0.Inputs.PromptScreenPartialsScreenPartialArgs\n {\n ScreenName = \"login-passwordless-sms-otp\",\n InsertionPoints = new Auth0.Inputs.PromptScreenPartialsScreenPartialInsertionPointsArgs\n {\n FormContentStart = \"\u003cdiv\u003eForm Content Start\u003c/div\u003e\",\n FormContentEnd = \"\u003cdiv\u003eForm Content End\u003c/div\u003e\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth0.NewPromptScreenPartials(ctx, \"prompt_screen_partials\", \u0026auth0.PromptScreenPartialsArgs{\n\t\t\tPromptType: pulumi.String(\"login-passwordless\"),\n\t\t\tScreenPartials: auth0.PromptScreenPartialsScreenPartialArray{\n\t\t\t\t\u0026auth0.PromptScreenPartialsScreenPartialArgs{\n\t\t\t\t\tScreenName: pulumi.String(\"login-passwordless-email-code\"),\n\t\t\t\t\tInsertionPoints: \u0026auth0.PromptScreenPartialsScreenPartialInsertionPointsArgs{\n\t\t\t\t\t\tFormContentStart: pulumi.String(\"\u003cdiv\u003eForm Content Start\u003c/div\u003e\"),\n\t\t\t\t\t\tFormContentEnd: pulumi.String(\"\u003cdiv\u003eForm Content End\u003c/div\u003e\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026auth0.PromptScreenPartialsScreenPartialArgs{\n\t\t\t\t\tScreenName: pulumi.String(\"login-passwordless-sms-otp\"),\n\t\t\t\t\tInsertionPoints: \u0026auth0.PromptScreenPartialsScreenPartialInsertionPointsArgs{\n\t\t\t\t\t\tFormContentStart: pulumi.String(\"\u003cdiv\u003eForm Content Start\u003c/div\u003e\"),\n\t\t\t\t\t\tFormContentEnd: pulumi.String(\"\u003cdiv\u003eForm Content End\u003c/div\u003e\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.auth0.PromptScreenPartials;\nimport com.pulumi.auth0.PromptScreenPartialsArgs;\nimport com.pulumi.auth0.inputs.PromptScreenPartialsScreenPartialArgs;\nimport com.pulumi.auth0.inputs.PromptScreenPartialsScreenPartialInsertionPointsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var promptScreenPartials = new PromptScreenPartials(\"promptScreenPartials\", PromptScreenPartialsArgs.builder()\n .promptType(\"login-passwordless\")\n .screenPartials( \n PromptScreenPartialsScreenPartialArgs.builder()\n .screenName(\"login-passwordless-email-code\")\n .insertionPoints(PromptScreenPartialsScreenPartialInsertionPointsArgs.builder()\n .formContentStart(\"\u003cdiv\u003eForm Content Start\u003c/div\u003e\")\n .formContentEnd(\"\u003cdiv\u003eForm Content End\u003c/div\u003e\")\n .build())\n .build(),\n PromptScreenPartialsScreenPartialArgs.builder()\n .screenName(\"login-passwordless-sms-otp\")\n .insertionPoints(PromptScreenPartialsScreenPartialInsertionPointsArgs.builder()\n .formContentStart(\"\u003cdiv\u003eForm Content Start\u003c/div\u003e\")\n .formContentEnd(\"\u003cdiv\u003eForm Content End\u003c/div\u003e\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n promptScreenPartials:\n type: auth0:PromptScreenPartials\n name: prompt_screen_partials\n properties:\n promptType: login-passwordless\n screenPartials:\n - screenName: login-passwordless-email-code\n insertionPoints:\n formContentStart: \u003cdiv\u003eForm Content Start\u003c/div\u003e\n formContentEnd: \u003cdiv\u003eForm Content End\u003c/div\u003e\n - screenName: login-passwordless-sms-otp\n insertionPoints:\n formContentStart: \u003cdiv\u003eForm Content Start\u003c/div\u003e\n formContentEnd: \u003cdiv\u003eForm Content End\u003c/div\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThis resource can be imported using the prompt name.\n\n#\n\nExample:\n\n```sh\n$ pulumi import auth0:index/promptScreenPartials:PromptScreenPartials prompt_screen_partials \"login-passwordless\"\n```\n\n", + "properties": { + "promptType": { + "type": "string", + "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`.\n" + }, + "screenPartials": { + "type": "array", + "items": { + "$ref": "#/types/auth0:index/PromptScreenPartialsScreenPartial:PromptScreenPartialsScreenPartial" + } + } + }, + "required": [ + "promptType" + ], + "inputProperties": { + "promptType": { + "type": "string", + "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`.\n" + }, + "screenPartials": { + "type": "array", + "items": { + "$ref": "#/types/auth0:index/PromptScreenPartialsScreenPartial:PromptScreenPartialsScreenPartial" + } + } + }, + "requiredInputs": [ + "promptType" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering PromptScreenPartials resources.\n", + "properties": { + "promptType": { + "type": "string", + "description": "The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`.\n" + }, + "screenPartials": { + "type": "array", + "items": { + "$ref": "#/types/auth0:index/PromptScreenPartialsScreenPartial:PromptScreenPartialsScreenPartial" + } } }, "type": "object" @@ -11857,6 +12187,13 @@ "description": "Indicates whether a custom login page is to be used.\n", "type": "boolean" }, + "defaultOrganizations": { + "description": "Configure and associate an organization with the Client\n", + "items": { + "$ref": "#/types/auth0:index/getClientDefaultOrganization:getClientDefaultOrganization" + }, + "type": "array" + }, "description": { "description": "Description of the purpose of the client.\n", "type": "string" @@ -11998,6 +12335,7 @@ "crossOriginLoc", "customLoginPage", "customLoginPageOn", + "defaultOrganizations", "description", "encryptionKey", "formTemplate", @@ -12380,6 +12718,55 @@ "type": "object" } }, + "auth0:index/getPromptScreenPartials:getPromptScreenPartials": { + "description": "Data source to retrieve a specific Auth0 prompt screen partials by `prompt_type`.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as auth0 from \"@pulumi/auth0\";\n\nconst promptScreenPartials = auth0.getPromptScreenPartials({\n promptType: \"prompt-name\",\n});\n```\n```python\nimport pulumi\nimport pulumi_auth0 as auth0\n\nprompt_screen_partials = auth0.get_prompt_screen_partials(prompt_type=\"prompt-name\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Auth0 = Pulumi.Auth0;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var promptScreenPartials = Auth0.GetPromptScreenPartials.Invoke(new()\n {\n PromptType = \"prompt-name\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := auth0.LookupPromptScreenPartials(ctx, \u0026auth0.LookupPromptScreenPartialsArgs{\n\t\t\tPromptType: \"prompt-name\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.auth0.Auth0Functions;\nimport com.pulumi.auth0.inputs.GetPromptScreenPartialsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var promptScreenPartials = Auth0Functions.getPromptScreenPartials(GetPromptScreenPartialsArgs.builder()\n .promptType(\"prompt-name\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n promptScreenPartials:\n fn::invoke:\n Function: auth0:getPromptScreenPartials\n Arguments:\n promptType: prompt-name\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getPromptScreenPartials.\n", + "properties": { + "promptType": { + "type": "string", + "description": "The type of prompt to customize.\n" + }, + "screenPartials": { + "type": "array", + "items": { + "$ref": "#/types/auth0:index/getPromptScreenPartialsScreenPartial:getPromptScreenPartialsScreenPartial" + }, + "description": "The screen partials associated with the prompt type.\n" + } + }, + "type": "object", + "required": [ + "promptType" + ] + }, + "outputs": { + "description": "A collection of values returned by getPromptScreenPartials.\n", + "properties": { + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "promptType": { + "description": "The type of prompt to customize.\n", + "type": "string" + }, + "screenPartials": { + "description": "The screen partials associated with the prompt type.\n", + "items": { + "$ref": "#/types/auth0:index/getPromptScreenPartialsScreenPartial:getPromptScreenPartialsScreenPartial" + }, + "type": "array" + } + }, + "required": [ + "promptType", + "screenPartials", + "id" + ], + "type": "object" + } + }, "auth0:index/getResourceServer:getResourceServer": { "description": "Data source to retrieve a specific Auth0 resource server by `resource_server_id` or `identifier`.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as auth0 from \"@pulumi/auth0\";\n\n// An Auth0 Resource Server loaded using its identifier.\nconst some-resource-server-by-identifier = auth0.getResourceServer({\n identifier: \"https://my-api.com/v1\",\n});\n// An Auth0 Resource Server loaded using its ID.\nconst some-resource-server-by-id = auth0.getResourceServer({\n resourceServerId: \"abcdefghkijklmnopqrstuvwxyz0123456789\",\n});\n```\n```python\nimport pulumi\nimport pulumi_auth0 as auth0\n\n# An Auth0 Resource Server loaded using its identifier.\nsome_resource_server_by_identifier = auth0.get_resource_server(identifier=\"https://my-api.com/v1\")\n# An Auth0 Resource Server loaded using its ID.\nsome_resource_server_by_id = auth0.get_resource_server(resource_server_id=\"abcdefghkijklmnopqrstuvwxyz0123456789\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Auth0 = Pulumi.Auth0;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n // An Auth0 Resource Server loaded using its identifier.\n var some_resource_server_by_identifier = Auth0.GetResourceServer.Invoke(new()\n {\n Identifier = \"https://my-api.com/v1\",\n });\n\n // An Auth0 Resource Server loaded using its ID.\n var some_resource_server_by_id = Auth0.GetResourceServer.Invoke(new()\n {\n ResourceServerId = \"abcdefghkijklmnopqrstuvwxyz0123456789\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// An Auth0 Resource Server loaded using its identifier.\n\t\t_, err := auth0.LookupResourceServer(ctx, \u0026auth0.LookupResourceServerArgs{\n\t\t\tIdentifier: pulumi.StringRef(\"https://my-api.com/v1\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// An Auth0 Resource Server loaded using its ID.\n\t\t_, err = auth0.LookupResourceServer(ctx, \u0026auth0.LookupResourceServerArgs{\n\t\t\tResourceServerId: pulumi.StringRef(\"abcdefghkijklmnopqrstuvwxyz0123456789\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.auth0.Auth0Functions;\nimport com.pulumi.auth0.inputs.GetResourceServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n // An Auth0 Resource Server loaded using its identifier.\n final var some-resource-server-by-identifier = Auth0Functions.getResourceServer(GetResourceServerArgs.builder()\n .identifier(\"https://my-api.com/v1\")\n .build());\n\n // An Auth0 Resource Server loaded using its ID.\n final var some-resource-server-by-id = Auth0Functions.getResourceServer(GetResourceServerArgs.builder()\n .resourceServerId(\"abcdefghkijklmnopqrstuvwxyz0123456789\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n # An Auth0 Resource Server loaded using its identifier.\n some-resource-server-by-identifier:\n fn::invoke:\n Function: auth0:getResourceServer\n Arguments:\n identifier: https://my-api.com/v1\n # An Auth0 Resource Server loaded using its ID.\n some-resource-server-by-id:\n fn::invoke:\n Function: auth0:getResourceServer\n Arguments:\n resourceServerId: abcdefghkijklmnopqrstuvwxyz0123456789\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { diff --git a/provider/go.mod b/provider/go.mod index d16c821d..e92258a1 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -47,7 +47,7 @@ require ( github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect github.com/armon/go-radix v1.0.0 // indirect github.com/atotto/clipboard v0.1.4 // indirect - github.com/auth0/go-auth0 v1.9.0 // indirect + github.com/auth0/go-auth0 v1.10.0 // indirect github.com/aws/aws-sdk-go v1.50.36 // indirect github.com/aws/aws-sdk-go-v2 v1.26.1 // indirect github.com/aws/aws-sdk-go-v2/config v1.27.11 // indirect @@ -209,7 +209,7 @@ require ( github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect github.com/yuin/goldmark v1.7.4 // indirect - github.com/zclconf/go-cty v1.14.4 // indirect + github.com/zclconf/go-cty v1.15.0 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect @@ -219,15 +219,15 @@ require ( go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.37.0 // indirect gocloud.dev/secrets/hashivault v0.37.0 // indirect - golang.org/x/crypto v0.25.0 // indirect + golang.org/x/crypto v0.26.0 // indirect golang.org/x/exp v0.0.0-20240604190554-fc45aab8b7f8 // indirect - golang.org/x/mod v0.18.0 // indirect + golang.org/x/mod v0.19.0 // indirect golang.org/x/net v0.27.0 // indirect golang.org/x/oauth2 v0.22.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.22.0 // indirect - golang.org/x/term v0.22.0 // indirect - golang.org/x/text v0.16.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.23.0 // indirect + golang.org/x/term v0.23.0 // indirect + golang.org/x/text v0.17.0 // indirect golang.org/x/time v0.5.0 // indirect golang.org/x/tools v0.22.0 // indirect golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect diff --git a/provider/go.sum b/provider/go.sum index d4b38cc3..d9afa65e 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1227,8 +1227,8 @@ github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPd github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= -github.com/auth0/go-auth0 v1.9.0 h1:IRCMQ9zLmFn8aAKkd+lopFo6IAdpARYSRf8i9ZACG48= -github.com/auth0/go-auth0 v1.9.0/go.mod h1:p9KEEkCehO7tcDf32r1r06Ji63mqZa1QZ6IfQ172bys= +github.com/auth0/go-auth0 v1.10.0 h1:7fjcuVjtTET5NEg8RPl3uYadGto7WZnBl31LcnXANWc= +github.com/auth0/go-auth0 v1.10.0/go.mod h1:VMTiemb4rn2TUPiH9obD2FoHS2FoTALTsnKU0NUXLxk= github.com/aws/aws-sdk-go v1.15.78/go.mod h1:E3/ieXAlvM0XWO57iftYVDLLvQ824smPP3ATZkfNZeM= github.com/aws/aws-sdk-go v1.25.3/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= @@ -1652,8 +1652,8 @@ github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/hc-install v0.6.2/go.mod h1:2JBpd+NCFKiHiu/yYCGaPyPHhZLxXTpz8oreHa/a3Ps= github.com/hashicorp/hc-install v0.6.3/go.mod h1:KamGdbodYzlufbWh4r9NRo8y6GLHWZP2GBtdnms1Ln0= -github.com/hashicorp/hc-install v0.7.0 h1:Uu9edVqjKQxxuD28mR5TikkKDd/p55S8vzPC1659aBk= -github.com/hashicorp/hc-install v0.7.0/go.mod h1:ELmmzZlGnEcqoUMKUuykHaPCIR1sYLYX+KSggWSKZuA= +github.com/hashicorp/hc-install v0.8.0 h1:LdpZeXkZYMQhoKPCecJHlKvUkQFixN/nvyR1CdfOLjI= +github.com/hashicorp/hc-install v0.8.0/go.mod h1:+MwJYjDfCruSD/udvBmRB22Nlkwwkwf5sAB6uTIhSaU= github.com/hashicorp/hcl v0.0.0-20170504190234-a4b07c25de5f/go.mod h1:oZtUIOe8dh44I2q6ScRibXws4Ajl+d+nod3AaR9vL5w= github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= @@ -1682,8 +1682,8 @@ github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwU github.com/hashicorp/terraform-plugin-sdk v1.7.0 h1:B//oq0ZORG+EkVrIJy0uPGSonvmXqxSzXe8+GhknoW0= github.com/hashicorp/terraform-plugin-sdk v1.7.0/go.mod h1:OjgQmey5VxnPej/buEhe+YqKm0KNvV3QqU4hkqHqPCY= github.com/hashicorp/terraform-plugin-test v1.3.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= -github.com/hashicorp/terraform-plugin-testing v1.9.0 h1:xOsQRqqlHKXpFq6etTxih3ubdK3HVDtfE1IY7Rpd37o= -github.com/hashicorp/terraform-plugin-testing v1.9.0/go.mod h1:fhhVx/8+XNJZTD5o3b4stfZ6+q7z9+lIWigIYdT6/44= +github.com/hashicorp/terraform-plugin-testing v1.10.0 h1:2+tmRNhvnfE4Bs8rB6v58S/VpqzGC6RCh9Y8ujdn+aw= +github.com/hashicorp/terraform-plugin-testing v1.10.0/go.mod h1:iWRW3+loP33WMch2P/TEyCxxct/ZEcCGMquSLSCVsrc= github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= @@ -2090,8 +2090,8 @@ github.com/zclconf/go-cty v1.13.0/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4 github.com/zclconf/go-cty v1.13.1/go.mod h1:YKQzy/7pZ7iq2jNFzy5go57xdxdWoLLpaEp4u238AE0= github.com/zclconf/go-cty v1.14.1/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty v1.14.2/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= -github.com/zclconf/go-cty v1.14.4 h1:uXXczd9QDGsgu0i/QFR/hzI5NYCHLf6NQw/atrbnhq8= -github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= +github.com/zclconf/go-cty v1.15.0 h1:tTCRWxsexYUmtt/wVxgDClUe+uQusuI443uL6e+5sXQ= +github.com/zclconf/go-cty v1.15.0/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgrPIxfnZE= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940 h1:4r45xpDWB6ZMSMNJFMOjqrGHynW3DIBuR2H9j0ug+Mo= github.com/zclconf/go-cty-debug v0.0.0-20240509010212-0d6042c53940/go.mod h1:CmBdvvj3nqzfzJ6nTCIwDTPZ56aVGvDrmztiO5g3qrM= @@ -2162,8 +2162,8 @@ golang.org/x/crypto v0.16.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= -golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= -golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= +golang.org/x/crypto v0.26.0 h1:RrRspgV4mU+YwB4FYnuBoKsUapNIL5cohGAmSH3azsw= +golang.org/x/crypto v0.26.0/go.mod h1:GY7jblb9wI+FOo5y8/S2oY4zWP07AkOJ4+jxCqdqn54= golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -2230,8 +2230,8 @@ golang.org/x/mod v0.11.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.14.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/mod v0.15.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/mod v0.18.0 h1:5+9lSbEzPSdWkH32vYPBwEpX8KwDbM52Ud9xBUvNlb0= -golang.org/x/mod v0.18.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= +golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180811021610-c39426892332/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -2370,8 +2370,8 @@ golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.4.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= golang.org/x/sync v0.5.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -2482,8 +2482,8 @@ golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= +golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -2504,8 +2504,8 @@ golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY= golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= -golang.org/x/term v0.22.0 h1:BbsgPEJULsl2fV/AT3v15Mjva5yXKQDyKf+TbDz7QJk= -golang.org/x/term v0.22.0/go.mod h1:F3qCibpT5AMpCRfhfT53vVJwhLtIVHhB9XDjfFvnMI4= +golang.org/x/term v0.23.0 h1:F6D4vR+EHoL9/sWAWgAR1H2DcHr4PareCbAaCo1RpuU= +golang.org/x/term v0.23.0/go.mod h1:DgV24QBUrK6jhZXl+20l6UWznPlwAHm1Q1mGHtydmSk= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -2527,8 +2527,8 @@ golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= -golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= +golang.org/x/text v0.17.0 h1:XtiM5bkSOt+ewxlOE/aE/AKEHibwj/6gvWMl9Rsh0Qc= +golang.org/x/text v0.17.0/go.mod h1:BuEKDfySbSR4drPmRPG/7iBdf8hvFMuRexcpahXilzY= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= diff --git a/sdk/dotnet/Client.cs b/sdk/dotnet/Client.cs index f3b10278..fc1994be 100644 --- a/sdk/dotnet/Client.cs +++ b/sdk/dotnet/Client.cs @@ -209,6 +209,12 @@ public partial class Client : global::Pulumi.CustomResource [Output("customLoginPageOn")] public Output CustomLoginPageOn { get; private set; } = null!; + /// + /// Configure and associate an organization with the Client + /// + [Output("defaultOrganization")] + public Output DefaultOrganization { get; private set; } = null!; + /// /// Description of the purpose of the client. /// @@ -499,6 +505,12 @@ public InputMap ClientMetadata [Input("customLoginPageOn")] public Input? CustomLoginPageOn { get; set; } + /// + /// Configure and associate an organization with the Client + /// + [Input("defaultOrganization")] + public Input? DefaultOrganization { get; set; } + /// /// Description of the purpose of the client. /// @@ -772,6 +784,12 @@ public InputMap ClientMetadata [Input("customLoginPageOn")] public Input? CustomLoginPageOn { get; set; } + /// + /// Configure and associate an organization with the Client + /// + [Input("defaultOrganization")] + public Input? DefaultOrganization { get; set; } + /// /// Description of the purpose of the client. /// diff --git a/sdk/dotnet/GetClient.cs b/sdk/dotnet/GetClient.cs index 177e46f2..901c5ddc 100644 --- a/sdk/dotnet/GetClient.cs +++ b/sdk/dotnet/GetClient.cs @@ -173,6 +173,10 @@ public sealed class GetClientResult /// public readonly bool CustomLoginPageOn; /// + /// Configure and associate an organization with the Client + /// + public readonly ImmutableArray DefaultOrganizations; + /// /// Description of the purpose of the client. /// public readonly string Description; @@ -299,6 +303,8 @@ private GetClientResult( bool customLoginPageOn, + ImmutableArray defaultOrganizations, + string description, ImmutableDictionary encryptionKey, @@ -361,6 +367,7 @@ private GetClientResult( CrossOriginLoc = crossOriginLoc; CustomLoginPage = customLoginPage; CustomLoginPageOn = customLoginPageOn; + DefaultOrganizations = defaultOrganizations; Description = description; EncryptionKey = encryptionKey; FormTemplate = formTemplate; diff --git a/sdk/dotnet/GetPromptScreenPartials.cs b/sdk/dotnet/GetPromptScreenPartials.cs new file mode 100644 index 00000000..b2d0c4d6 --- /dev/null +++ b/sdk/dotnet/GetPromptScreenPartials.cs @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0 +{ + public static class GetPromptScreenPartials + { + /// + /// Data source to retrieve a specific Auth0 prompt screen partials by `prompt_type`. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Auth0 = Pulumi.Auth0; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var promptScreenPartials = Auth0.GetPromptScreenPartials.Invoke(new() + /// { + /// PromptType = "prompt-name", + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetPromptScreenPartialsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("auth0:index/getPromptScreenPartials:getPromptScreenPartials", args ?? new GetPromptScreenPartialsArgs(), options.WithDefaults()); + + /// + /// Data source to retrieve a specific Auth0 prompt screen partials by `prompt_type`. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Auth0 = Pulumi.Auth0; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var promptScreenPartials = Auth0.GetPromptScreenPartials.Invoke(new() + /// { + /// PromptType = "prompt-name", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetPromptScreenPartialsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("auth0:index/getPromptScreenPartials:getPromptScreenPartials", args ?? new GetPromptScreenPartialsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPromptScreenPartialsArgs : global::Pulumi.InvokeArgs + { + /// + /// The type of prompt to customize. + /// + [Input("promptType", required: true)] + public string PromptType { get; set; } = null!; + + [Input("screenPartials")] + private List? _screenPartials; + + /// + /// The screen partials associated with the prompt type. + /// + public List ScreenPartials + { + get => _screenPartials ?? (_screenPartials = new List()); + set => _screenPartials = value; + } + + public GetPromptScreenPartialsArgs() + { + } + public static new GetPromptScreenPartialsArgs Empty => new GetPromptScreenPartialsArgs(); + } + + public sealed class GetPromptScreenPartialsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The type of prompt to customize. + /// + [Input("promptType", required: true)] + public Input PromptType { get; set; } = null!; + + [Input("screenPartials")] + private InputList? _screenPartials; + + /// + /// The screen partials associated with the prompt type. + /// + public InputList ScreenPartials + { + get => _screenPartials ?? (_screenPartials = new InputList()); + set => _screenPartials = value; + } + + public GetPromptScreenPartialsInvokeArgs() + { + } + public static new GetPromptScreenPartialsInvokeArgs Empty => new GetPromptScreenPartialsInvokeArgs(); + } + + + [OutputType] + public sealed class GetPromptScreenPartialsResult + { + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The type of prompt to customize. + /// + public readonly string PromptType; + /// + /// The screen partials associated with the prompt type. + /// + public readonly ImmutableArray ScreenPartials; + + [OutputConstructor] + private GetPromptScreenPartialsResult( + string id, + + string promptType, + + ImmutableArray screenPartials) + { + Id = id; + PromptType = promptType; + ScreenPartials = screenPartials; + } + } +} diff --git a/sdk/dotnet/Inputs/ClientDefaultOrganizationArgs.cs b/sdk/dotnet/Inputs/ClientDefaultOrganizationArgs.cs new file mode 100644 index 00000000..8720f979 --- /dev/null +++ b/sdk/dotnet/Inputs/ClientDefaultOrganizationArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class ClientDefaultOrganizationArgs : global::Pulumi.ResourceArgs + { + /// + /// If set, the `default_organization` will be removed. + /// + [Input("disable")] + public Input? Disable { get; set; } + + [Input("flows")] + private InputList? _flows; + + /// + /// Definition of the flow that needs to be configured. Eg. client_credentials + /// + public InputList Flows + { + get => _flows ?? (_flows = new InputList()); + set => _flows = value; + } + + /// + /// The unique identifier of the organization + /// + [Input("organizationId")] + public Input? OrganizationId { get; set; } + + public ClientDefaultOrganizationArgs() + { + } + public static new ClientDefaultOrganizationArgs Empty => new ClientDefaultOrganizationArgs(); + } +} diff --git a/sdk/dotnet/Inputs/ClientDefaultOrganizationGetArgs.cs b/sdk/dotnet/Inputs/ClientDefaultOrganizationGetArgs.cs new file mode 100644 index 00000000..3946577d --- /dev/null +++ b/sdk/dotnet/Inputs/ClientDefaultOrganizationGetArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class ClientDefaultOrganizationGetArgs : global::Pulumi.ResourceArgs + { + /// + /// If set, the `default_organization` will be removed. + /// + [Input("disable")] + public Input? Disable { get; set; } + + [Input("flows")] + private InputList? _flows; + + /// + /// Definition of the flow that needs to be configured. Eg. client_credentials + /// + public InputList Flows + { + get => _flows ?? (_flows = new InputList()); + set => _flows = value; + } + + /// + /// The unique identifier of the organization + /// + [Input("organizationId")] + public Input? OrganizationId { get; set; } + + public ClientDefaultOrganizationGetArgs() + { + } + public static new ClientDefaultOrganizationGetArgs Empty => new ClientDefaultOrganizationGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartial.cs b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartial.cs new file mode 100644 index 00000000..4e231468 --- /dev/null +++ b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartial.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class GetPromptScreenPartialsScreenPartialArgs : global::Pulumi.InvokeArgs + { + [Input("insertionPoints", required: true)] + private List? _insertionPoints; + public List InsertionPoints + { + get => _insertionPoints ?? (_insertionPoints = new List()); + set => _insertionPoints = value; + } + + /// + /// The name of the screen associated with the partials + /// + [Input("screenName", required: true)] + public string ScreenName { get; set; } = null!; + + public GetPromptScreenPartialsScreenPartialArgs() + { + } + public static new GetPromptScreenPartialsScreenPartialArgs Empty => new GetPromptScreenPartialsScreenPartialArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialArgs.cs b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialArgs.cs new file mode 100644 index 00000000..61a8129a --- /dev/null +++ b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class GetPromptScreenPartialsScreenPartialInputArgs : global::Pulumi.ResourceArgs + { + [Input("insertionPoints", required: true)] + private InputList? _insertionPoints; + public InputList InsertionPoints + { + get => _insertionPoints ?? (_insertionPoints = new InputList()); + set => _insertionPoints = value; + } + + /// + /// The name of the screen associated with the partials + /// + [Input("screenName", required: true)] + public Input ScreenName { get; set; } = null!; + + public GetPromptScreenPartialsScreenPartialInputArgs() + { + } + public static new GetPromptScreenPartialsScreenPartialInputArgs Empty => new GetPromptScreenPartialsScreenPartialInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.cs b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.cs new file mode 100644 index 00000000..c9f119ea --- /dev/null +++ b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class GetPromptScreenPartialsScreenPartialInsertionPointArgs : global::Pulumi.InvokeArgs + { + /// + /// Content that goes at the end of the form. + /// + [Input("formContentEnd", required: true)] + public string FormContentEnd { get; set; } = null!; + + /// + /// Content that goes at the start of the form. + /// + [Input("formContentStart", required: true)] + public string FormContentStart { get; set; } = null!; + + /// + /// Footer content for the end of the footer. + /// + [Input("formFooterEnd", required: true)] + public string FormFooterEnd { get; set; } = null!; + + /// + /// Footer content for the start of the footer. + /// + [Input("formFooterStart", required: true)] + public string FormFooterStart { get; set; } = null!; + + /// + /// Actions that go at the end of secondary actions. + /// + [Input("secondaryActionsEnd", required: true)] + public string SecondaryActionsEnd { get; set; } = null!; + + /// + /// Actions that go at the start of secondary actions. + /// + [Input("secondaryActionsStart", required: true)] + public string SecondaryActionsStart { get; set; } = null!; + + public GetPromptScreenPartialsScreenPartialInsertionPointArgs() + { + } + public static new GetPromptScreenPartialsScreenPartialInsertionPointArgs Empty => new GetPromptScreenPartialsScreenPartialInsertionPointArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.cs b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.cs new file mode 100644 index 00000000..87a2d75b --- /dev/null +++ b/sdk/dotnet/Inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class GetPromptScreenPartialsScreenPartialInsertionPointInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Content that goes at the end of the form. + /// + [Input("formContentEnd", required: true)] + public Input FormContentEnd { get; set; } = null!; + + /// + /// Content that goes at the start of the form. + /// + [Input("formContentStart", required: true)] + public Input FormContentStart { get; set; } = null!; + + /// + /// Footer content for the end of the footer. + /// + [Input("formFooterEnd", required: true)] + public Input FormFooterEnd { get; set; } = null!; + + /// + /// Footer content for the start of the footer. + /// + [Input("formFooterStart", required: true)] + public Input FormFooterStart { get; set; } = null!; + + /// + /// Actions that go at the end of secondary actions. + /// + [Input("secondaryActionsEnd", required: true)] + public Input SecondaryActionsEnd { get; set; } = null!; + + /// + /// Actions that go at the start of secondary actions. + /// + [Input("secondaryActionsStart", required: true)] + public Input SecondaryActionsStart { get; set; } = null!; + + public GetPromptScreenPartialsScreenPartialInsertionPointInputArgs() + { + } + public static new GetPromptScreenPartialsScreenPartialInsertionPointInputArgs Empty => new GetPromptScreenPartialsScreenPartialInsertionPointInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsArgs.cs new file mode 100644 index 00000000..41efb941 --- /dev/null +++ b/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class PromptScreenPartialInsertionPointsArgs : global::Pulumi.ResourceArgs + { + /// + /// Content that goes at the end of the form. + /// + [Input("formContentEnd")] + public Input? FormContentEnd { get; set; } + + /// + /// Content that goes at the start of the form. + /// + [Input("formContentStart")] + public Input? FormContentStart { get; set; } + + /// + /// Footer content for the end of the footer. + /// + [Input("formFooterEnd")] + public Input? FormFooterEnd { get; set; } + + /// + /// Footer content for the start of the footer. + /// + [Input("formFooterStart")] + public Input? FormFooterStart { get; set; } + + /// + /// Actions that go at the end of secondary actions. + /// + [Input("secondaryActionsEnd")] + public Input? SecondaryActionsEnd { get; set; } + + /// + /// Actions that go at the start of secondary actions. + /// + [Input("secondaryActionsStart")] + public Input? SecondaryActionsStart { get; set; } + + public PromptScreenPartialInsertionPointsArgs() + { + } + public static new PromptScreenPartialInsertionPointsArgs Empty => new PromptScreenPartialInsertionPointsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsGetArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsGetArgs.cs new file mode 100644 index 00000000..a9375f0a --- /dev/null +++ b/sdk/dotnet/Inputs/PromptScreenPartialInsertionPointsGetArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class PromptScreenPartialInsertionPointsGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Content that goes at the end of the form. + /// + [Input("formContentEnd")] + public Input? FormContentEnd { get; set; } + + /// + /// Content that goes at the start of the form. + /// + [Input("formContentStart")] + public Input? FormContentStart { get; set; } + + /// + /// Footer content for the end of the footer. + /// + [Input("formFooterEnd")] + public Input? FormFooterEnd { get; set; } + + /// + /// Footer content for the start of the footer. + /// + [Input("formFooterStart")] + public Input? FormFooterStart { get; set; } + + /// + /// Actions that go at the end of secondary actions. + /// + [Input("secondaryActionsEnd")] + public Input? SecondaryActionsEnd { get; set; } + + /// + /// Actions that go at the start of secondary actions. + /// + [Input("secondaryActionsStart")] + public Input? SecondaryActionsStart { get; set; } + + public PromptScreenPartialInsertionPointsGetArgs() + { + } + public static new PromptScreenPartialInsertionPointsGetArgs Empty => new PromptScreenPartialInsertionPointsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialArgs.cs new file mode 100644 index 00000000..5ffd59c3 --- /dev/null +++ b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class PromptScreenPartialsScreenPartialArgs : global::Pulumi.ResourceArgs + { + [Input("insertionPoints", required: true)] + public Input InsertionPoints { get; set; } = null!; + + /// + /// The name of the screen associated with the partials + /// + [Input("screenName", required: true)] + public Input ScreenName { get; set; } = null!; + + public PromptScreenPartialsScreenPartialArgs() + { + } + public static new PromptScreenPartialsScreenPartialArgs Empty => new PromptScreenPartialsScreenPartialArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialGetArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialGetArgs.cs new file mode 100644 index 00000000..7b2e5d63 --- /dev/null +++ b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialGetArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class PromptScreenPartialsScreenPartialGetArgs : global::Pulumi.ResourceArgs + { + [Input("insertionPoints", required: true)] + public Input InsertionPoints { get; set; } = null!; + + /// + /// The name of the screen associated with the partials + /// + [Input("screenName", required: true)] + public Input ScreenName { get; set; } = null!; + + public PromptScreenPartialsScreenPartialGetArgs() + { + } + public static new PromptScreenPartialsScreenPartialGetArgs Empty => new PromptScreenPartialsScreenPartialGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.cs new file mode 100644 index 00000000..8a2863aa --- /dev/null +++ b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class PromptScreenPartialsScreenPartialInsertionPointsArgs : global::Pulumi.ResourceArgs + { + /// + /// Content that goes at the end of the form. + /// + [Input("formContentEnd")] + public Input? FormContentEnd { get; set; } + + /// + /// Content that goes at the start of the form. + /// + [Input("formContentStart")] + public Input? FormContentStart { get; set; } + + /// + /// Footer content for the end of the footer. + /// + [Input("formFooterEnd")] + public Input? FormFooterEnd { get; set; } + + /// + /// Footer content for the start of the footer. + /// + [Input("formFooterStart")] + public Input? FormFooterStart { get; set; } + + /// + /// Actions that go at the end of secondary actions. + /// + [Input("secondaryActionsEnd")] + public Input? SecondaryActionsEnd { get; set; } + + /// + /// Actions that go at the start of secondary actions. + /// + [Input("secondaryActionsStart")] + public Input? SecondaryActionsStart { get; set; } + + public PromptScreenPartialsScreenPartialInsertionPointsArgs() + { + } + public static new PromptScreenPartialsScreenPartialInsertionPointsArgs Empty => new PromptScreenPartialsScreenPartialInsertionPointsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsGetArgs.cs b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsGetArgs.cs new file mode 100644 index 00000000..25c68cc0 --- /dev/null +++ b/sdk/dotnet/Inputs/PromptScreenPartialsScreenPartialInsertionPointsGetArgs.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Inputs +{ + + public sealed class PromptScreenPartialsScreenPartialInsertionPointsGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Content that goes at the end of the form. + /// + [Input("formContentEnd")] + public Input? FormContentEnd { get; set; } + + /// + /// Content that goes at the start of the form. + /// + [Input("formContentStart")] + public Input? FormContentStart { get; set; } + + /// + /// Footer content for the end of the footer. + /// + [Input("formFooterEnd")] + public Input? FormFooterEnd { get; set; } + + /// + /// Footer content for the start of the footer. + /// + [Input("formFooterStart")] + public Input? FormFooterStart { get; set; } + + /// + /// Actions that go at the end of secondary actions. + /// + [Input("secondaryActionsEnd")] + public Input? SecondaryActionsEnd { get; set; } + + /// + /// Actions that go at the start of secondary actions. + /// + [Input("secondaryActionsStart")] + public Input? SecondaryActionsStart { get; set; } + + public PromptScreenPartialsScreenPartialInsertionPointsGetArgs() + { + } + public static new PromptScreenPartialsScreenPartialInsertionPointsGetArgs Empty => new PromptScreenPartialsScreenPartialInsertionPointsGetArgs(); + } +} diff --git a/sdk/dotnet/Outputs/ClientDefaultOrganization.cs b/sdk/dotnet/Outputs/ClientDefaultOrganization.cs new file mode 100644 index 00000000..0f6675ff --- /dev/null +++ b/sdk/dotnet/Outputs/ClientDefaultOrganization.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Outputs +{ + + [OutputType] + public sealed class ClientDefaultOrganization + { + /// + /// If set, the `default_organization` will be removed. + /// + public readonly bool? Disable; + /// + /// Definition of the flow that needs to be configured. Eg. client_credentials + /// + public readonly ImmutableArray Flows; + /// + /// The unique identifier of the organization + /// + public readonly string? OrganizationId; + + [OutputConstructor] + private ClientDefaultOrganization( + bool? disable, + + ImmutableArray flows, + + string? organizationId) + { + Disable = disable; + Flows = flows; + OrganizationId = organizationId; + } + } +} diff --git a/sdk/dotnet/Outputs/GetClientDefaultOrganizationResult.cs b/sdk/dotnet/Outputs/GetClientDefaultOrganizationResult.cs new file mode 100644 index 00000000..fba8207d --- /dev/null +++ b/sdk/dotnet/Outputs/GetClientDefaultOrganizationResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Outputs +{ + + [OutputType] + public sealed class GetClientDefaultOrganizationResult + { + /// + /// If set, the `default_organization` will be removed. + /// + public readonly bool Disable; + /// + /// Definition of the flow that needs to be configured. Eg. client_credentials + /// + public readonly ImmutableArray Flows; + /// + /// The unique identifier of the organization + /// + public readonly string OrganizationId; + + [OutputConstructor] + private GetClientDefaultOrganizationResult( + bool disable, + + ImmutableArray flows, + + string organizationId) + { + Disable = disable; + Flows = flows; + OrganizationId = organizationId; + } + } +} diff --git a/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialInsertionPointResult.cs b/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialInsertionPointResult.cs new file mode 100644 index 00000000..aceaed02 --- /dev/null +++ b/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialInsertionPointResult.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Outputs +{ + + [OutputType] + public sealed class GetPromptScreenPartialsScreenPartialInsertionPointResult + { + /// + /// Content that goes at the end of the form. + /// + public readonly string FormContentEnd; + /// + /// Content that goes at the start of the form. + /// + public readonly string FormContentStart; + /// + /// Footer content for the end of the footer. + /// + public readonly string FormFooterEnd; + /// + /// Footer content for the start of the footer. + /// + public readonly string FormFooterStart; + /// + /// Actions that go at the end of secondary actions. + /// + public readonly string SecondaryActionsEnd; + /// + /// Actions that go at the start of secondary actions. + /// + public readonly string SecondaryActionsStart; + + [OutputConstructor] + private GetPromptScreenPartialsScreenPartialInsertionPointResult( + string formContentEnd, + + string formContentStart, + + string formFooterEnd, + + string formFooterStart, + + string secondaryActionsEnd, + + string secondaryActionsStart) + { + FormContentEnd = formContentEnd; + FormContentStart = formContentStart; + FormFooterEnd = formFooterEnd; + FormFooterStart = formFooterStart; + SecondaryActionsEnd = secondaryActionsEnd; + SecondaryActionsStart = secondaryActionsStart; + } + } +} diff --git a/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialResult.cs b/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialResult.cs new file mode 100644 index 00000000..ee48c01a --- /dev/null +++ b/sdk/dotnet/Outputs/GetPromptScreenPartialsScreenPartialResult.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Outputs +{ + + [OutputType] + public sealed class GetPromptScreenPartialsScreenPartialResult + { + public readonly ImmutableArray InsertionPoints; + /// + /// The name of the screen associated with the partials + /// + public readonly string ScreenName; + + [OutputConstructor] + private GetPromptScreenPartialsScreenPartialResult( + ImmutableArray insertionPoints, + + string screenName) + { + InsertionPoints = insertionPoints; + ScreenName = screenName; + } + } +} diff --git a/sdk/dotnet/Outputs/PromptScreenPartialInsertionPoints.cs b/sdk/dotnet/Outputs/PromptScreenPartialInsertionPoints.cs new file mode 100644 index 00000000..f209d053 --- /dev/null +++ b/sdk/dotnet/Outputs/PromptScreenPartialInsertionPoints.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Outputs +{ + + [OutputType] + public sealed class PromptScreenPartialInsertionPoints + { + /// + /// Content that goes at the end of the form. + /// + public readonly string? FormContentEnd; + /// + /// Content that goes at the start of the form. + /// + public readonly string? FormContentStart; + /// + /// Footer content for the end of the footer. + /// + public readonly string? FormFooterEnd; + /// + /// Footer content for the start of the footer. + /// + public readonly string? FormFooterStart; + /// + /// Actions that go at the end of secondary actions. + /// + public readonly string? SecondaryActionsEnd; + /// + /// Actions that go at the start of secondary actions. + /// + public readonly string? SecondaryActionsStart; + + [OutputConstructor] + private PromptScreenPartialInsertionPoints( + string? formContentEnd, + + string? formContentStart, + + string? formFooterEnd, + + string? formFooterStart, + + string? secondaryActionsEnd, + + string? secondaryActionsStart) + { + FormContentEnd = formContentEnd; + FormContentStart = formContentStart; + FormFooterEnd = formFooterEnd; + FormFooterStart = formFooterStart; + SecondaryActionsEnd = secondaryActionsEnd; + SecondaryActionsStart = secondaryActionsStart; + } + } +} diff --git a/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartial.cs b/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartial.cs new file mode 100644 index 00000000..d362f31c --- /dev/null +++ b/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartial.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Outputs +{ + + [OutputType] + public sealed class PromptScreenPartialsScreenPartial + { + public readonly Outputs.PromptScreenPartialsScreenPartialInsertionPoints InsertionPoints; + /// + /// The name of the screen associated with the partials + /// + public readonly string ScreenName; + + [OutputConstructor] + private PromptScreenPartialsScreenPartial( + Outputs.PromptScreenPartialsScreenPartialInsertionPoints insertionPoints, + + string screenName) + { + InsertionPoints = insertionPoints; + ScreenName = screenName; + } + } +} diff --git a/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartialInsertionPoints.cs b/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartialInsertionPoints.cs new file mode 100644 index 00000000..21bdcee4 --- /dev/null +++ b/sdk/dotnet/Outputs/PromptScreenPartialsScreenPartialInsertionPoints.cs @@ -0,0 +1,63 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0.Outputs +{ + + [OutputType] + public sealed class PromptScreenPartialsScreenPartialInsertionPoints + { + /// + /// Content that goes at the end of the form. + /// + public readonly string? FormContentEnd; + /// + /// Content that goes at the start of the form. + /// + public readonly string? FormContentStart; + /// + /// Footer content for the end of the footer. + /// + public readonly string? FormFooterEnd; + /// + /// Footer content for the start of the footer. + /// + public readonly string? FormFooterStart; + /// + /// Actions that go at the end of secondary actions. + /// + public readonly string? SecondaryActionsEnd; + /// + /// Actions that go at the start of secondary actions. + /// + public readonly string? SecondaryActionsStart; + + [OutputConstructor] + private PromptScreenPartialsScreenPartialInsertionPoints( + string? formContentEnd, + + string? formContentStart, + + string? formFooterEnd, + + string? formFooterStart, + + string? secondaryActionsEnd, + + string? secondaryActionsStart) + { + FormContentEnd = formContentEnd; + FormContentStart = formContentStart; + FormFooterEnd = formFooterEnd; + FormFooterStart = formFooterStart; + SecondaryActionsEnd = secondaryActionsEnd; + SecondaryActionsStart = secondaryActionsStart; + } + } +} diff --git a/sdk/dotnet/PromptCustomText.cs b/sdk/dotnet/PromptCustomText.cs index eb1c53fa..4f434c19 100644 --- a/sdk/dotnet/PromptCustomText.cs +++ b/sdk/dotnet/PromptCustomText.cs @@ -83,7 +83,7 @@ public partial class PromptCustomText : global::Pulumi.CustomResource public Output Body { get; private set; } = null!; /// - /// Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + /// Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. /// [Output("language")] public Output Language { get; private set; } = null!; @@ -147,7 +147,7 @@ public sealed class PromptCustomTextArgs : global::Pulumi.ResourceArgs public Input Body { get; set; } = null!; /// - /// Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + /// Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. /// [Input("language", required: true)] public Input Language { get; set; } = null!; @@ -173,7 +173,7 @@ public sealed class PromptCustomTextState : global::Pulumi.ResourceArgs public Input? Body { get; set; } /// - /// Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + /// Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. /// [Input("language")] public Input? Language { get; set; } diff --git a/sdk/dotnet/PromptPartials.cs b/sdk/dotnet/PromptPartials.cs index 6c8793ff..fabe03f8 100644 --- a/sdk/dotnet/PromptPartials.cs +++ b/sdk/dotnet/PromptPartials.cs @@ -12,6 +12,9 @@ namespace Pulumi.Auth0 /// /// With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). /// + /// !> **Deprecated:** `auth0.PromptPartials` has been deprecated. Please use `auth0.PromptScreenPartials` for managing multiple + /// prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen. + /// /// ## Example Usage /// /// ```csharp @@ -76,7 +79,7 @@ public partial class PromptPartials : global::Pulumi.CustomResource public Output FormFooterStart { get; private set; } = null!; /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. /// [Output("prompt")] public Output Prompt { get; private set; } = null!; @@ -164,7 +167,7 @@ public sealed class PromptPartialsArgs : global::Pulumi.ResourceArgs public Input? FormFooterStart { get; set; } /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. /// [Input("prompt", required: true)] public Input Prompt { get; set; } = null!; @@ -214,7 +217,7 @@ public sealed class PromptPartialsState : global::Pulumi.ResourceArgs public Input? FormFooterStart { get; set; } /// - /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. /// [Input("prompt")] public Input? Prompt { get; set; } diff --git a/sdk/dotnet/PromptScreenPartial.cs b/sdk/dotnet/PromptScreenPartial.cs new file mode 100644 index 00000000..38c6b102 --- /dev/null +++ b/sdk/dotnet/PromptScreenPartial.cs @@ -0,0 +1,180 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0 +{ + /// + /// With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + /// + /// !> This resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + /// In contrast, the `auth0.PromptScreenPartials` resource manages the complete set of prompt screens that are displayed during the + /// authentication flow. To avoid potential issues, it is recommended not to use this resource in conjunction with the + /// `auth0.PromptScreenPartials` resource when managing prompt screens for the same prompt. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Auth0 = Pulumi.Auth0; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var login = new Auth0.PromptScreenPartial("login", new() + /// { + /// PromptType = "login", + /// ScreenName = "login", + /// InsertionPoints = new Auth0.Inputs.PromptScreenPartialInsertionPointsArgs + /// { + /// FormContentStart = "<div>Form Content Start</div>", + /// FormContentEnd = "<div>Form Content End</div>", + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// This resource can be imported using the prompt name and screen_name. + /// + /// # + /// + /// As this is not a resource identifiable by an ID within the Auth0 Management API, + /// + /// login can be imported using the prompt name and screen name using the format: + /// + /// prompt_name:screen_name + /// + /// # + /// + /// Example: + /// + /// ```sh + /// $ pulumi import auth0:index/promptScreenPartial:PromptScreenPartial login "login:login" + /// ``` + /// + [Auth0ResourceType("auth0:index/promptScreenPartial:PromptScreenPartial")] + public partial class PromptScreenPartial : global::Pulumi.CustomResource + { + /// + /// The insertion points for the partials. + /// + [Output("insertionPoints")] + public Output InsertionPoints { get; private set; } = null!; + + /// + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// + [Output("promptType")] + public Output PromptType { get; private set; } = null!; + + /// + /// The name of the screen associated with the partials + /// + [Output("screenName")] + public Output ScreenName { get; private set; } = null!; + + + /// + /// Create a PromptScreenPartial 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 PromptScreenPartial(string name, PromptScreenPartialArgs args, CustomResourceOptions? options = null) + : base("auth0:index/promptScreenPartial:PromptScreenPartial", name, args ?? new PromptScreenPartialArgs(), MakeResourceOptions(options, "")) + { + } + + private PromptScreenPartial(string name, Input id, PromptScreenPartialState? state = null, CustomResourceOptions? options = null) + : base("auth0:index/promptScreenPartial:PromptScreenPartial", name, state, 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 PromptScreenPartial 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. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static PromptScreenPartial Get(string name, Input id, PromptScreenPartialState? state = null, CustomResourceOptions? options = null) + { + return new PromptScreenPartial(name, id, state, options); + } + } + + public sealed class PromptScreenPartialArgs : global::Pulumi.ResourceArgs + { + /// + /// The insertion points for the partials. + /// + [Input("insertionPoints")] + public Input? InsertionPoints { get; set; } + + /// + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// + [Input("promptType", required: true)] + public Input PromptType { get; set; } = null!; + + /// + /// The name of the screen associated with the partials + /// + [Input("screenName", required: true)] + public Input ScreenName { get; set; } = null!; + + public PromptScreenPartialArgs() + { + } + public static new PromptScreenPartialArgs Empty => new PromptScreenPartialArgs(); + } + + public sealed class PromptScreenPartialState : global::Pulumi.ResourceArgs + { + /// + /// The insertion points for the partials. + /// + [Input("insertionPoints")] + public Input? InsertionPoints { get; set; } + + /// + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// + [Input("promptType")] + public Input? PromptType { get; set; } + + /// + /// The name of the screen associated with the partials + /// + [Input("screenName")] + public Input? ScreenName { get; set; } + + public PromptScreenPartialState() + { + } + public static new PromptScreenPartialState Empty => new PromptScreenPartialState(); + } +} diff --git a/sdk/dotnet/PromptScreenPartials.cs b/sdk/dotnet/PromptScreenPartials.cs new file mode 100644 index 00000000..6e719858 --- /dev/null +++ b/sdk/dotnet/PromptScreenPartials.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** 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.Auth0 +{ + /// + /// With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + /// + /// !> This resource manages the entire set of prompt screens enabled for a prompt. In contrast, the `auth0.PromptScreenPartial` + /// resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + /// To avoid potential issues, it is recommended not to use this resource in conjunction with the `auth0.PromptScreenPartial` + /// resource when managing prompt screens for the same prompt. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Auth0 = Pulumi.Auth0; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var promptScreenPartials = new Auth0.PromptScreenPartials("prompt_screen_partials", new() + /// { + /// PromptType = "login-passwordless", + /// ScreenPartials = new[] + /// { + /// new Auth0.Inputs.PromptScreenPartialsScreenPartialArgs + /// { + /// ScreenName = "login-passwordless-email-code", + /// InsertionPoints = new Auth0.Inputs.PromptScreenPartialsScreenPartialInsertionPointsArgs + /// { + /// FormContentStart = "<div>Form Content Start</div>", + /// FormContentEnd = "<div>Form Content End</div>", + /// }, + /// }, + /// new Auth0.Inputs.PromptScreenPartialsScreenPartialArgs + /// { + /// ScreenName = "login-passwordless-sms-otp", + /// InsertionPoints = new Auth0.Inputs.PromptScreenPartialsScreenPartialInsertionPointsArgs + /// { + /// FormContentStart = "<div>Form Content Start</div>", + /// FormContentEnd = "<div>Form Content End</div>", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// This resource can be imported using the prompt name. + /// + /// # + /// + /// Example: + /// + /// ```sh + /// $ pulumi import auth0:index/promptScreenPartials:PromptScreenPartials prompt_screen_partials "login-passwordless" + /// ``` + /// + [Auth0ResourceType("auth0:index/promptScreenPartials:PromptScreenPartials")] + public partial class PromptScreenPartials : global::Pulumi.CustomResource + { + /// + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// + [Output("promptType")] + public Output PromptType { get; private set; } = null!; + + [Output("screenPartials")] + public Output> ScreenPartials { get; private set; } = null!; + + + /// + /// Create a PromptScreenPartials 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 PromptScreenPartials(string name, PromptScreenPartialsArgs args, CustomResourceOptions? options = null) + : base("auth0:index/promptScreenPartials:PromptScreenPartials", name, args ?? new PromptScreenPartialsArgs(), MakeResourceOptions(options, "")) + { + } + + private PromptScreenPartials(string name, Input id, PromptScreenPartialsState? state = null, CustomResourceOptions? options = null) + : base("auth0:index/promptScreenPartials:PromptScreenPartials", name, state, 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 PromptScreenPartials 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. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static PromptScreenPartials Get(string name, Input id, PromptScreenPartialsState? state = null, CustomResourceOptions? options = null) + { + return new PromptScreenPartials(name, id, state, options); + } + } + + public sealed class PromptScreenPartialsArgs : global::Pulumi.ResourceArgs + { + /// + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// + [Input("promptType", required: true)] + public Input PromptType { get; set; } = null!; + + [Input("screenPartials")] + private InputList? _screenPartials; + public InputList ScreenPartials + { + get => _screenPartials ?? (_screenPartials = new InputList()); + set => _screenPartials = value; + } + + public PromptScreenPartialsArgs() + { + } + public static new PromptScreenPartialsArgs Empty => new PromptScreenPartialsArgs(); + } + + public sealed class PromptScreenPartialsState : global::Pulumi.ResourceArgs + { + /// + /// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + /// + [Input("promptType")] + public Input? PromptType { get; set; } + + [Input("screenPartials")] + private InputList? _screenPartials; + public InputList ScreenPartials + { + get => _screenPartials ?? (_screenPartials = new InputList()); + set => _screenPartials = value; + } + + public PromptScreenPartialsState() + { + } + public static new PromptScreenPartialsState Empty => new PromptScreenPartialsState(); + } +} diff --git a/sdk/go/auth0/client.go b/sdk/go/auth0/client.go index 1e05f040..eb0200a1 100644 --- a/sdk/go/auth0/client.go +++ b/sdk/go/auth0/client.go @@ -146,6 +146,8 @@ type Client struct { CustomLoginPage pulumi.StringPtrOutput `pulumi:"customLoginPage"` // Indicates whether a custom login page is to be used. CustomLoginPageOn pulumi.BoolOutput `pulumi:"customLoginPageOn"` + // Configure and associate an organization with the Client + DefaultOrganization ClientDefaultOrganizationOutput `pulumi:"defaultOrganization"` // Description of the purpose of the client. Description pulumi.StringOutput `pulumi:"description"` // Encryption used for WS-Fed responses with this client. @@ -255,6 +257,8 @@ type clientState struct { CustomLoginPage *string `pulumi:"customLoginPage"` // Indicates whether a custom login page is to be used. CustomLoginPageOn *bool `pulumi:"customLoginPageOn"` + // Configure and associate an organization with the Client + DefaultOrganization *ClientDefaultOrganization `pulumi:"defaultOrganization"` // Description of the purpose of the client. Description *string `pulumi:"description"` // Encryption used for WS-Fed responses with this client. @@ -328,6 +332,8 @@ type ClientState struct { CustomLoginPage pulumi.StringPtrInput // Indicates whether a custom login page is to be used. CustomLoginPageOn pulumi.BoolPtrInput + // Configure and associate an organization with the Client + DefaultOrganization ClientDefaultOrganizationPtrInput // Description of the purpose of the client. Description pulumi.StringPtrInput // Encryption used for WS-Fed responses with this client. @@ -403,6 +409,8 @@ type clientArgs struct { CustomLoginPage *string `pulumi:"customLoginPage"` // Indicates whether a custom login page is to be used. CustomLoginPageOn *bool `pulumi:"customLoginPageOn"` + // Configure and associate an organization with the Client + DefaultOrganization *ClientDefaultOrganization `pulumi:"defaultOrganization"` // Description of the purpose of the client. Description *string `pulumi:"description"` // Encryption used for WS-Fed responses with this client. @@ -473,6 +481,8 @@ type ClientArgs struct { CustomLoginPage pulumi.StringPtrInput // Indicates whether a custom login page is to be used. CustomLoginPageOn pulumi.BoolPtrInput + // Configure and associate an organization with the Client + DefaultOrganization ClientDefaultOrganizationPtrInput // Description of the purpose of the client. Description pulumi.StringPtrInput // Encryption used for WS-Fed responses with this client. @@ -669,6 +679,11 @@ func (o ClientOutput) CustomLoginPageOn() pulumi.BoolOutput { return o.ApplyT(func(v *Client) pulumi.BoolOutput { return v.CustomLoginPageOn }).(pulumi.BoolOutput) } +// Configure and associate an organization with the Client +func (o ClientOutput) DefaultOrganization() ClientDefaultOrganizationOutput { + return o.ApplyT(func(v *Client) ClientDefaultOrganizationOutput { return v.DefaultOrganization }).(ClientDefaultOrganizationOutput) +} + // Description of the purpose of the client. func (o ClientOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *Client) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/auth0/getClient.go b/sdk/go/auth0/getClient.go index cd3378ac..be936b82 100644 --- a/sdk/go/auth0/getClient.go +++ b/sdk/go/auth0/getClient.go @@ -93,6 +93,8 @@ type LookupClientResult struct { CustomLoginPage string `pulumi:"customLoginPage"` // Indicates whether a custom login page is to be used. CustomLoginPageOn bool `pulumi:"customLoginPageOn"` + // Configure and associate an organization with the Client + DefaultOrganizations []GetClientDefaultOrganization `pulumi:"defaultOrganizations"` // Description of the purpose of the client. Description string `pulumi:"description"` // Encryption used for WS-Fed responses with this client. @@ -252,6 +254,11 @@ func (o LookupClientResultOutput) CustomLoginPageOn() pulumi.BoolOutput { return o.ApplyT(func(v LookupClientResult) bool { return v.CustomLoginPageOn }).(pulumi.BoolOutput) } +// Configure and associate an organization with the Client +func (o LookupClientResultOutput) DefaultOrganizations() GetClientDefaultOrganizationArrayOutput { + return o.ApplyT(func(v LookupClientResult) []GetClientDefaultOrganization { return v.DefaultOrganizations }).(GetClientDefaultOrganizationArrayOutput) +} + // Description of the purpose of the client. func (o LookupClientResultOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v LookupClientResult) string { return v.Description }).(pulumi.StringOutput) diff --git a/sdk/go/auth0/getPromptScreenPartials.go b/sdk/go/auth0/getPromptScreenPartials.go new file mode 100644 index 00000000..e0e79a3c --- /dev/null +++ b/sdk/go/auth0/getPromptScreenPartials.go @@ -0,0 +1,128 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package auth0 + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Data source to retrieve a specific Auth0 prompt screen partials by `promptType`. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := auth0.LookupPromptScreenPartials(ctx, &auth0.LookupPromptScreenPartialsArgs{ +// PromptType: "prompt-name", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupPromptScreenPartials(ctx *pulumi.Context, args *LookupPromptScreenPartialsArgs, opts ...pulumi.InvokeOption) (*LookupPromptScreenPartialsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupPromptScreenPartialsResult + err := ctx.Invoke("auth0:index/getPromptScreenPartials:getPromptScreenPartials", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getPromptScreenPartials. +type LookupPromptScreenPartialsArgs struct { + // The type of prompt to customize. + PromptType string `pulumi:"promptType"` + // The screen partials associated with the prompt type. + ScreenPartials []GetPromptScreenPartialsScreenPartial `pulumi:"screenPartials"` +} + +// A collection of values returned by getPromptScreenPartials. +type LookupPromptScreenPartialsResult struct { + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The type of prompt to customize. + PromptType string `pulumi:"promptType"` + // The screen partials associated with the prompt type. + ScreenPartials []GetPromptScreenPartialsScreenPartial `pulumi:"screenPartials"` +} + +func LookupPromptScreenPartialsOutput(ctx *pulumi.Context, args LookupPromptScreenPartialsOutputArgs, opts ...pulumi.InvokeOption) LookupPromptScreenPartialsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupPromptScreenPartialsResult, error) { + args := v.(LookupPromptScreenPartialsArgs) + r, err := LookupPromptScreenPartials(ctx, &args, opts...) + var s LookupPromptScreenPartialsResult + if r != nil { + s = *r + } + return s, err + }).(LookupPromptScreenPartialsResultOutput) +} + +// A collection of arguments for invoking getPromptScreenPartials. +type LookupPromptScreenPartialsOutputArgs struct { + // The type of prompt to customize. + PromptType pulumi.StringInput `pulumi:"promptType"` + // The screen partials associated with the prompt type. + ScreenPartials GetPromptScreenPartialsScreenPartialArrayInput `pulumi:"screenPartials"` +} + +func (LookupPromptScreenPartialsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupPromptScreenPartialsArgs)(nil)).Elem() +} + +// A collection of values returned by getPromptScreenPartials. +type LookupPromptScreenPartialsResultOutput struct{ *pulumi.OutputState } + +func (LookupPromptScreenPartialsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupPromptScreenPartialsResult)(nil)).Elem() +} + +func (o LookupPromptScreenPartialsResultOutput) ToLookupPromptScreenPartialsResultOutput() LookupPromptScreenPartialsResultOutput { + return o +} + +func (o LookupPromptScreenPartialsResultOutput) ToLookupPromptScreenPartialsResultOutputWithContext(ctx context.Context) LookupPromptScreenPartialsResultOutput { + return o +} + +// The provider-assigned unique ID for this managed resource. +func (o LookupPromptScreenPartialsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupPromptScreenPartialsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The type of prompt to customize. +func (o LookupPromptScreenPartialsResultOutput) PromptType() pulumi.StringOutput { + return o.ApplyT(func(v LookupPromptScreenPartialsResult) string { return v.PromptType }).(pulumi.StringOutput) +} + +// The screen partials associated with the prompt type. +func (o LookupPromptScreenPartialsResultOutput) ScreenPartials() GetPromptScreenPartialsScreenPartialArrayOutput { + return o.ApplyT(func(v LookupPromptScreenPartialsResult) []GetPromptScreenPartialsScreenPartial { + return v.ScreenPartials + }).(GetPromptScreenPartialsScreenPartialArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupPromptScreenPartialsResultOutput{}) +} diff --git a/sdk/go/auth0/init.go b/sdk/go/auth0/init.go index 3d186834..5013604d 100644 --- a/sdk/go/auth0/init.go +++ b/sdk/go/auth0/init.go @@ -79,6 +79,10 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &PromptCustomText{} case "auth0:index/promptPartials:PromptPartials": r = &PromptPartials{} + case "auth0:index/promptScreenPartial:PromptScreenPartial": + r = &PromptScreenPartial{} + case "auth0:index/promptScreenPartials:PromptScreenPartials": + r = &PromptScreenPartials{} case "auth0:index/resourceServer:ResourceServer": r = &ResourceServer{} case "auth0:index/resourceServerScope:ResourceServerScope": @@ -289,6 +293,16 @@ func init() { "index/promptPartials", &module{version}, ) + pulumi.RegisterResourceModule( + "auth0", + "index/promptScreenPartial", + &module{version}, + ) + pulumi.RegisterResourceModule( + "auth0", + "index/promptScreenPartials", + &module{version}, + ) pulumi.RegisterResourceModule( "auth0", "index/resourceServer", diff --git a/sdk/go/auth0/promptCustomText.go b/sdk/go/auth0/promptCustomText.go index 1be16228..9f93ec64 100644 --- a/sdk/go/auth0/promptCustomText.go +++ b/sdk/go/auth0/promptCustomText.go @@ -91,7 +91,7 @@ type PromptCustomText struct { // JSON containing the custom texts. You can check the options for each prompt [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts#prompt-values). Body pulumi.StringOutput `pulumi:"body"` - // Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + // Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. Language pulumi.StringOutput `pulumi:"language"` // The term `prompt` is used to refer to a specific step in the login flow. Options include: `captcha`, `common`, `consent`, `custom-form`, `customized-consent`, `device-flow`, `email-otp-challenge`, `email-verification`, `invitation`, `login`, `login-email-verification`, `login-id`, `login-password`, `login-passwordless`, `logout`, `mfa`, `mfa-email`, `mfa-otp`, `mfa-phone`, `mfa-push`, `mfa-recovery-code`, `mfa-sms`, `mfa-voice`, `mfa-webauthn`, `organizations`, `passkeys`, `phone-identifier-challenge`, `phone-identifier-enrollment`, `reset-password`, `signup`, `signup-id`, `signup-password`, `status`. Prompt pulumi.StringOutput `pulumi:"prompt"` @@ -138,7 +138,7 @@ func GetPromptCustomText(ctx *pulumi.Context, type promptCustomTextState struct { // JSON containing the custom texts. You can check the options for each prompt [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts#prompt-values). Body *string `pulumi:"body"` - // Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + // Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. Language *string `pulumi:"language"` // The term `prompt` is used to refer to a specific step in the login flow. Options include: `captcha`, `common`, `consent`, `custom-form`, `customized-consent`, `device-flow`, `email-otp-challenge`, `email-verification`, `invitation`, `login`, `login-email-verification`, `login-id`, `login-password`, `login-passwordless`, `logout`, `mfa`, `mfa-email`, `mfa-otp`, `mfa-phone`, `mfa-push`, `mfa-recovery-code`, `mfa-sms`, `mfa-voice`, `mfa-webauthn`, `organizations`, `passkeys`, `phone-identifier-challenge`, `phone-identifier-enrollment`, `reset-password`, `signup`, `signup-id`, `signup-password`, `status`. Prompt *string `pulumi:"prompt"` @@ -147,7 +147,7 @@ type promptCustomTextState struct { type PromptCustomTextState struct { // JSON containing the custom texts. You can check the options for each prompt [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts#prompt-values). Body pulumi.StringPtrInput - // Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + // Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. Language pulumi.StringPtrInput // The term `prompt` is used to refer to a specific step in the login flow. Options include: `captcha`, `common`, `consent`, `custom-form`, `customized-consent`, `device-flow`, `email-otp-challenge`, `email-verification`, `invitation`, `login`, `login-email-verification`, `login-id`, `login-password`, `login-passwordless`, `logout`, `mfa`, `mfa-email`, `mfa-otp`, `mfa-phone`, `mfa-push`, `mfa-recovery-code`, `mfa-sms`, `mfa-voice`, `mfa-webauthn`, `organizations`, `passkeys`, `phone-identifier-challenge`, `phone-identifier-enrollment`, `reset-password`, `signup`, `signup-id`, `signup-password`, `status`. Prompt pulumi.StringPtrInput @@ -160,7 +160,7 @@ func (PromptCustomTextState) ElementType() reflect.Type { type promptCustomTextArgs struct { // JSON containing the custom texts. You can check the options for each prompt [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts#prompt-values). Body string `pulumi:"body"` - // Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + // Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. Language string `pulumi:"language"` // The term `prompt` is used to refer to a specific step in the login flow. Options include: `captcha`, `common`, `consent`, `custom-form`, `customized-consent`, `device-flow`, `email-otp-challenge`, `email-verification`, `invitation`, `login`, `login-email-verification`, `login-id`, `login-password`, `login-passwordless`, `logout`, `mfa`, `mfa-email`, `mfa-otp`, `mfa-phone`, `mfa-push`, `mfa-recovery-code`, `mfa-sms`, `mfa-voice`, `mfa-webauthn`, `organizations`, `passkeys`, `phone-identifier-challenge`, `phone-identifier-enrollment`, `reset-password`, `signup`, `signup-id`, `signup-password`, `status`. Prompt string `pulumi:"prompt"` @@ -170,7 +170,7 @@ type promptCustomTextArgs struct { type PromptCustomTextArgs struct { // JSON containing the custom texts. You can check the options for each prompt [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts#prompt-values). Body pulumi.StringInput - // Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + // Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. Language pulumi.StringInput // The term `prompt` is used to refer to a specific step in the login flow. Options include: `captcha`, `common`, `consent`, `custom-form`, `customized-consent`, `device-flow`, `email-otp-challenge`, `email-verification`, `invitation`, `login`, `login-email-verification`, `login-id`, `login-password`, `login-passwordless`, `logout`, `mfa`, `mfa-email`, `mfa-otp`, `mfa-phone`, `mfa-push`, `mfa-recovery-code`, `mfa-sms`, `mfa-voice`, `mfa-webauthn`, `organizations`, `passkeys`, `phone-identifier-challenge`, `phone-identifier-enrollment`, `reset-password`, `signup`, `signup-id`, `signup-password`, `status`. Prompt pulumi.StringInput @@ -268,7 +268,7 @@ func (o PromptCustomTextOutput) Body() pulumi.StringOutput { return o.ApplyT(func(v *PromptCustomText) pulumi.StringOutput { return v.Body }).(pulumi.StringOutput) } -// Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. +// Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. func (o PromptCustomTextOutput) Language() pulumi.StringOutput { return o.ApplyT(func(v *PromptCustomText) pulumi.StringOutput { return v.Language }).(pulumi.StringOutput) } diff --git a/sdk/go/auth0/promptPartials.go b/sdk/go/auth0/promptPartials.go index a21437c7..2ff2e91b 100644 --- a/sdk/go/auth0/promptPartials.go +++ b/sdk/go/auth0/promptPartials.go @@ -14,6 +14,9 @@ import ( // With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). // +// !> **Deprecated:** `PromptPartials` has been deprecated. Please use `PromptScreenPartials` for managing multiple +// prompt screens or `PromptScreenPartial` for managing a single prompt screen. +// // ## Example Usage // // ```go @@ -61,18 +64,32 @@ type PromptPartials struct { pulumi.CustomResourceState // Content that goes at the end of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentEnd pulumi.StringPtrOutput `pulumi:"formContentEnd"` // Content that goes at the start of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentStart pulumi.StringPtrOutput `pulumi:"formContentStart"` // Footer content for the end of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterEnd pulumi.StringPtrOutput `pulumi:"formFooterEnd"` // Footer content for the start of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart pulumi.StringPtrOutput `pulumi:"formFooterStart"` - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt pulumi.StringOutput `pulumi:"prompt"` // Actions that go at the end of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsEnd pulumi.StringPtrOutput `pulumi:"secondaryActionsEnd"` // Actions that go at the start of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsStart pulumi.StringPtrOutput `pulumi:"secondaryActionsStart"` } @@ -110,35 +127,63 @@ func GetPromptPartials(ctx *pulumi.Context, // Input properties used for looking up and filtering PromptPartials resources. type promptPartialsState struct { // Content that goes at the end of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentEnd *string `pulumi:"formContentEnd"` // Content that goes at the start of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentStart *string `pulumi:"formContentStart"` // Footer content for the end of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterEnd *string `pulumi:"formFooterEnd"` // Footer content for the start of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart *string `pulumi:"formFooterStart"` - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt *string `pulumi:"prompt"` // Actions that go at the end of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsEnd *string `pulumi:"secondaryActionsEnd"` // Actions that go at the start of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsStart *string `pulumi:"secondaryActionsStart"` } type PromptPartialsState struct { // Content that goes at the end of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentEnd pulumi.StringPtrInput // Content that goes at the start of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentStart pulumi.StringPtrInput // Footer content for the end of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterEnd pulumi.StringPtrInput // Footer content for the start of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart pulumi.StringPtrInput - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt pulumi.StringPtrInput // Actions that go at the end of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsEnd pulumi.StringPtrInput // Actions that go at the start of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsStart pulumi.StringPtrInput } @@ -148,36 +193,64 @@ func (PromptPartialsState) ElementType() reflect.Type { type promptPartialsArgs struct { // Content that goes at the end of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentEnd *string `pulumi:"formContentEnd"` // Content that goes at the start of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentStart *string `pulumi:"formContentStart"` // Footer content for the end of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterEnd *string `pulumi:"formFooterEnd"` // Footer content for the start of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart *string `pulumi:"formFooterStart"` - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt string `pulumi:"prompt"` // Actions that go at the end of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsEnd *string `pulumi:"secondaryActionsEnd"` // Actions that go at the start of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsStart *string `pulumi:"secondaryActionsStart"` } // The set of arguments for constructing a PromptPartials resource. type PromptPartialsArgs struct { // Content that goes at the end of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentEnd pulumi.StringPtrInput // Content that goes at the start of the form. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormContentStart pulumi.StringPtrInput // Footer content for the end of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterEnd pulumi.StringPtrInput // Footer content for the start of the footer. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. FormFooterStart pulumi.StringPtrInput - // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. Prompt pulumi.StringInput // Actions that go at the end of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsEnd pulumi.StringPtrInput // Actions that go at the start of secondary actions. + // + // Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. SecondaryActionsStart pulumi.StringPtrInput } @@ -269,36 +342,50 @@ func (o PromptPartialsOutput) ToPromptPartialsOutputWithContext(ctx context.Cont } // Content that goes at the end of the form. +// +// Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. func (o PromptPartialsOutput) FormContentEnd() pulumi.StringPtrOutput { return o.ApplyT(func(v *PromptPartials) pulumi.StringPtrOutput { return v.FormContentEnd }).(pulumi.StringPtrOutput) } // Content that goes at the start of the form. +// +// Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. func (o PromptPartialsOutput) FormContentStart() pulumi.StringPtrOutput { return o.ApplyT(func(v *PromptPartials) pulumi.StringPtrOutput { return v.FormContentStart }).(pulumi.StringPtrOutput) } // Footer content for the end of the footer. +// +// Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. func (o PromptPartialsOutput) FormFooterEnd() pulumi.StringPtrOutput { return o.ApplyT(func(v *PromptPartials) pulumi.StringPtrOutput { return v.FormFooterEnd }).(pulumi.StringPtrOutput) } // Footer content for the start of the footer. +// +// Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. func (o PromptPartialsOutput) FormFooterStart() pulumi.StringPtrOutput { return o.ApplyT(func(v *PromptPartials) pulumi.StringPtrOutput { return v.FormFooterStart }).(pulumi.StringPtrOutput) } -// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. +// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. +// +// Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. func (o PromptPartialsOutput) Prompt() pulumi.StringOutput { return o.ApplyT(func(v *PromptPartials) pulumi.StringOutput { return v.Prompt }).(pulumi.StringOutput) } // Actions that go at the end of secondary actions. +// +// Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. func (o PromptPartialsOutput) SecondaryActionsEnd() pulumi.StringPtrOutput { return o.ApplyT(func(v *PromptPartials) pulumi.StringPtrOutput { return v.SecondaryActionsEnd }).(pulumi.StringPtrOutput) } // Actions that go at the start of secondary actions. +// +// Deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case. func (o PromptPartialsOutput) SecondaryActionsStart() pulumi.StringPtrOutput { return o.ApplyT(func(v *PromptPartials) pulumi.StringPtrOutput { return v.SecondaryActionsStart }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/auth0/promptScreenPartial.go b/sdk/go/auth0/promptScreenPartial.go new file mode 100644 index 00000000..df6be90c --- /dev/null +++ b/sdk/go/auth0/promptScreenPartial.go @@ -0,0 +1,309 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package auth0 + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). +// +// !> This resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. +// +// In contrast, the `PromptScreenPartials` resource manages the complete set of prompt screens that are displayed during the +// authentication flow. To avoid potential issues, it is recommended not to use this resource in conjunction with the +// `PromptScreenPartials` resource when managing prompt screens for the same prompt. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := auth0.NewPromptScreenPartial(ctx, "login", &auth0.PromptScreenPartialArgs{ +// PromptType: pulumi.String("login"), +// ScreenName: pulumi.String("login"), +// InsertionPoints: &auth0.PromptScreenPartialInsertionPointsArgs{ +// FormContentStart: pulumi.String("
Form Content Start
"), +// FormContentEnd: pulumi.String("
Form Content End
"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// This resource can be imported using the prompt name and screen_name. +// +// # +// +// As this is not a resource identifiable by an ID within the Auth0 Management API, +// +// login can be imported using the prompt name and screen name using the format: +// +// prompt_name:screen_name +// +// # +// +// Example: +// +// ```sh +// $ pulumi import auth0:index/promptScreenPartial:PromptScreenPartial login "login:login" +// ``` +type PromptScreenPartial struct { + pulumi.CustomResourceState + + // The insertion points for the partials. + InsertionPoints PromptScreenPartialInsertionPointsPtrOutput `pulumi:"insertionPoints"` + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType pulumi.StringOutput `pulumi:"promptType"` + // The name of the screen associated with the partials + ScreenName pulumi.StringOutput `pulumi:"screenName"` +} + +// NewPromptScreenPartial registers a new resource with the given unique name, arguments, and options. +func NewPromptScreenPartial(ctx *pulumi.Context, + name string, args *PromptScreenPartialArgs, opts ...pulumi.ResourceOption) (*PromptScreenPartial, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.PromptType == nil { + return nil, errors.New("invalid value for required argument 'PromptType'") + } + if args.ScreenName == nil { + return nil, errors.New("invalid value for required argument 'ScreenName'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource PromptScreenPartial + err := ctx.RegisterResource("auth0:index/promptScreenPartial:PromptScreenPartial", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetPromptScreenPartial gets an existing PromptScreenPartial 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 GetPromptScreenPartial(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *PromptScreenPartialState, opts ...pulumi.ResourceOption) (*PromptScreenPartial, error) { + var resource PromptScreenPartial + err := ctx.ReadResource("auth0:index/promptScreenPartial:PromptScreenPartial", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering PromptScreenPartial resources. +type promptScreenPartialState struct { + // The insertion points for the partials. + InsertionPoints *PromptScreenPartialInsertionPoints `pulumi:"insertionPoints"` + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType *string `pulumi:"promptType"` + // The name of the screen associated with the partials + ScreenName *string `pulumi:"screenName"` +} + +type PromptScreenPartialState struct { + // The insertion points for the partials. + InsertionPoints PromptScreenPartialInsertionPointsPtrInput + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType pulumi.StringPtrInput + // The name of the screen associated with the partials + ScreenName pulumi.StringPtrInput +} + +func (PromptScreenPartialState) ElementType() reflect.Type { + return reflect.TypeOf((*promptScreenPartialState)(nil)).Elem() +} + +type promptScreenPartialArgs struct { + // The insertion points for the partials. + InsertionPoints *PromptScreenPartialInsertionPoints `pulumi:"insertionPoints"` + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType string `pulumi:"promptType"` + // The name of the screen associated with the partials + ScreenName string `pulumi:"screenName"` +} + +// The set of arguments for constructing a PromptScreenPartial resource. +type PromptScreenPartialArgs struct { + // The insertion points for the partials. + InsertionPoints PromptScreenPartialInsertionPointsPtrInput + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType pulumi.StringInput + // The name of the screen associated with the partials + ScreenName pulumi.StringInput +} + +func (PromptScreenPartialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*promptScreenPartialArgs)(nil)).Elem() +} + +type PromptScreenPartialInput interface { + pulumi.Input + + ToPromptScreenPartialOutput() PromptScreenPartialOutput + ToPromptScreenPartialOutputWithContext(ctx context.Context) PromptScreenPartialOutput +} + +func (*PromptScreenPartial) ElementType() reflect.Type { + return reflect.TypeOf((**PromptScreenPartial)(nil)).Elem() +} + +func (i *PromptScreenPartial) ToPromptScreenPartialOutput() PromptScreenPartialOutput { + return i.ToPromptScreenPartialOutputWithContext(context.Background()) +} + +func (i *PromptScreenPartial) ToPromptScreenPartialOutputWithContext(ctx context.Context) PromptScreenPartialOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialOutput) +} + +// PromptScreenPartialArrayInput is an input type that accepts PromptScreenPartialArray and PromptScreenPartialArrayOutput values. +// You can construct a concrete instance of `PromptScreenPartialArrayInput` via: +// +// PromptScreenPartialArray{ PromptScreenPartialArgs{...} } +type PromptScreenPartialArrayInput interface { + pulumi.Input + + ToPromptScreenPartialArrayOutput() PromptScreenPartialArrayOutput + ToPromptScreenPartialArrayOutputWithContext(context.Context) PromptScreenPartialArrayOutput +} + +type PromptScreenPartialArray []PromptScreenPartialInput + +func (PromptScreenPartialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PromptScreenPartial)(nil)).Elem() +} + +func (i PromptScreenPartialArray) ToPromptScreenPartialArrayOutput() PromptScreenPartialArrayOutput { + return i.ToPromptScreenPartialArrayOutputWithContext(context.Background()) +} + +func (i PromptScreenPartialArray) ToPromptScreenPartialArrayOutputWithContext(ctx context.Context) PromptScreenPartialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialArrayOutput) +} + +// PromptScreenPartialMapInput is an input type that accepts PromptScreenPartialMap and PromptScreenPartialMapOutput values. +// You can construct a concrete instance of `PromptScreenPartialMapInput` via: +// +// PromptScreenPartialMap{ "key": PromptScreenPartialArgs{...} } +type PromptScreenPartialMapInput interface { + pulumi.Input + + ToPromptScreenPartialMapOutput() PromptScreenPartialMapOutput + ToPromptScreenPartialMapOutputWithContext(context.Context) PromptScreenPartialMapOutput +} + +type PromptScreenPartialMap map[string]PromptScreenPartialInput + +func (PromptScreenPartialMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PromptScreenPartial)(nil)).Elem() +} + +func (i PromptScreenPartialMap) ToPromptScreenPartialMapOutput() PromptScreenPartialMapOutput { + return i.ToPromptScreenPartialMapOutputWithContext(context.Background()) +} + +func (i PromptScreenPartialMap) ToPromptScreenPartialMapOutputWithContext(ctx context.Context) PromptScreenPartialMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialMapOutput) +} + +type PromptScreenPartialOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PromptScreenPartial)(nil)).Elem() +} + +func (o PromptScreenPartialOutput) ToPromptScreenPartialOutput() PromptScreenPartialOutput { + return o +} + +func (o PromptScreenPartialOutput) ToPromptScreenPartialOutputWithContext(ctx context.Context) PromptScreenPartialOutput { + return o +} + +// The insertion points for the partials. +func (o PromptScreenPartialOutput) InsertionPoints() PromptScreenPartialInsertionPointsPtrOutput { + return o.ApplyT(func(v *PromptScreenPartial) PromptScreenPartialInsertionPointsPtrOutput { return v.InsertionPoints }).(PromptScreenPartialInsertionPointsPtrOutput) +} + +// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. +func (o PromptScreenPartialOutput) PromptType() pulumi.StringOutput { + return o.ApplyT(func(v *PromptScreenPartial) pulumi.StringOutput { return v.PromptType }).(pulumi.StringOutput) +} + +// The name of the screen associated with the partials +func (o PromptScreenPartialOutput) ScreenName() pulumi.StringOutput { + return o.ApplyT(func(v *PromptScreenPartial) pulumi.StringOutput { return v.ScreenName }).(pulumi.StringOutput) +} + +type PromptScreenPartialArrayOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PromptScreenPartial)(nil)).Elem() +} + +func (o PromptScreenPartialArrayOutput) ToPromptScreenPartialArrayOutput() PromptScreenPartialArrayOutput { + return o +} + +func (o PromptScreenPartialArrayOutput) ToPromptScreenPartialArrayOutputWithContext(ctx context.Context) PromptScreenPartialArrayOutput { + return o +} + +func (o PromptScreenPartialArrayOutput) Index(i pulumi.IntInput) PromptScreenPartialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PromptScreenPartial { + return vs[0].([]*PromptScreenPartial)[vs[1].(int)] + }).(PromptScreenPartialOutput) +} + +type PromptScreenPartialMapOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PromptScreenPartial)(nil)).Elem() +} + +func (o PromptScreenPartialMapOutput) ToPromptScreenPartialMapOutput() PromptScreenPartialMapOutput { + return o +} + +func (o PromptScreenPartialMapOutput) ToPromptScreenPartialMapOutputWithContext(ctx context.Context) PromptScreenPartialMapOutput { + return o +} + +func (o PromptScreenPartialMapOutput) MapIndex(k pulumi.StringInput) PromptScreenPartialOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PromptScreenPartial { + return vs[0].(map[string]*PromptScreenPartial)[vs[1].(string)] + }).(PromptScreenPartialOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialInput)(nil)).Elem(), &PromptScreenPartial{}) + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialArrayInput)(nil)).Elem(), PromptScreenPartialArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialMapInput)(nil)).Elem(), PromptScreenPartialMap{}) + pulumi.RegisterOutputType(PromptScreenPartialOutput{}) + pulumi.RegisterOutputType(PromptScreenPartialArrayOutput{}) + pulumi.RegisterOutputType(PromptScreenPartialMapOutput{}) +} diff --git a/sdk/go/auth0/promptScreenPartials.go b/sdk/go/auth0/promptScreenPartials.go new file mode 100644 index 00000000..fcb91996 --- /dev/null +++ b/sdk/go/auth0/promptScreenPartials.go @@ -0,0 +1,288 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package auth0 + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). +// +// !> This resource manages the entire set of prompt screens enabled for a prompt. In contrast, the `PromptScreenPartial` +// resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. +// +// To avoid potential issues, it is recommended not to use this resource in conjunction with the `PromptScreenPartial` +// resource when managing prompt screens for the same prompt. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := auth0.NewPromptScreenPartials(ctx, "prompt_screen_partials", &auth0.PromptScreenPartialsArgs{ +// PromptType: pulumi.String("login-passwordless"), +// ScreenPartials: auth0.PromptScreenPartialsScreenPartialArray{ +// &auth0.PromptScreenPartialsScreenPartialArgs{ +// ScreenName: pulumi.String("login-passwordless-email-code"), +// InsertionPoints: &auth0.PromptScreenPartialsScreenPartialInsertionPointsArgs{ +// FormContentStart: pulumi.String("
Form Content Start
"), +// FormContentEnd: pulumi.String("
Form Content End
"), +// }, +// }, +// &auth0.PromptScreenPartialsScreenPartialArgs{ +// ScreenName: pulumi.String("login-passwordless-sms-otp"), +// InsertionPoints: &auth0.PromptScreenPartialsScreenPartialInsertionPointsArgs{ +// FormContentStart: pulumi.String("
Form Content Start
"), +// FormContentEnd: pulumi.String("
Form Content End
"), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// This resource can be imported using the prompt name. +// +// # +// +// Example: +// +// ```sh +// $ pulumi import auth0:index/promptScreenPartials:PromptScreenPartials prompt_screen_partials "login-passwordless" +// ``` +type PromptScreenPartials struct { + pulumi.CustomResourceState + + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType pulumi.StringOutput `pulumi:"promptType"` + ScreenPartials PromptScreenPartialsScreenPartialArrayOutput `pulumi:"screenPartials"` +} + +// NewPromptScreenPartials registers a new resource with the given unique name, arguments, and options. +func NewPromptScreenPartials(ctx *pulumi.Context, + name string, args *PromptScreenPartialsArgs, opts ...pulumi.ResourceOption) (*PromptScreenPartials, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.PromptType == nil { + return nil, errors.New("invalid value for required argument 'PromptType'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource PromptScreenPartials + err := ctx.RegisterResource("auth0:index/promptScreenPartials:PromptScreenPartials", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetPromptScreenPartials gets an existing PromptScreenPartials 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 GetPromptScreenPartials(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *PromptScreenPartialsState, opts ...pulumi.ResourceOption) (*PromptScreenPartials, error) { + var resource PromptScreenPartials + err := ctx.ReadResource("auth0:index/promptScreenPartials:PromptScreenPartials", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering PromptScreenPartials resources. +type promptScreenPartialsState struct { + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType *string `pulumi:"promptType"` + ScreenPartials []PromptScreenPartialsScreenPartial `pulumi:"screenPartials"` +} + +type PromptScreenPartialsState struct { + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType pulumi.StringPtrInput + ScreenPartials PromptScreenPartialsScreenPartialArrayInput +} + +func (PromptScreenPartialsState) ElementType() reflect.Type { + return reflect.TypeOf((*promptScreenPartialsState)(nil)).Elem() +} + +type promptScreenPartialsArgs struct { + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType string `pulumi:"promptType"` + ScreenPartials []PromptScreenPartialsScreenPartial `pulumi:"screenPartials"` +} + +// The set of arguments for constructing a PromptScreenPartials resource. +type PromptScreenPartialsArgs struct { + // The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + PromptType pulumi.StringInput + ScreenPartials PromptScreenPartialsScreenPartialArrayInput +} + +func (PromptScreenPartialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*promptScreenPartialsArgs)(nil)).Elem() +} + +type PromptScreenPartialsInput interface { + pulumi.Input + + ToPromptScreenPartialsOutput() PromptScreenPartialsOutput + ToPromptScreenPartialsOutputWithContext(ctx context.Context) PromptScreenPartialsOutput +} + +func (*PromptScreenPartials) ElementType() reflect.Type { + return reflect.TypeOf((**PromptScreenPartials)(nil)).Elem() +} + +func (i *PromptScreenPartials) ToPromptScreenPartialsOutput() PromptScreenPartialsOutput { + return i.ToPromptScreenPartialsOutputWithContext(context.Background()) +} + +func (i *PromptScreenPartials) ToPromptScreenPartialsOutputWithContext(ctx context.Context) PromptScreenPartialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialsOutput) +} + +// PromptScreenPartialsArrayInput is an input type that accepts PromptScreenPartialsArray and PromptScreenPartialsArrayOutput values. +// You can construct a concrete instance of `PromptScreenPartialsArrayInput` via: +// +// PromptScreenPartialsArray{ PromptScreenPartialsArgs{...} } +type PromptScreenPartialsArrayInput interface { + pulumi.Input + + ToPromptScreenPartialsArrayOutput() PromptScreenPartialsArrayOutput + ToPromptScreenPartialsArrayOutputWithContext(context.Context) PromptScreenPartialsArrayOutput +} + +type PromptScreenPartialsArray []PromptScreenPartialsInput + +func (PromptScreenPartialsArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PromptScreenPartials)(nil)).Elem() +} + +func (i PromptScreenPartialsArray) ToPromptScreenPartialsArrayOutput() PromptScreenPartialsArrayOutput { + return i.ToPromptScreenPartialsArrayOutputWithContext(context.Background()) +} + +func (i PromptScreenPartialsArray) ToPromptScreenPartialsArrayOutputWithContext(ctx context.Context) PromptScreenPartialsArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialsArrayOutput) +} + +// PromptScreenPartialsMapInput is an input type that accepts PromptScreenPartialsMap and PromptScreenPartialsMapOutput values. +// You can construct a concrete instance of `PromptScreenPartialsMapInput` via: +// +// PromptScreenPartialsMap{ "key": PromptScreenPartialsArgs{...} } +type PromptScreenPartialsMapInput interface { + pulumi.Input + + ToPromptScreenPartialsMapOutput() PromptScreenPartialsMapOutput + ToPromptScreenPartialsMapOutputWithContext(context.Context) PromptScreenPartialsMapOutput +} + +type PromptScreenPartialsMap map[string]PromptScreenPartialsInput + +func (PromptScreenPartialsMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PromptScreenPartials)(nil)).Elem() +} + +func (i PromptScreenPartialsMap) ToPromptScreenPartialsMapOutput() PromptScreenPartialsMapOutput { + return i.ToPromptScreenPartialsMapOutputWithContext(context.Background()) +} + +func (i PromptScreenPartialsMap) ToPromptScreenPartialsMapOutputWithContext(ctx context.Context) PromptScreenPartialsMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialsMapOutput) +} + +type PromptScreenPartialsOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PromptScreenPartials)(nil)).Elem() +} + +func (o PromptScreenPartialsOutput) ToPromptScreenPartialsOutput() PromptScreenPartialsOutput { + return o +} + +func (o PromptScreenPartialsOutput) ToPromptScreenPartialsOutputWithContext(ctx context.Context) PromptScreenPartialsOutput { + return o +} + +// The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. +func (o PromptScreenPartialsOutput) PromptType() pulumi.StringOutput { + return o.ApplyT(func(v *PromptScreenPartials) pulumi.StringOutput { return v.PromptType }).(pulumi.StringOutput) +} + +func (o PromptScreenPartialsOutput) ScreenPartials() PromptScreenPartialsScreenPartialArrayOutput { + return o.ApplyT(func(v *PromptScreenPartials) PromptScreenPartialsScreenPartialArrayOutput { return v.ScreenPartials }).(PromptScreenPartialsScreenPartialArrayOutput) +} + +type PromptScreenPartialsArrayOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialsArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PromptScreenPartials)(nil)).Elem() +} + +func (o PromptScreenPartialsArrayOutput) ToPromptScreenPartialsArrayOutput() PromptScreenPartialsArrayOutput { + return o +} + +func (o PromptScreenPartialsArrayOutput) ToPromptScreenPartialsArrayOutputWithContext(ctx context.Context) PromptScreenPartialsArrayOutput { + return o +} + +func (o PromptScreenPartialsArrayOutput) Index(i pulumi.IntInput) PromptScreenPartialsOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PromptScreenPartials { + return vs[0].([]*PromptScreenPartials)[vs[1].(int)] + }).(PromptScreenPartialsOutput) +} + +type PromptScreenPartialsMapOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialsMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PromptScreenPartials)(nil)).Elem() +} + +func (o PromptScreenPartialsMapOutput) ToPromptScreenPartialsMapOutput() PromptScreenPartialsMapOutput { + return o +} + +func (o PromptScreenPartialsMapOutput) ToPromptScreenPartialsMapOutputWithContext(ctx context.Context) PromptScreenPartialsMapOutput { + return o +} + +func (o PromptScreenPartialsMapOutput) MapIndex(k pulumi.StringInput) PromptScreenPartialsOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PromptScreenPartials { + return vs[0].(map[string]*PromptScreenPartials)[vs[1].(string)] + }).(PromptScreenPartialsOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialsInput)(nil)).Elem(), &PromptScreenPartials{}) + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialsArrayInput)(nil)).Elem(), PromptScreenPartialsArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialsMapInput)(nil)).Elem(), PromptScreenPartialsMap{}) + pulumi.RegisterOutputType(PromptScreenPartialsOutput{}) + pulumi.RegisterOutputType(PromptScreenPartialsArrayOutput{}) + pulumi.RegisterOutputType(PromptScreenPartialsMapOutput{}) +} diff --git a/sdk/go/auth0/pulumiTypes.go b/sdk/go/auth0/pulumiTypes.go index 0489e43e..15a16ecf 100644 --- a/sdk/go/auth0/pulumiTypes.go +++ b/sdk/go/auth0/pulumiTypes.go @@ -10446,6 +10446,181 @@ func (o ClientCredentialsPrivateKeyJwtCredentialArrayOutput) Index(i pulumi.IntI }).(ClientCredentialsPrivateKeyJwtCredentialOutput) } +type ClientDefaultOrganization struct { + // If set, the `defaultOrganization` will be removed. + Disable *bool `pulumi:"disable"` + // Definition of the flow that needs to be configured. Eg. client_credentials + Flows []string `pulumi:"flows"` + // The unique identifier of the organization + OrganizationId *string `pulumi:"organizationId"` +} + +// ClientDefaultOrganizationInput is an input type that accepts ClientDefaultOrganizationArgs and ClientDefaultOrganizationOutput values. +// You can construct a concrete instance of `ClientDefaultOrganizationInput` via: +// +// ClientDefaultOrganizationArgs{...} +type ClientDefaultOrganizationInput interface { + pulumi.Input + + ToClientDefaultOrganizationOutput() ClientDefaultOrganizationOutput + ToClientDefaultOrganizationOutputWithContext(context.Context) ClientDefaultOrganizationOutput +} + +type ClientDefaultOrganizationArgs struct { + // If set, the `defaultOrganization` will be removed. + Disable pulumi.BoolPtrInput `pulumi:"disable"` + // Definition of the flow that needs to be configured. Eg. client_credentials + Flows pulumi.StringArrayInput `pulumi:"flows"` + // The unique identifier of the organization + OrganizationId pulumi.StringPtrInput `pulumi:"organizationId"` +} + +func (ClientDefaultOrganizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ClientDefaultOrganization)(nil)).Elem() +} + +func (i ClientDefaultOrganizationArgs) ToClientDefaultOrganizationOutput() ClientDefaultOrganizationOutput { + return i.ToClientDefaultOrganizationOutputWithContext(context.Background()) +} + +func (i ClientDefaultOrganizationArgs) ToClientDefaultOrganizationOutputWithContext(ctx context.Context) ClientDefaultOrganizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClientDefaultOrganizationOutput) +} + +func (i ClientDefaultOrganizationArgs) ToClientDefaultOrganizationPtrOutput() ClientDefaultOrganizationPtrOutput { + return i.ToClientDefaultOrganizationPtrOutputWithContext(context.Background()) +} + +func (i ClientDefaultOrganizationArgs) ToClientDefaultOrganizationPtrOutputWithContext(ctx context.Context) ClientDefaultOrganizationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClientDefaultOrganizationOutput).ToClientDefaultOrganizationPtrOutputWithContext(ctx) +} + +// ClientDefaultOrganizationPtrInput is an input type that accepts ClientDefaultOrganizationArgs, ClientDefaultOrganizationPtr and ClientDefaultOrganizationPtrOutput values. +// You can construct a concrete instance of `ClientDefaultOrganizationPtrInput` via: +// +// ClientDefaultOrganizationArgs{...} +// +// or: +// +// nil +type ClientDefaultOrganizationPtrInput interface { + pulumi.Input + + ToClientDefaultOrganizationPtrOutput() ClientDefaultOrganizationPtrOutput + ToClientDefaultOrganizationPtrOutputWithContext(context.Context) ClientDefaultOrganizationPtrOutput +} + +type clientDefaultOrganizationPtrType ClientDefaultOrganizationArgs + +func ClientDefaultOrganizationPtr(v *ClientDefaultOrganizationArgs) ClientDefaultOrganizationPtrInput { + return (*clientDefaultOrganizationPtrType)(v) +} + +func (*clientDefaultOrganizationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ClientDefaultOrganization)(nil)).Elem() +} + +func (i *clientDefaultOrganizationPtrType) ToClientDefaultOrganizationPtrOutput() ClientDefaultOrganizationPtrOutput { + return i.ToClientDefaultOrganizationPtrOutputWithContext(context.Background()) +} + +func (i *clientDefaultOrganizationPtrType) ToClientDefaultOrganizationPtrOutputWithContext(ctx context.Context) ClientDefaultOrganizationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ClientDefaultOrganizationPtrOutput) +} + +type ClientDefaultOrganizationOutput struct{ *pulumi.OutputState } + +func (ClientDefaultOrganizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ClientDefaultOrganization)(nil)).Elem() +} + +func (o ClientDefaultOrganizationOutput) ToClientDefaultOrganizationOutput() ClientDefaultOrganizationOutput { + return o +} + +func (o ClientDefaultOrganizationOutput) ToClientDefaultOrganizationOutputWithContext(ctx context.Context) ClientDefaultOrganizationOutput { + return o +} + +func (o ClientDefaultOrganizationOutput) ToClientDefaultOrganizationPtrOutput() ClientDefaultOrganizationPtrOutput { + return o.ToClientDefaultOrganizationPtrOutputWithContext(context.Background()) +} + +func (o ClientDefaultOrganizationOutput) ToClientDefaultOrganizationPtrOutputWithContext(ctx context.Context) ClientDefaultOrganizationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ClientDefaultOrganization) *ClientDefaultOrganization { + return &v + }).(ClientDefaultOrganizationPtrOutput) +} + +// If set, the `defaultOrganization` will be removed. +func (o ClientDefaultOrganizationOutput) Disable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v ClientDefaultOrganization) *bool { return v.Disable }).(pulumi.BoolPtrOutput) +} + +// Definition of the flow that needs to be configured. Eg. client_credentials +func (o ClientDefaultOrganizationOutput) Flows() pulumi.StringArrayOutput { + return o.ApplyT(func(v ClientDefaultOrganization) []string { return v.Flows }).(pulumi.StringArrayOutput) +} + +// The unique identifier of the organization +func (o ClientDefaultOrganizationOutput) OrganizationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ClientDefaultOrganization) *string { return v.OrganizationId }).(pulumi.StringPtrOutput) +} + +type ClientDefaultOrganizationPtrOutput struct{ *pulumi.OutputState } + +func (ClientDefaultOrganizationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ClientDefaultOrganization)(nil)).Elem() +} + +func (o ClientDefaultOrganizationPtrOutput) ToClientDefaultOrganizationPtrOutput() ClientDefaultOrganizationPtrOutput { + return o +} + +func (o ClientDefaultOrganizationPtrOutput) ToClientDefaultOrganizationPtrOutputWithContext(ctx context.Context) ClientDefaultOrganizationPtrOutput { + return o +} + +func (o ClientDefaultOrganizationPtrOutput) Elem() ClientDefaultOrganizationOutput { + return o.ApplyT(func(v *ClientDefaultOrganization) ClientDefaultOrganization { + if v != nil { + return *v + } + var ret ClientDefaultOrganization + return ret + }).(ClientDefaultOrganizationOutput) +} + +// If set, the `defaultOrganization` will be removed. +func (o ClientDefaultOrganizationPtrOutput) Disable() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *ClientDefaultOrganization) *bool { + if v == nil { + return nil + } + return v.Disable + }).(pulumi.BoolPtrOutput) +} + +// Definition of the flow that needs to be configured. Eg. client_credentials +func (o ClientDefaultOrganizationPtrOutput) Flows() pulumi.StringArrayOutput { + return o.ApplyT(func(v *ClientDefaultOrganization) []string { + if v == nil { + return nil + } + return v.Flows + }).(pulumi.StringArrayOutput) +} + +// The unique identifier of the organization +func (o ClientDefaultOrganizationPtrOutput) OrganizationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ClientDefaultOrganization) *string { + if v == nil { + return nil + } + return v.OrganizationId + }).(pulumi.StringPtrOutput) +} + type ClientJwtConfiguration struct { // Algorithm used to sign JWTs. Alg *string `pulumi:"alg"` @@ -21707,6 +21882,440 @@ func (o PagesLoginPtrOutput) Html() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type PromptScreenPartialInsertionPoints struct { + // Content that goes at the end of the form. + FormContentEnd *string `pulumi:"formContentEnd"` + // Content that goes at the start of the form. + FormContentStart *string `pulumi:"formContentStart"` + // Footer content for the end of the footer. + FormFooterEnd *string `pulumi:"formFooterEnd"` + // Footer content for the start of the footer. + FormFooterStart *string `pulumi:"formFooterStart"` + // Actions that go at the end of secondary actions. + SecondaryActionsEnd *string `pulumi:"secondaryActionsEnd"` + // Actions that go at the start of secondary actions. + SecondaryActionsStart *string `pulumi:"secondaryActionsStart"` +} + +// PromptScreenPartialInsertionPointsInput is an input type that accepts PromptScreenPartialInsertionPointsArgs and PromptScreenPartialInsertionPointsOutput values. +// You can construct a concrete instance of `PromptScreenPartialInsertionPointsInput` via: +// +// PromptScreenPartialInsertionPointsArgs{...} +type PromptScreenPartialInsertionPointsInput interface { + pulumi.Input + + ToPromptScreenPartialInsertionPointsOutput() PromptScreenPartialInsertionPointsOutput + ToPromptScreenPartialInsertionPointsOutputWithContext(context.Context) PromptScreenPartialInsertionPointsOutput +} + +type PromptScreenPartialInsertionPointsArgs struct { + // Content that goes at the end of the form. + FormContentEnd pulumi.StringPtrInput `pulumi:"formContentEnd"` + // Content that goes at the start of the form. + FormContentStart pulumi.StringPtrInput `pulumi:"formContentStart"` + // Footer content for the end of the footer. + FormFooterEnd pulumi.StringPtrInput `pulumi:"formFooterEnd"` + // Footer content for the start of the footer. + FormFooterStart pulumi.StringPtrInput `pulumi:"formFooterStart"` + // Actions that go at the end of secondary actions. + SecondaryActionsEnd pulumi.StringPtrInput `pulumi:"secondaryActionsEnd"` + // Actions that go at the start of secondary actions. + SecondaryActionsStart pulumi.StringPtrInput `pulumi:"secondaryActionsStart"` +} + +func (PromptScreenPartialInsertionPointsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PromptScreenPartialInsertionPoints)(nil)).Elem() +} + +func (i PromptScreenPartialInsertionPointsArgs) ToPromptScreenPartialInsertionPointsOutput() PromptScreenPartialInsertionPointsOutput { + return i.ToPromptScreenPartialInsertionPointsOutputWithContext(context.Background()) +} + +func (i PromptScreenPartialInsertionPointsArgs) ToPromptScreenPartialInsertionPointsOutputWithContext(ctx context.Context) PromptScreenPartialInsertionPointsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialInsertionPointsOutput) +} + +func (i PromptScreenPartialInsertionPointsArgs) ToPromptScreenPartialInsertionPointsPtrOutput() PromptScreenPartialInsertionPointsPtrOutput { + return i.ToPromptScreenPartialInsertionPointsPtrOutputWithContext(context.Background()) +} + +func (i PromptScreenPartialInsertionPointsArgs) ToPromptScreenPartialInsertionPointsPtrOutputWithContext(ctx context.Context) PromptScreenPartialInsertionPointsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialInsertionPointsOutput).ToPromptScreenPartialInsertionPointsPtrOutputWithContext(ctx) +} + +// PromptScreenPartialInsertionPointsPtrInput is an input type that accepts PromptScreenPartialInsertionPointsArgs, PromptScreenPartialInsertionPointsPtr and PromptScreenPartialInsertionPointsPtrOutput values. +// You can construct a concrete instance of `PromptScreenPartialInsertionPointsPtrInput` via: +// +// PromptScreenPartialInsertionPointsArgs{...} +// +// or: +// +// nil +type PromptScreenPartialInsertionPointsPtrInput interface { + pulumi.Input + + ToPromptScreenPartialInsertionPointsPtrOutput() PromptScreenPartialInsertionPointsPtrOutput + ToPromptScreenPartialInsertionPointsPtrOutputWithContext(context.Context) PromptScreenPartialInsertionPointsPtrOutput +} + +type promptScreenPartialInsertionPointsPtrType PromptScreenPartialInsertionPointsArgs + +func PromptScreenPartialInsertionPointsPtr(v *PromptScreenPartialInsertionPointsArgs) PromptScreenPartialInsertionPointsPtrInput { + return (*promptScreenPartialInsertionPointsPtrType)(v) +} + +func (*promptScreenPartialInsertionPointsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PromptScreenPartialInsertionPoints)(nil)).Elem() +} + +func (i *promptScreenPartialInsertionPointsPtrType) ToPromptScreenPartialInsertionPointsPtrOutput() PromptScreenPartialInsertionPointsPtrOutput { + return i.ToPromptScreenPartialInsertionPointsPtrOutputWithContext(context.Background()) +} + +func (i *promptScreenPartialInsertionPointsPtrType) ToPromptScreenPartialInsertionPointsPtrOutputWithContext(ctx context.Context) PromptScreenPartialInsertionPointsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialInsertionPointsPtrOutput) +} + +type PromptScreenPartialInsertionPointsOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialInsertionPointsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PromptScreenPartialInsertionPoints)(nil)).Elem() +} + +func (o PromptScreenPartialInsertionPointsOutput) ToPromptScreenPartialInsertionPointsOutput() PromptScreenPartialInsertionPointsOutput { + return o +} + +func (o PromptScreenPartialInsertionPointsOutput) ToPromptScreenPartialInsertionPointsOutputWithContext(ctx context.Context) PromptScreenPartialInsertionPointsOutput { + return o +} + +func (o PromptScreenPartialInsertionPointsOutput) ToPromptScreenPartialInsertionPointsPtrOutput() PromptScreenPartialInsertionPointsPtrOutput { + return o.ToPromptScreenPartialInsertionPointsPtrOutputWithContext(context.Background()) +} + +func (o PromptScreenPartialInsertionPointsOutput) ToPromptScreenPartialInsertionPointsPtrOutputWithContext(ctx context.Context) PromptScreenPartialInsertionPointsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PromptScreenPartialInsertionPoints) *PromptScreenPartialInsertionPoints { + return &v + }).(PromptScreenPartialInsertionPointsPtrOutput) +} + +// Content that goes at the end of the form. +func (o PromptScreenPartialInsertionPointsOutput) FormContentEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialInsertionPoints) *string { return v.FormContentEnd }).(pulumi.StringPtrOutput) +} + +// Content that goes at the start of the form. +func (o PromptScreenPartialInsertionPointsOutput) FormContentStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialInsertionPoints) *string { return v.FormContentStart }).(pulumi.StringPtrOutput) +} + +// Footer content for the end of the footer. +func (o PromptScreenPartialInsertionPointsOutput) FormFooterEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialInsertionPoints) *string { return v.FormFooterEnd }).(pulumi.StringPtrOutput) +} + +// Footer content for the start of the footer. +func (o PromptScreenPartialInsertionPointsOutput) FormFooterStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialInsertionPoints) *string { return v.FormFooterStart }).(pulumi.StringPtrOutput) +} + +// Actions that go at the end of secondary actions. +func (o PromptScreenPartialInsertionPointsOutput) SecondaryActionsEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialInsertionPoints) *string { return v.SecondaryActionsEnd }).(pulumi.StringPtrOutput) +} + +// Actions that go at the start of secondary actions. +func (o PromptScreenPartialInsertionPointsOutput) SecondaryActionsStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialInsertionPoints) *string { return v.SecondaryActionsStart }).(pulumi.StringPtrOutput) +} + +type PromptScreenPartialInsertionPointsPtrOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialInsertionPointsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PromptScreenPartialInsertionPoints)(nil)).Elem() +} + +func (o PromptScreenPartialInsertionPointsPtrOutput) ToPromptScreenPartialInsertionPointsPtrOutput() PromptScreenPartialInsertionPointsPtrOutput { + return o +} + +func (o PromptScreenPartialInsertionPointsPtrOutput) ToPromptScreenPartialInsertionPointsPtrOutputWithContext(ctx context.Context) PromptScreenPartialInsertionPointsPtrOutput { + return o +} + +func (o PromptScreenPartialInsertionPointsPtrOutput) Elem() PromptScreenPartialInsertionPointsOutput { + return o.ApplyT(func(v *PromptScreenPartialInsertionPoints) PromptScreenPartialInsertionPoints { + if v != nil { + return *v + } + var ret PromptScreenPartialInsertionPoints + return ret + }).(PromptScreenPartialInsertionPointsOutput) +} + +// Content that goes at the end of the form. +func (o PromptScreenPartialInsertionPointsPtrOutput) FormContentEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PromptScreenPartialInsertionPoints) *string { + if v == nil { + return nil + } + return v.FormContentEnd + }).(pulumi.StringPtrOutput) +} + +// Content that goes at the start of the form. +func (o PromptScreenPartialInsertionPointsPtrOutput) FormContentStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PromptScreenPartialInsertionPoints) *string { + if v == nil { + return nil + } + return v.FormContentStart + }).(pulumi.StringPtrOutput) +} + +// Footer content for the end of the footer. +func (o PromptScreenPartialInsertionPointsPtrOutput) FormFooterEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PromptScreenPartialInsertionPoints) *string { + if v == nil { + return nil + } + return v.FormFooterEnd + }).(pulumi.StringPtrOutput) +} + +// Footer content for the start of the footer. +func (o PromptScreenPartialInsertionPointsPtrOutput) FormFooterStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PromptScreenPartialInsertionPoints) *string { + if v == nil { + return nil + } + return v.FormFooterStart + }).(pulumi.StringPtrOutput) +} + +// Actions that go at the end of secondary actions. +func (o PromptScreenPartialInsertionPointsPtrOutput) SecondaryActionsEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PromptScreenPartialInsertionPoints) *string { + if v == nil { + return nil + } + return v.SecondaryActionsEnd + }).(pulumi.StringPtrOutput) +} + +// Actions that go at the start of secondary actions. +func (o PromptScreenPartialInsertionPointsPtrOutput) SecondaryActionsStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PromptScreenPartialInsertionPoints) *string { + if v == nil { + return nil + } + return v.SecondaryActionsStart + }).(pulumi.StringPtrOutput) +} + +type PromptScreenPartialsScreenPartial struct { + InsertionPoints PromptScreenPartialsScreenPartialInsertionPoints `pulumi:"insertionPoints"` + // The name of the screen associated with the partials + ScreenName string `pulumi:"screenName"` +} + +// PromptScreenPartialsScreenPartialInput is an input type that accepts PromptScreenPartialsScreenPartialArgs and PromptScreenPartialsScreenPartialOutput values. +// You can construct a concrete instance of `PromptScreenPartialsScreenPartialInput` via: +// +// PromptScreenPartialsScreenPartialArgs{...} +type PromptScreenPartialsScreenPartialInput interface { + pulumi.Input + + ToPromptScreenPartialsScreenPartialOutput() PromptScreenPartialsScreenPartialOutput + ToPromptScreenPartialsScreenPartialOutputWithContext(context.Context) PromptScreenPartialsScreenPartialOutput +} + +type PromptScreenPartialsScreenPartialArgs struct { + InsertionPoints PromptScreenPartialsScreenPartialInsertionPointsInput `pulumi:"insertionPoints"` + // The name of the screen associated with the partials + ScreenName pulumi.StringInput `pulumi:"screenName"` +} + +func (PromptScreenPartialsScreenPartialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PromptScreenPartialsScreenPartial)(nil)).Elem() +} + +func (i PromptScreenPartialsScreenPartialArgs) ToPromptScreenPartialsScreenPartialOutput() PromptScreenPartialsScreenPartialOutput { + return i.ToPromptScreenPartialsScreenPartialOutputWithContext(context.Background()) +} + +func (i PromptScreenPartialsScreenPartialArgs) ToPromptScreenPartialsScreenPartialOutputWithContext(ctx context.Context) PromptScreenPartialsScreenPartialOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialsScreenPartialOutput) +} + +// PromptScreenPartialsScreenPartialArrayInput is an input type that accepts PromptScreenPartialsScreenPartialArray and PromptScreenPartialsScreenPartialArrayOutput values. +// You can construct a concrete instance of `PromptScreenPartialsScreenPartialArrayInput` via: +// +// PromptScreenPartialsScreenPartialArray{ PromptScreenPartialsScreenPartialArgs{...} } +type PromptScreenPartialsScreenPartialArrayInput interface { + pulumi.Input + + ToPromptScreenPartialsScreenPartialArrayOutput() PromptScreenPartialsScreenPartialArrayOutput + ToPromptScreenPartialsScreenPartialArrayOutputWithContext(context.Context) PromptScreenPartialsScreenPartialArrayOutput +} + +type PromptScreenPartialsScreenPartialArray []PromptScreenPartialsScreenPartialInput + +func (PromptScreenPartialsScreenPartialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PromptScreenPartialsScreenPartial)(nil)).Elem() +} + +func (i PromptScreenPartialsScreenPartialArray) ToPromptScreenPartialsScreenPartialArrayOutput() PromptScreenPartialsScreenPartialArrayOutput { + return i.ToPromptScreenPartialsScreenPartialArrayOutputWithContext(context.Background()) +} + +func (i PromptScreenPartialsScreenPartialArray) ToPromptScreenPartialsScreenPartialArrayOutputWithContext(ctx context.Context) PromptScreenPartialsScreenPartialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialsScreenPartialArrayOutput) +} + +type PromptScreenPartialsScreenPartialOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialsScreenPartialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PromptScreenPartialsScreenPartial)(nil)).Elem() +} + +func (o PromptScreenPartialsScreenPartialOutput) ToPromptScreenPartialsScreenPartialOutput() PromptScreenPartialsScreenPartialOutput { + return o +} + +func (o PromptScreenPartialsScreenPartialOutput) ToPromptScreenPartialsScreenPartialOutputWithContext(ctx context.Context) PromptScreenPartialsScreenPartialOutput { + return o +} + +func (o PromptScreenPartialsScreenPartialOutput) InsertionPoints() PromptScreenPartialsScreenPartialInsertionPointsOutput { + return o.ApplyT(func(v PromptScreenPartialsScreenPartial) PromptScreenPartialsScreenPartialInsertionPoints { + return v.InsertionPoints + }).(PromptScreenPartialsScreenPartialInsertionPointsOutput) +} + +// The name of the screen associated with the partials +func (o PromptScreenPartialsScreenPartialOutput) ScreenName() pulumi.StringOutput { + return o.ApplyT(func(v PromptScreenPartialsScreenPartial) string { return v.ScreenName }).(pulumi.StringOutput) +} + +type PromptScreenPartialsScreenPartialArrayOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialsScreenPartialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PromptScreenPartialsScreenPartial)(nil)).Elem() +} + +func (o PromptScreenPartialsScreenPartialArrayOutput) ToPromptScreenPartialsScreenPartialArrayOutput() PromptScreenPartialsScreenPartialArrayOutput { + return o +} + +func (o PromptScreenPartialsScreenPartialArrayOutput) ToPromptScreenPartialsScreenPartialArrayOutputWithContext(ctx context.Context) PromptScreenPartialsScreenPartialArrayOutput { + return o +} + +func (o PromptScreenPartialsScreenPartialArrayOutput) Index(i pulumi.IntInput) PromptScreenPartialsScreenPartialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PromptScreenPartialsScreenPartial { + return vs[0].([]PromptScreenPartialsScreenPartial)[vs[1].(int)] + }).(PromptScreenPartialsScreenPartialOutput) +} + +type PromptScreenPartialsScreenPartialInsertionPoints struct { + // Content that goes at the end of the form. + FormContentEnd *string `pulumi:"formContentEnd"` + // Content that goes at the start of the form. + FormContentStart *string `pulumi:"formContentStart"` + // Footer content for the end of the footer. + FormFooterEnd *string `pulumi:"formFooterEnd"` + // Footer content for the start of the footer. + FormFooterStart *string `pulumi:"formFooterStart"` + // Actions that go at the end of secondary actions. + SecondaryActionsEnd *string `pulumi:"secondaryActionsEnd"` + // Actions that go at the start of secondary actions. + SecondaryActionsStart *string `pulumi:"secondaryActionsStart"` +} + +// PromptScreenPartialsScreenPartialInsertionPointsInput is an input type that accepts PromptScreenPartialsScreenPartialInsertionPointsArgs and PromptScreenPartialsScreenPartialInsertionPointsOutput values. +// You can construct a concrete instance of `PromptScreenPartialsScreenPartialInsertionPointsInput` via: +// +// PromptScreenPartialsScreenPartialInsertionPointsArgs{...} +type PromptScreenPartialsScreenPartialInsertionPointsInput interface { + pulumi.Input + + ToPromptScreenPartialsScreenPartialInsertionPointsOutput() PromptScreenPartialsScreenPartialInsertionPointsOutput + ToPromptScreenPartialsScreenPartialInsertionPointsOutputWithContext(context.Context) PromptScreenPartialsScreenPartialInsertionPointsOutput +} + +type PromptScreenPartialsScreenPartialInsertionPointsArgs struct { + // Content that goes at the end of the form. + FormContentEnd pulumi.StringPtrInput `pulumi:"formContentEnd"` + // Content that goes at the start of the form. + FormContentStart pulumi.StringPtrInput `pulumi:"formContentStart"` + // Footer content for the end of the footer. + FormFooterEnd pulumi.StringPtrInput `pulumi:"formFooterEnd"` + // Footer content for the start of the footer. + FormFooterStart pulumi.StringPtrInput `pulumi:"formFooterStart"` + // Actions that go at the end of secondary actions. + SecondaryActionsEnd pulumi.StringPtrInput `pulumi:"secondaryActionsEnd"` + // Actions that go at the start of secondary actions. + SecondaryActionsStart pulumi.StringPtrInput `pulumi:"secondaryActionsStart"` +} + +func (PromptScreenPartialsScreenPartialInsertionPointsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PromptScreenPartialsScreenPartialInsertionPoints)(nil)).Elem() +} + +func (i PromptScreenPartialsScreenPartialInsertionPointsArgs) ToPromptScreenPartialsScreenPartialInsertionPointsOutput() PromptScreenPartialsScreenPartialInsertionPointsOutput { + return i.ToPromptScreenPartialsScreenPartialInsertionPointsOutputWithContext(context.Background()) +} + +func (i PromptScreenPartialsScreenPartialInsertionPointsArgs) ToPromptScreenPartialsScreenPartialInsertionPointsOutputWithContext(ctx context.Context) PromptScreenPartialsScreenPartialInsertionPointsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PromptScreenPartialsScreenPartialInsertionPointsOutput) +} + +type PromptScreenPartialsScreenPartialInsertionPointsOutput struct{ *pulumi.OutputState } + +func (PromptScreenPartialsScreenPartialInsertionPointsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PromptScreenPartialsScreenPartialInsertionPoints)(nil)).Elem() +} + +func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) ToPromptScreenPartialsScreenPartialInsertionPointsOutput() PromptScreenPartialsScreenPartialInsertionPointsOutput { + return o +} + +func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) ToPromptScreenPartialsScreenPartialInsertionPointsOutputWithContext(ctx context.Context) PromptScreenPartialsScreenPartialInsertionPointsOutput { + return o +} + +// Content that goes at the end of the form. +func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) FormContentEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialsScreenPartialInsertionPoints) *string { return v.FormContentEnd }).(pulumi.StringPtrOutput) +} + +// Content that goes at the start of the form. +func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) FormContentStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialsScreenPartialInsertionPoints) *string { return v.FormContentStart }).(pulumi.StringPtrOutput) +} + +// Footer content for the end of the footer. +func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) FormFooterEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialsScreenPartialInsertionPoints) *string { return v.FormFooterEnd }).(pulumi.StringPtrOutput) +} + +// Footer content for the start of the footer. +func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) FormFooterStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialsScreenPartialInsertionPoints) *string { return v.FormFooterStart }).(pulumi.StringPtrOutput) +} + +// Actions that go at the end of secondary actions. +func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) SecondaryActionsEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialsScreenPartialInsertionPoints) *string { return v.SecondaryActionsEnd }).(pulumi.StringPtrOutput) +} + +// Actions that go at the start of secondary actions. +func (o PromptScreenPartialsScreenPartialInsertionPointsOutput) SecondaryActionsStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v PromptScreenPartialsScreenPartialInsertionPoints) *string { return v.SecondaryActionsStart }).(pulumi.StringPtrOutput) +} + type ResourceServerScopesScope struct { // User-friendly description of the scope (permission). Description *string `pulumi:"description"` @@ -29689,6 +30298,121 @@ func (o GetClientAddonZoomArrayOutput) Index(i pulumi.IntInput) GetClientAddonZo }).(GetClientAddonZoomOutput) } +type GetClientDefaultOrganization struct { + // If set, the `defaultOrganization` will be removed. + Disable bool `pulumi:"disable"` + // Definition of the flow that needs to be configured. Eg. client_credentials + Flows []string `pulumi:"flows"` + // The unique identifier of the organization + OrganizationId string `pulumi:"organizationId"` +} + +// GetClientDefaultOrganizationInput is an input type that accepts GetClientDefaultOrganizationArgs and GetClientDefaultOrganizationOutput values. +// You can construct a concrete instance of `GetClientDefaultOrganizationInput` via: +// +// GetClientDefaultOrganizationArgs{...} +type GetClientDefaultOrganizationInput interface { + pulumi.Input + + ToGetClientDefaultOrganizationOutput() GetClientDefaultOrganizationOutput + ToGetClientDefaultOrganizationOutputWithContext(context.Context) GetClientDefaultOrganizationOutput +} + +type GetClientDefaultOrganizationArgs struct { + // If set, the `defaultOrganization` will be removed. + Disable pulumi.BoolInput `pulumi:"disable"` + // Definition of the flow that needs to be configured. Eg. client_credentials + Flows pulumi.StringArrayInput `pulumi:"flows"` + // The unique identifier of the organization + OrganizationId pulumi.StringInput `pulumi:"organizationId"` +} + +func (GetClientDefaultOrganizationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetClientDefaultOrganization)(nil)).Elem() +} + +func (i GetClientDefaultOrganizationArgs) ToGetClientDefaultOrganizationOutput() GetClientDefaultOrganizationOutput { + return i.ToGetClientDefaultOrganizationOutputWithContext(context.Background()) +} + +func (i GetClientDefaultOrganizationArgs) ToGetClientDefaultOrganizationOutputWithContext(ctx context.Context) GetClientDefaultOrganizationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClientDefaultOrganizationOutput) +} + +// GetClientDefaultOrganizationArrayInput is an input type that accepts GetClientDefaultOrganizationArray and GetClientDefaultOrganizationArrayOutput values. +// You can construct a concrete instance of `GetClientDefaultOrganizationArrayInput` via: +// +// GetClientDefaultOrganizationArray{ GetClientDefaultOrganizationArgs{...} } +type GetClientDefaultOrganizationArrayInput interface { + pulumi.Input + + ToGetClientDefaultOrganizationArrayOutput() GetClientDefaultOrganizationArrayOutput + ToGetClientDefaultOrganizationArrayOutputWithContext(context.Context) GetClientDefaultOrganizationArrayOutput +} + +type GetClientDefaultOrganizationArray []GetClientDefaultOrganizationInput + +func (GetClientDefaultOrganizationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClientDefaultOrganization)(nil)).Elem() +} + +func (i GetClientDefaultOrganizationArray) ToGetClientDefaultOrganizationArrayOutput() GetClientDefaultOrganizationArrayOutput { + return i.ToGetClientDefaultOrganizationArrayOutputWithContext(context.Background()) +} + +func (i GetClientDefaultOrganizationArray) ToGetClientDefaultOrganizationArrayOutputWithContext(ctx context.Context) GetClientDefaultOrganizationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetClientDefaultOrganizationArrayOutput) +} + +type GetClientDefaultOrganizationOutput struct{ *pulumi.OutputState } + +func (GetClientDefaultOrganizationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetClientDefaultOrganization)(nil)).Elem() +} + +func (o GetClientDefaultOrganizationOutput) ToGetClientDefaultOrganizationOutput() GetClientDefaultOrganizationOutput { + return o +} + +func (o GetClientDefaultOrganizationOutput) ToGetClientDefaultOrganizationOutputWithContext(ctx context.Context) GetClientDefaultOrganizationOutput { + return o +} + +// If set, the `defaultOrganization` will be removed. +func (o GetClientDefaultOrganizationOutput) Disable() pulumi.BoolOutput { + return o.ApplyT(func(v GetClientDefaultOrganization) bool { return v.Disable }).(pulumi.BoolOutput) +} + +// Definition of the flow that needs to be configured. Eg. client_credentials +func (o GetClientDefaultOrganizationOutput) Flows() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetClientDefaultOrganization) []string { return v.Flows }).(pulumi.StringArrayOutput) +} + +// The unique identifier of the organization +func (o GetClientDefaultOrganizationOutput) OrganizationId() pulumi.StringOutput { + return o.ApplyT(func(v GetClientDefaultOrganization) string { return v.OrganizationId }).(pulumi.StringOutput) +} + +type GetClientDefaultOrganizationArrayOutput struct{ *pulumi.OutputState } + +func (GetClientDefaultOrganizationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetClientDefaultOrganization)(nil)).Elem() +} + +func (o GetClientDefaultOrganizationArrayOutput) ToGetClientDefaultOrganizationArrayOutput() GetClientDefaultOrganizationArrayOutput { + return o +} + +func (o GetClientDefaultOrganizationArrayOutput) ToGetClientDefaultOrganizationArrayOutputWithContext(ctx context.Context) GetClientDefaultOrganizationArrayOutput { + return o +} + +func (o GetClientDefaultOrganizationArrayOutput) Index(i pulumi.IntInput) GetClientDefaultOrganizationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetClientDefaultOrganization { + return vs[0].([]GetClientDefaultOrganization)[vs[1].(int)] + }).(GetClientDefaultOrganizationOutput) +} + type GetClientJwtConfiguration struct { // Algorithm used to sign JWTs. Alg string `pulumi:"alg"` @@ -35411,6 +36135,253 @@ func (o GetPagesLoginArrayOutput) Index(i pulumi.IntInput) GetPagesLoginOutput { }).(GetPagesLoginOutput) } +type GetPromptScreenPartialsScreenPartial struct { + InsertionPoints []GetPromptScreenPartialsScreenPartialInsertionPoint `pulumi:"insertionPoints"` + // The name of the screen associated with the partials + ScreenName string `pulumi:"screenName"` +} + +// GetPromptScreenPartialsScreenPartialInput is an input type that accepts GetPromptScreenPartialsScreenPartialArgs and GetPromptScreenPartialsScreenPartialOutput values. +// You can construct a concrete instance of `GetPromptScreenPartialsScreenPartialInput` via: +// +// GetPromptScreenPartialsScreenPartialArgs{...} +type GetPromptScreenPartialsScreenPartialInput interface { + pulumi.Input + + ToGetPromptScreenPartialsScreenPartialOutput() GetPromptScreenPartialsScreenPartialOutput + ToGetPromptScreenPartialsScreenPartialOutputWithContext(context.Context) GetPromptScreenPartialsScreenPartialOutput +} + +type GetPromptScreenPartialsScreenPartialArgs struct { + InsertionPoints GetPromptScreenPartialsScreenPartialInsertionPointArrayInput `pulumi:"insertionPoints"` + // The name of the screen associated with the partials + ScreenName pulumi.StringInput `pulumi:"screenName"` +} + +func (GetPromptScreenPartialsScreenPartialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPromptScreenPartialsScreenPartial)(nil)).Elem() +} + +func (i GetPromptScreenPartialsScreenPartialArgs) ToGetPromptScreenPartialsScreenPartialOutput() GetPromptScreenPartialsScreenPartialOutput { + return i.ToGetPromptScreenPartialsScreenPartialOutputWithContext(context.Background()) +} + +func (i GetPromptScreenPartialsScreenPartialArgs) ToGetPromptScreenPartialsScreenPartialOutputWithContext(ctx context.Context) GetPromptScreenPartialsScreenPartialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPromptScreenPartialsScreenPartialOutput) +} + +// GetPromptScreenPartialsScreenPartialArrayInput is an input type that accepts GetPromptScreenPartialsScreenPartialArray and GetPromptScreenPartialsScreenPartialArrayOutput values. +// You can construct a concrete instance of `GetPromptScreenPartialsScreenPartialArrayInput` via: +// +// GetPromptScreenPartialsScreenPartialArray{ GetPromptScreenPartialsScreenPartialArgs{...} } +type GetPromptScreenPartialsScreenPartialArrayInput interface { + pulumi.Input + + ToGetPromptScreenPartialsScreenPartialArrayOutput() GetPromptScreenPartialsScreenPartialArrayOutput + ToGetPromptScreenPartialsScreenPartialArrayOutputWithContext(context.Context) GetPromptScreenPartialsScreenPartialArrayOutput +} + +type GetPromptScreenPartialsScreenPartialArray []GetPromptScreenPartialsScreenPartialInput + +func (GetPromptScreenPartialsScreenPartialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPromptScreenPartialsScreenPartial)(nil)).Elem() +} + +func (i GetPromptScreenPartialsScreenPartialArray) ToGetPromptScreenPartialsScreenPartialArrayOutput() GetPromptScreenPartialsScreenPartialArrayOutput { + return i.ToGetPromptScreenPartialsScreenPartialArrayOutputWithContext(context.Background()) +} + +func (i GetPromptScreenPartialsScreenPartialArray) ToGetPromptScreenPartialsScreenPartialArrayOutputWithContext(ctx context.Context) GetPromptScreenPartialsScreenPartialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPromptScreenPartialsScreenPartialArrayOutput) +} + +type GetPromptScreenPartialsScreenPartialOutput struct{ *pulumi.OutputState } + +func (GetPromptScreenPartialsScreenPartialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPromptScreenPartialsScreenPartial)(nil)).Elem() +} + +func (o GetPromptScreenPartialsScreenPartialOutput) ToGetPromptScreenPartialsScreenPartialOutput() GetPromptScreenPartialsScreenPartialOutput { + return o +} + +func (o GetPromptScreenPartialsScreenPartialOutput) ToGetPromptScreenPartialsScreenPartialOutputWithContext(ctx context.Context) GetPromptScreenPartialsScreenPartialOutput { + return o +} + +func (o GetPromptScreenPartialsScreenPartialOutput) InsertionPoints() GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput { + return o.ApplyT(func(v GetPromptScreenPartialsScreenPartial) []GetPromptScreenPartialsScreenPartialInsertionPoint { + return v.InsertionPoints + }).(GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput) +} + +// The name of the screen associated with the partials +func (o GetPromptScreenPartialsScreenPartialOutput) ScreenName() pulumi.StringOutput { + return o.ApplyT(func(v GetPromptScreenPartialsScreenPartial) string { return v.ScreenName }).(pulumi.StringOutput) +} + +type GetPromptScreenPartialsScreenPartialArrayOutput struct{ *pulumi.OutputState } + +func (GetPromptScreenPartialsScreenPartialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPromptScreenPartialsScreenPartial)(nil)).Elem() +} + +func (o GetPromptScreenPartialsScreenPartialArrayOutput) ToGetPromptScreenPartialsScreenPartialArrayOutput() GetPromptScreenPartialsScreenPartialArrayOutput { + return o +} + +func (o GetPromptScreenPartialsScreenPartialArrayOutput) ToGetPromptScreenPartialsScreenPartialArrayOutputWithContext(ctx context.Context) GetPromptScreenPartialsScreenPartialArrayOutput { + return o +} + +func (o GetPromptScreenPartialsScreenPartialArrayOutput) Index(i pulumi.IntInput) GetPromptScreenPartialsScreenPartialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPromptScreenPartialsScreenPartial { + return vs[0].([]GetPromptScreenPartialsScreenPartial)[vs[1].(int)] + }).(GetPromptScreenPartialsScreenPartialOutput) +} + +type GetPromptScreenPartialsScreenPartialInsertionPoint struct { + // Content that goes at the end of the form. + FormContentEnd string `pulumi:"formContentEnd"` + // Content that goes at the start of the form. + FormContentStart string `pulumi:"formContentStart"` + // Footer content for the end of the footer. + FormFooterEnd string `pulumi:"formFooterEnd"` + // Footer content for the start of the footer. + FormFooterStart string `pulumi:"formFooterStart"` + // Actions that go at the end of secondary actions. + SecondaryActionsEnd string `pulumi:"secondaryActionsEnd"` + // Actions that go at the start of secondary actions. + SecondaryActionsStart string `pulumi:"secondaryActionsStart"` +} + +// GetPromptScreenPartialsScreenPartialInsertionPointInput is an input type that accepts GetPromptScreenPartialsScreenPartialInsertionPointArgs and GetPromptScreenPartialsScreenPartialInsertionPointOutput values. +// You can construct a concrete instance of `GetPromptScreenPartialsScreenPartialInsertionPointInput` via: +// +// GetPromptScreenPartialsScreenPartialInsertionPointArgs{...} +type GetPromptScreenPartialsScreenPartialInsertionPointInput interface { + pulumi.Input + + ToGetPromptScreenPartialsScreenPartialInsertionPointOutput() GetPromptScreenPartialsScreenPartialInsertionPointOutput + ToGetPromptScreenPartialsScreenPartialInsertionPointOutputWithContext(context.Context) GetPromptScreenPartialsScreenPartialInsertionPointOutput +} + +type GetPromptScreenPartialsScreenPartialInsertionPointArgs struct { + // Content that goes at the end of the form. + FormContentEnd pulumi.StringInput `pulumi:"formContentEnd"` + // Content that goes at the start of the form. + FormContentStart pulumi.StringInput `pulumi:"formContentStart"` + // Footer content for the end of the footer. + FormFooterEnd pulumi.StringInput `pulumi:"formFooterEnd"` + // Footer content for the start of the footer. + FormFooterStart pulumi.StringInput `pulumi:"formFooterStart"` + // Actions that go at the end of secondary actions. + SecondaryActionsEnd pulumi.StringInput `pulumi:"secondaryActionsEnd"` + // Actions that go at the start of secondary actions. + SecondaryActionsStart pulumi.StringInput `pulumi:"secondaryActionsStart"` +} + +func (GetPromptScreenPartialsScreenPartialInsertionPointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPromptScreenPartialsScreenPartialInsertionPoint)(nil)).Elem() +} + +func (i GetPromptScreenPartialsScreenPartialInsertionPointArgs) ToGetPromptScreenPartialsScreenPartialInsertionPointOutput() GetPromptScreenPartialsScreenPartialInsertionPointOutput { + return i.ToGetPromptScreenPartialsScreenPartialInsertionPointOutputWithContext(context.Background()) +} + +func (i GetPromptScreenPartialsScreenPartialInsertionPointArgs) ToGetPromptScreenPartialsScreenPartialInsertionPointOutputWithContext(ctx context.Context) GetPromptScreenPartialsScreenPartialInsertionPointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPromptScreenPartialsScreenPartialInsertionPointOutput) +} + +// GetPromptScreenPartialsScreenPartialInsertionPointArrayInput is an input type that accepts GetPromptScreenPartialsScreenPartialInsertionPointArray and GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput values. +// You can construct a concrete instance of `GetPromptScreenPartialsScreenPartialInsertionPointArrayInput` via: +// +// GetPromptScreenPartialsScreenPartialInsertionPointArray{ GetPromptScreenPartialsScreenPartialInsertionPointArgs{...} } +type GetPromptScreenPartialsScreenPartialInsertionPointArrayInput interface { + pulumi.Input + + ToGetPromptScreenPartialsScreenPartialInsertionPointArrayOutput() GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput + ToGetPromptScreenPartialsScreenPartialInsertionPointArrayOutputWithContext(context.Context) GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput +} + +type GetPromptScreenPartialsScreenPartialInsertionPointArray []GetPromptScreenPartialsScreenPartialInsertionPointInput + +func (GetPromptScreenPartialsScreenPartialInsertionPointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPromptScreenPartialsScreenPartialInsertionPoint)(nil)).Elem() +} + +func (i GetPromptScreenPartialsScreenPartialInsertionPointArray) ToGetPromptScreenPartialsScreenPartialInsertionPointArrayOutput() GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput { + return i.ToGetPromptScreenPartialsScreenPartialInsertionPointArrayOutputWithContext(context.Background()) +} + +func (i GetPromptScreenPartialsScreenPartialInsertionPointArray) ToGetPromptScreenPartialsScreenPartialInsertionPointArrayOutputWithContext(ctx context.Context) GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput) +} + +type GetPromptScreenPartialsScreenPartialInsertionPointOutput struct{ *pulumi.OutputState } + +func (GetPromptScreenPartialsScreenPartialInsertionPointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPromptScreenPartialsScreenPartialInsertionPoint)(nil)).Elem() +} + +func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) ToGetPromptScreenPartialsScreenPartialInsertionPointOutput() GetPromptScreenPartialsScreenPartialInsertionPointOutput { + return o +} + +func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) ToGetPromptScreenPartialsScreenPartialInsertionPointOutputWithContext(ctx context.Context) GetPromptScreenPartialsScreenPartialInsertionPointOutput { + return o +} + +// Content that goes at the end of the form. +func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) FormContentEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetPromptScreenPartialsScreenPartialInsertionPoint) string { return v.FormContentEnd }).(pulumi.StringOutput) +} + +// Content that goes at the start of the form. +func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) FormContentStart() pulumi.StringOutput { + return o.ApplyT(func(v GetPromptScreenPartialsScreenPartialInsertionPoint) string { return v.FormContentStart }).(pulumi.StringOutput) +} + +// Footer content for the end of the footer. +func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) FormFooterEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetPromptScreenPartialsScreenPartialInsertionPoint) string { return v.FormFooterEnd }).(pulumi.StringOutput) +} + +// Footer content for the start of the footer. +func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) FormFooterStart() pulumi.StringOutput { + return o.ApplyT(func(v GetPromptScreenPartialsScreenPartialInsertionPoint) string { return v.FormFooterStart }).(pulumi.StringOutput) +} + +// Actions that go at the end of secondary actions. +func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) SecondaryActionsEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetPromptScreenPartialsScreenPartialInsertionPoint) string { return v.SecondaryActionsEnd }).(pulumi.StringOutput) +} + +// Actions that go at the start of secondary actions. +func (o GetPromptScreenPartialsScreenPartialInsertionPointOutput) SecondaryActionsStart() pulumi.StringOutput { + return o.ApplyT(func(v GetPromptScreenPartialsScreenPartialInsertionPoint) string { return v.SecondaryActionsStart }).(pulumi.StringOutput) +} + +type GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput struct{ *pulumi.OutputState } + +func (GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPromptScreenPartialsScreenPartialInsertionPoint)(nil)).Elem() +} + +func (o GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput) ToGetPromptScreenPartialsScreenPartialInsertionPointArrayOutput() GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput { + return o +} + +func (o GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput) ToGetPromptScreenPartialsScreenPartialInsertionPointArrayOutputWithContext(ctx context.Context) GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput { + return o +} + +func (o GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput) Index(i pulumi.IntInput) GetPromptScreenPartialsScreenPartialInsertionPointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPromptScreenPartialsScreenPartialInsertionPoint { + return vs[0].([]GetPromptScreenPartialsScreenPartialInsertionPoint)[vs[1].(int)] + }).(GetPromptScreenPartialsScreenPartialInsertionPointOutput) +} + type GetResourceServerScopeType struct { // Description of the permission (scope). Description string `pulumi:"description"` @@ -36863,6 +37834,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ClientCredentialsPrivateKeyJwtPtrInput)(nil)).Elem(), ClientCredentialsPrivateKeyJwtArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientCredentialsPrivateKeyJwtCredentialInput)(nil)).Elem(), ClientCredentialsPrivateKeyJwtCredentialArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientCredentialsPrivateKeyJwtCredentialArrayInput)(nil)).Elem(), ClientCredentialsPrivateKeyJwtCredentialArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClientDefaultOrganizationInput)(nil)).Elem(), ClientDefaultOrganizationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ClientDefaultOrganizationPtrInput)(nil)).Elem(), ClientDefaultOrganizationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientJwtConfigurationInput)(nil)).Elem(), ClientJwtConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientJwtConfigurationPtrInput)(nil)).Elem(), ClientJwtConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ClientMobileInput)(nil)).Elem(), ClientMobileArgs{}) @@ -36983,6 +37956,11 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*PagesGuardianMfaPtrInput)(nil)).Elem(), PagesGuardianMfaArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PagesLoginInput)(nil)).Elem(), PagesLoginArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PagesLoginPtrInput)(nil)).Elem(), PagesLoginArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialInsertionPointsInput)(nil)).Elem(), PromptScreenPartialInsertionPointsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialInsertionPointsPtrInput)(nil)).Elem(), PromptScreenPartialInsertionPointsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialsScreenPartialInput)(nil)).Elem(), PromptScreenPartialsScreenPartialArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialsScreenPartialArrayInput)(nil)).Elem(), PromptScreenPartialsScreenPartialArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PromptScreenPartialsScreenPartialInsertionPointsInput)(nil)).Elem(), PromptScreenPartialsScreenPartialInsertionPointsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ResourceServerScopesScopeInput)(nil)).Elem(), ResourceServerScopesScopeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ResourceServerScopesScopeArrayInput)(nil)).Elem(), ResourceServerScopesScopeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*RolePermissionsPermissionInput)(nil)).Elem(), RolePermissionsPermissionArgs{}) @@ -37105,6 +38083,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetClientAddonZendeskArrayInput)(nil)).Elem(), GetClientAddonZendeskArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientAddonZoomInput)(nil)).Elem(), GetClientAddonZoomArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientAddonZoomArrayInput)(nil)).Elem(), GetClientAddonZoomArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClientDefaultOrganizationInput)(nil)).Elem(), GetClientDefaultOrganizationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetClientDefaultOrganizationArrayInput)(nil)).Elem(), GetClientDefaultOrganizationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientJwtConfigurationInput)(nil)).Elem(), GetClientJwtConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientJwtConfigurationArrayInput)(nil)).Elem(), GetClientJwtConfigurationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetClientMobileInput)(nil)).Elem(), GetClientMobileArgs{}) @@ -37197,6 +38177,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetPagesGuardianMfaArrayInput)(nil)).Elem(), GetPagesGuardianMfaArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPagesLoginInput)(nil)).Elem(), GetPagesLoginArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPagesLoginArrayInput)(nil)).Elem(), GetPagesLoginArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPromptScreenPartialsScreenPartialInput)(nil)).Elem(), GetPromptScreenPartialsScreenPartialArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPromptScreenPartialsScreenPartialArrayInput)(nil)).Elem(), GetPromptScreenPartialsScreenPartialArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPromptScreenPartialsScreenPartialInsertionPointInput)(nil)).Elem(), GetPromptScreenPartialsScreenPartialInsertionPointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPromptScreenPartialsScreenPartialInsertionPointArrayInput)(nil)).Elem(), GetPromptScreenPartialsScreenPartialInsertionPointArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetResourceServerScopeTypeInput)(nil)).Elem(), GetResourceServerScopeTypeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetResourceServerScopeTypeArrayInput)(nil)).Elem(), GetResourceServerScopeTypeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetRolePermissionTypeInput)(nil)).Elem(), GetRolePermissionTypeArgs{}) @@ -37329,6 +38313,8 @@ func init() { pulumi.RegisterOutputType(ClientCredentialsPrivateKeyJwtPtrOutput{}) pulumi.RegisterOutputType(ClientCredentialsPrivateKeyJwtCredentialOutput{}) pulumi.RegisterOutputType(ClientCredentialsPrivateKeyJwtCredentialArrayOutput{}) + pulumi.RegisterOutputType(ClientDefaultOrganizationOutput{}) + pulumi.RegisterOutputType(ClientDefaultOrganizationPtrOutput{}) pulumi.RegisterOutputType(ClientJwtConfigurationOutput{}) pulumi.RegisterOutputType(ClientJwtConfigurationPtrOutput{}) pulumi.RegisterOutputType(ClientMobileOutput{}) @@ -37449,6 +38435,11 @@ func init() { pulumi.RegisterOutputType(PagesGuardianMfaPtrOutput{}) pulumi.RegisterOutputType(PagesLoginOutput{}) pulumi.RegisterOutputType(PagesLoginPtrOutput{}) + pulumi.RegisterOutputType(PromptScreenPartialInsertionPointsOutput{}) + pulumi.RegisterOutputType(PromptScreenPartialInsertionPointsPtrOutput{}) + pulumi.RegisterOutputType(PromptScreenPartialsScreenPartialOutput{}) + pulumi.RegisterOutputType(PromptScreenPartialsScreenPartialArrayOutput{}) + pulumi.RegisterOutputType(PromptScreenPartialsScreenPartialInsertionPointsOutput{}) pulumi.RegisterOutputType(ResourceServerScopesScopeOutput{}) pulumi.RegisterOutputType(ResourceServerScopesScopeArrayOutput{}) pulumi.RegisterOutputType(RolePermissionsPermissionOutput{}) @@ -37571,6 +38562,8 @@ func init() { pulumi.RegisterOutputType(GetClientAddonZendeskArrayOutput{}) pulumi.RegisterOutputType(GetClientAddonZoomOutput{}) pulumi.RegisterOutputType(GetClientAddonZoomArrayOutput{}) + pulumi.RegisterOutputType(GetClientDefaultOrganizationOutput{}) + pulumi.RegisterOutputType(GetClientDefaultOrganizationArrayOutput{}) pulumi.RegisterOutputType(GetClientJwtConfigurationOutput{}) pulumi.RegisterOutputType(GetClientJwtConfigurationArrayOutput{}) pulumi.RegisterOutputType(GetClientMobileOutput{}) @@ -37663,6 +38656,10 @@ func init() { pulumi.RegisterOutputType(GetPagesGuardianMfaArrayOutput{}) pulumi.RegisterOutputType(GetPagesLoginOutput{}) pulumi.RegisterOutputType(GetPagesLoginArrayOutput{}) + pulumi.RegisterOutputType(GetPromptScreenPartialsScreenPartialOutput{}) + pulumi.RegisterOutputType(GetPromptScreenPartialsScreenPartialArrayOutput{}) + pulumi.RegisterOutputType(GetPromptScreenPartialsScreenPartialInsertionPointOutput{}) + pulumi.RegisterOutputType(GetPromptScreenPartialsScreenPartialInsertionPointArrayOutput{}) pulumi.RegisterOutputType(GetResourceServerScopeTypeOutput{}) pulumi.RegisterOutputType(GetResourceServerScopeTypeArrayOutput{}) pulumi.RegisterOutputType(GetRolePermissionTypeOutput{}) diff --git a/sdk/java/src/main/java/com/pulumi/auth0/Auth0Functions.java b/sdk/java/src/main/java/com/pulumi/auth0/Auth0Functions.java index baddf999..e1a0bac7 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/Auth0Functions.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/Auth0Functions.java @@ -12,6 +12,8 @@ import com.pulumi.auth0.inputs.GetConnectionScimConfigurationPlainArgs; import com.pulumi.auth0.inputs.GetOrganizationArgs; import com.pulumi.auth0.inputs.GetOrganizationPlainArgs; +import com.pulumi.auth0.inputs.GetPromptScreenPartialsArgs; +import com.pulumi.auth0.inputs.GetPromptScreenPartialsPlainArgs; import com.pulumi.auth0.inputs.GetResourceServerArgs; import com.pulumi.auth0.inputs.GetResourceServerPlainArgs; import com.pulumi.auth0.inputs.GetRoleArgs; @@ -29,6 +31,7 @@ import com.pulumi.auth0.outputs.GetCustomDomainResult; import com.pulumi.auth0.outputs.GetOrganizationResult; import com.pulumi.auth0.outputs.GetPagesResult; +import com.pulumi.auth0.outputs.GetPromptScreenPartialsResult; import com.pulumi.auth0.outputs.GetResourceServerResult; import com.pulumi.auth0.outputs.GetRoleResult; import com.pulumi.auth0.outputs.GetSelfServiceProfileResult; @@ -2149,6 +2152,174 @@ public static Output getPages(InvokeArgs args, InvokeOptions opt public static CompletableFuture getPagesPlain(InvokeArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("auth0:index/getPages:getPages", TypeShape.of(GetPagesResult.class), args, Utilities.withVersion(options)); } + /** + * Data source to retrieve a specific Auth0 prompt screen partials by `prompt_type`. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.auth0.Auth0Functions;
+     * import com.pulumi.auth0.inputs.GetPromptScreenPartialsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var promptScreenPartials = Auth0Functions.getPromptScreenPartials(GetPromptScreenPartialsArgs.builder()
+     *             .promptType("prompt-name")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getPromptScreenPartials(GetPromptScreenPartialsArgs args) { + return getPromptScreenPartials(args, InvokeOptions.Empty); + } + /** + * Data source to retrieve a specific Auth0 prompt screen partials by `prompt_type`. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.auth0.Auth0Functions;
+     * import com.pulumi.auth0.inputs.GetPromptScreenPartialsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var promptScreenPartials = Auth0Functions.getPromptScreenPartials(GetPromptScreenPartialsArgs.builder()
+     *             .promptType("prompt-name")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getPromptScreenPartialsPlain(GetPromptScreenPartialsPlainArgs args) { + return getPromptScreenPartialsPlain(args, InvokeOptions.Empty); + } + /** + * Data source to retrieve a specific Auth0 prompt screen partials by `prompt_type`. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.auth0.Auth0Functions;
+     * import com.pulumi.auth0.inputs.GetPromptScreenPartialsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var promptScreenPartials = Auth0Functions.getPromptScreenPartials(GetPromptScreenPartialsArgs.builder()
+     *             .promptType("prompt-name")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getPromptScreenPartials(GetPromptScreenPartialsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("auth0:index/getPromptScreenPartials:getPromptScreenPartials", TypeShape.of(GetPromptScreenPartialsResult.class), args, Utilities.withVersion(options)); + } + /** + * Data source to retrieve a specific Auth0 prompt screen partials by `prompt_type`. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.auth0.Auth0Functions;
+     * import com.pulumi.auth0.inputs.GetPromptScreenPartialsArgs;
+     * import java.util.List;
+     * import java.util.ArrayList;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var promptScreenPartials = Auth0Functions.getPromptScreenPartials(GetPromptScreenPartialsArgs.builder()
+     *             .promptType("prompt-name")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getPromptScreenPartialsPlain(GetPromptScreenPartialsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("auth0:index/getPromptScreenPartials:getPromptScreenPartials", TypeShape.of(GetPromptScreenPartialsResult.class), args, Utilities.withVersion(options)); + } /** * Data source to retrieve a specific Auth0 resource server by `resource_server_id` or `identifier`. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/Client.java b/sdk/java/src/main/java/com/pulumi/auth0/Client.java index cc7c1913..6cb9ecc7 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/Client.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/Client.java @@ -7,6 +7,7 @@ import com.pulumi.auth0.Utilities; import com.pulumi.auth0.inputs.ClientState; import com.pulumi.auth0.outputs.ClientAddons; +import com.pulumi.auth0.outputs.ClientDefaultOrganization; import com.pulumi.auth0.outputs.ClientJwtConfiguration; import com.pulumi.auth0.outputs.ClientMobile; import com.pulumi.auth0.outputs.ClientNativeSocialLogin; @@ -320,6 +321,20 @@ public Output> customLoginPage() { public Output customLoginPageOn() { return this.customLoginPageOn; } + /** + * Configure and associate an organization with the Client + * + */ + @Export(name="defaultOrganization", refs={ClientDefaultOrganization.class}, tree="[0]") + private Output defaultOrganization; + + /** + * @return Configure and associate an organization with the Client + * + */ + public Output defaultOrganization() { + return this.defaultOrganization; + } /** * Description of the purpose of the client. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/ClientArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/ClientArgs.java index a0b09cf7..3fd68b2a 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/ClientArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/ClientArgs.java @@ -4,6 +4,7 @@ package com.pulumi.auth0; import com.pulumi.auth0.inputs.ClientAddonsArgs; +import com.pulumi.auth0.inputs.ClientDefaultOrganizationArgs; import com.pulumi.auth0.inputs.ClientJwtConfigurationArgs; import com.pulumi.auth0.inputs.ClientMobileArgs; import com.pulumi.auth0.inputs.ClientNativeSocialLoginArgs; @@ -204,6 +205,21 @@ public Optional> customLoginPageOn() { return Optional.ofNullable(this.customLoginPageOn); } + /** + * Configure and associate an organization with the Client + * + */ + @Import(name="defaultOrganization") + private @Nullable Output defaultOrganization; + + /** + * @return Configure and associate an organization with the Client + * + */ + public Optional> defaultOrganization() { + return Optional.ofNullable(this.defaultOrganization); + } + /** * Description of the purpose of the client. * @@ -534,6 +550,7 @@ private ClientArgs(ClientArgs $) { this.crossOriginLoc = $.crossOriginLoc; this.customLoginPage = $.customLoginPage; this.customLoginPageOn = $.customLoginPageOn; + this.defaultOrganization = $.defaultOrganization; this.description = $.description; this.encryptionKey = $.encryptionKey; this.formTemplate = $.formTemplate; @@ -877,6 +894,27 @@ public Builder customLoginPageOn(Boolean customLoginPageOn) { return customLoginPageOn(Output.of(customLoginPageOn)); } + /** + * @param defaultOrganization Configure and associate an organization with the Client + * + * @return builder + * + */ + public Builder defaultOrganization(@Nullable Output defaultOrganization) { + $.defaultOrganization = defaultOrganization; + return this; + } + + /** + * @param defaultOrganization Configure and associate an organization with the Client + * + * @return builder + * + */ + public Builder defaultOrganization(ClientDefaultOrganizationArgs defaultOrganization) { + return defaultOrganization(Output.of(defaultOrganization)); + } + /** * @param description Description of the purpose of the client. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptCustomText.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptCustomText.java index 780c40b0..138a35c7 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptCustomText.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptCustomText.java @@ -111,14 +111,14 @@ public Output body() { return this.body; } /** - * Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * */ @Export(name="language", refs={String.class}, tree="[0]") private Output language; /** - * @return Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * @return Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * */ public Output language() { diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptCustomTextArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptCustomTextArgs.java index 35523e4e..9d8242f1 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptCustomTextArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptCustomTextArgs.java @@ -30,14 +30,14 @@ public Output body() { } /** - * Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * */ @Import(name="language", required=true) private Output language; /** - * @return Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * @return Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * */ public Output language() { @@ -107,7 +107,7 @@ public Builder body(String body) { } /** - * @param language Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * @param language Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * * @return builder * @@ -118,7 +118,7 @@ public Builder language(Output language) { } /** - * @param language Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * @param language Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptPartials.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptPartials.java index 279c729f..598bfe72 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptPartials.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptPartials.java @@ -17,6 +17,9 @@ /** * With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). * + * !> **Deprecated:** `auth0.PromptPartials` has been deprecated. Please use `auth0.PromptScreenPartials` for managing multiple + * prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen. + * * ## Example Usage * * <!--Start PulumiCodeChooser --> @@ -76,7 +79,11 @@ public class PromptPartials extends com.pulumi.resources.CustomResource { /** * Content that goes at the end of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Export(name="formContentEnd", refs={String.class}, tree="[0]") private Output formContentEnd; @@ -90,7 +97,11 @@ public Output> formContentEnd() { /** * Content that goes at the start of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Export(name="formContentStart", refs={String.class}, tree="[0]") private Output formContentStart; @@ -104,7 +115,11 @@ public Output> formContentStart() { /** * Footer content for the end of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Export(name="formFooterEnd", refs={String.class}, tree="[0]") private Output formFooterEnd; @@ -118,7 +133,11 @@ public Output> formFooterEnd() { /** * Footer content for the start of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Export(name="formFooterStart", refs={String.class}, tree="[0]") private Output formFooterStart; @@ -130,14 +149,18 @@ public Output> formFooterStart() { return Codegen.optional(this.formFooterStart); } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Export(name="prompt", refs={String.class}, tree="[0]") private Output prompt; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. * */ public Output prompt() { @@ -146,7 +169,11 @@ public Output prompt() { /** * Actions that go at the end of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Export(name="secondaryActionsEnd", refs={String.class}, tree="[0]") private Output secondaryActionsEnd; @@ -160,7 +187,11 @@ public Output> secondaryActionsEnd() { /** * Actions that go at the start of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Export(name="secondaryActionsStart", refs={String.class}, tree="[0]") private Output secondaryActionsStart; diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptPartialsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptPartialsArgs.java index 83f43b16..45504ad5 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/PromptPartialsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptPartialsArgs.java @@ -19,14 +19,22 @@ public final class PromptPartialsArgs extends com.pulumi.resources.ResourceArgs /** * Content that goes at the end of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="formContentEnd") private @Nullable Output formContentEnd; /** * @return Content that goes at the end of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> formContentEnd() { return Optional.ofNullable(this.formContentEnd); } @@ -34,14 +42,22 @@ public Optional> formContentEnd() { /** * Content that goes at the start of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="formContentStart") private @Nullable Output formContentStart; /** * @return Content that goes at the start of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> formContentStart() { return Optional.ofNullable(this.formContentStart); } @@ -49,14 +65,22 @@ public Optional> formContentStart() { /** * Footer content for the end of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="formFooterEnd") private @Nullable Output formFooterEnd; /** * @return Footer content for the end of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> formFooterEnd() { return Optional.ofNullable(this.formFooterEnd); } @@ -64,29 +88,45 @@ public Optional> formFooterEnd() { /** * Footer content for the start of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="formFooterStart") private @Nullable Output formFooterStart; /** * @return Footer content for the start of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> formFooterStart() { return Optional.ofNullable(this.formFooterStart); } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="prompt", required=true) private Output prompt; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Output prompt() { return this.prompt; } @@ -94,14 +134,22 @@ public Output prompt() { /** * Actions that go at the end of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="secondaryActionsEnd") private @Nullable Output secondaryActionsEnd; /** * @return Actions that go at the end of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> secondaryActionsEnd() { return Optional.ofNullable(this.secondaryActionsEnd); } @@ -109,14 +157,22 @@ public Optional> secondaryActionsEnd() { /** * Actions that go at the start of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="secondaryActionsStart") private @Nullable Output secondaryActionsStart; /** * @return Actions that go at the start of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> secondaryActionsStart() { return Optional.ofNullable(this.secondaryActionsStart); } @@ -156,7 +212,11 @@ public Builder(PromptPartialsArgs defaults) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formContentEnd(@Nullable Output formContentEnd) { $.formContentEnd = formContentEnd; return this; @@ -167,7 +227,11 @@ public Builder formContentEnd(@Nullable Output formContentEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formContentEnd(String formContentEnd) { return formContentEnd(Output.of(formContentEnd)); } @@ -177,7 +241,11 @@ public Builder formContentEnd(String formContentEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formContentStart(@Nullable Output formContentStart) { $.formContentStart = formContentStart; return this; @@ -188,7 +256,11 @@ public Builder formContentStart(@Nullable Output formContentStart) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formContentStart(String formContentStart) { return formContentStart(Output.of(formContentStart)); } @@ -198,7 +270,11 @@ public Builder formContentStart(String formContentStart) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formFooterEnd(@Nullable Output formFooterEnd) { $.formFooterEnd = formFooterEnd; return this; @@ -209,7 +285,11 @@ public Builder formFooterEnd(@Nullable Output formFooterEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formFooterEnd(String formFooterEnd) { return formFooterEnd(Output.of(formFooterEnd)); } @@ -219,7 +299,11 @@ public Builder formFooterEnd(String formFooterEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formFooterStart(@Nullable Output formFooterStart) { $.formFooterStart = formFooterStart; return this; @@ -230,28 +314,40 @@ public Builder formFooterStart(@Nullable Output formFooterStart) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formFooterStart(String formFooterStart) { return formFooterStart(Output.of(formFooterStart)); } /** - * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder prompt(Output prompt) { $.prompt = prompt; return this; } /** - * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder prompt(String prompt) { return prompt(Output.of(prompt)); } @@ -261,7 +357,11 @@ public Builder prompt(String prompt) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder secondaryActionsEnd(@Nullable Output secondaryActionsEnd) { $.secondaryActionsEnd = secondaryActionsEnd; return this; @@ -272,7 +372,11 @@ public Builder secondaryActionsEnd(@Nullable Output secondaryActionsEnd) * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder secondaryActionsEnd(String secondaryActionsEnd) { return secondaryActionsEnd(Output.of(secondaryActionsEnd)); } @@ -282,7 +386,11 @@ public Builder secondaryActionsEnd(String secondaryActionsEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder secondaryActionsStart(@Nullable Output secondaryActionsStart) { $.secondaryActionsStart = secondaryActionsStart; return this; @@ -293,7 +401,11 @@ public Builder secondaryActionsStart(@Nullable Output secondaryActionsSt * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder secondaryActionsStart(String secondaryActionsStart) { return secondaryActionsStart(Output.of(secondaryActionsStart)); } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartial.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartial.java new file mode 100644 index 00000000..9fff0b8e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartial.java @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0; + +import com.pulumi.auth0.PromptScreenPartialArgs; +import com.pulumi.auth0.Utilities; +import com.pulumi.auth0.inputs.PromptScreenPartialState; +import com.pulumi.auth0.outputs.PromptScreenPartialInsertionPoints; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + * + * !> This resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + * In contrast, the `auth0.PromptScreenPartials` resource manages the complete set of prompt screens that are displayed during the + * authentication flow. To avoid potential issues, it is recommended not to use this resource in conjunction with the + * `auth0.PromptScreenPartials` resource when managing prompt screens for the same prompt. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.auth0.PromptScreenPartial;
+ * import com.pulumi.auth0.PromptScreenPartialArgs;
+ * import com.pulumi.auth0.inputs.PromptScreenPartialInsertionPointsArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var login = new PromptScreenPartial("login", PromptScreenPartialArgs.builder()
+ *             .promptType("login")
+ *             .screenName("login")
+ *             .insertionPoints(PromptScreenPartialInsertionPointsArgs.builder()
+ *                 .formContentStart("
Form Content Start
") + * .formContentEnd("
Form Content End
") + * .build()) + * .build()); + * + * } + * } + * } + *
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * This resource can be imported using the prompt name and screen_name. + * + * # + * + * As this is not a resource identifiable by an ID within the Auth0 Management API, + * + * login can be imported using the prompt name and screen name using the format: + * + * prompt_name:screen_name + * + * # + * + * Example: + * + * ```sh + * $ pulumi import auth0:index/promptScreenPartial:PromptScreenPartial login "login:login" + * ``` + * + */ +@ResourceType(type="auth0:index/promptScreenPartial:PromptScreenPartial") +public class PromptScreenPartial extends com.pulumi.resources.CustomResource { + /** + * The insertion points for the partials. + * + */ + @Export(name="insertionPoints", refs={PromptScreenPartialInsertionPoints.class}, tree="[0]") + private Output insertionPoints; + + /** + * @return The insertion points for the partials. + * + */ + public Output> insertionPoints() { + return Codegen.optional(this.insertionPoints); + } + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + @Export(name="promptType", refs={String.class}, tree="[0]") + private Output promptType; + + /** + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + public Output promptType() { + return this.promptType; + } + /** + * The name of the screen associated with the partials + * + */ + @Export(name="screenName", refs={String.class}, tree="[0]") + private Output screenName; + + /** + * @return The name of the screen associated with the partials + * + */ + public Output screenName() { + return this.screenName; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public PromptScreenPartial(java.lang.String name) { + this(name, PromptScreenPartialArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public PromptScreenPartial(java.lang.String name, PromptScreenPartialArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public PromptScreenPartial(java.lang.String name, PromptScreenPartialArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("auth0:index/promptScreenPartial:PromptScreenPartial", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private PromptScreenPartial(java.lang.String name, Output id, @Nullable PromptScreenPartialState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("auth0:index/promptScreenPartial:PromptScreenPartial", name, state, makeResourceOptions(options, id), false); + } + + private static PromptScreenPartialArgs makeArgs(PromptScreenPartialArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? PromptScreenPartialArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host 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 state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static PromptScreenPartial get(java.lang.String name, Output id, @Nullable PromptScreenPartialState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new PromptScreenPartial(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialArgs.java new file mode 100644 index 00000000..aceb06df --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0; + +import com.pulumi.auth0.inputs.PromptScreenPartialInsertionPointsArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PromptScreenPartialArgs extends com.pulumi.resources.ResourceArgs { + + public static final PromptScreenPartialArgs Empty = new PromptScreenPartialArgs(); + + /** + * The insertion points for the partials. + * + */ + @Import(name="insertionPoints") + private @Nullable Output insertionPoints; + + /** + * @return The insertion points for the partials. + * + */ + public Optional> insertionPoints() { + return Optional.ofNullable(this.insertionPoints); + } + + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + @Import(name="promptType", required=true) + private Output promptType; + + /** + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + public Output promptType() { + return this.promptType; + } + + /** + * The name of the screen associated with the partials + * + */ + @Import(name="screenName", required=true) + private Output screenName; + + /** + * @return The name of the screen associated with the partials + * + */ + public Output screenName() { + return this.screenName; + } + + private PromptScreenPartialArgs() {} + + private PromptScreenPartialArgs(PromptScreenPartialArgs $) { + this.insertionPoints = $.insertionPoints; + this.promptType = $.promptType; + this.screenName = $.screenName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PromptScreenPartialArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PromptScreenPartialArgs $; + + public Builder() { + $ = new PromptScreenPartialArgs(); + } + + public Builder(PromptScreenPartialArgs defaults) { + $ = new PromptScreenPartialArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param insertionPoints The insertion points for the partials. + * + * @return builder + * + */ + public Builder insertionPoints(@Nullable Output insertionPoints) { + $.insertionPoints = insertionPoints; + return this; + } + + /** + * @param insertionPoints The insertion points for the partials. + * + * @return builder + * + */ + public Builder insertionPoints(PromptScreenPartialInsertionPointsArgs insertionPoints) { + return insertionPoints(Output.of(insertionPoints)); + } + + /** + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @return builder + * + */ + public Builder promptType(Output promptType) { + $.promptType = promptType; + return this; + } + + /** + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @return builder + * + */ + public Builder promptType(String promptType) { + return promptType(Output.of(promptType)); + } + + /** + * @param screenName The name of the screen associated with the partials + * + * @return builder + * + */ + public Builder screenName(Output screenName) { + $.screenName = screenName; + return this; + } + + /** + * @param screenName The name of the screen associated with the partials + * + * @return builder + * + */ + public Builder screenName(String screenName) { + return screenName(Output.of(screenName)); + } + + public PromptScreenPartialArgs build() { + if ($.promptType == null) { + throw new MissingRequiredPropertyException("PromptScreenPartialArgs", "promptType"); + } + if ($.screenName == null) { + throw new MissingRequiredPropertyException("PromptScreenPartialArgs", "screenName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartials.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartials.java new file mode 100644 index 00000000..3eb300aa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartials.java @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0; + +import com.pulumi.auth0.PromptScreenPartialsArgs; +import com.pulumi.auth0.Utilities; +import com.pulumi.auth0.inputs.PromptScreenPartialsState; +import com.pulumi.auth0.outputs.PromptScreenPartialsScreenPartial; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + * + * !> This resource manages the entire set of prompt screens enabled for a prompt. In contrast, the `auth0.PromptScreenPartial` + * resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + * To avoid potential issues, it is recommended not to use this resource in conjunction with the `auth0.PromptScreenPartial` + * resource when managing prompt screens for the same prompt. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.auth0.PromptScreenPartials;
+ * import com.pulumi.auth0.PromptScreenPartialsArgs;
+ * import com.pulumi.auth0.inputs.PromptScreenPartialsScreenPartialArgs;
+ * import com.pulumi.auth0.inputs.PromptScreenPartialsScreenPartialInsertionPointsArgs;
+ * import java.util.List;
+ * import java.util.ArrayList;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var promptScreenPartials = new PromptScreenPartials("promptScreenPartials", PromptScreenPartialsArgs.builder()
+ *             .promptType("login-passwordless")
+ *             .screenPartials(            
+ *                 PromptScreenPartialsScreenPartialArgs.builder()
+ *                     .screenName("login-passwordless-email-code")
+ *                     .insertionPoints(PromptScreenPartialsScreenPartialInsertionPointsArgs.builder()
+ *                         .formContentStart("
Form Content Start
") + * .formContentEnd("
Form Content End
") + * .build()) + * .build(), + * PromptScreenPartialsScreenPartialArgs.builder() + * .screenName("login-passwordless-sms-otp") + * .insertionPoints(PromptScreenPartialsScreenPartialInsertionPointsArgs.builder() + * .formContentStart("
Form Content Start
") + * .formContentEnd("
Form Content End
") + * .build()) + * .build()) + * .build()); + * + * } + * } + * } + *
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * This resource can be imported using the prompt name. + * + * # + * + * Example: + * + * ```sh + * $ pulumi import auth0:index/promptScreenPartials:PromptScreenPartials prompt_screen_partials "login-passwordless" + * ``` + * + */ +@ResourceType(type="auth0:index/promptScreenPartials:PromptScreenPartials") +public class PromptScreenPartials extends com.pulumi.resources.CustomResource { + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + @Export(name="promptType", refs={String.class}, tree="[0]") + private Output promptType; + + /** + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + public Output promptType() { + return this.promptType; + } + @Export(name="screenPartials", refs={List.class,PromptScreenPartialsScreenPartial.class}, tree="[0,1]") + private Output> screenPartials; + + public Output>> screenPartials() { + return Codegen.optional(this.screenPartials); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public PromptScreenPartials(java.lang.String name) { + this(name, PromptScreenPartialsArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public PromptScreenPartials(java.lang.String name, PromptScreenPartialsArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public PromptScreenPartials(java.lang.String name, PromptScreenPartialsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("auth0:index/promptScreenPartials:PromptScreenPartials", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private PromptScreenPartials(java.lang.String name, Output id, @Nullable PromptScreenPartialsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("auth0:index/promptScreenPartials:PromptScreenPartials", name, state, makeResourceOptions(options, id), false); + } + + private static PromptScreenPartialsArgs makeArgs(PromptScreenPartialsArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? PromptScreenPartialsArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host 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 state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static PromptScreenPartials get(java.lang.String name, Output id, @Nullable PromptScreenPartialsState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new PromptScreenPartials(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialsArgs.java new file mode 100644 index 00000000..eea80293 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/PromptScreenPartialsArgs.java @@ -0,0 +1,110 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0; + +import com.pulumi.auth0.inputs.PromptScreenPartialsScreenPartialArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PromptScreenPartialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final PromptScreenPartialsArgs Empty = new PromptScreenPartialsArgs(); + + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + @Import(name="promptType", required=true) + private Output promptType; + + /** + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + public Output promptType() { + return this.promptType; + } + + @Import(name="screenPartials") + private @Nullable Output> screenPartials; + + public Optional>> screenPartials() { + return Optional.ofNullable(this.screenPartials); + } + + private PromptScreenPartialsArgs() {} + + private PromptScreenPartialsArgs(PromptScreenPartialsArgs $) { + this.promptType = $.promptType; + this.screenPartials = $.screenPartials; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PromptScreenPartialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PromptScreenPartialsArgs $; + + public Builder() { + $ = new PromptScreenPartialsArgs(); + } + + public Builder(PromptScreenPartialsArgs defaults) { + $ = new PromptScreenPartialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @return builder + * + */ + public Builder promptType(Output promptType) { + $.promptType = promptType; + return this; + } + + /** + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @return builder + * + */ + public Builder promptType(String promptType) { + return promptType(Output.of(promptType)); + } + + public Builder screenPartials(@Nullable Output> screenPartials) { + $.screenPartials = screenPartials; + return this; + } + + public Builder screenPartials(List screenPartials) { + return screenPartials(Output.of(screenPartials)); + } + + public Builder screenPartials(PromptScreenPartialsScreenPartialArgs... screenPartials) { + return screenPartials(List.of(screenPartials)); + } + + public PromptScreenPartialsArgs build() { + if ($.promptType == null) { + throw new MissingRequiredPropertyException("PromptScreenPartialsArgs", "promptType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientDefaultOrganizationArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientDefaultOrganizationArgs.java new file mode 100644 index 00000000..01a153a0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientDefaultOrganizationArgs.java @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ClientDefaultOrganizationArgs extends com.pulumi.resources.ResourceArgs { + + public static final ClientDefaultOrganizationArgs Empty = new ClientDefaultOrganizationArgs(); + + /** + * If set, the `default_organization` will be removed. + * + */ + @Import(name="disable") + private @Nullable Output disable; + + /** + * @return If set, the `default_organization` will be removed. + * + */ + public Optional> disable() { + return Optional.ofNullable(this.disable); + } + + /** + * Definition of the flow that needs to be configured. Eg. client_credentials + * + */ + @Import(name="flows") + private @Nullable Output> flows; + + /** + * @return Definition of the flow that needs to be configured. Eg. client_credentials + * + */ + public Optional>> flows() { + return Optional.ofNullable(this.flows); + } + + /** + * The unique identifier of the organization + * + */ + @Import(name="organizationId") + private @Nullable Output organizationId; + + /** + * @return The unique identifier of the organization + * + */ + public Optional> organizationId() { + return Optional.ofNullable(this.organizationId); + } + + private ClientDefaultOrganizationArgs() {} + + private ClientDefaultOrganizationArgs(ClientDefaultOrganizationArgs $) { + this.disable = $.disable; + this.flows = $.flows; + this.organizationId = $.organizationId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ClientDefaultOrganizationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ClientDefaultOrganizationArgs $; + + public Builder() { + $ = new ClientDefaultOrganizationArgs(); + } + + public Builder(ClientDefaultOrganizationArgs defaults) { + $ = new ClientDefaultOrganizationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param disable If set, the `default_organization` will be removed. + * + * @return builder + * + */ + public Builder disable(@Nullable Output disable) { + $.disable = disable; + return this; + } + + /** + * @param disable If set, the `default_organization` will be removed. + * + * @return builder + * + */ + public Builder disable(Boolean disable) { + return disable(Output.of(disable)); + } + + /** + * @param flows Definition of the flow that needs to be configured. Eg. client_credentials + * + * @return builder + * + */ + public Builder flows(@Nullable Output> flows) { + $.flows = flows; + return this; + } + + /** + * @param flows Definition of the flow that needs to be configured. Eg. client_credentials + * + * @return builder + * + */ + public Builder flows(List flows) { + return flows(Output.of(flows)); + } + + /** + * @param flows Definition of the flow that needs to be configured. Eg. client_credentials + * + * @return builder + * + */ + public Builder flows(String... flows) { + return flows(List.of(flows)); + } + + /** + * @param organizationId The unique identifier of the organization + * + * @return builder + * + */ + public Builder organizationId(@Nullable Output organizationId) { + $.organizationId = organizationId; + return this; + } + + /** + * @param organizationId The unique identifier of the organization + * + * @return builder + * + */ + public Builder organizationId(String organizationId) { + return organizationId(Output.of(organizationId)); + } + + public ClientDefaultOrganizationArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientState.java index 337f80ee..1cd27337 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/ClientState.java @@ -4,6 +4,7 @@ package com.pulumi.auth0.inputs; import com.pulumi.auth0.inputs.ClientAddonsArgs; +import com.pulumi.auth0.inputs.ClientDefaultOrganizationArgs; import com.pulumi.auth0.inputs.ClientJwtConfigurationArgs; import com.pulumi.auth0.inputs.ClientMobileArgs; import com.pulumi.auth0.inputs.ClientNativeSocialLoginArgs; @@ -219,6 +220,21 @@ public Optional> customLoginPageOn() { return Optional.ofNullable(this.customLoginPageOn); } + /** + * Configure and associate an organization with the Client + * + */ + @Import(name="defaultOrganization") + private @Nullable Output defaultOrganization; + + /** + * @return Configure and associate an organization with the Client + * + */ + public Optional> defaultOrganization() { + return Optional.ofNullable(this.defaultOrganization); + } + /** * Description of the purpose of the client. * @@ -565,6 +581,7 @@ private ClientState(ClientState $) { this.crossOriginLoc = $.crossOriginLoc; this.customLoginPage = $.customLoginPage; this.customLoginPageOn = $.customLoginPageOn; + this.defaultOrganization = $.defaultOrganization; this.description = $.description; this.encryptionKey = $.encryptionKey; this.formTemplate = $.formTemplate; @@ -930,6 +947,27 @@ public Builder customLoginPageOn(Boolean customLoginPageOn) { return customLoginPageOn(Output.of(customLoginPageOn)); } + /** + * @param defaultOrganization Configure and associate an organization with the Client + * + * @return builder + * + */ + public Builder defaultOrganization(@Nullable Output defaultOrganization) { + $.defaultOrganization = defaultOrganization; + return this; + } + + /** + * @param defaultOrganization Configure and associate an organization with the Client + * + * @return builder + * + */ + public Builder defaultOrganization(ClientDefaultOrganizationArgs defaultOrganization) { + return defaultOrganization(Output.of(defaultOrganization)); + } + /** * @param description Description of the purpose of the client. * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsArgs.java new file mode 100644 index 00000000..aaf92120 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsArgs.java @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.auth0.inputs.GetPromptScreenPartialsScreenPartialArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPromptScreenPartialsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPromptScreenPartialsArgs Empty = new GetPromptScreenPartialsArgs(); + + /** + * The type of prompt to customize. + * + */ + @Import(name="promptType", required=true) + private Output promptType; + + /** + * @return The type of prompt to customize. + * + */ + public Output promptType() { + return this.promptType; + } + + /** + * The screen partials associated with the prompt type. + * + */ + @Import(name="screenPartials") + private @Nullable Output> screenPartials; + + /** + * @return The screen partials associated with the prompt type. + * + */ + public Optional>> screenPartials() { + return Optional.ofNullable(this.screenPartials); + } + + private GetPromptScreenPartialsArgs() {} + + private GetPromptScreenPartialsArgs(GetPromptScreenPartialsArgs $) { + this.promptType = $.promptType; + this.screenPartials = $.screenPartials; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPromptScreenPartialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPromptScreenPartialsArgs $; + + public Builder() { + $ = new GetPromptScreenPartialsArgs(); + } + + public Builder(GetPromptScreenPartialsArgs defaults) { + $ = new GetPromptScreenPartialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param promptType The type of prompt to customize. + * + * @return builder + * + */ + public Builder promptType(Output promptType) { + $.promptType = promptType; + return this; + } + + /** + * @param promptType The type of prompt to customize. + * + * @return builder + * + */ + public Builder promptType(String promptType) { + return promptType(Output.of(promptType)); + } + + /** + * @param screenPartials The screen partials associated with the prompt type. + * + * @return builder + * + */ + public Builder screenPartials(@Nullable Output> screenPartials) { + $.screenPartials = screenPartials; + return this; + } + + /** + * @param screenPartials The screen partials associated with the prompt type. + * + * @return builder + * + */ + public Builder screenPartials(List screenPartials) { + return screenPartials(Output.of(screenPartials)); + } + + /** + * @param screenPartials The screen partials associated with the prompt type. + * + * @return builder + * + */ + public Builder screenPartials(GetPromptScreenPartialsScreenPartialArgs... screenPartials) { + return screenPartials(List.of(screenPartials)); + } + + public GetPromptScreenPartialsArgs build() { + if ($.promptType == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsArgs", "promptType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsPlainArgs.java new file mode 100644 index 00000000..a7a52135 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsPlainArgs.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.auth0.inputs.GetPromptScreenPartialsScreenPartial; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPromptScreenPartialsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPromptScreenPartialsPlainArgs Empty = new GetPromptScreenPartialsPlainArgs(); + + /** + * The type of prompt to customize. + * + */ + @Import(name="promptType", required=true) + private String promptType; + + /** + * @return The type of prompt to customize. + * + */ + public String promptType() { + return this.promptType; + } + + /** + * The screen partials associated with the prompt type. + * + */ + @Import(name="screenPartials") + private @Nullable List screenPartials; + + /** + * @return The screen partials associated with the prompt type. + * + */ + public Optional> screenPartials() { + return Optional.ofNullable(this.screenPartials); + } + + private GetPromptScreenPartialsPlainArgs() {} + + private GetPromptScreenPartialsPlainArgs(GetPromptScreenPartialsPlainArgs $) { + this.promptType = $.promptType; + this.screenPartials = $.screenPartials; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPromptScreenPartialsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPromptScreenPartialsPlainArgs $; + + public Builder() { + $ = new GetPromptScreenPartialsPlainArgs(); + } + + public Builder(GetPromptScreenPartialsPlainArgs defaults) { + $ = new GetPromptScreenPartialsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param promptType The type of prompt to customize. + * + * @return builder + * + */ + public Builder promptType(String promptType) { + $.promptType = promptType; + return this; + } + + /** + * @param screenPartials The screen partials associated with the prompt type. + * + * @return builder + * + */ + public Builder screenPartials(@Nullable List screenPartials) { + $.screenPartials = screenPartials; + return this; + } + + /** + * @param screenPartials The screen partials associated with the prompt type. + * + * @return builder + * + */ + public Builder screenPartials(GetPromptScreenPartialsScreenPartial... screenPartials) { + return screenPartials(List.of(screenPartials)); + } + + public GetPromptScreenPartialsPlainArgs build() { + if ($.promptType == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsPlainArgs", "promptType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartial.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartial.java new file mode 100644 index 00000000..48d64d21 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartial.java @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.auth0.inputs.GetPromptScreenPartialsScreenPartialInsertionPoint; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetPromptScreenPartialsScreenPartial extends com.pulumi.resources.InvokeArgs { + + public static final GetPromptScreenPartialsScreenPartial Empty = new GetPromptScreenPartialsScreenPartial(); + + @Import(name="insertionPoints", required=true) + private List insertionPoints; + + public List insertionPoints() { + return this.insertionPoints; + } + + /** + * The name of the screen associated with the partials + * + */ + @Import(name="screenName", required=true) + private String screenName; + + /** + * @return The name of the screen associated with the partials + * + */ + public String screenName() { + return this.screenName; + } + + private GetPromptScreenPartialsScreenPartial() {} + + private GetPromptScreenPartialsScreenPartial(GetPromptScreenPartialsScreenPartial $) { + this.insertionPoints = $.insertionPoints; + this.screenName = $.screenName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPromptScreenPartialsScreenPartial defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPromptScreenPartialsScreenPartial $; + + public Builder() { + $ = new GetPromptScreenPartialsScreenPartial(); + } + + public Builder(GetPromptScreenPartialsScreenPartial defaults) { + $ = new GetPromptScreenPartialsScreenPartial(Objects.requireNonNull(defaults)); + } + + public Builder insertionPoints(List insertionPoints) { + $.insertionPoints = insertionPoints; + return this; + } + + public Builder insertionPoints(GetPromptScreenPartialsScreenPartialInsertionPoint... insertionPoints) { + return insertionPoints(List.of(insertionPoints)); + } + + /** + * @param screenName The name of the screen associated with the partials + * + * @return builder + * + */ + public Builder screenName(String screenName) { + $.screenName = screenName; + return this; + } + + public GetPromptScreenPartialsScreenPartial build() { + if ($.insertionPoints == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartial", "insertionPoints"); + } + if ($.screenName == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartial", "screenName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialArgs.java new file mode 100644 index 00000000..bcbc782a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialArgs.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.auth0.inputs.GetPromptScreenPartialsScreenPartialInsertionPointArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetPromptScreenPartialsScreenPartialArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetPromptScreenPartialsScreenPartialArgs Empty = new GetPromptScreenPartialsScreenPartialArgs(); + + @Import(name="insertionPoints", required=true) + private Output> insertionPoints; + + public Output> insertionPoints() { + return this.insertionPoints; + } + + /** + * The name of the screen associated with the partials + * + */ + @Import(name="screenName", required=true) + private Output screenName; + + /** + * @return The name of the screen associated with the partials + * + */ + public Output screenName() { + return this.screenName; + } + + private GetPromptScreenPartialsScreenPartialArgs() {} + + private GetPromptScreenPartialsScreenPartialArgs(GetPromptScreenPartialsScreenPartialArgs $) { + this.insertionPoints = $.insertionPoints; + this.screenName = $.screenName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPromptScreenPartialsScreenPartialArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPromptScreenPartialsScreenPartialArgs $; + + public Builder() { + $ = new GetPromptScreenPartialsScreenPartialArgs(); + } + + public Builder(GetPromptScreenPartialsScreenPartialArgs defaults) { + $ = new GetPromptScreenPartialsScreenPartialArgs(Objects.requireNonNull(defaults)); + } + + public Builder insertionPoints(Output> insertionPoints) { + $.insertionPoints = insertionPoints; + return this; + } + + public Builder insertionPoints(List insertionPoints) { + return insertionPoints(Output.of(insertionPoints)); + } + + public Builder insertionPoints(GetPromptScreenPartialsScreenPartialInsertionPointArgs... insertionPoints) { + return insertionPoints(List.of(insertionPoints)); + } + + /** + * @param screenName The name of the screen associated with the partials + * + * @return builder + * + */ + public Builder screenName(Output screenName) { + $.screenName = screenName; + return this; + } + + /** + * @param screenName The name of the screen associated with the partials + * + * @return builder + * + */ + public Builder screenName(String screenName) { + return screenName(Output.of(screenName)); + } + + public GetPromptScreenPartialsScreenPartialArgs build() { + if ($.insertionPoints == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialArgs", "insertionPoints"); + } + if ($.screenName == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialArgs", "screenName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java new file mode 100644 index 00000000..0655d5e8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java @@ -0,0 +1,224 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetPromptScreenPartialsScreenPartialInsertionPoint extends com.pulumi.resources.InvokeArgs { + + public static final GetPromptScreenPartialsScreenPartialInsertionPoint Empty = new GetPromptScreenPartialsScreenPartialInsertionPoint(); + + /** + * Content that goes at the end of the form. + * + */ + @Import(name="formContentEnd", required=true) + private String formContentEnd; + + /** + * @return Content that goes at the end of the form. + * + */ + public String formContentEnd() { + return this.formContentEnd; + } + + /** + * Content that goes at the start of the form. + * + */ + @Import(name="formContentStart", required=true) + private String formContentStart; + + /** + * @return Content that goes at the start of the form. + * + */ + public String formContentStart() { + return this.formContentStart; + } + + /** + * Footer content for the end of the footer. + * + */ + @Import(name="formFooterEnd", required=true) + private String formFooterEnd; + + /** + * @return Footer content for the end of the footer. + * + */ + public String formFooterEnd() { + return this.formFooterEnd; + } + + /** + * Footer content for the start of the footer. + * + */ + @Import(name="formFooterStart", required=true) + private String formFooterStart; + + /** + * @return Footer content for the start of the footer. + * + */ + public String formFooterStart() { + return this.formFooterStart; + } + + /** + * Actions that go at the end of secondary actions. + * + */ + @Import(name="secondaryActionsEnd", required=true) + private String secondaryActionsEnd; + + /** + * @return Actions that go at the end of secondary actions. + * + */ + public String secondaryActionsEnd() { + return this.secondaryActionsEnd; + } + + /** + * Actions that go at the start of secondary actions. + * + */ + @Import(name="secondaryActionsStart", required=true) + private String secondaryActionsStart; + + /** + * @return Actions that go at the start of secondary actions. + * + */ + public String secondaryActionsStart() { + return this.secondaryActionsStart; + } + + private GetPromptScreenPartialsScreenPartialInsertionPoint() {} + + private GetPromptScreenPartialsScreenPartialInsertionPoint(GetPromptScreenPartialsScreenPartialInsertionPoint $) { + this.formContentEnd = $.formContentEnd; + this.formContentStart = $.formContentStart; + this.formFooterEnd = $.formFooterEnd; + this.formFooterStart = $.formFooterStart; + this.secondaryActionsEnd = $.secondaryActionsEnd; + this.secondaryActionsStart = $.secondaryActionsStart; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPromptScreenPartialsScreenPartialInsertionPoint defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPromptScreenPartialsScreenPartialInsertionPoint $; + + public Builder() { + $ = new GetPromptScreenPartialsScreenPartialInsertionPoint(); + } + + public Builder(GetPromptScreenPartialsScreenPartialInsertionPoint defaults) { + $ = new GetPromptScreenPartialsScreenPartialInsertionPoint(Objects.requireNonNull(defaults)); + } + + /** + * @param formContentEnd Content that goes at the end of the form. + * + * @return builder + * + */ + public Builder formContentEnd(String formContentEnd) { + $.formContentEnd = formContentEnd; + return this; + } + + /** + * @param formContentStart Content that goes at the start of the form. + * + * @return builder + * + */ + public Builder formContentStart(String formContentStart) { + $.formContentStart = formContentStart; + return this; + } + + /** + * @param formFooterEnd Footer content for the end of the footer. + * + * @return builder + * + */ + public Builder formFooterEnd(String formFooterEnd) { + $.formFooterEnd = formFooterEnd; + return this; + } + + /** + * @param formFooterStart Footer content for the start of the footer. + * + * @return builder + * + */ + public Builder formFooterStart(String formFooterStart) { + $.formFooterStart = formFooterStart; + return this; + } + + /** + * @param secondaryActionsEnd Actions that go at the end of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsEnd(String secondaryActionsEnd) { + $.secondaryActionsEnd = secondaryActionsEnd; + return this; + } + + /** + * @param secondaryActionsStart Actions that go at the start of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsStart(String secondaryActionsStart) { + $.secondaryActionsStart = secondaryActionsStart; + return this; + } + + public GetPromptScreenPartialsScreenPartialInsertionPoint build() { + if ($.formContentEnd == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formContentEnd"); + } + if ($.formContentStart == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formContentStart"); + } + if ($.formFooterEnd == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formFooterEnd"); + } + if ($.formFooterStart == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formFooterStart"); + } + if ($.secondaryActionsEnd == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "secondaryActionsEnd"); + } + if ($.secondaryActionsStart == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "secondaryActionsStart"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.java new file mode 100644 index 00000000..0dca60f2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/GetPromptScreenPartialsScreenPartialInsertionPointArgs.java @@ -0,0 +1,285 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetPromptScreenPartialsScreenPartialInsertionPointArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetPromptScreenPartialsScreenPartialInsertionPointArgs Empty = new GetPromptScreenPartialsScreenPartialInsertionPointArgs(); + + /** + * Content that goes at the end of the form. + * + */ + @Import(name="formContentEnd", required=true) + private Output formContentEnd; + + /** + * @return Content that goes at the end of the form. + * + */ + public Output formContentEnd() { + return this.formContentEnd; + } + + /** + * Content that goes at the start of the form. + * + */ + @Import(name="formContentStart", required=true) + private Output formContentStart; + + /** + * @return Content that goes at the start of the form. + * + */ + public Output formContentStart() { + return this.formContentStart; + } + + /** + * Footer content for the end of the footer. + * + */ + @Import(name="formFooterEnd", required=true) + private Output formFooterEnd; + + /** + * @return Footer content for the end of the footer. + * + */ + public Output formFooterEnd() { + return this.formFooterEnd; + } + + /** + * Footer content for the start of the footer. + * + */ + @Import(name="formFooterStart", required=true) + private Output formFooterStart; + + /** + * @return Footer content for the start of the footer. + * + */ + public Output formFooterStart() { + return this.formFooterStart; + } + + /** + * Actions that go at the end of secondary actions. + * + */ + @Import(name="secondaryActionsEnd", required=true) + private Output secondaryActionsEnd; + + /** + * @return Actions that go at the end of secondary actions. + * + */ + public Output secondaryActionsEnd() { + return this.secondaryActionsEnd; + } + + /** + * Actions that go at the start of secondary actions. + * + */ + @Import(name="secondaryActionsStart", required=true) + private Output secondaryActionsStart; + + /** + * @return Actions that go at the start of secondary actions. + * + */ + public Output secondaryActionsStart() { + return this.secondaryActionsStart; + } + + private GetPromptScreenPartialsScreenPartialInsertionPointArgs() {} + + private GetPromptScreenPartialsScreenPartialInsertionPointArgs(GetPromptScreenPartialsScreenPartialInsertionPointArgs $) { + this.formContentEnd = $.formContentEnd; + this.formContentStart = $.formContentStart; + this.formFooterEnd = $.formFooterEnd; + this.formFooterStart = $.formFooterStart; + this.secondaryActionsEnd = $.secondaryActionsEnd; + this.secondaryActionsStart = $.secondaryActionsStart; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPromptScreenPartialsScreenPartialInsertionPointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPromptScreenPartialsScreenPartialInsertionPointArgs $; + + public Builder() { + $ = new GetPromptScreenPartialsScreenPartialInsertionPointArgs(); + } + + public Builder(GetPromptScreenPartialsScreenPartialInsertionPointArgs defaults) { + $ = new GetPromptScreenPartialsScreenPartialInsertionPointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param formContentEnd Content that goes at the end of the form. + * + * @return builder + * + */ + public Builder formContentEnd(Output formContentEnd) { + $.formContentEnd = formContentEnd; + return this; + } + + /** + * @param formContentEnd Content that goes at the end of the form. + * + * @return builder + * + */ + public Builder formContentEnd(String formContentEnd) { + return formContentEnd(Output.of(formContentEnd)); + } + + /** + * @param formContentStart Content that goes at the start of the form. + * + * @return builder + * + */ + public Builder formContentStart(Output formContentStart) { + $.formContentStart = formContentStart; + return this; + } + + /** + * @param formContentStart Content that goes at the start of the form. + * + * @return builder + * + */ + public Builder formContentStart(String formContentStart) { + return formContentStart(Output.of(formContentStart)); + } + + /** + * @param formFooterEnd Footer content for the end of the footer. + * + * @return builder + * + */ + public Builder formFooterEnd(Output formFooterEnd) { + $.formFooterEnd = formFooterEnd; + return this; + } + + /** + * @param formFooterEnd Footer content for the end of the footer. + * + * @return builder + * + */ + public Builder formFooterEnd(String formFooterEnd) { + return formFooterEnd(Output.of(formFooterEnd)); + } + + /** + * @param formFooterStart Footer content for the start of the footer. + * + * @return builder + * + */ + public Builder formFooterStart(Output formFooterStart) { + $.formFooterStart = formFooterStart; + return this; + } + + /** + * @param formFooterStart Footer content for the start of the footer. + * + * @return builder + * + */ + public Builder formFooterStart(String formFooterStart) { + return formFooterStart(Output.of(formFooterStart)); + } + + /** + * @param secondaryActionsEnd Actions that go at the end of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsEnd(Output secondaryActionsEnd) { + $.secondaryActionsEnd = secondaryActionsEnd; + return this; + } + + /** + * @param secondaryActionsEnd Actions that go at the end of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsEnd(String secondaryActionsEnd) { + return secondaryActionsEnd(Output.of(secondaryActionsEnd)); + } + + /** + * @param secondaryActionsStart Actions that go at the start of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsStart(Output secondaryActionsStart) { + $.secondaryActionsStart = secondaryActionsStart; + return this; + } + + /** + * @param secondaryActionsStart Actions that go at the start of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsStart(String secondaryActionsStart) { + return secondaryActionsStart(Output.of(secondaryActionsStart)); + } + + public GetPromptScreenPartialsScreenPartialInsertionPointArgs build() { + if ($.formContentEnd == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPointArgs", "formContentEnd"); + } + if ($.formContentStart == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPointArgs", "formContentStart"); + } + if ($.formFooterEnd == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPointArgs", "formFooterEnd"); + } + if ($.formFooterStart == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPointArgs", "formFooterStart"); + } + if ($.secondaryActionsEnd == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPointArgs", "secondaryActionsEnd"); + } + if ($.secondaryActionsStart == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPointArgs", "secondaryActionsStart"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptCustomTextState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptCustomTextState.java index 8d365bec..11a8b269 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptCustomTextState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptCustomTextState.java @@ -31,14 +31,14 @@ public Optional> body() { } /** - * Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * */ @Import(name="language") private @Nullable Output language; /** - * @return Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * @return Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * */ public Optional> language() { @@ -108,7 +108,7 @@ public Builder body(String body) { } /** - * @param language Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * @param language Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * * @return builder * @@ -119,7 +119,7 @@ public Builder language(@Nullable Output language) { } /** - * @param language Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * @param language Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptPartialsState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptPartialsState.java index 798d6095..0433e4ce 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptPartialsState.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptPartialsState.java @@ -18,14 +18,22 @@ public final class PromptPartialsState extends com.pulumi.resources.ResourceArgs /** * Content that goes at the end of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="formContentEnd") private @Nullable Output formContentEnd; /** * @return Content that goes at the end of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> formContentEnd() { return Optional.ofNullable(this.formContentEnd); } @@ -33,14 +41,22 @@ public Optional> formContentEnd() { /** * Content that goes at the start of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="formContentStart") private @Nullable Output formContentStart; /** * @return Content that goes at the start of the form. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> formContentStart() { return Optional.ofNullable(this.formContentStart); } @@ -48,14 +64,22 @@ public Optional> formContentStart() { /** * Footer content for the end of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="formFooterEnd") private @Nullable Output formFooterEnd; /** * @return Footer content for the end of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> formFooterEnd() { return Optional.ofNullable(this.formFooterEnd); } @@ -63,29 +87,45 @@ public Optional> formFooterEnd() { /** * Footer content for the start of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="formFooterStart") private @Nullable Output formFooterStart; /** * @return Footer content for the start of the footer. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> formFooterStart() { return Optional.ofNullable(this.formFooterStart); } /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="prompt") private @Nullable Output prompt; /** - * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> prompt() { return Optional.ofNullable(this.prompt); } @@ -93,14 +133,22 @@ public Optional> prompt() { /** * Actions that go at the end of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="secondaryActionsEnd") private @Nullable Output secondaryActionsEnd; /** * @return Actions that go at the end of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> secondaryActionsEnd() { return Optional.ofNullable(this.secondaryActionsEnd); } @@ -108,14 +156,22 @@ public Optional> secondaryActionsEnd() { /** * Actions that go at the start of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ @Import(name="secondaryActionsStart") private @Nullable Output secondaryActionsStart; /** * @return Actions that go at the start of secondary actions. * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Optional> secondaryActionsStart() { return Optional.ofNullable(this.secondaryActionsStart); } @@ -155,7 +211,11 @@ public Builder(PromptPartialsState defaults) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formContentEnd(@Nullable Output formContentEnd) { $.formContentEnd = formContentEnd; return this; @@ -166,7 +226,11 @@ public Builder formContentEnd(@Nullable Output formContentEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formContentEnd(String formContentEnd) { return formContentEnd(Output.of(formContentEnd)); } @@ -176,7 +240,11 @@ public Builder formContentEnd(String formContentEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formContentStart(@Nullable Output formContentStart) { $.formContentStart = formContentStart; return this; @@ -187,7 +255,11 @@ public Builder formContentStart(@Nullable Output formContentStart) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formContentStart(String formContentStart) { return formContentStart(Output.of(formContentStart)); } @@ -197,7 +269,11 @@ public Builder formContentStart(String formContentStart) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formFooterEnd(@Nullable Output formFooterEnd) { $.formFooterEnd = formFooterEnd; return this; @@ -208,7 +284,11 @@ public Builder formFooterEnd(@Nullable Output formFooterEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formFooterEnd(String formFooterEnd) { return formFooterEnd(Output.of(formFooterEnd)); } @@ -218,7 +298,11 @@ public Builder formFooterEnd(String formFooterEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formFooterStart(@Nullable Output formFooterStart) { $.formFooterStart = formFooterStart; return this; @@ -229,28 +313,40 @@ public Builder formFooterStart(@Nullable Output formFooterStart) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder formFooterStart(String formFooterStart) { return formFooterStart(Output.of(formFooterStart)); } /** - * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder prompt(@Nullable Output prompt) { $.prompt = prompt; return this; } /** - * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * @param prompt The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder prompt(String prompt) { return prompt(Output.of(prompt)); } @@ -260,7 +356,11 @@ public Builder prompt(String prompt) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder secondaryActionsEnd(@Nullable Output secondaryActionsEnd) { $.secondaryActionsEnd = secondaryActionsEnd; return this; @@ -271,7 +371,11 @@ public Builder secondaryActionsEnd(@Nullable Output secondaryActionsEnd) * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder secondaryActionsEnd(String secondaryActionsEnd) { return secondaryActionsEnd(Output.of(secondaryActionsEnd)); } @@ -281,7 +385,11 @@ public Builder secondaryActionsEnd(String secondaryActionsEnd) { * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder secondaryActionsStart(@Nullable Output secondaryActionsStart) { $.secondaryActionsStart = secondaryActionsStart; return this; @@ -292,7 +400,11 @@ public Builder secondaryActionsStart(@Nullable Output secondaryActionsSt * * @return builder * + * @deprecated + * This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. + * */ + @Deprecated /* This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public Builder secondaryActionsStart(String secondaryActionsStart) { return secondaryActionsStart(Output.of(secondaryActionsStart)); } diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialInsertionPointsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialInsertionPointsArgs.java new file mode 100644 index 00000000..e14704f5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialInsertionPointsArgs.java @@ -0,0 +1,268 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PromptScreenPartialInsertionPointsArgs extends com.pulumi.resources.ResourceArgs { + + public static final PromptScreenPartialInsertionPointsArgs Empty = new PromptScreenPartialInsertionPointsArgs(); + + /** + * Content that goes at the end of the form. + * + */ + @Import(name="formContentEnd") + private @Nullable Output formContentEnd; + + /** + * @return Content that goes at the end of the form. + * + */ + public Optional> formContentEnd() { + return Optional.ofNullable(this.formContentEnd); + } + + /** + * Content that goes at the start of the form. + * + */ + @Import(name="formContentStart") + private @Nullable Output formContentStart; + + /** + * @return Content that goes at the start of the form. + * + */ + public Optional> formContentStart() { + return Optional.ofNullable(this.formContentStart); + } + + /** + * Footer content for the end of the footer. + * + */ + @Import(name="formFooterEnd") + private @Nullable Output formFooterEnd; + + /** + * @return Footer content for the end of the footer. + * + */ + public Optional> formFooterEnd() { + return Optional.ofNullable(this.formFooterEnd); + } + + /** + * Footer content for the start of the footer. + * + */ + @Import(name="formFooterStart") + private @Nullable Output formFooterStart; + + /** + * @return Footer content for the start of the footer. + * + */ + public Optional> formFooterStart() { + return Optional.ofNullable(this.formFooterStart); + } + + /** + * Actions that go at the end of secondary actions. + * + */ + @Import(name="secondaryActionsEnd") + private @Nullable Output secondaryActionsEnd; + + /** + * @return Actions that go at the end of secondary actions. + * + */ + public Optional> secondaryActionsEnd() { + return Optional.ofNullable(this.secondaryActionsEnd); + } + + /** + * Actions that go at the start of secondary actions. + * + */ + @Import(name="secondaryActionsStart") + private @Nullable Output secondaryActionsStart; + + /** + * @return Actions that go at the start of secondary actions. + * + */ + public Optional> secondaryActionsStart() { + return Optional.ofNullable(this.secondaryActionsStart); + } + + private PromptScreenPartialInsertionPointsArgs() {} + + private PromptScreenPartialInsertionPointsArgs(PromptScreenPartialInsertionPointsArgs $) { + this.formContentEnd = $.formContentEnd; + this.formContentStart = $.formContentStart; + this.formFooterEnd = $.formFooterEnd; + this.formFooterStart = $.formFooterStart; + this.secondaryActionsEnd = $.secondaryActionsEnd; + this.secondaryActionsStart = $.secondaryActionsStart; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PromptScreenPartialInsertionPointsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PromptScreenPartialInsertionPointsArgs $; + + public Builder() { + $ = new PromptScreenPartialInsertionPointsArgs(); + } + + public Builder(PromptScreenPartialInsertionPointsArgs defaults) { + $ = new PromptScreenPartialInsertionPointsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param formContentEnd Content that goes at the end of the form. + * + * @return builder + * + */ + public Builder formContentEnd(@Nullable Output formContentEnd) { + $.formContentEnd = formContentEnd; + return this; + } + + /** + * @param formContentEnd Content that goes at the end of the form. + * + * @return builder + * + */ + public Builder formContentEnd(String formContentEnd) { + return formContentEnd(Output.of(formContentEnd)); + } + + /** + * @param formContentStart Content that goes at the start of the form. + * + * @return builder + * + */ + public Builder formContentStart(@Nullable Output formContentStart) { + $.formContentStart = formContentStart; + return this; + } + + /** + * @param formContentStart Content that goes at the start of the form. + * + * @return builder + * + */ + public Builder formContentStart(String formContentStart) { + return formContentStart(Output.of(formContentStart)); + } + + /** + * @param formFooterEnd Footer content for the end of the footer. + * + * @return builder + * + */ + public Builder formFooterEnd(@Nullable Output formFooterEnd) { + $.formFooterEnd = formFooterEnd; + return this; + } + + /** + * @param formFooterEnd Footer content for the end of the footer. + * + * @return builder + * + */ + public Builder formFooterEnd(String formFooterEnd) { + return formFooterEnd(Output.of(formFooterEnd)); + } + + /** + * @param formFooterStart Footer content for the start of the footer. + * + * @return builder + * + */ + public Builder formFooterStart(@Nullable Output formFooterStart) { + $.formFooterStart = formFooterStart; + return this; + } + + /** + * @param formFooterStart Footer content for the start of the footer. + * + * @return builder + * + */ + public Builder formFooterStart(String formFooterStart) { + return formFooterStart(Output.of(formFooterStart)); + } + + /** + * @param secondaryActionsEnd Actions that go at the end of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsEnd(@Nullable Output secondaryActionsEnd) { + $.secondaryActionsEnd = secondaryActionsEnd; + return this; + } + + /** + * @param secondaryActionsEnd Actions that go at the end of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsEnd(String secondaryActionsEnd) { + return secondaryActionsEnd(Output.of(secondaryActionsEnd)); + } + + /** + * @param secondaryActionsStart Actions that go at the start of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsStart(@Nullable Output secondaryActionsStart) { + $.secondaryActionsStart = secondaryActionsStart; + return this; + } + + /** + * @param secondaryActionsStart Actions that go at the start of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsStart(String secondaryActionsStart) { + return secondaryActionsStart(Output.of(secondaryActionsStart)); + } + + public PromptScreenPartialInsertionPointsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialState.java new file mode 100644 index 00000000..80de7554 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialState.java @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.auth0.inputs.PromptScreenPartialInsertionPointsArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PromptScreenPartialState extends com.pulumi.resources.ResourceArgs { + + public static final PromptScreenPartialState Empty = new PromptScreenPartialState(); + + /** + * The insertion points for the partials. + * + */ + @Import(name="insertionPoints") + private @Nullable Output insertionPoints; + + /** + * @return The insertion points for the partials. + * + */ + public Optional> insertionPoints() { + return Optional.ofNullable(this.insertionPoints); + } + + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + @Import(name="promptType") + private @Nullable Output promptType; + + /** + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + public Optional> promptType() { + return Optional.ofNullable(this.promptType); + } + + /** + * The name of the screen associated with the partials + * + */ + @Import(name="screenName") + private @Nullable Output screenName; + + /** + * @return The name of the screen associated with the partials + * + */ + public Optional> screenName() { + return Optional.ofNullable(this.screenName); + } + + private PromptScreenPartialState() {} + + private PromptScreenPartialState(PromptScreenPartialState $) { + this.insertionPoints = $.insertionPoints; + this.promptType = $.promptType; + this.screenName = $.screenName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PromptScreenPartialState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PromptScreenPartialState $; + + public Builder() { + $ = new PromptScreenPartialState(); + } + + public Builder(PromptScreenPartialState defaults) { + $ = new PromptScreenPartialState(Objects.requireNonNull(defaults)); + } + + /** + * @param insertionPoints The insertion points for the partials. + * + * @return builder + * + */ + public Builder insertionPoints(@Nullable Output insertionPoints) { + $.insertionPoints = insertionPoints; + return this; + } + + /** + * @param insertionPoints The insertion points for the partials. + * + * @return builder + * + */ + public Builder insertionPoints(PromptScreenPartialInsertionPointsArgs insertionPoints) { + return insertionPoints(Output.of(insertionPoints)); + } + + /** + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @return builder + * + */ + public Builder promptType(@Nullable Output promptType) { + $.promptType = promptType; + return this; + } + + /** + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @return builder + * + */ + public Builder promptType(String promptType) { + return promptType(Output.of(promptType)); + } + + /** + * @param screenName The name of the screen associated with the partials + * + * @return builder + * + */ + public Builder screenName(@Nullable Output screenName) { + $.screenName = screenName; + return this; + } + + /** + * @param screenName The name of the screen associated with the partials + * + * @return builder + * + */ + public Builder screenName(String screenName) { + return screenName(Output.of(screenName)); + } + + public PromptScreenPartialState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialArgs.java new file mode 100644 index 00000000..2e5aeb55 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialArgs.java @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.auth0.inputs.PromptScreenPartialsScreenPartialInsertionPointsArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class PromptScreenPartialsScreenPartialArgs extends com.pulumi.resources.ResourceArgs { + + public static final PromptScreenPartialsScreenPartialArgs Empty = new PromptScreenPartialsScreenPartialArgs(); + + @Import(name="insertionPoints", required=true) + private Output insertionPoints; + + public Output insertionPoints() { + return this.insertionPoints; + } + + /** + * The name of the screen associated with the partials + * + */ + @Import(name="screenName", required=true) + private Output screenName; + + /** + * @return The name of the screen associated with the partials + * + */ + public Output screenName() { + return this.screenName; + } + + private PromptScreenPartialsScreenPartialArgs() {} + + private PromptScreenPartialsScreenPartialArgs(PromptScreenPartialsScreenPartialArgs $) { + this.insertionPoints = $.insertionPoints; + this.screenName = $.screenName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PromptScreenPartialsScreenPartialArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PromptScreenPartialsScreenPartialArgs $; + + public Builder() { + $ = new PromptScreenPartialsScreenPartialArgs(); + } + + public Builder(PromptScreenPartialsScreenPartialArgs defaults) { + $ = new PromptScreenPartialsScreenPartialArgs(Objects.requireNonNull(defaults)); + } + + public Builder insertionPoints(Output insertionPoints) { + $.insertionPoints = insertionPoints; + return this; + } + + public Builder insertionPoints(PromptScreenPartialsScreenPartialInsertionPointsArgs insertionPoints) { + return insertionPoints(Output.of(insertionPoints)); + } + + /** + * @param screenName The name of the screen associated with the partials + * + * @return builder + * + */ + public Builder screenName(Output screenName) { + $.screenName = screenName; + return this; + } + + /** + * @param screenName The name of the screen associated with the partials + * + * @return builder + * + */ + public Builder screenName(String screenName) { + return screenName(Output.of(screenName)); + } + + public PromptScreenPartialsScreenPartialArgs build() { + if ($.insertionPoints == null) { + throw new MissingRequiredPropertyException("PromptScreenPartialsScreenPartialArgs", "insertionPoints"); + } + if ($.screenName == null) { + throw new MissingRequiredPropertyException("PromptScreenPartialsScreenPartialArgs", "screenName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.java new file mode 100644 index 00000000..1bb90569 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsScreenPartialInsertionPointsArgs.java @@ -0,0 +1,268 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PromptScreenPartialsScreenPartialInsertionPointsArgs extends com.pulumi.resources.ResourceArgs { + + public static final PromptScreenPartialsScreenPartialInsertionPointsArgs Empty = new PromptScreenPartialsScreenPartialInsertionPointsArgs(); + + /** + * Content that goes at the end of the form. + * + */ + @Import(name="formContentEnd") + private @Nullable Output formContentEnd; + + /** + * @return Content that goes at the end of the form. + * + */ + public Optional> formContentEnd() { + return Optional.ofNullable(this.formContentEnd); + } + + /** + * Content that goes at the start of the form. + * + */ + @Import(name="formContentStart") + private @Nullable Output formContentStart; + + /** + * @return Content that goes at the start of the form. + * + */ + public Optional> formContentStart() { + return Optional.ofNullable(this.formContentStart); + } + + /** + * Footer content for the end of the footer. + * + */ + @Import(name="formFooterEnd") + private @Nullable Output formFooterEnd; + + /** + * @return Footer content for the end of the footer. + * + */ + public Optional> formFooterEnd() { + return Optional.ofNullable(this.formFooterEnd); + } + + /** + * Footer content for the start of the footer. + * + */ + @Import(name="formFooterStart") + private @Nullable Output formFooterStart; + + /** + * @return Footer content for the start of the footer. + * + */ + public Optional> formFooterStart() { + return Optional.ofNullable(this.formFooterStart); + } + + /** + * Actions that go at the end of secondary actions. + * + */ + @Import(name="secondaryActionsEnd") + private @Nullable Output secondaryActionsEnd; + + /** + * @return Actions that go at the end of secondary actions. + * + */ + public Optional> secondaryActionsEnd() { + return Optional.ofNullable(this.secondaryActionsEnd); + } + + /** + * Actions that go at the start of secondary actions. + * + */ + @Import(name="secondaryActionsStart") + private @Nullable Output secondaryActionsStart; + + /** + * @return Actions that go at the start of secondary actions. + * + */ + public Optional> secondaryActionsStart() { + return Optional.ofNullable(this.secondaryActionsStart); + } + + private PromptScreenPartialsScreenPartialInsertionPointsArgs() {} + + private PromptScreenPartialsScreenPartialInsertionPointsArgs(PromptScreenPartialsScreenPartialInsertionPointsArgs $) { + this.formContentEnd = $.formContentEnd; + this.formContentStart = $.formContentStart; + this.formFooterEnd = $.formFooterEnd; + this.formFooterStart = $.formFooterStart; + this.secondaryActionsEnd = $.secondaryActionsEnd; + this.secondaryActionsStart = $.secondaryActionsStart; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PromptScreenPartialsScreenPartialInsertionPointsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PromptScreenPartialsScreenPartialInsertionPointsArgs $; + + public Builder() { + $ = new PromptScreenPartialsScreenPartialInsertionPointsArgs(); + } + + public Builder(PromptScreenPartialsScreenPartialInsertionPointsArgs defaults) { + $ = new PromptScreenPartialsScreenPartialInsertionPointsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param formContentEnd Content that goes at the end of the form. + * + * @return builder + * + */ + public Builder formContentEnd(@Nullable Output formContentEnd) { + $.formContentEnd = formContentEnd; + return this; + } + + /** + * @param formContentEnd Content that goes at the end of the form. + * + * @return builder + * + */ + public Builder formContentEnd(String formContentEnd) { + return formContentEnd(Output.of(formContentEnd)); + } + + /** + * @param formContentStart Content that goes at the start of the form. + * + * @return builder + * + */ + public Builder formContentStart(@Nullable Output formContentStart) { + $.formContentStart = formContentStart; + return this; + } + + /** + * @param formContentStart Content that goes at the start of the form. + * + * @return builder + * + */ + public Builder formContentStart(String formContentStart) { + return formContentStart(Output.of(formContentStart)); + } + + /** + * @param formFooterEnd Footer content for the end of the footer. + * + * @return builder + * + */ + public Builder formFooterEnd(@Nullable Output formFooterEnd) { + $.formFooterEnd = formFooterEnd; + return this; + } + + /** + * @param formFooterEnd Footer content for the end of the footer. + * + * @return builder + * + */ + public Builder formFooterEnd(String formFooterEnd) { + return formFooterEnd(Output.of(formFooterEnd)); + } + + /** + * @param formFooterStart Footer content for the start of the footer. + * + * @return builder + * + */ + public Builder formFooterStart(@Nullable Output formFooterStart) { + $.formFooterStart = formFooterStart; + return this; + } + + /** + * @param formFooterStart Footer content for the start of the footer. + * + * @return builder + * + */ + public Builder formFooterStart(String formFooterStart) { + return formFooterStart(Output.of(formFooterStart)); + } + + /** + * @param secondaryActionsEnd Actions that go at the end of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsEnd(@Nullable Output secondaryActionsEnd) { + $.secondaryActionsEnd = secondaryActionsEnd; + return this; + } + + /** + * @param secondaryActionsEnd Actions that go at the end of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsEnd(String secondaryActionsEnd) { + return secondaryActionsEnd(Output.of(secondaryActionsEnd)); + } + + /** + * @param secondaryActionsStart Actions that go at the start of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsStart(@Nullable Output secondaryActionsStart) { + $.secondaryActionsStart = secondaryActionsStart; + return this; + } + + /** + * @param secondaryActionsStart Actions that go at the start of secondary actions. + * + * @return builder + * + */ + public Builder secondaryActionsStart(String secondaryActionsStart) { + return secondaryActionsStart(Output.of(secondaryActionsStart)); + } + + public PromptScreenPartialsScreenPartialInsertionPointsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsState.java b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsState.java new file mode 100644 index 00000000..5fb2aa0c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/inputs/PromptScreenPartialsState.java @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.inputs; + +import com.pulumi.auth0.inputs.PromptScreenPartialsScreenPartialArgs; +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PromptScreenPartialsState extends com.pulumi.resources.ResourceArgs { + + public static final PromptScreenPartialsState Empty = new PromptScreenPartialsState(); + + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + @Import(name="promptType") + private @Nullable Output promptType; + + /** + * @return The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + */ + public Optional> promptType() { + return Optional.ofNullable(this.promptType); + } + + @Import(name="screenPartials") + private @Nullable Output> screenPartials; + + public Optional>> screenPartials() { + return Optional.ofNullable(this.screenPartials); + } + + private PromptScreenPartialsState() {} + + private PromptScreenPartialsState(PromptScreenPartialsState $) { + this.promptType = $.promptType; + this.screenPartials = $.screenPartials; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PromptScreenPartialsState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PromptScreenPartialsState $; + + public Builder() { + $ = new PromptScreenPartialsState(); + } + + public Builder(PromptScreenPartialsState defaults) { + $ = new PromptScreenPartialsState(Objects.requireNonNull(defaults)); + } + + /** + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @return builder + * + */ + public Builder promptType(@Nullable Output promptType) { + $.promptType = promptType; + return this; + } + + /** + * @param promptType The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @return builder + * + */ + public Builder promptType(String promptType) { + return promptType(Output.of(promptType)); + } + + public Builder screenPartials(@Nullable Output> screenPartials) { + $.screenPartials = screenPartials; + return this; + } + + public Builder screenPartials(List screenPartials) { + return screenPartials(Output.of(screenPartials)); + } + + public Builder screenPartials(PromptScreenPartialsScreenPartialArgs... screenPartials) { + return screenPartials(List.of(screenPartials)); + } + + public PromptScreenPartialsState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientDefaultOrganization.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientDefaultOrganization.java new file mode 100644 index 00000000..59373ab7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/ClientDefaultOrganization.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ClientDefaultOrganization { + /** + * @return If set, the `default_organization` will be removed. + * + */ + private @Nullable Boolean disable; + /** + * @return Definition of the flow that needs to be configured. Eg. client_credentials + * + */ + private @Nullable List flows; + /** + * @return The unique identifier of the organization + * + */ + private @Nullable String organizationId; + + private ClientDefaultOrganization() {} + /** + * @return If set, the `default_organization` will be removed. + * + */ + public Optional disable() { + return Optional.ofNullable(this.disable); + } + /** + * @return Definition of the flow that needs to be configured. Eg. client_credentials + * + */ + public List flows() { + return this.flows == null ? List.of() : this.flows; + } + /** + * @return The unique identifier of the organization + * + */ + public Optional organizationId() { + return Optional.ofNullable(this.organizationId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ClientDefaultOrganization defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean disable; + private @Nullable List flows; + private @Nullable String organizationId; + public Builder() {} + public Builder(ClientDefaultOrganization defaults) { + Objects.requireNonNull(defaults); + this.disable = defaults.disable; + this.flows = defaults.flows; + this.organizationId = defaults.organizationId; + } + + @CustomType.Setter + public Builder disable(@Nullable Boolean disable) { + + this.disable = disable; + return this; + } + @CustomType.Setter + public Builder flows(@Nullable List flows) { + + this.flows = flows; + return this; + } + public Builder flows(String... flows) { + return flows(List.of(flows)); + } + @CustomType.Setter + public Builder organizationId(@Nullable String organizationId) { + + this.organizationId = organizationId; + return this; + } + public ClientDefaultOrganization build() { + final var _resultValue = new ClientDefaultOrganization(); + _resultValue.disable = disable; + _resultValue.flows = flows; + _resultValue.organizationId = organizationId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientDefaultOrganization.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientDefaultOrganization.java new file mode 100644 index 00000000..c886bf7b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientDefaultOrganization.java @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetClientDefaultOrganization { + /** + * @return If set, the `default_organization` will be removed. + * + */ + private Boolean disable; + /** + * @return Definition of the flow that needs to be configured. Eg. client_credentials + * + */ + private List flows; + /** + * @return The unique identifier of the organization + * + */ + private String organizationId; + + private GetClientDefaultOrganization() {} + /** + * @return If set, the `default_organization` will be removed. + * + */ + public Boolean disable() { + return this.disable; + } + /** + * @return Definition of the flow that needs to be configured. Eg. client_credentials + * + */ + public List flows() { + return this.flows; + } + /** + * @return The unique identifier of the organization + * + */ + public String organizationId() { + return this.organizationId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetClientDefaultOrganization defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean disable; + private List flows; + private String organizationId; + public Builder() {} + public Builder(GetClientDefaultOrganization defaults) { + Objects.requireNonNull(defaults); + this.disable = defaults.disable; + this.flows = defaults.flows; + this.organizationId = defaults.organizationId; + } + + @CustomType.Setter + public Builder disable(Boolean disable) { + if (disable == null) { + throw new MissingRequiredPropertyException("GetClientDefaultOrganization", "disable"); + } + this.disable = disable; + return this; + } + @CustomType.Setter + public Builder flows(List flows) { + if (flows == null) { + throw new MissingRequiredPropertyException("GetClientDefaultOrganization", "flows"); + } + this.flows = flows; + return this; + } + public Builder flows(String... flows) { + return flows(List.of(flows)); + } + @CustomType.Setter + public Builder organizationId(String organizationId) { + if (organizationId == null) { + throw new MissingRequiredPropertyException("GetClientDefaultOrganization", "organizationId"); + } + this.organizationId = organizationId; + return this; + } + public GetClientDefaultOrganization build() { + final var _resultValue = new GetClientDefaultOrganization(); + _resultValue.disable = disable; + _resultValue.flows = flows; + _resultValue.organizationId = organizationId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientResult.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientResult.java index 77ede38f..d4f40ce1 100644 --- a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientResult.java +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetClientResult.java @@ -4,6 +4,7 @@ package com.pulumi.auth0.outputs; import com.pulumi.auth0.outputs.GetClientAddon; +import com.pulumi.auth0.outputs.GetClientDefaultOrganization; import com.pulumi.auth0.outputs.GetClientJwtConfiguration; import com.pulumi.auth0.outputs.GetClientMobile; import com.pulumi.auth0.outputs.GetClientNativeSocialLogin; @@ -86,6 +87,11 @@ public final class GetClientResult { * */ private Boolean customLoginPageOn; + /** + * @return Configure and associate an organization with the Client + * + */ + private List defaultOrganizations; /** * @return Description of the purpose of the client. * @@ -302,6 +308,13 @@ public String customLoginPage() { public Boolean customLoginPageOn() { return this.customLoginPageOn; } + /** + * @return Configure and associate an organization with the Client + * + */ + public List defaultOrganizations() { + return this.defaultOrganizations; + } /** * @return Description of the purpose of the client. * @@ -494,6 +507,7 @@ public static final class Builder { private String crossOriginLoc; private String customLoginPage; private Boolean customLoginPageOn; + private List defaultOrganizations; private String description; private Map encryptionKey; private String formTemplate; @@ -535,6 +549,7 @@ public Builder(GetClientResult defaults) { this.crossOriginLoc = defaults.crossOriginLoc; this.customLoginPage = defaults.customLoginPage; this.customLoginPageOn = defaults.customLoginPageOn; + this.defaultOrganizations = defaults.defaultOrganizations; this.description = defaults.description; this.encryptionKey = defaults.encryptionKey; this.formTemplate = defaults.formTemplate; @@ -690,6 +705,17 @@ public Builder customLoginPageOn(Boolean customLoginPageOn) { return this; } @CustomType.Setter + public Builder defaultOrganizations(List defaultOrganizations) { + if (defaultOrganizations == null) { + throw new MissingRequiredPropertyException("GetClientResult", "defaultOrganizations"); + } + this.defaultOrganizations = defaultOrganizations; + return this; + } + public Builder defaultOrganizations(GetClientDefaultOrganization... defaultOrganizations) { + return defaultOrganizations(List.of(defaultOrganizations)); + } + @CustomType.Setter public Builder description(String description) { if (description == null) { throw new MissingRequiredPropertyException("GetClientResult", "description"); @@ -916,6 +942,7 @@ public GetClientResult build() { _resultValue.crossOriginLoc = crossOriginLoc; _resultValue.customLoginPage = customLoginPage; _resultValue.customLoginPageOn = customLoginPageOn; + _resultValue.defaultOrganizations = defaultOrganizations; _resultValue.description = description; _resultValue.encryptionKey = encryptionKey; _resultValue.formTemplate = formTemplate; diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsResult.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsResult.java new file mode 100644 index 00000000..062f21c5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsResult.java @@ -0,0 +1,109 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.auth0.outputs.GetPromptScreenPartialsScreenPartial; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetPromptScreenPartialsResult { + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The type of prompt to customize. + * + */ + private String promptType; + /** + * @return The screen partials associated with the prompt type. + * + */ + private List screenPartials; + + private GetPromptScreenPartialsResult() {} + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return The type of prompt to customize. + * + */ + public String promptType() { + return this.promptType; + } + /** + * @return The screen partials associated with the prompt type. + * + */ + public List screenPartials() { + return this.screenPartials; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPromptScreenPartialsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String promptType; + private List screenPartials; + public Builder() {} + public Builder(GetPromptScreenPartialsResult defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.promptType = defaults.promptType; + this.screenPartials = defaults.screenPartials; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder promptType(String promptType) { + if (promptType == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsResult", "promptType"); + } + this.promptType = promptType; + return this; + } + @CustomType.Setter + public Builder screenPartials(List screenPartials) { + if (screenPartials == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsResult", "screenPartials"); + } + this.screenPartials = screenPartials; + return this; + } + public Builder screenPartials(GetPromptScreenPartialsScreenPartial... screenPartials) { + return screenPartials(List.of(screenPartials)); + } + public GetPromptScreenPartialsResult build() { + final var _resultValue = new GetPromptScreenPartialsResult(); + _resultValue.id = id; + _resultValue.promptType = promptType; + _resultValue.screenPartials = screenPartials; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartial.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartial.java new file mode 100644 index 00000000..7cf6a309 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartial.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.auth0.outputs.GetPromptScreenPartialsScreenPartialInsertionPoint; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetPromptScreenPartialsScreenPartial { + private List insertionPoints; + /** + * @return The name of the screen associated with the partials + * + */ + private String screenName; + + private GetPromptScreenPartialsScreenPartial() {} + public List insertionPoints() { + return this.insertionPoints; + } + /** + * @return The name of the screen associated with the partials + * + */ + public String screenName() { + return this.screenName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPromptScreenPartialsScreenPartial defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List insertionPoints; + private String screenName; + public Builder() {} + public Builder(GetPromptScreenPartialsScreenPartial defaults) { + Objects.requireNonNull(defaults); + this.insertionPoints = defaults.insertionPoints; + this.screenName = defaults.screenName; + } + + @CustomType.Setter + public Builder insertionPoints(List insertionPoints) { + if (insertionPoints == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartial", "insertionPoints"); + } + this.insertionPoints = insertionPoints; + return this; + } + public Builder insertionPoints(GetPromptScreenPartialsScreenPartialInsertionPoint... insertionPoints) { + return insertionPoints(List.of(insertionPoints)); + } + @CustomType.Setter + public Builder screenName(String screenName) { + if (screenName == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartial", "screenName"); + } + this.screenName = screenName; + return this; + } + public GetPromptScreenPartialsScreenPartial build() { + final var _resultValue = new GetPromptScreenPartialsScreenPartial(); + _resultValue.insertionPoints = insertionPoints; + _resultValue.screenName = screenName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java new file mode 100644 index 00000000..f30cad2f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/GetPromptScreenPartialsScreenPartialInsertionPoint.java @@ -0,0 +1,173 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetPromptScreenPartialsScreenPartialInsertionPoint { + /** + * @return Content that goes at the end of the form. + * + */ + private String formContentEnd; + /** + * @return Content that goes at the start of the form. + * + */ + private String formContentStart; + /** + * @return Footer content for the end of the footer. + * + */ + private String formFooterEnd; + /** + * @return Footer content for the start of the footer. + * + */ + private String formFooterStart; + /** + * @return Actions that go at the end of secondary actions. + * + */ + private String secondaryActionsEnd; + /** + * @return Actions that go at the start of secondary actions. + * + */ + private String secondaryActionsStart; + + private GetPromptScreenPartialsScreenPartialInsertionPoint() {} + /** + * @return Content that goes at the end of the form. + * + */ + public String formContentEnd() { + return this.formContentEnd; + } + /** + * @return Content that goes at the start of the form. + * + */ + public String formContentStart() { + return this.formContentStart; + } + /** + * @return Footer content for the end of the footer. + * + */ + public String formFooterEnd() { + return this.formFooterEnd; + } + /** + * @return Footer content for the start of the footer. + * + */ + public String formFooterStart() { + return this.formFooterStart; + } + /** + * @return Actions that go at the end of secondary actions. + * + */ + public String secondaryActionsEnd() { + return this.secondaryActionsEnd; + } + /** + * @return Actions that go at the start of secondary actions. + * + */ + public String secondaryActionsStart() { + return this.secondaryActionsStart; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPromptScreenPartialsScreenPartialInsertionPoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String formContentEnd; + private String formContentStart; + private String formFooterEnd; + private String formFooterStart; + private String secondaryActionsEnd; + private String secondaryActionsStart; + public Builder() {} + public Builder(GetPromptScreenPartialsScreenPartialInsertionPoint defaults) { + Objects.requireNonNull(defaults); + this.formContentEnd = defaults.formContentEnd; + this.formContentStart = defaults.formContentStart; + this.formFooterEnd = defaults.formFooterEnd; + this.formFooterStart = defaults.formFooterStart; + this.secondaryActionsEnd = defaults.secondaryActionsEnd; + this.secondaryActionsStart = defaults.secondaryActionsStart; + } + + @CustomType.Setter + public Builder formContentEnd(String formContentEnd) { + if (formContentEnd == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formContentEnd"); + } + this.formContentEnd = formContentEnd; + return this; + } + @CustomType.Setter + public Builder formContentStart(String formContentStart) { + if (formContentStart == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formContentStart"); + } + this.formContentStart = formContentStart; + return this; + } + @CustomType.Setter + public Builder formFooterEnd(String formFooterEnd) { + if (formFooterEnd == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formFooterEnd"); + } + this.formFooterEnd = formFooterEnd; + return this; + } + @CustomType.Setter + public Builder formFooterStart(String formFooterStart) { + if (formFooterStart == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "formFooterStart"); + } + this.formFooterStart = formFooterStart; + return this; + } + @CustomType.Setter + public Builder secondaryActionsEnd(String secondaryActionsEnd) { + if (secondaryActionsEnd == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "secondaryActionsEnd"); + } + this.secondaryActionsEnd = secondaryActionsEnd; + return this; + } + @CustomType.Setter + public Builder secondaryActionsStart(String secondaryActionsStart) { + if (secondaryActionsStart == null) { + throw new MissingRequiredPropertyException("GetPromptScreenPartialsScreenPartialInsertionPoint", "secondaryActionsStart"); + } + this.secondaryActionsStart = secondaryActionsStart; + return this; + } + public GetPromptScreenPartialsScreenPartialInsertionPoint build() { + final var _resultValue = new GetPromptScreenPartialsScreenPartialInsertionPoint(); + _resultValue.formContentEnd = formContentEnd; + _resultValue.formContentStart = formContentStart; + _resultValue.formFooterEnd = formFooterEnd; + _resultValue.formFooterStart = formFooterStart; + _resultValue.secondaryActionsEnd = secondaryActionsEnd; + _resultValue.secondaryActionsStart = secondaryActionsStart; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialInsertionPoints.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialInsertionPoints.java new file mode 100644 index 00000000..2e0df278 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialInsertionPoints.java @@ -0,0 +1,162 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class PromptScreenPartialInsertionPoints { + /** + * @return Content that goes at the end of the form. + * + */ + private @Nullable String formContentEnd; + /** + * @return Content that goes at the start of the form. + * + */ + private @Nullable String formContentStart; + /** + * @return Footer content for the end of the footer. + * + */ + private @Nullable String formFooterEnd; + /** + * @return Footer content for the start of the footer. + * + */ + private @Nullable String formFooterStart; + /** + * @return Actions that go at the end of secondary actions. + * + */ + private @Nullable String secondaryActionsEnd; + /** + * @return Actions that go at the start of secondary actions. + * + */ + private @Nullable String secondaryActionsStart; + + private PromptScreenPartialInsertionPoints() {} + /** + * @return Content that goes at the end of the form. + * + */ + public Optional formContentEnd() { + return Optional.ofNullable(this.formContentEnd); + } + /** + * @return Content that goes at the start of the form. + * + */ + public Optional formContentStart() { + return Optional.ofNullable(this.formContentStart); + } + /** + * @return Footer content for the end of the footer. + * + */ + public Optional formFooterEnd() { + return Optional.ofNullable(this.formFooterEnd); + } + /** + * @return Footer content for the start of the footer. + * + */ + public Optional formFooterStart() { + return Optional.ofNullable(this.formFooterStart); + } + /** + * @return Actions that go at the end of secondary actions. + * + */ + public Optional secondaryActionsEnd() { + return Optional.ofNullable(this.secondaryActionsEnd); + } + /** + * @return Actions that go at the start of secondary actions. + * + */ + public Optional secondaryActionsStart() { + return Optional.ofNullable(this.secondaryActionsStart); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PromptScreenPartialInsertionPoints defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String formContentEnd; + private @Nullable String formContentStart; + private @Nullable String formFooterEnd; + private @Nullable String formFooterStart; + private @Nullable String secondaryActionsEnd; + private @Nullable String secondaryActionsStart; + public Builder() {} + public Builder(PromptScreenPartialInsertionPoints defaults) { + Objects.requireNonNull(defaults); + this.formContentEnd = defaults.formContentEnd; + this.formContentStart = defaults.formContentStart; + this.formFooterEnd = defaults.formFooterEnd; + this.formFooterStart = defaults.formFooterStart; + this.secondaryActionsEnd = defaults.secondaryActionsEnd; + this.secondaryActionsStart = defaults.secondaryActionsStart; + } + + @CustomType.Setter + public Builder formContentEnd(@Nullable String formContentEnd) { + + this.formContentEnd = formContentEnd; + return this; + } + @CustomType.Setter + public Builder formContentStart(@Nullable String formContentStart) { + + this.formContentStart = formContentStart; + return this; + } + @CustomType.Setter + public Builder formFooterEnd(@Nullable String formFooterEnd) { + + this.formFooterEnd = formFooterEnd; + return this; + } + @CustomType.Setter + public Builder formFooterStart(@Nullable String formFooterStart) { + + this.formFooterStart = formFooterStart; + return this; + } + @CustomType.Setter + public Builder secondaryActionsEnd(@Nullable String secondaryActionsEnd) { + + this.secondaryActionsEnd = secondaryActionsEnd; + return this; + } + @CustomType.Setter + public Builder secondaryActionsStart(@Nullable String secondaryActionsStart) { + + this.secondaryActionsStart = secondaryActionsStart; + return this; + } + public PromptScreenPartialInsertionPoints build() { + final var _resultValue = new PromptScreenPartialInsertionPoints(); + _resultValue.formContentEnd = formContentEnd; + _resultValue.formContentStart = formContentStart; + _resultValue.formFooterEnd = formFooterEnd; + _resultValue.formFooterStart = formFooterStart; + _resultValue.secondaryActionsEnd = secondaryActionsEnd; + _resultValue.secondaryActionsStart = secondaryActionsStart; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartial.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartial.java new file mode 100644 index 00000000..0e2271a1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartial.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.auth0.outputs.PromptScreenPartialsScreenPartialInsertionPoints; +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class PromptScreenPartialsScreenPartial { + private PromptScreenPartialsScreenPartialInsertionPoints insertionPoints; + /** + * @return The name of the screen associated with the partials + * + */ + private String screenName; + + private PromptScreenPartialsScreenPartial() {} + public PromptScreenPartialsScreenPartialInsertionPoints insertionPoints() { + return this.insertionPoints; + } + /** + * @return The name of the screen associated with the partials + * + */ + public String screenName() { + return this.screenName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PromptScreenPartialsScreenPartial defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private PromptScreenPartialsScreenPartialInsertionPoints insertionPoints; + private String screenName; + public Builder() {} + public Builder(PromptScreenPartialsScreenPartial defaults) { + Objects.requireNonNull(defaults); + this.insertionPoints = defaults.insertionPoints; + this.screenName = defaults.screenName; + } + + @CustomType.Setter + public Builder insertionPoints(PromptScreenPartialsScreenPartialInsertionPoints insertionPoints) { + if (insertionPoints == null) { + throw new MissingRequiredPropertyException("PromptScreenPartialsScreenPartial", "insertionPoints"); + } + this.insertionPoints = insertionPoints; + return this; + } + @CustomType.Setter + public Builder screenName(String screenName) { + if (screenName == null) { + throw new MissingRequiredPropertyException("PromptScreenPartialsScreenPartial", "screenName"); + } + this.screenName = screenName; + return this; + } + public PromptScreenPartialsScreenPartial build() { + final var _resultValue = new PromptScreenPartialsScreenPartial(); + _resultValue.insertionPoints = insertionPoints; + _resultValue.screenName = screenName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartialInsertionPoints.java b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartialInsertionPoints.java new file mode 100644 index 00000000..d7906dff --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/auth0/outputs/PromptScreenPartialsScreenPartialInsertionPoints.java @@ -0,0 +1,162 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.auth0.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class PromptScreenPartialsScreenPartialInsertionPoints { + /** + * @return Content that goes at the end of the form. + * + */ + private @Nullable String formContentEnd; + /** + * @return Content that goes at the start of the form. + * + */ + private @Nullable String formContentStart; + /** + * @return Footer content for the end of the footer. + * + */ + private @Nullable String formFooterEnd; + /** + * @return Footer content for the start of the footer. + * + */ + private @Nullable String formFooterStart; + /** + * @return Actions that go at the end of secondary actions. + * + */ + private @Nullable String secondaryActionsEnd; + /** + * @return Actions that go at the start of secondary actions. + * + */ + private @Nullable String secondaryActionsStart; + + private PromptScreenPartialsScreenPartialInsertionPoints() {} + /** + * @return Content that goes at the end of the form. + * + */ + public Optional formContentEnd() { + return Optional.ofNullable(this.formContentEnd); + } + /** + * @return Content that goes at the start of the form. + * + */ + public Optional formContentStart() { + return Optional.ofNullable(this.formContentStart); + } + /** + * @return Footer content for the end of the footer. + * + */ + public Optional formFooterEnd() { + return Optional.ofNullable(this.formFooterEnd); + } + /** + * @return Footer content for the start of the footer. + * + */ + public Optional formFooterStart() { + return Optional.ofNullable(this.formFooterStart); + } + /** + * @return Actions that go at the end of secondary actions. + * + */ + public Optional secondaryActionsEnd() { + return Optional.ofNullable(this.secondaryActionsEnd); + } + /** + * @return Actions that go at the start of secondary actions. + * + */ + public Optional secondaryActionsStart() { + return Optional.ofNullable(this.secondaryActionsStart); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(PromptScreenPartialsScreenPartialInsertionPoints defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String formContentEnd; + private @Nullable String formContentStart; + private @Nullable String formFooterEnd; + private @Nullable String formFooterStart; + private @Nullable String secondaryActionsEnd; + private @Nullable String secondaryActionsStart; + public Builder() {} + public Builder(PromptScreenPartialsScreenPartialInsertionPoints defaults) { + Objects.requireNonNull(defaults); + this.formContentEnd = defaults.formContentEnd; + this.formContentStart = defaults.formContentStart; + this.formFooterEnd = defaults.formFooterEnd; + this.formFooterStart = defaults.formFooterStart; + this.secondaryActionsEnd = defaults.secondaryActionsEnd; + this.secondaryActionsStart = defaults.secondaryActionsStart; + } + + @CustomType.Setter + public Builder formContentEnd(@Nullable String formContentEnd) { + + this.formContentEnd = formContentEnd; + return this; + } + @CustomType.Setter + public Builder formContentStart(@Nullable String formContentStart) { + + this.formContentStart = formContentStart; + return this; + } + @CustomType.Setter + public Builder formFooterEnd(@Nullable String formFooterEnd) { + + this.formFooterEnd = formFooterEnd; + return this; + } + @CustomType.Setter + public Builder formFooterStart(@Nullable String formFooterStart) { + + this.formFooterStart = formFooterStart; + return this; + } + @CustomType.Setter + public Builder secondaryActionsEnd(@Nullable String secondaryActionsEnd) { + + this.secondaryActionsEnd = secondaryActionsEnd; + return this; + } + @CustomType.Setter + public Builder secondaryActionsStart(@Nullable String secondaryActionsStart) { + + this.secondaryActionsStart = secondaryActionsStart; + return this; + } + public PromptScreenPartialsScreenPartialInsertionPoints build() { + final var _resultValue = new PromptScreenPartialsScreenPartialInsertionPoints(); + _resultValue.formContentEnd = formContentEnd; + _resultValue.formContentStart = formContentStart; + _resultValue.formFooterEnd = formFooterEnd; + _resultValue.formFooterStart = formFooterStart; + _resultValue.secondaryActionsEnd = secondaryActionsEnd; + _resultValue.secondaryActionsStart = secondaryActionsStart; + return _resultValue; + } + } +} diff --git a/sdk/nodejs/client.ts b/sdk/nodejs/client.ts index 123ef510..ee94440f 100644 --- a/sdk/nodejs/client.ts +++ b/sdk/nodejs/client.ts @@ -173,6 +173,10 @@ export class Client extends pulumi.CustomResource { * Indicates whether a custom login page is to be used. */ public readonly customLoginPageOn!: pulumi.Output; + /** + * Configure and associate an organization with the Client + */ + public readonly defaultOrganization!: pulumi.Output; /** * Description of the purpose of the client. */ @@ -288,6 +292,7 @@ export class Client extends pulumi.CustomResource { resourceInputs["crossOriginLoc"] = state ? state.crossOriginLoc : undefined; resourceInputs["customLoginPage"] = state ? state.customLoginPage : undefined; resourceInputs["customLoginPageOn"] = state ? state.customLoginPageOn : undefined; + resourceInputs["defaultOrganization"] = state ? state.defaultOrganization : undefined; resourceInputs["description"] = state ? state.description : undefined; resourceInputs["encryptionKey"] = state ? state.encryptionKey : undefined; resourceInputs["formTemplate"] = state ? state.formTemplate : undefined; @@ -324,6 +329,7 @@ export class Client extends pulumi.CustomResource { resourceInputs["crossOriginLoc"] = args ? args.crossOriginLoc : undefined; resourceInputs["customLoginPage"] = args ? args.customLoginPage : undefined; resourceInputs["customLoginPageOn"] = args ? args.customLoginPageOn : undefined; + resourceInputs["defaultOrganization"] = args ? args.defaultOrganization : undefined; resourceInputs["description"] = (args ? args.description : undefined) ?? "Managed by Pulumi"; resourceInputs["encryptionKey"] = args ? args.encryptionKey : undefined; resourceInputs["formTemplate"] = args ? args.formTemplate : undefined; @@ -411,6 +417,10 @@ export interface ClientState { * Indicates whether a custom login page is to be used. */ customLoginPageOn?: pulumi.Input; + /** + * Configure and associate an organization with the Client + */ + defaultOrganization?: pulumi.Input; /** * Description of the purpose of the client. */ @@ -553,6 +563,10 @@ export interface ClientArgs { * Indicates whether a custom login page is to be used. */ customLoginPageOn?: pulumi.Input; + /** + * Configure and associate an organization with the Client + */ + defaultOrganization?: pulumi.Input; /** * Description of the purpose of the client. */ diff --git a/sdk/nodejs/getClient.ts b/sdk/nodejs/getClient.ts index b8494809..9d3a43b2 100644 --- a/sdk/nodejs/getClient.ts +++ b/sdk/nodejs/getClient.ts @@ -106,6 +106,10 @@ export interface GetClientResult { * Indicates whether a custom login page is to be used. */ readonly customLoginPageOn: boolean; + /** + * Configure and associate an organization with the Client + */ + readonly defaultOrganizations: outputs.GetClientDefaultOrganization[]; /** * Description of the purpose of the client. */ diff --git a/sdk/nodejs/getPromptScreenPartials.ts b/sdk/nodejs/getPromptScreenPartials.ts new file mode 100644 index 00000000..22c601c0 --- /dev/null +++ b/sdk/nodejs/getPromptScreenPartials.ts @@ -0,0 +1,93 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Data source to retrieve a specific Auth0 prompt screen partials by `promptType`. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as auth0 from "@pulumi/auth0"; + * + * const promptScreenPartials = auth0.getPromptScreenPartials({ + * promptType: "prompt-name", + * }); + * ``` + */ +export function getPromptScreenPartials(args: GetPromptScreenPartialsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("auth0:index/getPromptScreenPartials:getPromptScreenPartials", { + "promptType": args.promptType, + "screenPartials": args.screenPartials, + }, opts); +} + +/** + * A collection of arguments for invoking getPromptScreenPartials. + */ +export interface GetPromptScreenPartialsArgs { + /** + * The type of prompt to customize. + */ + promptType: string; + /** + * The screen partials associated with the prompt type. + */ + screenPartials?: inputs.GetPromptScreenPartialsScreenPartial[]; +} + +/** + * A collection of values returned by getPromptScreenPartials. + */ +export interface GetPromptScreenPartialsResult { + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The type of prompt to customize. + */ + readonly promptType: string; + /** + * The screen partials associated with the prompt type. + */ + readonly screenPartials: outputs.GetPromptScreenPartialsScreenPartial[]; +} +/** + * Data source to retrieve a specific Auth0 prompt screen partials by `promptType`. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as auth0 from "@pulumi/auth0"; + * + * const promptScreenPartials = auth0.getPromptScreenPartials({ + * promptType: "prompt-name", + * }); + * ``` + */ +export function getPromptScreenPartialsOutput(args: GetPromptScreenPartialsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPromptScreenPartials(a, opts)) +} + +/** + * A collection of arguments for invoking getPromptScreenPartials. + */ +export interface GetPromptScreenPartialsOutputArgs { + /** + * The type of prompt to customize. + */ + promptType: pulumi.Input; + /** + * The screen partials associated with the prompt type. + */ + screenPartials?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 983f247f..39d28271 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -125,6 +125,11 @@ export const getPages: typeof import("./getPages").getPages = null as any; export const getPagesOutput: typeof import("./getPages").getPagesOutput = null as any; utilities.lazyLoad(exports, ["getPages","getPagesOutput"], () => require("./getPages")); +export { GetPromptScreenPartialsArgs, GetPromptScreenPartialsResult, GetPromptScreenPartialsOutputArgs } from "./getPromptScreenPartials"; +export const getPromptScreenPartials: typeof import("./getPromptScreenPartials").getPromptScreenPartials = null as any; +export const getPromptScreenPartialsOutput: typeof import("./getPromptScreenPartials").getPromptScreenPartialsOutput = null as any; +utilities.lazyLoad(exports, ["getPromptScreenPartials","getPromptScreenPartialsOutput"], () => require("./getPromptScreenPartials")); + export { GetResourceServerArgs, GetResourceServerResult, GetResourceServerOutputArgs } from "./getResourceServer"; export const getResourceServer: typeof import("./getResourceServer").getResourceServer = null as any; export const getResourceServerOutput: typeof import("./getResourceServer").getResourceServerOutput = null as any; @@ -225,6 +230,16 @@ export type PromptPartials = import("./promptPartials").PromptPartials; export const PromptPartials: typeof import("./promptPartials").PromptPartials = null as any; utilities.lazyLoad(exports, ["PromptPartials"], () => require("./promptPartials")); +export { PromptScreenPartialArgs, PromptScreenPartialState } from "./promptScreenPartial"; +export type PromptScreenPartial = import("./promptScreenPartial").PromptScreenPartial; +export const PromptScreenPartial: typeof import("./promptScreenPartial").PromptScreenPartial = null as any; +utilities.lazyLoad(exports, ["PromptScreenPartial"], () => require("./promptScreenPartial")); + +export { PromptScreenPartialsArgs, PromptScreenPartialsState } from "./promptScreenPartials"; +export type PromptScreenPartials = import("./promptScreenPartials").PromptScreenPartials; +export const PromptScreenPartials: typeof import("./promptScreenPartials").PromptScreenPartials = null as any; +utilities.lazyLoad(exports, ["PromptScreenPartials"], () => require("./promptScreenPartials")); + export { ProviderArgs } from "./provider"; export type Provider = import("./provider").Provider; export const Provider: typeof import("./provider").Provider = null as any; @@ -387,6 +402,10 @@ const _module = { return new PromptCustomText(name, undefined, { urn }) case "auth0:index/promptPartials:PromptPartials": return new PromptPartials(name, undefined, { urn }) + case "auth0:index/promptScreenPartial:PromptScreenPartial": + return new PromptScreenPartial(name, undefined, { urn }) + case "auth0:index/promptScreenPartials:PromptScreenPartials": + return new PromptScreenPartials(name, undefined, { urn }) case "auth0:index/resourceServer:ResourceServer": return new ResourceServer(name, undefined, { urn }) case "auth0:index/resourceServerScope:ResourceServerScope": @@ -455,6 +474,8 @@ pulumi.runtime.registerResourceModule("auth0", "index/pages", _module) pulumi.runtime.registerResourceModule("auth0", "index/prompt", _module) pulumi.runtime.registerResourceModule("auth0", "index/promptCustomText", _module) pulumi.runtime.registerResourceModule("auth0", "index/promptPartials", _module) +pulumi.runtime.registerResourceModule("auth0", "index/promptScreenPartial", _module) +pulumi.runtime.registerResourceModule("auth0", "index/promptScreenPartials", _module) pulumi.runtime.registerResourceModule("auth0", "index/resourceServer", _module) pulumi.runtime.registerResourceModule("auth0", "index/resourceServerScope", _module) pulumi.runtime.registerResourceModule("auth0", "index/resourceServerScopes", _module) diff --git a/sdk/nodejs/promptCustomText.ts b/sdk/nodejs/promptCustomText.ts index c469b515..c96ecb03 100644 --- a/sdk/nodejs/promptCustomText.ts +++ b/sdk/nodejs/promptCustomText.ts @@ -91,7 +91,7 @@ export class PromptCustomText extends pulumi.CustomResource { */ public readonly body!: pulumi.Output; /** - * Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. */ public readonly language!: pulumi.Output; /** @@ -144,7 +144,7 @@ export interface PromptCustomTextState { */ body?: pulumi.Input; /** - * Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. */ language?: pulumi.Input; /** @@ -162,7 +162,7 @@ export interface PromptCustomTextArgs { */ body: pulumi.Input; /** - * Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + * Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. */ language: pulumi.Input; /** diff --git a/sdk/nodejs/promptPartials.ts b/sdk/nodejs/promptPartials.ts index 75f9c842..7219d782 100644 --- a/sdk/nodejs/promptPartials.ts +++ b/sdk/nodejs/promptPartials.ts @@ -7,6 +7,9 @@ import * as utilities from "./utilities"; /** * With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). * + * !> **Deprecated:** `auth0.PromptPartials` has been deprecated. Please use `auth0.PromptScreenPartials` for managing multiple + * prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen. + * * ## Example Usage * * ```typescript @@ -66,30 +69,44 @@ export class PromptPartials extends pulumi.CustomResource { /** * Content that goes at the end of the form. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public readonly formContentEnd!: pulumi.Output; /** * Content that goes at the start of the form. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public readonly formContentStart!: pulumi.Output; /** * Footer content for the end of the footer. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public readonly formFooterEnd!: pulumi.Output; /** * Footer content for the start of the footer. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public readonly formFooterStart!: pulumi.Output; /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public readonly prompt!: pulumi.Output; /** * Actions that go at the end of secondary actions. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public readonly secondaryActionsEnd!: pulumi.Output; /** * Actions that go at the start of secondary actions. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ public readonly secondaryActionsStart!: pulumi.Output; @@ -137,30 +154,44 @@ export class PromptPartials extends pulumi.CustomResource { export interface PromptPartialsState { /** * Content that goes at the end of the form. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ formContentEnd?: pulumi.Input; /** * Content that goes at the start of the form. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ formContentStart?: pulumi.Input; /** * Footer content for the end of the footer. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ formFooterEnd?: pulumi.Input; /** * Footer content for the start of the footer. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ formFooterStart?: pulumi.Input; /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ prompt?: pulumi.Input; /** * Actions that go at the end of secondary actions. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ secondaryActionsEnd?: pulumi.Input; /** * Actions that go at the start of secondary actions. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ secondaryActionsStart?: pulumi.Input; } @@ -171,30 +202,44 @@ export interface PromptPartialsState { export interface PromptPartialsArgs { /** * Content that goes at the end of the form. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ formContentEnd?: pulumi.Input; /** * Content that goes at the start of the form. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ formContentStart?: pulumi.Input; /** * Footer content for the end of the footer. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ formFooterEnd?: pulumi.Input; /** * Footer content for the start of the footer. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ formFooterStart?: pulumi.Input; /** - * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ prompt: pulumi.Input; /** * Actions that go at the end of secondary actions. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ secondaryActionsEnd?: pulumi.Input; /** * Actions that go at the start of secondary actions. + * + * @deprecated This resource is deprecated and will be removed in the next major version. Please use `auth0.PromptScreenPartials` for managing multiple prompt screens or `auth0.PromptScreenPartial` for managing a single prompt screen, depending on your use case. */ secondaryActionsStart?: pulumi.Input; } diff --git a/sdk/nodejs/promptScreenPartial.ts b/sdk/nodejs/promptScreenPartial.ts new file mode 100644 index 00000000..3fa89fa7 --- /dev/null +++ b/sdk/nodejs/promptScreenPartial.ts @@ -0,0 +1,161 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + * + * !> This resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + * In contrast, the `auth0.PromptScreenPartials` resource manages the complete set of prompt screens that are displayed during the + * authentication flow. To avoid potential issues, it is recommended not to use this resource in conjunction with the + * `auth0.PromptScreenPartials` resource when managing prompt screens for the same prompt. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as auth0 from "@pulumi/auth0"; + * + * const login = new auth0.PromptScreenPartial("login", { + * promptType: "login", + * screenName: "login", + * insertionPoints: { + * formContentStart: "
Form Content Start
", + * formContentEnd: "
Form Content End
", + * }, + * }); + * ``` + * + * ## Import + * + * This resource can be imported using the prompt name and screen_name. + * + * # + * + * As this is not a resource identifiable by an ID within the Auth0 Management API, + * + * login can be imported using the prompt name and screen name using the format: + * + * prompt_name:screen_name + * + * # + * + * Example: + * + * ```sh + * $ pulumi import auth0:index/promptScreenPartial:PromptScreenPartial login "login:login" + * ``` + */ +export class PromptScreenPartial extends pulumi.CustomResource { + /** + * Get an existing PromptScreenPartial 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 state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: PromptScreenPartialState, opts?: pulumi.CustomResourceOptions): PromptScreenPartial { + return new PromptScreenPartial(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'auth0:index/promptScreenPartial:PromptScreenPartial'; + + /** + * Returns true if the given object is an instance of PromptScreenPartial. 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 PromptScreenPartial { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PromptScreenPartial.__pulumiType; + } + + /** + * The insertion points for the partials. + */ + public readonly insertionPoints!: pulumi.Output; + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + */ + public readonly promptType!: pulumi.Output; + /** + * The name of the screen associated with the partials + */ + public readonly screenName!: pulumi.Output; + + /** + * Create a PromptScreenPartial 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: PromptScreenPartialArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: PromptScreenPartialArgs | PromptScreenPartialState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as PromptScreenPartialState | undefined; + resourceInputs["insertionPoints"] = state ? state.insertionPoints : undefined; + resourceInputs["promptType"] = state ? state.promptType : undefined; + resourceInputs["screenName"] = state ? state.screenName : undefined; + } else { + const args = argsOrState as PromptScreenPartialArgs | undefined; + if ((!args || args.promptType === undefined) && !opts.urn) { + throw new Error("Missing required property 'promptType'"); + } + if ((!args || args.screenName === undefined) && !opts.urn) { + throw new Error("Missing required property 'screenName'"); + } + resourceInputs["insertionPoints"] = args ? args.insertionPoints : undefined; + resourceInputs["promptType"] = args ? args.promptType : undefined; + resourceInputs["screenName"] = args ? args.screenName : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(PromptScreenPartial.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering PromptScreenPartial resources. + */ +export interface PromptScreenPartialState { + /** + * The insertion points for the partials. + */ + insertionPoints?: pulumi.Input; + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + */ + promptType?: pulumi.Input; + /** + * The name of the screen associated with the partials + */ + screenName?: pulumi.Input; +} + +/** + * The set of arguments for constructing a PromptScreenPartial resource. + */ +export interface PromptScreenPartialArgs { + /** + * The insertion points for the partials. + */ + insertionPoints?: pulumi.Input; + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + */ + promptType: pulumi.Input; + /** + * The name of the screen associated with the partials + */ + screenName: pulumi.Input; +} diff --git a/sdk/nodejs/promptScreenPartials.ts b/sdk/nodejs/promptScreenPartials.ts new file mode 100644 index 00000000..6e07e20c --- /dev/null +++ b/sdk/nodejs/promptScreenPartials.ts @@ -0,0 +1,138 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + * + * !> This resource manages the entire set of prompt screens enabled for a prompt. In contrast, the `auth0.PromptScreenPartial` + * resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + * To avoid potential issues, it is recommended not to use this resource in conjunction with the `auth0.PromptScreenPartial` + * resource when managing prompt screens for the same prompt. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as auth0 from "@pulumi/auth0"; + * + * const promptScreenPartials = new auth0.PromptScreenPartials("prompt_screen_partials", { + * promptType: "login-passwordless", + * screenPartials: [ + * { + * screenName: "login-passwordless-email-code", + * insertionPoints: { + * formContentStart: "
Form Content Start
", + * formContentEnd: "
Form Content End
", + * }, + * }, + * { + * screenName: "login-passwordless-sms-otp", + * insertionPoints: { + * formContentStart: "
Form Content Start
", + * formContentEnd: "
Form Content End
", + * }, + * }, + * ], + * }); + * ``` + * + * ## Import + * + * This resource can be imported using the prompt name. + * + * # + * + * Example: + * + * ```sh + * $ pulumi import auth0:index/promptScreenPartials:PromptScreenPartials prompt_screen_partials "login-passwordless" + * ``` + */ +export class PromptScreenPartials extends pulumi.CustomResource { + /** + * Get an existing PromptScreenPartials 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 state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: PromptScreenPartialsState, opts?: pulumi.CustomResourceOptions): PromptScreenPartials { + return new PromptScreenPartials(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'auth0:index/promptScreenPartials:PromptScreenPartials'; + + /** + * Returns true if the given object is an instance of PromptScreenPartials. 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 PromptScreenPartials { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PromptScreenPartials.__pulumiType; + } + + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + */ + public readonly promptType!: pulumi.Output; + public readonly screenPartials!: pulumi.Output; + + /** + * Create a PromptScreenPartials 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: PromptScreenPartialsArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: PromptScreenPartialsArgs | PromptScreenPartialsState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as PromptScreenPartialsState | undefined; + resourceInputs["promptType"] = state ? state.promptType : undefined; + resourceInputs["screenPartials"] = state ? state.screenPartials : undefined; + } else { + const args = argsOrState as PromptScreenPartialsArgs | undefined; + if ((!args || args.promptType === undefined) && !opts.urn) { + throw new Error("Missing required property 'promptType'"); + } + resourceInputs["promptType"] = args ? args.promptType : undefined; + resourceInputs["screenPartials"] = args ? args.screenPartials : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(PromptScreenPartials.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering PromptScreenPartials resources. + */ +export interface PromptScreenPartialsState { + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + */ + promptType?: pulumi.Input; + screenPartials?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a PromptScreenPartials resource. + */ +export interface PromptScreenPartialsArgs { + /** + * The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + */ + promptType: pulumi.Input; + screenPartials?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 1d85fd6a..0fb53fcf 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -39,6 +39,7 @@ "getCustomDomain.ts", "getOrganization.ts", "getPages.ts", + "getPromptScreenPartials.ts", "getResourceServer.ts", "getRole.ts", "getSelfServiceProfile.ts", @@ -60,6 +61,8 @@ "prompt.ts", "promptCustomText.ts", "promptPartials.ts", + "promptScreenPartial.ts", + "promptScreenPartials.ts", "provider.ts", "resourceServer.ts", "resourceServerScope.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 355f8a83..b3433d2e 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -1025,6 +1025,21 @@ export interface ClientCredentialsPrivateKeyJwtCredential { updatedAt?: pulumi.Input; } +export interface ClientDefaultOrganization { + /** + * If set, the `defaultOrganization` will be removed. + */ + disable?: pulumi.Input; + /** + * Definition of the flow that needs to be configured. Eg. client_credentials + */ + flows?: pulumi.Input[]>; + /** + * The unique identifier of the organization + */ + organizationId?: pulumi.Input; +} + export interface ClientJwtConfiguration { /** * Algorithm used to sign JWTs. @@ -1906,6 +1921,76 @@ export interface GetConnectionScimConfigurationMappingArgs { scim?: pulumi.Input; } +export interface GetPromptScreenPartialsScreenPartial { + insertionPoints?: inputs.GetPromptScreenPartialsScreenPartialInsertionPoint[]; + /** + * The name of the screen associated with the partials + */ + screenName?: string; +} + +export interface GetPromptScreenPartialsScreenPartialArgs { + insertionPoints?: pulumi.Input[]>; + /** + * The name of the screen associated with the partials + */ + screenName?: pulumi.Input; +} + +export interface GetPromptScreenPartialsScreenPartialInsertionPoint { + /** + * Content that goes at the end of the form. + */ + formContentEnd?: string; + /** + * Content that goes at the start of the form. + */ + formContentStart?: string; + /** + * Footer content for the end of the footer. + */ + formFooterEnd?: string; + /** + * Footer content for the start of the footer. + */ + formFooterStart?: string; + /** + * Actions that go at the end of secondary actions. + */ + secondaryActionsEnd?: string; + /** + * Actions that go at the start of secondary actions. + */ + secondaryActionsStart?: string; +} + +export interface GetPromptScreenPartialsScreenPartialInsertionPointArgs { + /** + * Content that goes at the end of the form. + */ + formContentEnd?: pulumi.Input; + /** + * Content that goes at the start of the form. + */ + formContentStart?: pulumi.Input; + /** + * Footer content for the end of the footer. + */ + formFooterEnd?: pulumi.Input; + /** + * Footer content for the start of the footer. + */ + formFooterStart?: pulumi.Input; + /** + * Actions that go at the end of secondary actions. + */ + secondaryActionsEnd?: pulumi.Input; + /** + * Actions that go at the start of secondary actions. + */ + secondaryActionsStart?: pulumi.Input; +} + export interface GuardianDuo { /** * Indicates whether Duo MFA is enabled. @@ -2273,6 +2358,68 @@ export interface PagesLogin { html: pulumi.Input; } +export interface PromptScreenPartialInsertionPoints { + /** + * Content that goes at the end of the form. + */ + formContentEnd?: pulumi.Input; + /** + * Content that goes at the start of the form. + */ + formContentStart?: pulumi.Input; + /** + * Footer content for the end of the footer. + */ + formFooterEnd?: pulumi.Input; + /** + * Footer content for the start of the footer. + */ + formFooterStart?: pulumi.Input; + /** + * Actions that go at the end of secondary actions. + */ + secondaryActionsEnd?: pulumi.Input; + /** + * Actions that go at the start of secondary actions. + */ + secondaryActionsStart?: pulumi.Input; +} + +export interface PromptScreenPartialsScreenPartial { + insertionPoints: pulumi.Input; + /** + * The name of the screen associated with the partials + */ + screenName: pulumi.Input; +} + +export interface PromptScreenPartialsScreenPartialInsertionPoints { + /** + * Content that goes at the end of the form. + */ + formContentEnd?: pulumi.Input; + /** + * Content that goes at the start of the form. + */ + formContentStart?: pulumi.Input; + /** + * Footer content for the end of the footer. + */ + formFooterEnd?: pulumi.Input; + /** + * Footer content for the start of the footer. + */ + formFooterStart?: pulumi.Input; + /** + * Actions that go at the end of secondary actions. + */ + secondaryActionsEnd?: pulumi.Input; + /** + * Actions that go at the start of secondary actions. + */ + secondaryActionsStart?: pulumi.Input; +} + export interface ResourceServerScopesScope { /** * User-friendly description of the scope (permission). diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 791c38ce..443cf378 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -1025,6 +1025,21 @@ export interface ClientCredentialsPrivateKeyJwtCredential { updatedAt: string; } +export interface ClientDefaultOrganization { + /** + * If set, the `defaultOrganization` will be removed. + */ + disable?: boolean; + /** + * Definition of the flow that needs to be configured. Eg. client_credentials + */ + flows?: string[]; + /** + * The unique identifier of the organization + */ + organizationId?: string; +} + export interface ClientJwtConfiguration { /** * Algorithm used to sign JWTs. @@ -2799,6 +2814,21 @@ export interface GetClientAddonZoom { account: string; } +export interface GetClientDefaultOrganization { + /** + * If set, the `defaultOrganization` will be removed. + */ + disable: boolean; + /** + * Definition of the flow that needs to be configured. Eg. client_credentials + */ + flows: string[]; + /** + * The unique identifier of the organization + */ + organizationId: string; +} + export interface GetClientJwtConfiguration { /** * Algorithm used to sign JWTs. @@ -3637,6 +3667,41 @@ export interface GetPagesLogin { html: string; } +export interface GetPromptScreenPartialsScreenPartial { + insertionPoints: outputs.GetPromptScreenPartialsScreenPartialInsertionPoint[]; + /** + * The name of the screen associated with the partials + */ + screenName: string; +} + +export interface GetPromptScreenPartialsScreenPartialInsertionPoint { + /** + * Content that goes at the end of the form. + */ + formContentEnd: string; + /** + * Content that goes at the start of the form. + */ + formContentStart: string; + /** + * Footer content for the end of the footer. + */ + formFooterEnd: string; + /** + * Footer content for the start of the footer. + */ + formFooterStart: string; + /** + * Actions that go at the end of secondary actions. + */ + secondaryActionsEnd: string; + /** + * Actions that go at the start of secondary actions. + */ + secondaryActionsStart: string; +} + export interface GetResourceServerScope { /** * Description of the permission (scope). @@ -4238,6 +4303,68 @@ export interface PagesLogin { html: string; } +export interface PromptScreenPartialInsertionPoints { + /** + * Content that goes at the end of the form. + */ + formContentEnd?: string; + /** + * Content that goes at the start of the form. + */ + formContentStart?: string; + /** + * Footer content for the end of the footer. + */ + formFooterEnd?: string; + /** + * Footer content for the start of the footer. + */ + formFooterStart?: string; + /** + * Actions that go at the end of secondary actions. + */ + secondaryActionsEnd?: string; + /** + * Actions that go at the start of secondary actions. + */ + secondaryActionsStart?: string; +} + +export interface PromptScreenPartialsScreenPartial { + insertionPoints: outputs.PromptScreenPartialsScreenPartialInsertionPoints; + /** + * The name of the screen associated with the partials + */ + screenName: string; +} + +export interface PromptScreenPartialsScreenPartialInsertionPoints { + /** + * Content that goes at the end of the form. + */ + formContentEnd?: string; + /** + * Content that goes at the start of the form. + */ + formContentStart?: string; + /** + * Footer content for the end of the footer. + */ + formFooterEnd?: string; + /** + * Footer content for the start of the footer. + */ + formFooterStart?: string; + /** + * Actions that go at the end of secondary actions. + */ + secondaryActionsEnd?: string; + /** + * Actions that go at the start of secondary actions. + */ + secondaryActionsStart?: string; +} + export interface ResourceServerScopesScope { /** * User-friendly description of the scope (permission). diff --git a/sdk/python/pulumi_auth0/__init__.py b/sdk/python/pulumi_auth0/__init__.py index d9a98cb9..711a363c 100644 --- a/sdk/python/pulumi_auth0/__init__.py +++ b/sdk/python/pulumi_auth0/__init__.py @@ -29,6 +29,7 @@ from .get_custom_domain import * from .get_organization import * from .get_pages import * +from .get_prompt_screen_partials import * from .get_resource_server import * from .get_role import * from .get_self_service_profile import * @@ -49,6 +50,8 @@ from .prompt import * from .prompt_custom_text import * from .prompt_partials import * +from .prompt_screen_partial import * +from .prompt_screen_partials import * from .provider import * from .resource_server import * from .resource_server_scope import * @@ -312,6 +315,22 @@ "auth0:index/promptPartials:PromptPartials": "PromptPartials" } }, + { + "pkg": "auth0", + "mod": "index/promptScreenPartial", + "fqn": "pulumi_auth0", + "classes": { + "auth0:index/promptScreenPartial:PromptScreenPartial": "PromptScreenPartial" + } + }, + { + "pkg": "auth0", + "mod": "index/promptScreenPartials", + "fqn": "pulumi_auth0", + "classes": { + "auth0:index/promptScreenPartials:PromptScreenPartials": "PromptScreenPartials" + } + }, { "pkg": "auth0", "mod": "index/resourceServer", diff --git a/sdk/python/pulumi_auth0/_inputs.py b/sdk/python/pulumi_auth0/_inputs.py index 6689deca..98a8c739 100644 --- a/sdk/python/pulumi_auth0/_inputs.py +++ b/sdk/python/pulumi_auth0/_inputs.py @@ -66,6 +66,7 @@ 'ClientAddonsZoomArgs', 'ClientCredentialsPrivateKeyJwtArgs', 'ClientCredentialsPrivateKeyJwtCredentialArgs', + 'ClientDefaultOrganizationArgs', 'ClientJwtConfigurationArgs', 'ClientMobileArgs', 'ClientMobileAndroidArgs', @@ -126,6 +127,9 @@ 'PagesErrorArgs', 'PagesGuardianMfaArgs', 'PagesLoginArgs', + 'PromptScreenPartialInsertionPointsArgs', + 'PromptScreenPartialsScreenPartialArgs', + 'PromptScreenPartialsScreenPartialInsertionPointsArgs', 'ResourceServerScopesScopeArgs', 'RolePermissionsPermissionArgs', 'SelfServiceProfileBrandingArgs', @@ -138,6 +142,8 @@ 'UserPermissionsPermissionArgs', 'GetConnectionScimConfigurationDefaultMappingArgs', 'GetConnectionScimConfigurationMappingArgs', + 'GetPromptScreenPartialsScreenPartialArgs', + 'GetPromptScreenPartialsScreenPartialInsertionPointArgs', ] @pulumi.input_type @@ -3913,6 +3919,61 @@ def updated_at(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "updated_at", value) +@pulumi.input_type +class ClientDefaultOrganizationArgs: + def __init__(__self__, *, + disable: Optional[pulumi.Input[bool]] = None, + flows: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + organization_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[bool] disable: If set, the `default_organization` will be removed. + :param pulumi.Input[Sequence[pulumi.Input[str]]] flows: Definition of the flow that needs to be configured. Eg. client_credentials + :param pulumi.Input[str] organization_id: The unique identifier of the organization + """ + if disable is not None: + pulumi.set(__self__, "disable", disable) + if flows is not None: + pulumi.set(__self__, "flows", flows) + if organization_id is not None: + pulumi.set(__self__, "organization_id", organization_id) + + @property + @pulumi.getter + def disable(self) -> Optional[pulumi.Input[bool]]: + """ + If set, the `default_organization` will be removed. + """ + return pulumi.get(self, "disable") + + @disable.setter + def disable(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "disable", value) + + @property + @pulumi.getter + def flows(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Definition of the flow that needs to be configured. Eg. client_credentials + """ + return pulumi.get(self, "flows") + + @flows.setter + def flows(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "flows", value) + + @property + @pulumi.getter(name="organizationId") + def organization_id(self) -> Optional[pulumi.Input[str]]: + """ + The unique identifier of the organization + """ + return pulumi.get(self, "organization_id") + + @organization_id.setter + def organization_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "organization_id", value) + + @pulumi.input_type class ClientJwtConfigurationArgs: def __init__(__self__, *, @@ -8535,6 +8596,245 @@ def html(self, value: pulumi.Input[str]): pulumi.set(self, "html", value) +@pulumi.input_type +class PromptScreenPartialInsertionPointsArgs: + def __init__(__self__, *, + form_content_end: Optional[pulumi.Input[str]] = None, + form_content_start: Optional[pulumi.Input[str]] = None, + form_footer_end: Optional[pulumi.Input[str]] = None, + form_footer_start: Optional[pulumi.Input[str]] = None, + secondary_actions_end: Optional[pulumi.Input[str]] = None, + secondary_actions_start: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] form_content_end: Content that goes at the end of the form. + :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. + :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. + :param pulumi.Input[str] form_footer_start: Footer content for the start of the footer. + :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. + :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. + """ + if form_content_end is not None: + pulumi.set(__self__, "form_content_end", form_content_end) + if form_content_start is not None: + pulumi.set(__self__, "form_content_start", form_content_start) + if form_footer_end is not None: + pulumi.set(__self__, "form_footer_end", form_footer_end) + if form_footer_start is not None: + pulumi.set(__self__, "form_footer_start", form_footer_start) + if secondary_actions_end is not None: + pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) + if secondary_actions_start is not None: + pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + + @property + @pulumi.getter(name="formContentEnd") + def form_content_end(self) -> Optional[pulumi.Input[str]]: + """ + Content that goes at the end of the form. + """ + return pulumi.get(self, "form_content_end") + + @form_content_end.setter + def form_content_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_content_end", value) + + @property + @pulumi.getter(name="formContentStart") + def form_content_start(self) -> Optional[pulumi.Input[str]]: + """ + Content that goes at the start of the form. + """ + return pulumi.get(self, "form_content_start") + + @form_content_start.setter + def form_content_start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_content_start", value) + + @property + @pulumi.getter(name="formFooterEnd") + def form_footer_end(self) -> Optional[pulumi.Input[str]]: + """ + Footer content for the end of the footer. + """ + return pulumi.get(self, "form_footer_end") + + @form_footer_end.setter + def form_footer_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_footer_end", value) + + @property + @pulumi.getter(name="formFooterStart") + def form_footer_start(self) -> Optional[pulumi.Input[str]]: + """ + Footer content for the start of the footer. + """ + return pulumi.get(self, "form_footer_start") + + @form_footer_start.setter + def form_footer_start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_footer_start", value) + + @property + @pulumi.getter(name="secondaryActionsEnd") + def secondary_actions_end(self) -> Optional[pulumi.Input[str]]: + """ + Actions that go at the end of secondary actions. + """ + return pulumi.get(self, "secondary_actions_end") + + @secondary_actions_end.setter + def secondary_actions_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secondary_actions_end", value) + + @property + @pulumi.getter(name="secondaryActionsStart") + def secondary_actions_start(self) -> Optional[pulumi.Input[str]]: + """ + Actions that go at the start of secondary actions. + """ + return pulumi.get(self, "secondary_actions_start") + + @secondary_actions_start.setter + def secondary_actions_start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secondary_actions_start", value) + + +@pulumi.input_type +class PromptScreenPartialsScreenPartialArgs: + def __init__(__self__, *, + insertion_points: pulumi.Input['PromptScreenPartialsScreenPartialInsertionPointsArgs'], + screen_name: pulumi.Input[str]): + """ + :param pulumi.Input[str] screen_name: The name of the screen associated with the partials + """ + pulumi.set(__self__, "insertion_points", insertion_points) + pulumi.set(__self__, "screen_name", screen_name) + + @property + @pulumi.getter(name="insertionPoints") + def insertion_points(self) -> pulumi.Input['PromptScreenPartialsScreenPartialInsertionPointsArgs']: + return pulumi.get(self, "insertion_points") + + @insertion_points.setter + def insertion_points(self, value: pulumi.Input['PromptScreenPartialsScreenPartialInsertionPointsArgs']): + pulumi.set(self, "insertion_points", value) + + @property + @pulumi.getter(name="screenName") + def screen_name(self) -> pulumi.Input[str]: + """ + The name of the screen associated with the partials + """ + return pulumi.get(self, "screen_name") + + @screen_name.setter + def screen_name(self, value: pulumi.Input[str]): + pulumi.set(self, "screen_name", value) + + +@pulumi.input_type +class PromptScreenPartialsScreenPartialInsertionPointsArgs: + def __init__(__self__, *, + form_content_end: Optional[pulumi.Input[str]] = None, + form_content_start: Optional[pulumi.Input[str]] = None, + form_footer_end: Optional[pulumi.Input[str]] = None, + form_footer_start: Optional[pulumi.Input[str]] = None, + secondary_actions_end: Optional[pulumi.Input[str]] = None, + secondary_actions_start: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] form_content_end: Content that goes at the end of the form. + :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. + :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. + :param pulumi.Input[str] form_footer_start: Footer content for the start of the footer. + :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. + :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. + """ + if form_content_end is not None: + pulumi.set(__self__, "form_content_end", form_content_end) + if form_content_start is not None: + pulumi.set(__self__, "form_content_start", form_content_start) + if form_footer_end is not None: + pulumi.set(__self__, "form_footer_end", form_footer_end) + if form_footer_start is not None: + pulumi.set(__self__, "form_footer_start", form_footer_start) + if secondary_actions_end is not None: + pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) + if secondary_actions_start is not None: + pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + + @property + @pulumi.getter(name="formContentEnd") + def form_content_end(self) -> Optional[pulumi.Input[str]]: + """ + Content that goes at the end of the form. + """ + return pulumi.get(self, "form_content_end") + + @form_content_end.setter + def form_content_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_content_end", value) + + @property + @pulumi.getter(name="formContentStart") + def form_content_start(self) -> Optional[pulumi.Input[str]]: + """ + Content that goes at the start of the form. + """ + return pulumi.get(self, "form_content_start") + + @form_content_start.setter + def form_content_start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_content_start", value) + + @property + @pulumi.getter(name="formFooterEnd") + def form_footer_end(self) -> Optional[pulumi.Input[str]]: + """ + Footer content for the end of the footer. + """ + return pulumi.get(self, "form_footer_end") + + @form_footer_end.setter + def form_footer_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_footer_end", value) + + @property + @pulumi.getter(name="formFooterStart") + def form_footer_start(self) -> Optional[pulumi.Input[str]]: + """ + Footer content for the start of the footer. + """ + return pulumi.get(self, "form_footer_start") + + @form_footer_start.setter + def form_footer_start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "form_footer_start", value) + + @property + @pulumi.getter(name="secondaryActionsEnd") + def secondary_actions_end(self) -> Optional[pulumi.Input[str]]: + """ + Actions that go at the end of secondary actions. + """ + return pulumi.get(self, "secondary_actions_end") + + @secondary_actions_end.setter + def secondary_actions_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secondary_actions_end", value) + + @property + @pulumi.getter(name="secondaryActionsStart") + def secondary_actions_start(self) -> Optional[pulumi.Input[str]]: + """ + Actions that go at the start of secondary actions. + """ + return pulumi.get(self, "secondary_actions_start") + + @secondary_actions_start.setter + def secondary_actions_start(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secondary_actions_start", value) + + @pulumi.input_type class ResourceServerScopesScopeArgs: def __init__(__self__, *, @@ -9376,3 +9676,133 @@ def scim(self, value: str): pulumi.set(self, "scim", value) +@pulumi.input_type +class GetPromptScreenPartialsScreenPartialArgs: + def __init__(__self__, *, + insertion_points: Sequence['GetPromptScreenPartialsScreenPartialInsertionPointArgs'], + screen_name: str): + """ + :param str screen_name: The name of the screen associated with the partials + """ + pulumi.set(__self__, "insertion_points", insertion_points) + pulumi.set(__self__, "screen_name", screen_name) + + @property + @pulumi.getter(name="insertionPoints") + def insertion_points(self) -> Sequence['GetPromptScreenPartialsScreenPartialInsertionPointArgs']: + return pulumi.get(self, "insertion_points") + + @insertion_points.setter + def insertion_points(self, value: Sequence['GetPromptScreenPartialsScreenPartialInsertionPointArgs']): + pulumi.set(self, "insertion_points", value) + + @property + @pulumi.getter(name="screenName") + def screen_name(self) -> str: + """ + The name of the screen associated with the partials + """ + return pulumi.get(self, "screen_name") + + @screen_name.setter + def screen_name(self, value: str): + pulumi.set(self, "screen_name", value) + + +@pulumi.input_type +class GetPromptScreenPartialsScreenPartialInsertionPointArgs: + def __init__(__self__, *, + form_content_end: str, + form_content_start: str, + form_footer_end: str, + form_footer_start: str, + secondary_actions_end: str, + secondary_actions_start: str): + """ + :param str form_content_end: Content that goes at the end of the form. + :param str form_content_start: Content that goes at the start of the form. + :param str form_footer_end: Footer content for the end of the footer. + :param str form_footer_start: Footer content for the start of the footer. + :param str secondary_actions_end: Actions that go at the end of secondary actions. + :param str secondary_actions_start: Actions that go at the start of secondary actions. + """ + pulumi.set(__self__, "form_content_end", form_content_end) + pulumi.set(__self__, "form_content_start", form_content_start) + pulumi.set(__self__, "form_footer_end", form_footer_end) + pulumi.set(__self__, "form_footer_start", form_footer_start) + pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) + pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + + @property + @pulumi.getter(name="formContentEnd") + def form_content_end(self) -> str: + """ + Content that goes at the end of the form. + """ + return pulumi.get(self, "form_content_end") + + @form_content_end.setter + def form_content_end(self, value: str): + pulumi.set(self, "form_content_end", value) + + @property + @pulumi.getter(name="formContentStart") + def form_content_start(self) -> str: + """ + Content that goes at the start of the form. + """ + return pulumi.get(self, "form_content_start") + + @form_content_start.setter + def form_content_start(self, value: str): + pulumi.set(self, "form_content_start", value) + + @property + @pulumi.getter(name="formFooterEnd") + def form_footer_end(self) -> str: + """ + Footer content for the end of the footer. + """ + return pulumi.get(self, "form_footer_end") + + @form_footer_end.setter + def form_footer_end(self, value: str): + pulumi.set(self, "form_footer_end", value) + + @property + @pulumi.getter(name="formFooterStart") + def form_footer_start(self) -> str: + """ + Footer content for the start of the footer. + """ + return pulumi.get(self, "form_footer_start") + + @form_footer_start.setter + def form_footer_start(self, value: str): + pulumi.set(self, "form_footer_start", value) + + @property + @pulumi.getter(name="secondaryActionsEnd") + def secondary_actions_end(self) -> str: + """ + Actions that go at the end of secondary actions. + """ + return pulumi.get(self, "secondary_actions_end") + + @secondary_actions_end.setter + def secondary_actions_end(self, value: str): + pulumi.set(self, "secondary_actions_end", value) + + @property + @pulumi.getter(name="secondaryActionsStart") + def secondary_actions_start(self) -> str: + """ + Actions that go at the start of secondary actions. + """ + return pulumi.get(self, "secondary_actions_start") + + @secondary_actions_start.setter + def secondary_actions_start(self, value: str): + pulumi.set(self, "secondary_actions_start", value) + + diff --git a/sdk/python/pulumi_auth0/client.py b/sdk/python/pulumi_auth0/client.py index 974e57ff..9a0f9dec 100644 --- a/sdk/python/pulumi_auth0/client.py +++ b/sdk/python/pulumi_auth0/client.py @@ -28,6 +28,7 @@ def __init__(__self__, *, cross_origin_loc: Optional[pulumi.Input[str]] = None, custom_login_page: Optional[pulumi.Input[str]] = None, custom_login_page_on: Optional[pulumi.Input[bool]] = None, + default_organization: Optional[pulumi.Input['ClientDefaultOrganizationArgs']] = None, description: Optional[pulumi.Input[str]] = None, encryption_key: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, form_template: Optional[pulumi.Input[str]] = None, @@ -63,6 +64,7 @@ def __init__(__self__, *, :param pulumi.Input[str] cross_origin_loc: URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing authentication in your own domain instead of Auth0 Universal Login page. :param pulumi.Input[str] custom_login_page: The content (HTML, CSS, JS) of the custom login page. :param pulumi.Input[bool] custom_login_page_on: Indicates whether a custom login page is to be used. + :param pulumi.Input['ClientDefaultOrganizationArgs'] default_organization: Configure and associate an organization with the Client :param pulumi.Input[str] description: Description of the purpose of the client. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] encryption_key: Encryption used for WS-Fed responses with this client. :param pulumi.Input[str] form_template: HTML form template to be used for WS-Federation. @@ -109,6 +111,8 @@ def __init__(__self__, *, pulumi.set(__self__, "custom_login_page", custom_login_page) if custom_login_page_on is not None: pulumi.set(__self__, "custom_login_page_on", custom_login_page_on) + if default_organization is not None: + pulumi.set(__self__, "default_organization", default_organization) if description is None: description = 'Managed by Pulumi' if description is not None: @@ -298,6 +302,18 @@ def custom_login_page_on(self) -> Optional[pulumi.Input[bool]]: def custom_login_page_on(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "custom_login_page_on", value) + @property + @pulumi.getter(name="defaultOrganization") + def default_organization(self) -> Optional[pulumi.Input['ClientDefaultOrganizationArgs']]: + """ + Configure and associate an organization with the Client + """ + return pulumi.get(self, "default_organization") + + @default_organization.setter + def default_organization(self, value: Optional[pulumi.Input['ClientDefaultOrganizationArgs']]): + pulumi.set(self, "default_organization", value) + @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: @@ -567,6 +583,7 @@ def __init__(__self__, *, cross_origin_loc: Optional[pulumi.Input[str]] = None, custom_login_page: Optional[pulumi.Input[str]] = None, custom_login_page_on: Optional[pulumi.Input[bool]] = None, + default_organization: Optional[pulumi.Input['ClientDefaultOrganizationArgs']] = None, description: Optional[pulumi.Input[str]] = None, encryption_key: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, form_template: Optional[pulumi.Input[str]] = None, @@ -604,6 +621,7 @@ def __init__(__self__, *, :param pulumi.Input[str] cross_origin_loc: URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing authentication in your own domain instead of Auth0 Universal Login page. :param pulumi.Input[str] custom_login_page: The content (HTML, CSS, JS) of the custom login page. :param pulumi.Input[bool] custom_login_page_on: Indicates whether a custom login page is to be used. + :param pulumi.Input['ClientDefaultOrganizationArgs'] default_organization: Configure and associate an organization with the Client :param pulumi.Input[str] description: Description of the purpose of the client. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] encryption_key: Encryption used for WS-Fed responses with this client. :param pulumi.Input[str] form_template: HTML form template to be used for WS-Federation. @@ -653,6 +671,8 @@ def __init__(__self__, *, pulumi.set(__self__, "custom_login_page", custom_login_page) if custom_login_page_on is not None: pulumi.set(__self__, "custom_login_page_on", custom_login_page_on) + if default_organization is not None: + pulumi.set(__self__, "default_organization", default_organization) if description is None: description = 'Managed by Pulumi' if description is not None: @@ -856,6 +876,18 @@ def custom_login_page_on(self) -> Optional[pulumi.Input[bool]]: def custom_login_page_on(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "custom_login_page_on", value) + @property + @pulumi.getter(name="defaultOrganization") + def default_organization(self) -> Optional[pulumi.Input['ClientDefaultOrganizationArgs']]: + """ + Configure and associate an organization with the Client + """ + return pulumi.get(self, "default_organization") + + @default_organization.setter + def default_organization(self, value: Optional[pulumi.Input['ClientDefaultOrganizationArgs']]): + pulumi.set(self, "default_organization", value) + @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: @@ -1138,6 +1170,7 @@ def __init__(__self__, cross_origin_loc: Optional[pulumi.Input[str]] = None, custom_login_page: Optional[pulumi.Input[str]] = None, custom_login_page_on: Optional[pulumi.Input[bool]] = None, + default_organization: Optional[pulumi.Input[Union['ClientDefaultOrganizationArgs', 'ClientDefaultOrganizationArgsDict']]] = None, description: Optional[pulumi.Input[str]] = None, encryption_key: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, form_template: Optional[pulumi.Input[str]] = None, @@ -1260,6 +1293,7 @@ def __init__(__self__, :param pulumi.Input[str] cross_origin_loc: URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing authentication in your own domain instead of Auth0 Universal Login page. :param pulumi.Input[str] custom_login_page: The content (HTML, CSS, JS) of the custom login page. :param pulumi.Input[bool] custom_login_page_on: Indicates whether a custom login page is to be used. + :param pulumi.Input[Union['ClientDefaultOrganizationArgs', 'ClientDefaultOrganizationArgsDict']] default_organization: Configure and associate an organization with the Client :param pulumi.Input[str] description: Description of the purpose of the client. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] encryption_key: Encryption used for WS-Fed responses with this client. :param pulumi.Input[str] form_template: HTML form template to be used for WS-Federation. @@ -1401,6 +1435,7 @@ def _internal_init(__self__, cross_origin_loc: Optional[pulumi.Input[str]] = None, custom_login_page: Optional[pulumi.Input[str]] = None, custom_login_page_on: Optional[pulumi.Input[bool]] = None, + default_organization: Optional[pulumi.Input[Union['ClientDefaultOrganizationArgs', 'ClientDefaultOrganizationArgsDict']]] = None, description: Optional[pulumi.Input[str]] = None, encryption_key: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, form_template: Optional[pulumi.Input[str]] = None, @@ -1443,6 +1478,7 @@ def _internal_init(__self__, __props__.__dict__["cross_origin_loc"] = cross_origin_loc __props__.__dict__["custom_login_page"] = custom_login_page __props__.__dict__["custom_login_page_on"] = custom_login_page_on + __props__.__dict__["default_organization"] = default_organization if description is None: description = 'Managed by Pulumi' __props__.__dict__["description"] = description @@ -1493,6 +1529,7 @@ def get(resource_name: str, cross_origin_loc: Optional[pulumi.Input[str]] = None, custom_login_page: Optional[pulumi.Input[str]] = None, custom_login_page_on: Optional[pulumi.Input[bool]] = None, + default_organization: Optional[pulumi.Input[Union['ClientDefaultOrganizationArgs', 'ClientDefaultOrganizationArgsDict']]] = None, description: Optional[pulumi.Input[str]] = None, encryption_key: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, form_template: Optional[pulumi.Input[str]] = None, @@ -1535,6 +1572,7 @@ def get(resource_name: str, :param pulumi.Input[str] cross_origin_loc: URL of the location in your site where the cross-origin verification takes place for the cross-origin auth flow when performing authentication in your own domain instead of Auth0 Universal Login page. :param pulumi.Input[str] custom_login_page: The content (HTML, CSS, JS) of the custom login page. :param pulumi.Input[bool] custom_login_page_on: Indicates whether a custom login page is to be used. + :param pulumi.Input[Union['ClientDefaultOrganizationArgs', 'ClientDefaultOrganizationArgsDict']] default_organization: Configure and associate an organization with the Client :param pulumi.Input[str] description: Description of the purpose of the client. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] encryption_key: Encryption used for WS-Fed responses with this client. :param pulumi.Input[str] form_template: HTML form template to be used for WS-Federation. @@ -1575,6 +1613,7 @@ def get(resource_name: str, __props__.__dict__["cross_origin_loc"] = cross_origin_loc __props__.__dict__["custom_login_page"] = custom_login_page __props__.__dict__["custom_login_page_on"] = custom_login_page_on + __props__.__dict__["default_organization"] = default_organization __props__.__dict__["description"] = description __props__.__dict__["encryption_key"] = encryption_key __props__.__dict__["form_template"] = form_template @@ -1703,6 +1742,14 @@ def custom_login_page_on(self) -> pulumi.Output[bool]: """ return pulumi.get(self, "custom_login_page_on") + @property + @pulumi.getter(name="defaultOrganization") + def default_organization(self) -> pulumi.Output['outputs.ClientDefaultOrganization']: + """ + Configure and associate an organization with the Client + """ + return pulumi.get(self, "default_organization") + @property @pulumi.getter def description(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_auth0/get_client.py b/sdk/python/pulumi_auth0/get_client.py index 6ac2c48c..bbd89f62 100644 --- a/sdk/python/pulumi_auth0/get_client.py +++ b/sdk/python/pulumi_auth0/get_client.py @@ -22,7 +22,7 @@ class GetClientResult: """ A collection of values returned by getClient. """ - def __init__(__self__, addons=None, allowed_clients=None, allowed_logout_urls=None, allowed_origins=None, app_type=None, callbacks=None, client_aliases=None, client_id=None, client_metadata=None, client_secret=None, cross_origin_auth=None, cross_origin_loc=None, custom_login_page=None, custom_login_page_on=None, description=None, encryption_key=None, form_template=None, grant_types=None, id=None, initiate_login_uri=None, is_first_party=None, is_token_endpoint_ip_header_trusted=None, jwt_configurations=None, logo_uri=None, mobiles=None, name=None, native_social_logins=None, oidc_backchannel_logout_urls=None, oidc_conformant=None, organization_require_behavior=None, organization_usage=None, refresh_tokens=None, require_pushed_authorization_requests=None, signing_keys=None, sso=None, sso_disabled=None, token_endpoint_auth_method=None, web_origins=None): + def __init__(__self__, addons=None, allowed_clients=None, allowed_logout_urls=None, allowed_origins=None, app_type=None, callbacks=None, client_aliases=None, client_id=None, client_metadata=None, client_secret=None, cross_origin_auth=None, cross_origin_loc=None, custom_login_page=None, custom_login_page_on=None, default_organizations=None, description=None, encryption_key=None, form_template=None, grant_types=None, id=None, initiate_login_uri=None, is_first_party=None, is_token_endpoint_ip_header_trusted=None, jwt_configurations=None, logo_uri=None, mobiles=None, name=None, native_social_logins=None, oidc_backchannel_logout_urls=None, oidc_conformant=None, organization_require_behavior=None, organization_usage=None, refresh_tokens=None, require_pushed_authorization_requests=None, signing_keys=None, sso=None, sso_disabled=None, token_endpoint_auth_method=None, web_origins=None): if addons and not isinstance(addons, list): raise TypeError("Expected argument 'addons' to be a list") pulumi.set(__self__, "addons", addons) @@ -65,6 +65,9 @@ def __init__(__self__, addons=None, allowed_clients=None, allowed_logout_urls=No if custom_login_page_on and not isinstance(custom_login_page_on, bool): raise TypeError("Expected argument 'custom_login_page_on' to be a bool") pulumi.set(__self__, "custom_login_page_on", custom_login_page_on) + if default_organizations and not isinstance(default_organizations, list): + raise TypeError("Expected argument 'default_organizations' to be a list") + pulumi.set(__self__, "default_organizations", default_organizations) if description and not isinstance(description, str): raise TypeError("Expected argument 'description' to be a str") pulumi.set(__self__, "description", description) @@ -247,6 +250,14 @@ def custom_login_page_on(self) -> bool: """ return pulumi.get(self, "custom_login_page_on") + @property + @pulumi.getter(name="defaultOrganizations") + def default_organizations(self) -> Sequence['outputs.GetClientDefaultOrganizationResult']: + """ + Configure and associate an organization with the Client + """ + return pulumi.get(self, "default_organizations") + @property @pulumi.getter def description(self) -> str: @@ -460,6 +471,7 @@ def __await__(self): cross_origin_loc=self.cross_origin_loc, custom_login_page=self.custom_login_page, custom_login_page_on=self.custom_login_page_on, + default_organizations=self.default_organizations, description=self.description, encryption_key=self.encryption_key, form_template=self.form_template, @@ -529,6 +541,7 @@ def get_client(client_id: Optional[str] = None, cross_origin_loc=pulumi.get(__ret__, 'cross_origin_loc'), custom_login_page=pulumi.get(__ret__, 'custom_login_page'), custom_login_page_on=pulumi.get(__ret__, 'custom_login_page_on'), + default_organizations=pulumi.get(__ret__, 'default_organizations'), description=pulumi.get(__ret__, 'description'), encryption_key=pulumi.get(__ret__, 'encryption_key'), form_template=pulumi.get(__ret__, 'form_template'), diff --git a/sdk/python/pulumi_auth0/get_prompt_screen_partials.py b/sdk/python/pulumi_auth0/get_prompt_screen_partials.py new file mode 100644 index 00000000..f36f2993 --- /dev/null +++ b/sdk/python/pulumi_auth0/get_prompt_screen_partials.py @@ -0,0 +1,124 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** 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 . import outputs +from ._inputs import * + +__all__ = [ + 'GetPromptScreenPartialsResult', + 'AwaitableGetPromptScreenPartialsResult', + 'get_prompt_screen_partials', + 'get_prompt_screen_partials_output', +] + +@pulumi.output_type +class GetPromptScreenPartialsResult: + """ + A collection of values returned by getPromptScreenPartials. + """ + def __init__(__self__, id=None, prompt_type=None, screen_partials=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if prompt_type and not isinstance(prompt_type, str): + raise TypeError("Expected argument 'prompt_type' to be a str") + pulumi.set(__self__, "prompt_type", prompt_type) + if screen_partials and not isinstance(screen_partials, list): + raise TypeError("Expected argument 'screen_partials' to be a list") + pulumi.set(__self__, "screen_partials", screen_partials) + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="promptType") + def prompt_type(self) -> str: + """ + The type of prompt to customize. + """ + return pulumi.get(self, "prompt_type") + + @property + @pulumi.getter(name="screenPartials") + def screen_partials(self) -> Sequence['outputs.GetPromptScreenPartialsScreenPartialResult']: + """ + The screen partials associated with the prompt type. + """ + return pulumi.get(self, "screen_partials") + + +class AwaitableGetPromptScreenPartialsResult(GetPromptScreenPartialsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPromptScreenPartialsResult( + id=self.id, + prompt_type=self.prompt_type, + screen_partials=self.screen_partials) + + +def get_prompt_screen_partials(prompt_type: Optional[str] = None, + screen_partials: Optional[Sequence[Union['GetPromptScreenPartialsScreenPartialArgs', 'GetPromptScreenPartialsScreenPartialArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPromptScreenPartialsResult: + """ + Data source to retrieve a specific Auth0 prompt screen partials by `prompt_type`. + + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + prompt_screen_partials = auth0.get_prompt_screen_partials(prompt_type="prompt-name") + ``` + + + :param str prompt_type: The type of prompt to customize. + :param Sequence[Union['GetPromptScreenPartialsScreenPartialArgs', 'GetPromptScreenPartialsScreenPartialArgsDict']] screen_partials: The screen partials associated with the prompt type. + """ + __args__ = dict() + __args__['promptType'] = prompt_type + __args__['screenPartials'] = screen_partials + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('auth0:index/getPromptScreenPartials:getPromptScreenPartials', __args__, opts=opts, typ=GetPromptScreenPartialsResult).value + + return AwaitableGetPromptScreenPartialsResult( + id=pulumi.get(__ret__, 'id'), + prompt_type=pulumi.get(__ret__, 'prompt_type'), + screen_partials=pulumi.get(__ret__, 'screen_partials')) + + +@_utilities.lift_output_func(get_prompt_screen_partials) +def get_prompt_screen_partials_output(prompt_type: Optional[pulumi.Input[str]] = None, + screen_partials: Optional[pulumi.Input[Optional[Sequence[Union['GetPromptScreenPartialsScreenPartialArgs', 'GetPromptScreenPartialsScreenPartialArgsDict']]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPromptScreenPartialsResult]: + """ + Data source to retrieve a specific Auth0 prompt screen partials by `prompt_type`. + + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + prompt_screen_partials = auth0.get_prompt_screen_partials(prompt_type="prompt-name") + ``` + + + :param str prompt_type: The type of prompt to customize. + :param Sequence[Union['GetPromptScreenPartialsScreenPartialArgs', 'GetPromptScreenPartialsScreenPartialArgsDict']] screen_partials: The screen partials associated with the prompt type. + """ + ... diff --git a/sdk/python/pulumi_auth0/outputs.py b/sdk/python/pulumi_auth0/outputs.py index 7aab534f..00d2eadb 100644 --- a/sdk/python/pulumi_auth0/outputs.py +++ b/sdk/python/pulumi_auth0/outputs.py @@ -67,6 +67,7 @@ 'ClientAddonsZoom', 'ClientCredentialsPrivateKeyJwt', 'ClientCredentialsPrivateKeyJwtCredential', + 'ClientDefaultOrganization', 'ClientJwtConfiguration', 'ClientMobile', 'ClientMobileAndroid', @@ -127,6 +128,9 @@ 'PagesError', 'PagesGuardianMfa', 'PagesLogin', + 'PromptScreenPartialInsertionPoints', + 'PromptScreenPartialsScreenPartial', + 'PromptScreenPartialsScreenPartialInsertionPoints', 'ResourceServerScopesScope', 'RolePermissionsPermission', 'SelfServiceProfileBranding', @@ -188,6 +192,7 @@ 'GetClientAddonWsfedResult', 'GetClientAddonZendeskResult', 'GetClientAddonZoomResult', + 'GetClientDefaultOrganizationResult', 'GetClientJwtConfigurationResult', 'GetClientMobileResult', 'GetClientMobileAndroidResult', @@ -234,6 +239,8 @@ 'GetPagesErrorResult', 'GetPagesGuardianMfaResult', 'GetPagesLoginResult', + 'GetPromptScreenPartialsScreenPartialResult', + 'GetPromptScreenPartialsScreenPartialInsertionPointResult', 'GetResourceServerScopeResult', 'GetRolePermissionResult', 'GetSelfServiceProfileBrandingResult', @@ -3828,6 +3835,66 @@ def updated_at(self) -> Optional[str]: return pulumi.get(self, "updated_at") +@pulumi.output_type +class ClientDefaultOrganization(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "organizationId": + suggest = "organization_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ClientDefaultOrganization. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ClientDefaultOrganization.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ClientDefaultOrganization.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + disable: Optional[bool] = None, + flows: Optional[Sequence[str]] = None, + organization_id: Optional[str] = None): + """ + :param bool disable: If set, the `default_organization` will be removed. + :param Sequence[str] flows: Definition of the flow that needs to be configured. Eg. client_credentials + :param str organization_id: The unique identifier of the organization + """ + if disable is not None: + pulumi.set(__self__, "disable", disable) + if flows is not None: + pulumi.set(__self__, "flows", flows) + if organization_id is not None: + pulumi.set(__self__, "organization_id", organization_id) + + @property + @pulumi.getter + def disable(self) -> Optional[bool]: + """ + If set, the `default_organization` will be removed. + """ + return pulumi.get(self, "disable") + + @property + @pulumi.getter + def flows(self) -> Optional[Sequence[str]]: + """ + Definition of the flow that needs to be configured. Eg. client_credentials + """ + return pulumi.get(self, "flows") + + @property + @pulumi.getter(name="organizationId") + def organization_id(self) -> Optional[str]: + """ + The unique identifier of the organization + """ + return pulumi.get(self, "organization_id") + + @pulumi.output_type class ClientJwtConfiguration(dict): @staticmethod @@ -8226,6 +8293,262 @@ def html(self) -> str: return pulumi.get(self, "html") +@pulumi.output_type +class PromptScreenPartialInsertionPoints(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "formContentEnd": + suggest = "form_content_end" + elif key == "formContentStart": + suggest = "form_content_start" + elif key == "formFooterEnd": + suggest = "form_footer_end" + elif key == "formFooterStart": + suggest = "form_footer_start" + elif key == "secondaryActionsEnd": + suggest = "secondary_actions_end" + elif key == "secondaryActionsStart": + suggest = "secondary_actions_start" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PromptScreenPartialInsertionPoints. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PromptScreenPartialInsertionPoints.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PromptScreenPartialInsertionPoints.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + form_content_end: Optional[str] = None, + form_content_start: Optional[str] = None, + form_footer_end: Optional[str] = None, + form_footer_start: Optional[str] = None, + secondary_actions_end: Optional[str] = None, + secondary_actions_start: Optional[str] = None): + """ + :param str form_content_end: Content that goes at the end of the form. + :param str form_content_start: Content that goes at the start of the form. + :param str form_footer_end: Footer content for the end of the footer. + :param str form_footer_start: Footer content for the start of the footer. + :param str secondary_actions_end: Actions that go at the end of secondary actions. + :param str secondary_actions_start: Actions that go at the start of secondary actions. + """ + if form_content_end is not None: + pulumi.set(__self__, "form_content_end", form_content_end) + if form_content_start is not None: + pulumi.set(__self__, "form_content_start", form_content_start) + if form_footer_end is not None: + pulumi.set(__self__, "form_footer_end", form_footer_end) + if form_footer_start is not None: + pulumi.set(__self__, "form_footer_start", form_footer_start) + if secondary_actions_end is not None: + pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) + if secondary_actions_start is not None: + pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + + @property + @pulumi.getter(name="formContentEnd") + def form_content_end(self) -> Optional[str]: + """ + Content that goes at the end of the form. + """ + return pulumi.get(self, "form_content_end") + + @property + @pulumi.getter(name="formContentStart") + def form_content_start(self) -> Optional[str]: + """ + Content that goes at the start of the form. + """ + return pulumi.get(self, "form_content_start") + + @property + @pulumi.getter(name="formFooterEnd") + def form_footer_end(self) -> Optional[str]: + """ + Footer content for the end of the footer. + """ + return pulumi.get(self, "form_footer_end") + + @property + @pulumi.getter(name="formFooterStart") + def form_footer_start(self) -> Optional[str]: + """ + Footer content for the start of the footer. + """ + return pulumi.get(self, "form_footer_start") + + @property + @pulumi.getter(name="secondaryActionsEnd") + def secondary_actions_end(self) -> Optional[str]: + """ + Actions that go at the end of secondary actions. + """ + return pulumi.get(self, "secondary_actions_end") + + @property + @pulumi.getter(name="secondaryActionsStart") + def secondary_actions_start(self) -> Optional[str]: + """ + Actions that go at the start of secondary actions. + """ + return pulumi.get(self, "secondary_actions_start") + + +@pulumi.output_type +class PromptScreenPartialsScreenPartial(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "insertionPoints": + suggest = "insertion_points" + elif key == "screenName": + suggest = "screen_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PromptScreenPartialsScreenPartial. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PromptScreenPartialsScreenPartial.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PromptScreenPartialsScreenPartial.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + insertion_points: 'outputs.PromptScreenPartialsScreenPartialInsertionPoints', + screen_name: str): + """ + :param str screen_name: The name of the screen associated with the partials + """ + pulumi.set(__self__, "insertion_points", insertion_points) + pulumi.set(__self__, "screen_name", screen_name) + + @property + @pulumi.getter(name="insertionPoints") + def insertion_points(self) -> 'outputs.PromptScreenPartialsScreenPartialInsertionPoints': + return pulumi.get(self, "insertion_points") + + @property + @pulumi.getter(name="screenName") + def screen_name(self) -> str: + """ + The name of the screen associated with the partials + """ + return pulumi.get(self, "screen_name") + + +@pulumi.output_type +class PromptScreenPartialsScreenPartialInsertionPoints(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "formContentEnd": + suggest = "form_content_end" + elif key == "formContentStart": + suggest = "form_content_start" + elif key == "formFooterEnd": + suggest = "form_footer_end" + elif key == "formFooterStart": + suggest = "form_footer_start" + elif key == "secondaryActionsEnd": + suggest = "secondary_actions_end" + elif key == "secondaryActionsStart": + suggest = "secondary_actions_start" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PromptScreenPartialsScreenPartialInsertionPoints. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PromptScreenPartialsScreenPartialInsertionPoints.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PromptScreenPartialsScreenPartialInsertionPoints.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + form_content_end: Optional[str] = None, + form_content_start: Optional[str] = None, + form_footer_end: Optional[str] = None, + form_footer_start: Optional[str] = None, + secondary_actions_end: Optional[str] = None, + secondary_actions_start: Optional[str] = None): + """ + :param str form_content_end: Content that goes at the end of the form. + :param str form_content_start: Content that goes at the start of the form. + :param str form_footer_end: Footer content for the end of the footer. + :param str form_footer_start: Footer content for the start of the footer. + :param str secondary_actions_end: Actions that go at the end of secondary actions. + :param str secondary_actions_start: Actions that go at the start of secondary actions. + """ + if form_content_end is not None: + pulumi.set(__self__, "form_content_end", form_content_end) + if form_content_start is not None: + pulumi.set(__self__, "form_content_start", form_content_start) + if form_footer_end is not None: + pulumi.set(__self__, "form_footer_end", form_footer_end) + if form_footer_start is not None: + pulumi.set(__self__, "form_footer_start", form_footer_start) + if secondary_actions_end is not None: + pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) + if secondary_actions_start is not None: + pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + + @property + @pulumi.getter(name="formContentEnd") + def form_content_end(self) -> Optional[str]: + """ + Content that goes at the end of the form. + """ + return pulumi.get(self, "form_content_end") + + @property + @pulumi.getter(name="formContentStart") + def form_content_start(self) -> Optional[str]: + """ + Content that goes at the start of the form. + """ + return pulumi.get(self, "form_content_start") + + @property + @pulumi.getter(name="formFooterEnd") + def form_footer_end(self) -> Optional[str]: + """ + Footer content for the end of the footer. + """ + return pulumi.get(self, "form_footer_end") + + @property + @pulumi.getter(name="formFooterStart") + def form_footer_start(self) -> Optional[str]: + """ + Footer content for the start of the footer. + """ + return pulumi.get(self, "form_footer_start") + + @property + @pulumi.getter(name="secondaryActionsEnd") + def secondary_actions_end(self) -> Optional[str]: + """ + Actions that go at the end of secondary actions. + """ + return pulumi.get(self, "secondary_actions_end") + + @property + @pulumi.getter(name="secondaryActionsStart") + def secondary_actions_start(self) -> Optional[str]: + """ + Actions that go at the start of secondary actions. + """ + return pulumi.get(self, "secondary_actions_start") + + @pulumi.output_type class ResourceServerScopesScope(dict): def __init__(__self__, *, @@ -11491,6 +11814,46 @@ def account(self) -> str: return pulumi.get(self, "account") +@pulumi.output_type +class GetClientDefaultOrganizationResult(dict): + def __init__(__self__, *, + disable: bool, + flows: Sequence[str], + organization_id: str): + """ + :param bool disable: If set, the `default_organization` will be removed. + :param Sequence[str] flows: Definition of the flow that needs to be configured. Eg. client_credentials + :param str organization_id: The unique identifier of the organization + """ + pulumi.set(__self__, "disable", disable) + pulumi.set(__self__, "flows", flows) + pulumi.set(__self__, "organization_id", organization_id) + + @property + @pulumi.getter + def disable(self) -> bool: + """ + If set, the `default_organization` will be removed. + """ + return pulumi.get(self, "disable") + + @property + @pulumi.getter + def flows(self) -> Sequence[str]: + """ + Definition of the flow that needs to be configured. Eg. client_credentials + """ + return pulumi.get(self, "flows") + + @property + @pulumi.getter(name="organizationId") + def organization_id(self) -> str: + """ + The unique identifier of the organization + """ + return pulumi.get(self, "organization_id") + + @pulumi.output_type class GetClientJwtConfigurationResult(dict): def __init__(__self__, *, @@ -13801,6 +14164,104 @@ def html(self) -> str: return pulumi.get(self, "html") +@pulumi.output_type +class GetPromptScreenPartialsScreenPartialResult(dict): + def __init__(__self__, *, + insertion_points: Sequence['outputs.GetPromptScreenPartialsScreenPartialInsertionPointResult'], + screen_name: str): + """ + :param str screen_name: The name of the screen associated with the partials + """ + pulumi.set(__self__, "insertion_points", insertion_points) + pulumi.set(__self__, "screen_name", screen_name) + + @property + @pulumi.getter(name="insertionPoints") + def insertion_points(self) -> Sequence['outputs.GetPromptScreenPartialsScreenPartialInsertionPointResult']: + return pulumi.get(self, "insertion_points") + + @property + @pulumi.getter(name="screenName") + def screen_name(self) -> str: + """ + The name of the screen associated with the partials + """ + return pulumi.get(self, "screen_name") + + +@pulumi.output_type +class GetPromptScreenPartialsScreenPartialInsertionPointResult(dict): + def __init__(__self__, *, + form_content_end: str, + form_content_start: str, + form_footer_end: str, + form_footer_start: str, + secondary_actions_end: str, + secondary_actions_start: str): + """ + :param str form_content_end: Content that goes at the end of the form. + :param str form_content_start: Content that goes at the start of the form. + :param str form_footer_end: Footer content for the end of the footer. + :param str form_footer_start: Footer content for the start of the footer. + :param str secondary_actions_end: Actions that go at the end of secondary actions. + :param str secondary_actions_start: Actions that go at the start of secondary actions. + """ + pulumi.set(__self__, "form_content_end", form_content_end) + pulumi.set(__self__, "form_content_start", form_content_start) + pulumi.set(__self__, "form_footer_end", form_footer_end) + pulumi.set(__self__, "form_footer_start", form_footer_start) + pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) + pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) + + @property + @pulumi.getter(name="formContentEnd") + def form_content_end(self) -> str: + """ + Content that goes at the end of the form. + """ + return pulumi.get(self, "form_content_end") + + @property + @pulumi.getter(name="formContentStart") + def form_content_start(self) -> str: + """ + Content that goes at the start of the form. + """ + return pulumi.get(self, "form_content_start") + + @property + @pulumi.getter(name="formFooterEnd") + def form_footer_end(self) -> str: + """ + Footer content for the end of the footer. + """ + return pulumi.get(self, "form_footer_end") + + @property + @pulumi.getter(name="formFooterStart") + def form_footer_start(self) -> str: + """ + Footer content for the start of the footer. + """ + return pulumi.get(self, "form_footer_start") + + @property + @pulumi.getter(name="secondaryActionsEnd") + def secondary_actions_end(self) -> str: + """ + Actions that go at the end of secondary actions. + """ + return pulumi.get(self, "secondary_actions_end") + + @property + @pulumi.getter(name="secondaryActionsStart") + def secondary_actions_start(self) -> str: + """ + Actions that go at the start of secondary actions. + """ + return pulumi.get(self, "secondary_actions_start") + + @pulumi.output_type class GetResourceServerScopeResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_auth0/prompt_custom_text.py b/sdk/python/pulumi_auth0/prompt_custom_text.py index 9f5ab172..d5d5dddb 100644 --- a/sdk/python/pulumi_auth0/prompt_custom_text.py +++ b/sdk/python/pulumi_auth0/prompt_custom_text.py @@ -20,7 +20,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a PromptCustomText resource. :param pulumi.Input[str] body: JSON containing the custom texts. You can check the options for each prompt [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts#prompt-values). - :param pulumi.Input[str] language: Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + :param pulumi.Input[str] language: Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. :param pulumi.Input[str] prompt: The term `prompt` is used to refer to a specific step in the login flow. Options include: `captcha`, `common`, `consent`, `custom-form`, `customized-consent`, `device-flow`, `email-otp-challenge`, `email-verification`, `invitation`, `login`, `login-email-verification`, `login-id`, `login-password`, `login-passwordless`, `logout`, `mfa`, `mfa-email`, `mfa-otp`, `mfa-phone`, `mfa-push`, `mfa-recovery-code`, `mfa-sms`, `mfa-voice`, `mfa-webauthn`, `organizations`, `passkeys`, `phone-identifier-challenge`, `phone-identifier-enrollment`, `reset-password`, `signup`, `signup-id`, `signup-password`, `status`. """ pulumi.set(__self__, "body", body) @@ -43,7 +43,7 @@ def body(self, value: pulumi.Input[str]): @pulumi.getter def language(self) -> pulumi.Input[str]: """ - Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. """ return pulumi.get(self, "language") @@ -73,7 +73,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering PromptCustomText resources. :param pulumi.Input[str] body: JSON containing the custom texts. You can check the options for each prompt [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts#prompt-values). - :param pulumi.Input[str] language: Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + :param pulumi.Input[str] language: Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. :param pulumi.Input[str] prompt: The term `prompt` is used to refer to a specific step in the login flow. Options include: `captcha`, `common`, `consent`, `custom-form`, `customized-consent`, `device-flow`, `email-otp-challenge`, `email-verification`, `invitation`, `login`, `login-email-verification`, `login-id`, `login-password`, `login-passwordless`, `logout`, `mfa`, `mfa-email`, `mfa-otp`, `mfa-phone`, `mfa-push`, `mfa-recovery-code`, `mfa-sms`, `mfa-voice`, `mfa-webauthn`, `organizations`, `passkeys`, `phone-identifier-challenge`, `phone-identifier-enrollment`, `reset-password`, `signup`, `signup-id`, `signup-password`, `status`. """ if body is not None: @@ -99,7 +99,7 @@ def body(self, value: Optional[pulumi.Input[str]]): @pulumi.getter def language(self) -> Optional[pulumi.Input[str]]: """ - Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. """ return pulumi.get(self, "language") @@ -186,7 +186,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] body: JSON containing the custom texts. You can check the options for each prompt [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts#prompt-values). - :param pulumi.Input[str] language: Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + :param pulumi.Input[str] language: Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. :param pulumi.Input[str] prompt: The term `prompt` is used to refer to a specific step in the login flow. Options include: `captcha`, `common`, `consent`, `custom-form`, `customized-consent`, `device-flow`, `email-otp-challenge`, `email-verification`, `invitation`, `login`, `login-email-verification`, `login-id`, `login-password`, `login-passwordless`, `logout`, `mfa`, `mfa-email`, `mfa-otp`, `mfa-phone`, `mfa-push`, `mfa-recovery-code`, `mfa-sms`, `mfa-voice`, `mfa-webauthn`, `organizations`, `passkeys`, `phone-identifier-challenge`, `phone-identifier-enrollment`, `reset-password`, `signup`, `signup-id`, `signup-password`, `status`. """ ... @@ -306,7 +306,7 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] body: JSON containing the custom texts. You can check the options for each prompt [here](https://auth0.com/docs/customize/universal-login-pages/customize-login-text-prompts#prompt-values). - :param pulumi.Input[str] language: Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + :param pulumi.Input[str] language: Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. :param pulumi.Input[str] prompt: The term `prompt` is used to refer to a specific step in the login flow. Options include: `captcha`, `common`, `consent`, `custom-form`, `customized-consent`, `device-flow`, `email-otp-challenge`, `email-verification`, `invitation`, `login`, `login-email-verification`, `login-id`, `login-password`, `login-passwordless`, `logout`, `mfa`, `mfa-email`, `mfa-otp`, `mfa-phone`, `mfa-push`, `mfa-recovery-code`, `mfa-sms`, `mfa-voice`, `mfa-webauthn`, `organizations`, `passkeys`, `phone-identifier-challenge`, `phone-identifier-enrollment`, `reset-password`, `signup`, `signup-id`, `signup-password`, `status`. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -330,7 +330,7 @@ def body(self) -> pulumi.Output[str]: @pulumi.getter def language(self) -> pulumi.Output[str]: """ - Language of the custom text. Options include: `ar`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `et`, `eu-ES`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sr`, `sv`, `th`, `tr`, `uk`, `vi`, `zh-CN`, `zh-TW`. + Language of the custom text. Options include: `ar`, `ar-EG`, `ar-SA`, `az`, `bg`, `bs`, `ca-ES`, `cs`, `cy`, `da`, `de`, `el`, `en`, `es`, `es-AR`, `es-MX`, `et`, `eu-ES`, `fa`, `fi`, `fr`, `fr-CA`, `fr-FR`, `gl-ES`, `he`, `hi`, `hr`, `hu`, `hy`, `id`, `is`, `it`, `ja`, `ko`, `lt`, `lv`, `ms`, `nb`, `nl`, `nn`, `no`, `pl`, `pt`, `pt-BR`, `pt-PT`, `ro`, `ru`, `sk`, `sl`, `sq`, `sr`, `sv`, `th`, `tl`, `tr`, `uk`, `ur`, `vi`, `zh-CN`, `zh-HK`, `zh-TW`. """ return pulumi.get(self, "language") diff --git a/sdk/python/pulumi_auth0/prompt_partials.py b/sdk/python/pulumi_auth0/prompt_partials.py index 4ae2971e..0a579112 100644 --- a/sdk/python/pulumi_auth0/prompt_partials.py +++ b/sdk/python/pulumi_auth0/prompt_partials.py @@ -23,7 +23,7 @@ def __init__(__self__, *, secondary_actions_start: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a PromptPartials resource. - :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. :param pulumi.Input[str] form_content_end: Content that goes at the end of the form. :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. @@ -31,25 +31,47 @@ def __init__(__self__, *, :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. """ + if prompt is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""prompt is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") pulumi.set(__self__, "prompt", prompt) + if form_content_end is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""form_content_end is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if form_content_end is not None: pulumi.set(__self__, "form_content_end", form_content_end) + if form_content_start is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""form_content_start is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if form_content_start is not None: pulumi.set(__self__, "form_content_start", form_content_start) + if form_footer_end is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""form_footer_end is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if form_footer_end is not None: pulumi.set(__self__, "form_footer_end", form_footer_end) + if form_footer_start is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""form_footer_start is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if form_footer_start is not None: pulumi.set(__self__, "form_footer_start", form_footer_start) + if secondary_actions_end is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""secondary_actions_end is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if secondary_actions_end is not None: pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) + if secondary_actions_start is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""secondary_actions_start is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if secondary_actions_start is not None: pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) @property @pulumi.getter + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def prompt(self) -> pulumi.Input[str]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. """ return pulumi.get(self, "prompt") @@ -59,6 +81,7 @@ def prompt(self, value: pulumi.Input[str]): @property @pulumi.getter(name="formContentEnd") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_content_end(self) -> Optional[pulumi.Input[str]]: """ Content that goes at the end of the form. @@ -71,6 +94,7 @@ def form_content_end(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="formContentStart") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_content_start(self) -> Optional[pulumi.Input[str]]: """ Content that goes at the start of the form. @@ -83,6 +107,7 @@ def form_content_start(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="formFooterEnd") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_footer_end(self) -> Optional[pulumi.Input[str]]: """ Footer content for the end of the footer. @@ -95,6 +120,7 @@ def form_footer_end(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="formFooterStart") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_footer_start(self) -> Optional[pulumi.Input[str]]: """ Footer content for the start of the footer. @@ -107,6 +133,7 @@ def form_footer_start(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="secondaryActionsEnd") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def secondary_actions_end(self) -> Optional[pulumi.Input[str]]: """ Actions that go at the end of secondary actions. @@ -119,6 +146,7 @@ def secondary_actions_end(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="secondaryActionsStart") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def secondary_actions_start(self) -> Optional[pulumi.Input[str]]: """ Actions that go at the start of secondary actions. @@ -146,27 +174,49 @@ def __init__(__self__, *, :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. :param pulumi.Input[str] form_footer_start: Footer content for the start of the footer. - :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. """ + if form_content_end is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""form_content_end is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if form_content_end is not None: pulumi.set(__self__, "form_content_end", form_content_end) + if form_content_start is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""form_content_start is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if form_content_start is not None: pulumi.set(__self__, "form_content_start", form_content_start) + if form_footer_end is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""form_footer_end is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if form_footer_end is not None: pulumi.set(__self__, "form_footer_end", form_footer_end) + if form_footer_start is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""form_footer_start is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if form_footer_start is not None: pulumi.set(__self__, "form_footer_start", form_footer_start) + if prompt is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""prompt is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if prompt is not None: pulumi.set(__self__, "prompt", prompt) + if secondary_actions_end is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""secondary_actions_end is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if secondary_actions_end is not None: pulumi.set(__self__, "secondary_actions_end", secondary_actions_end) + if secondary_actions_start is not None: + warnings.warn("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""", DeprecationWarning) + pulumi.log.warn("""secondary_actions_start is deprecated: This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") if secondary_actions_start is not None: pulumi.set(__self__, "secondary_actions_start", secondary_actions_start) @property @pulumi.getter(name="formContentEnd") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_content_end(self) -> Optional[pulumi.Input[str]]: """ Content that goes at the end of the form. @@ -179,6 +229,7 @@ def form_content_end(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="formContentStart") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_content_start(self) -> Optional[pulumi.Input[str]]: """ Content that goes at the start of the form. @@ -191,6 +242,7 @@ def form_content_start(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="formFooterEnd") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_footer_end(self) -> Optional[pulumi.Input[str]]: """ Footer content for the end of the footer. @@ -203,6 +255,7 @@ def form_footer_end(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="formFooterStart") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_footer_start(self) -> Optional[pulumi.Input[str]]: """ Footer content for the start of the footer. @@ -215,9 +268,10 @@ def form_footer_start(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def prompt(self) -> Optional[pulumi.Input[str]]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. """ return pulumi.get(self, "prompt") @@ -227,6 +281,7 @@ def prompt(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="secondaryActionsEnd") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def secondary_actions_end(self) -> Optional[pulumi.Input[str]]: """ Actions that go at the end of secondary actions. @@ -239,6 +294,7 @@ def secondary_actions_end(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="secondaryActionsStart") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def secondary_actions_start(self) -> Optional[pulumi.Input[str]]: """ Actions that go at the start of secondary actions. @@ -266,6 +322,9 @@ def __init__(__self__, """ With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + !> **Deprecated:** `PromptPartials` has been deprecated. Please use `PromptScreenPartials` for managing multiple + prompt screens or `PromptScreenPartial` for managing a single prompt screen. + ## Example Usage ```python @@ -300,7 +359,7 @@ def __init__(__self__, :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. :param pulumi.Input[str] form_footer_start: Footer content for the start of the footer. - :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. """ @@ -313,6 +372,9 @@ def __init__(__self__, """ With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + !> **Deprecated:** `PromptPartials` has been deprecated. Please use `PromptScreenPartials` for managing multiple + prompt screens or `PromptScreenPartial` for managing a single prompt screen. + ## Example Usage ```python @@ -409,7 +471,7 @@ def get(resource_name: str, :param pulumi.Input[str] form_content_start: Content that goes at the start of the form. :param pulumi.Input[str] form_footer_end: Footer content for the end of the footer. :param pulumi.Input[str] form_footer_start: Footer content for the start of the footer. - :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + :param pulumi.Input[str] prompt: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. :param pulumi.Input[str] secondary_actions_end: Actions that go at the end of secondary actions. :param pulumi.Input[str] secondary_actions_start: Actions that go at the start of secondary actions. """ @@ -428,6 +490,7 @@ def get(resource_name: str, @property @pulumi.getter(name="formContentEnd") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_content_end(self) -> pulumi.Output[Optional[str]]: """ Content that goes at the end of the form. @@ -436,6 +499,7 @@ def form_content_end(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="formContentStart") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_content_start(self) -> pulumi.Output[Optional[str]]: """ Content that goes at the start of the form. @@ -444,6 +508,7 @@ def form_content_start(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="formFooterEnd") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_footer_end(self) -> pulumi.Output[Optional[str]]: """ Footer content for the end of the footer. @@ -452,6 +517,7 @@ def form_footer_end(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="formFooterStart") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def form_footer_start(self) -> pulumi.Output[Optional[str]]: """ Footer content for the start of the footer. @@ -460,14 +526,16 @@ def form_footer_start(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def prompt(self) -> pulumi.Output[str]: """ - The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`. + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. """ return pulumi.get(self, "prompt") @property @pulumi.getter(name="secondaryActionsEnd") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def secondary_actions_end(self) -> pulumi.Output[Optional[str]]: """ Actions that go at the end of secondary actions. @@ -476,6 +544,7 @@ def secondary_actions_end(self) -> pulumi.Output[Optional[str]]: @property @pulumi.getter(name="secondaryActionsStart") + @_utilities.deprecated("""This resource is deprecated and will be removed in the next major version. Please use `PromptScreenPartials` for managing multiple prompt screens or `PromptScreenPartial` for managing a single prompt screen, depending on your use case.""") def secondary_actions_start(self) -> pulumi.Output[Optional[str]]: """ Actions that go at the start of secondary actions. diff --git a/sdk/python/pulumi_auth0/prompt_screen_partial.py b/sdk/python/pulumi_auth0/prompt_screen_partial.py new file mode 100644 index 00000000..8e82f5fa --- /dev/null +++ b/sdk/python/pulumi_auth0/prompt_screen_partial.py @@ -0,0 +1,323 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** 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 . import outputs +from ._inputs import * + +__all__ = ['PromptScreenPartialArgs', 'PromptScreenPartial'] + +@pulumi.input_type +class PromptScreenPartialArgs: + def __init__(__self__, *, + prompt_type: pulumi.Input[str], + screen_name: pulumi.Input[str], + insertion_points: Optional[pulumi.Input['PromptScreenPartialInsertionPointsArgs']] = None): + """ + The set of arguments for constructing a PromptScreenPartial resource. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] screen_name: The name of the screen associated with the partials + :param pulumi.Input['PromptScreenPartialInsertionPointsArgs'] insertion_points: The insertion points for the partials. + """ + pulumi.set(__self__, "prompt_type", prompt_type) + pulumi.set(__self__, "screen_name", screen_name) + if insertion_points is not None: + pulumi.set(__self__, "insertion_points", insertion_points) + + @property + @pulumi.getter(name="promptType") + def prompt_type(self) -> pulumi.Input[str]: + """ + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + return pulumi.get(self, "prompt_type") + + @prompt_type.setter + def prompt_type(self, value: pulumi.Input[str]): + pulumi.set(self, "prompt_type", value) + + @property + @pulumi.getter(name="screenName") + def screen_name(self) -> pulumi.Input[str]: + """ + The name of the screen associated with the partials + """ + return pulumi.get(self, "screen_name") + + @screen_name.setter + def screen_name(self, value: pulumi.Input[str]): + pulumi.set(self, "screen_name", value) + + @property + @pulumi.getter(name="insertionPoints") + def insertion_points(self) -> Optional[pulumi.Input['PromptScreenPartialInsertionPointsArgs']]: + """ + The insertion points for the partials. + """ + return pulumi.get(self, "insertion_points") + + @insertion_points.setter + def insertion_points(self, value: Optional[pulumi.Input['PromptScreenPartialInsertionPointsArgs']]): + pulumi.set(self, "insertion_points", value) + + +@pulumi.input_type +class _PromptScreenPartialState: + def __init__(__self__, *, + insertion_points: Optional[pulumi.Input['PromptScreenPartialInsertionPointsArgs']] = None, + prompt_type: Optional[pulumi.Input[str]] = None, + screen_name: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering PromptScreenPartial resources. + :param pulumi.Input['PromptScreenPartialInsertionPointsArgs'] insertion_points: The insertion points for the partials. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] screen_name: The name of the screen associated with the partials + """ + if insertion_points is not None: + pulumi.set(__self__, "insertion_points", insertion_points) + if prompt_type is not None: + pulumi.set(__self__, "prompt_type", prompt_type) + if screen_name is not None: + pulumi.set(__self__, "screen_name", screen_name) + + @property + @pulumi.getter(name="insertionPoints") + def insertion_points(self) -> Optional[pulumi.Input['PromptScreenPartialInsertionPointsArgs']]: + """ + The insertion points for the partials. + """ + return pulumi.get(self, "insertion_points") + + @insertion_points.setter + def insertion_points(self, value: Optional[pulumi.Input['PromptScreenPartialInsertionPointsArgs']]): + pulumi.set(self, "insertion_points", value) + + @property + @pulumi.getter(name="promptType") + def prompt_type(self) -> Optional[pulumi.Input[str]]: + """ + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + return pulumi.get(self, "prompt_type") + + @prompt_type.setter + def prompt_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prompt_type", value) + + @property + @pulumi.getter(name="screenName") + def screen_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the screen associated with the partials + """ + return pulumi.get(self, "screen_name") + + @screen_name.setter + def screen_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "screen_name", value) + + +class PromptScreenPartial(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + insertion_points: Optional[pulumi.Input[Union['PromptScreenPartialInsertionPointsArgs', 'PromptScreenPartialInsertionPointsArgsDict']]] = None, + prompt_type: Optional[pulumi.Input[str]] = None, + screen_name: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + + !> This resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + In contrast, the `PromptScreenPartials` resource manages the complete set of prompt screens that are displayed during the + authentication flow. To avoid potential issues, it is recommended not to use this resource in conjunction with the + `PromptScreenPartials` resource when managing prompt screens for the same prompt. + + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + login = auth0.PromptScreenPartial("login", + prompt_type="login", + screen_name="login", + insertion_points={ + "form_content_start": "
Form Content Start
", + "form_content_end": "
Form Content End
", + }) + ``` + + ## Import + + This resource can be imported using the prompt name and screen_name. + + # + + As this is not a resource identifiable by an ID within the Auth0 Management API, + + login can be imported using the prompt name and screen name using the format: + + prompt_name:screen_name + + # + + Example: + + ```sh + $ pulumi import auth0:index/promptScreenPartial:PromptScreenPartial login "login:login" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['PromptScreenPartialInsertionPointsArgs', 'PromptScreenPartialInsertionPointsArgsDict']] insertion_points: The insertion points for the partials. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] screen_name: The name of the screen associated with the partials + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PromptScreenPartialArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + + !> This resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + In contrast, the `PromptScreenPartials` resource manages the complete set of prompt screens that are displayed during the + authentication flow. To avoid potential issues, it is recommended not to use this resource in conjunction with the + `PromptScreenPartials` resource when managing prompt screens for the same prompt. + + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + login = auth0.PromptScreenPartial("login", + prompt_type="login", + screen_name="login", + insertion_points={ + "form_content_start": "
Form Content Start
", + "form_content_end": "
Form Content End
", + }) + ``` + + ## Import + + This resource can be imported using the prompt name and screen_name. + + # + + As this is not a resource identifiable by an ID within the Auth0 Management API, + + login can be imported using the prompt name and screen name using the format: + + prompt_name:screen_name + + # + + Example: + + ```sh + $ pulumi import auth0:index/promptScreenPartial:PromptScreenPartial login "login:login" + ``` + + :param str resource_name: The name of the resource. + :param PromptScreenPartialArgs 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(PromptScreenPartialArgs, 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, + insertion_points: Optional[pulumi.Input[Union['PromptScreenPartialInsertionPointsArgs', 'PromptScreenPartialInsertionPointsArgsDict']]] = None, + prompt_type: Optional[pulumi.Input[str]] = None, + screen_name: Optional[pulumi.Input[str]] = 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__ = PromptScreenPartialArgs.__new__(PromptScreenPartialArgs) + + __props__.__dict__["insertion_points"] = insertion_points + if prompt_type is None and not opts.urn: + raise TypeError("Missing required property 'prompt_type'") + __props__.__dict__["prompt_type"] = prompt_type + if screen_name is None and not opts.urn: + raise TypeError("Missing required property 'screen_name'") + __props__.__dict__["screen_name"] = screen_name + super(PromptScreenPartial, __self__).__init__( + 'auth0:index/promptScreenPartial:PromptScreenPartial', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + insertion_points: Optional[pulumi.Input[Union['PromptScreenPartialInsertionPointsArgs', 'PromptScreenPartialInsertionPointsArgsDict']]] = None, + prompt_type: Optional[pulumi.Input[str]] = None, + screen_name: Optional[pulumi.Input[str]] = None) -> 'PromptScreenPartial': + """ + Get an existing PromptScreenPartial 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. + :param pulumi.Input[Union['PromptScreenPartialInsertionPointsArgs', 'PromptScreenPartialInsertionPointsArgsDict']] insertion_points: The insertion points for the partials. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + :param pulumi.Input[str] screen_name: The name of the screen associated with the partials + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _PromptScreenPartialState.__new__(_PromptScreenPartialState) + + __props__.__dict__["insertion_points"] = insertion_points + __props__.__dict__["prompt_type"] = prompt_type + __props__.__dict__["screen_name"] = screen_name + return PromptScreenPartial(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="insertionPoints") + def insertion_points(self) -> pulumi.Output[Optional['outputs.PromptScreenPartialInsertionPoints']]: + """ + The insertion points for the partials. + """ + return pulumi.get(self, "insertion_points") + + @property + @pulumi.getter(name="promptType") + def prompt_type(self) -> pulumi.Output[str]: + """ + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + return pulumi.get(self, "prompt_type") + + @property + @pulumi.getter(name="screenName") + def screen_name(self) -> pulumi.Output[str]: + """ + The name of the screen associated with the partials + """ + return pulumi.get(self, "screen_name") + diff --git a/sdk/python/pulumi_auth0/prompt_screen_partials.py b/sdk/python/pulumi_auth0/prompt_screen_partials.py new file mode 100644 index 00000000..64c91d35 --- /dev/null +++ b/sdk/python/pulumi_auth0/prompt_screen_partials.py @@ -0,0 +1,268 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** 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 . import outputs +from ._inputs import * + +__all__ = ['PromptScreenPartialsArgs', 'PromptScreenPartials'] + +@pulumi.input_type +class PromptScreenPartialsArgs: + def __init__(__self__, *, + prompt_type: pulumi.Input[str], + screen_partials: Optional[pulumi.Input[Sequence[pulumi.Input['PromptScreenPartialsScreenPartialArgs']]]] = None): + """ + The set of arguments for constructing a PromptScreenPartials resource. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + pulumi.set(__self__, "prompt_type", prompt_type) + if screen_partials is not None: + pulumi.set(__self__, "screen_partials", screen_partials) + + @property + @pulumi.getter(name="promptType") + def prompt_type(self) -> pulumi.Input[str]: + """ + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + return pulumi.get(self, "prompt_type") + + @prompt_type.setter + def prompt_type(self, value: pulumi.Input[str]): + pulumi.set(self, "prompt_type", value) + + @property + @pulumi.getter(name="screenPartials") + def screen_partials(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PromptScreenPartialsScreenPartialArgs']]]]: + return pulumi.get(self, "screen_partials") + + @screen_partials.setter + def screen_partials(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PromptScreenPartialsScreenPartialArgs']]]]): + pulumi.set(self, "screen_partials", value) + + +@pulumi.input_type +class _PromptScreenPartialsState: + def __init__(__self__, *, + prompt_type: Optional[pulumi.Input[str]] = None, + screen_partials: Optional[pulumi.Input[Sequence[pulumi.Input['PromptScreenPartialsScreenPartialArgs']]]] = None): + """ + Input properties used for looking up and filtering PromptScreenPartials resources. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + if prompt_type is not None: + pulumi.set(__self__, "prompt_type", prompt_type) + if screen_partials is not None: + pulumi.set(__self__, "screen_partials", screen_partials) + + @property + @pulumi.getter(name="promptType") + def prompt_type(self) -> Optional[pulumi.Input[str]]: + """ + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + return pulumi.get(self, "prompt_type") + + @prompt_type.setter + def prompt_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "prompt_type", value) + + @property + @pulumi.getter(name="screenPartials") + def screen_partials(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PromptScreenPartialsScreenPartialArgs']]]]: + return pulumi.get(self, "screen_partials") + + @screen_partials.setter + def screen_partials(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PromptScreenPartialsScreenPartialArgs']]]]): + pulumi.set(self, "screen_partials", value) + + +class PromptScreenPartials(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + prompt_type: Optional[pulumi.Input[str]] = None, + screen_partials: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PromptScreenPartialsScreenPartialArgs', 'PromptScreenPartialsScreenPartialArgsDict']]]]] = None, + __props__=None): + """ + With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + + !> This resource manages the entire set of prompt screens enabled for a prompt. In contrast, the `PromptScreenPartial` + resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + To avoid potential issues, it is recommended not to use this resource in conjunction with the `PromptScreenPartial` + resource when managing prompt screens for the same prompt. + + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + prompt_screen_partials = auth0.PromptScreenPartials("prompt_screen_partials", + prompt_type="login-passwordless", + screen_partials=[ + { + "screen_name": "login-passwordless-email-code", + "insertion_points": { + "form_content_start": "
Form Content Start
", + "form_content_end": "
Form Content End
", + }, + }, + { + "screen_name": "login-passwordless-sms-otp", + "insertion_points": { + "form_content_start": "
Form Content Start
", + "form_content_end": "
Form Content End
", + }, + }, + ]) + ``` + + ## Import + + This resource can be imported using the prompt name. + + # + + Example: + + ```sh + $ pulumi import auth0:index/promptScreenPartials:PromptScreenPartials prompt_screen_partials "login-passwordless" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PromptScreenPartialsArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + With this resource, you can manage a customized sign up and login experience by adding custom content, form elements and css/javascript. You can read more about this [here](https://auth0.com/docs/customize/universal-login-pages/customize-signup-and-login-prompts). + + !> This resource manages the entire set of prompt screens enabled for a prompt. In contrast, the `PromptScreenPartial` + resource appends a specific prompt screen to the list of prompt screens displayed to the user during the authentication flow. + To avoid potential issues, it is recommended not to use this resource in conjunction with the `PromptScreenPartial` + resource when managing prompt screens for the same prompt. + + ## Example Usage + + ```python + import pulumi + import pulumi_auth0 as auth0 + + prompt_screen_partials = auth0.PromptScreenPartials("prompt_screen_partials", + prompt_type="login-passwordless", + screen_partials=[ + { + "screen_name": "login-passwordless-email-code", + "insertion_points": { + "form_content_start": "
Form Content Start
", + "form_content_end": "
Form Content End
", + }, + }, + { + "screen_name": "login-passwordless-sms-otp", + "insertion_points": { + "form_content_start": "
Form Content Start
", + "form_content_end": "
Form Content End
", + }, + }, + ]) + ``` + + ## Import + + This resource can be imported using the prompt name. + + # + + Example: + + ```sh + $ pulumi import auth0:index/promptScreenPartials:PromptScreenPartials prompt_screen_partials "login-passwordless" + ``` + + :param str resource_name: The name of the resource. + :param PromptScreenPartialsArgs 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(PromptScreenPartialsArgs, 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, + prompt_type: Optional[pulumi.Input[str]] = None, + screen_partials: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PromptScreenPartialsScreenPartialArgs', 'PromptScreenPartialsScreenPartialArgsDict']]]]] = 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__ = PromptScreenPartialsArgs.__new__(PromptScreenPartialsArgs) + + if prompt_type is None and not opts.urn: + raise TypeError("Missing required property 'prompt_type'") + __props__.__dict__["prompt_type"] = prompt_type + __props__.__dict__["screen_partials"] = screen_partials + super(PromptScreenPartials, __self__).__init__( + 'auth0:index/promptScreenPartials:PromptScreenPartials', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + prompt_type: Optional[pulumi.Input[str]] = None, + screen_partials: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PromptScreenPartialsScreenPartialArgs', 'PromptScreenPartialsScreenPartialArgsDict']]]]] = None) -> 'PromptScreenPartials': + """ + Get an existing PromptScreenPartials 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. + :param pulumi.Input[str] prompt_type: The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _PromptScreenPartialsState.__new__(_PromptScreenPartialsState) + + __props__.__dict__["prompt_type"] = prompt_type + __props__.__dict__["screen_partials"] = screen_partials + return PromptScreenPartials(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="promptType") + def prompt_type(self) -> pulumi.Output[str]: + """ + The prompt that you are adding partials for. Options are: `login-id`, `login`, `login-password`, `signup`, `signup-id`, `signup-password`, `login-passwordless`. + """ + return pulumi.get(self, "prompt_type") + + @property + @pulumi.getter(name="screenPartials") + def screen_partials(self) -> pulumi.Output[Optional[Sequence['outputs.PromptScreenPartialsScreenPartial']]]: + return pulumi.get(self, "screen_partials") + diff --git a/upstream b/upstream index beba4b93..3b87a8f4 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit beba4b9315986c1abd3309867d4b9386c4b3e3ee +Subproject commit 3b87a8f46a458c8e57ec58ba4b0ce9fb81a46e2a