diff --git a/examples/go.mod b/examples/go.mod index 63c8742c..6b9bbaf7 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-okta/examples/v2 go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.140.0 +require github.com/pulumi/pulumi/pkg/v3 v3.142.0 require ( cloud.google.com/go v0.112.1 // indirect @@ -123,7 +123,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.10.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.140.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.142.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.12.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 3089c17b..c1fd971a 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -339,10 +339,10 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.10.0 h1:jzBKzkLVW0mePeanDRfqSQoCJ5yrkux0jIwAkUxpRKE= github.com/pulumi/esc v0.10.0/go.mod h1:2Bfa+FWj/xl8CKqRTWbWgDX0SOD4opdQgvYSURTGK2c= -github.com/pulumi/pulumi/pkg/v3 v3.140.0 h1:/bvHa19HY/6qHWvuAOVII8qr72MDGGczBWlPYlPo3j0= -github.com/pulumi/pulumi/pkg/v3 v3.140.0/go.mod h1:rcTtSyisd7BzZTugNk/s9zlYgX9S0S10+pha3Tko6yM= -github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU= -github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= +github.com/pulumi/pulumi/pkg/v3 v3.142.0 h1:UE8TFyXrlxvPrATpd3Kl3En34KrFIFWOxxNAodywPNU= +github.com/pulumi/pulumi/pkg/v3 v3.142.0/go.mod h1:3k6WwRIT7veiDnk3Yo2NtqEYX+4dgLCrMIFvEOnjQqI= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/provider/cmd/pulumi-resource-okta/schema.json b/provider/cmd/pulumi-resource-okta/schema.json index 99a46f87..452c3287 100644 --- a/provider/cmd/pulumi-resource-okta/schema.json +++ b/provider/cmd/pulumi-resource-okta/schema.json @@ -2470,7 +2470,7 @@ }, "resources": { "okta:app/accessPolicyAssignment:AccessPolicyAssignment": { - "description": "Manages assignment of Access Policy to an Application. \n\t\t\n**Warning**: do not use as this will update okta_app_*.authentication_policy and vice versa\n\nAssigns an access policy (colloquially known as a sign-on policy and/or an\nauthentication policy) to an application. This resource does not perform true\ndelete as it will not delete an application and the app's access policy can't be\nremoved; it can only be changed to a different access policy. This resource is\nonly logical within the context of an application therefore `app_id` is\nimmutable once set. Use this resource to manage assigning an access policy to an\napplication. It will assign the given `policy_id` to the application at creation\nand during update.\n\n\u003e Inside the product a sign-on policy is referenced as an _authentication\npolicy_, in the public API the policy is of type\n[`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object).\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst access = okta.policy.getPolicy({\n name: \"Any two factors\",\n type: \"ACCESS_POLICY\",\n});\nconst example = okta.app.getApp({\n label: \"Example App\",\n});\nconst assignment = new okta.app.AccessPolicyAssignment(\"assignment\", {\n appId: example.then(example =\u003e example.id),\n policyId: access.then(access =\u003e access.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\naccess = okta.policy.get_policy(name=\"Any two factors\",\n type=\"ACCESS_POLICY\")\nexample = okta.app.get_app(label=\"Example App\")\nassignment = okta.app.AccessPolicyAssignment(\"assignment\",\n app_id=example.id,\n policy_id=access.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var access = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Any two factors\",\n Type = \"ACCESS_POLICY\",\n });\n\n var example = Okta.App.GetApp.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n var assignment = new Okta.App.AccessPolicyAssignment(\"assignment\", new()\n {\n AppId = example.Apply(getAppResult =\u003e getAppResult.Id),\n PolicyId = access.Apply(getPolicyResult =\u003e getPolicyResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\taccess, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Any two factors\",\n\t\t\tType: \"ACCESS_POLICY\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.NewAccessPolicyAssignment(ctx, \"assignment\", \u0026app.AccessPolicyAssignmentArgs{\n\t\t\tAppId: pulumi.String(example.Id),\n\t\t\tPolicyId: pulumi.String(access.Id),\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport com.pulumi.okta.app.AccessPolicyAssignment;\nimport com.pulumi.okta.app.AccessPolicyAssignmentArgs;\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 access = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Any two factors\")\n .type(\"ACCESS_POLICY\")\n .build());\n\n final var example = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"Example App\")\n .build());\n\n var assignment = new AccessPolicyAssignment(\"assignment\", AccessPolicyAssignmentArgs.builder()\n .appId(example.applyValue(getAppResult -\u003e getAppResult.id()))\n .policyId(access.applyValue(getPolicyResult -\u003e getPolicyResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n assignment:\n type: okta:app:AccessPolicyAssignment\n properties:\n appId: ${example.id}\n policyId: ${access.id}\nvariables:\n access:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: Any two factors\n type: ACCESS_POLICY\n example:\n fn::invoke:\n Function: okta:app:getApp\n Arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example \u003capp_id\u003e\n```\n\n", + "description": "Manages assignment of Access Policy to an Application. \n\t\t\n**Warning**: do not use as this will update okta_app_*.authentication_policy and vice versa\n\nAssigns an access policy (colloquially known as a sign-on policy and/or an\nauthentication policy) to an application. This resource does not perform true\ndelete as it will not delete an application and the app's access policy can't be\nremoved; it can only be changed to a different access policy. This resource is\nonly logical within the context of an application therefore `app_id` is\nimmutable once set. Use this resource to manage assigning an access policy to an\napplication. It will assign the given `policy_id` to the application at creation\nand during update.\n\n\u003e Inside the product a sign-on policy is referenced as an _authentication\npolicy_, in the public API the policy is of type\n[`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object).\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst access = okta.policy.getPolicy({\n name: \"Any two factors\",\n type: \"ACCESS_POLICY\",\n});\nconst example = okta.app.getApp({\n label: \"Example App\",\n});\nconst assignment = new okta.app.AccessPolicyAssignment(\"assignment\", {\n appId: example.then(example =\u003e example.id),\n policyId: access.then(access =\u003e access.id),\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\naccess = okta.policy.get_policy(name=\"Any two factors\",\n type=\"ACCESS_POLICY\")\nexample = okta.app.get_app(label=\"Example App\")\nassignment = okta.app.AccessPolicyAssignment(\"assignment\",\n app_id=example.id,\n policy_id=access.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var access = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Any two factors\",\n Type = \"ACCESS_POLICY\",\n });\n\n var example = Okta.App.GetApp.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n var assignment = new Okta.App.AccessPolicyAssignment(\"assignment\", new()\n {\n AppId = example.Apply(getAppResult =\u003e getAppResult.Id),\n PolicyId = access.Apply(getPolicyResult =\u003e getPolicyResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\taccess, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Any two factors\",\n\t\t\tType: \"ACCESS_POLICY\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample, err := app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.NewAccessPolicyAssignment(ctx, \"assignment\", \u0026app.AccessPolicyAssignmentArgs{\n\t\t\tAppId: pulumi.String(example.Id),\n\t\t\tPolicyId: pulumi.String(access.Id),\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport com.pulumi.okta.app.AccessPolicyAssignment;\nimport com.pulumi.okta.app.AccessPolicyAssignmentArgs;\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 access = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Any two factors\")\n .type(\"ACCESS_POLICY\")\n .build());\n\n final var example = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"Example App\")\n .build());\n\n var assignment = new AccessPolicyAssignment(\"assignment\", AccessPolicyAssignmentArgs.builder()\n .appId(example.applyValue(getAppResult -\u003e getAppResult.id()))\n .policyId(access.applyValue(getPolicyResult -\u003e getPolicyResult.id()))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n assignment:\n type: okta:app:AccessPolicyAssignment\n properties:\n appId: ${example.id}\n policyId: ${access.id}\nvariables:\n access:\n fn::invoke:\n function: okta:policy:getPolicy\n arguments:\n name: Any two factors\n type: ACCESS_POLICY\n example:\n fn::invoke:\n function: okta:app:getApp\n arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:app/accessPolicyAssignment:AccessPolicyAssignment example \u003capp_id\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -9557,7 +9557,7 @@ } }, "okta:index/appSamlAppSettings:AppSamlAppSettings": { - "description": "Manages app settings of the SAML application.\nThis resource allows you to manage app settings of the SAML Application . It's basically the same as\napp_settings_json field in okta.app.Saml resource and can be used in cases where settings require to be managed separately.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.app.Saml(\"test\", {\n preconfiguredApp: \"amazon_aws\",\n label: \"Amazon AWS\",\n status: \"ACTIVE\",\n});\nconst testAppSamlAppSettings = new okta.AppSamlAppSettings(\"test\", {\n appId: test.id,\n settings: JSON.stringify({\n appFilter: \"okta\",\n awsEnvironmentType: \"aws.amazon\",\n groupFilter: \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n joinAllRoles: false,\n loginURL: \"https://console.aws.amazon.com/ec2/home\",\n roleValuePattern: \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n sessionDuration: 3200,\n useGroupMapping: false,\n }),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\ntest = okta.app.Saml(\"test\",\n preconfigured_app=\"amazon_aws\",\n label=\"Amazon AWS\",\n status=\"ACTIVE\")\ntest_app_saml_app_settings = okta.AppSamlAppSettings(\"test\",\n app_id=test.id,\n settings=json.dumps({\n \"appFilter\": \"okta\",\n \"awsEnvironmentType\": \"aws.amazon\",\n \"groupFilter\": \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n \"joinAllRoles\": False,\n \"loginURL\": \"https://console.aws.amazon.com/ec2/home\",\n \"roleValuePattern\": \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n \"sessionDuration\": 3200,\n \"useGroupMapping\": False,\n }))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.App.Saml(\"test\", new()\n {\n PreconfiguredApp = \"amazon_aws\",\n Label = \"Amazon AWS\",\n Status = \"ACTIVE\",\n });\n\n var testAppSamlAppSettings = new Okta.AppSamlAppSettings(\"test\", new()\n {\n AppId = test.Id,\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"appFilter\"] = \"okta\",\n [\"awsEnvironmentType\"] = \"aws.amazon\",\n [\"groupFilter\"] = \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n [\"joinAllRoles\"] = false,\n [\"loginURL\"] = \"https://console.aws.amazon.com/ec2/home\",\n [\"roleValuePattern\"] = \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n [\"sessionDuration\"] = 3200,\n [\"useGroupMapping\"] = false,\n }),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := app.NewSaml(ctx, \"test\", \u0026app.SamlArgs{\n\t\t\tPreconfiguredApp: pulumi.String(\"amazon_aws\"),\n\t\t\tLabel: pulumi.String(\"Amazon AWS\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"appFilter\": \"okta\",\n\t\t\t\"awsEnvironmentType\": \"aws.amazon\",\n\t\t\t\"groupFilter\": \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n\t\t\t\"joinAllRoles\": false,\n\t\t\t\"loginURL\": \"https://console.aws.amazon.com/ec2/home\",\n\t\t\t\"roleValuePattern\": \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n\t\t\t\"sessionDuration\": 3200,\n\t\t\t\"useGroupMapping\": false,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = okta.NewAppSamlAppSettings(ctx, \"test\", \u0026okta.AppSamlAppSettingsArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tSettings: pulumi.String(json0),\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.okta.app.Saml;\nimport com.pulumi.okta.app.SamlArgs;\nimport com.pulumi.okta.AppSamlAppSettings;\nimport com.pulumi.okta.AppSamlAppSettingsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\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 test = new Saml(\"test\", SamlArgs.builder()\n .preconfiguredApp(\"amazon_aws\")\n .label(\"Amazon AWS\")\n .status(\"ACTIVE\")\n .build());\n\n var testAppSamlAppSettings = new AppSamlAppSettings(\"testAppSamlAppSettings\", AppSamlAppSettingsArgs.builder()\n .appId(test.id())\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"appFilter\", \"okta\"),\n jsonProperty(\"awsEnvironmentType\", \"aws.amazon\"),\n jsonProperty(\"groupFilter\", \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\"),\n jsonProperty(\"joinAllRoles\", false),\n jsonProperty(\"loginURL\", \"https://console.aws.amazon.com/ec2/home\"),\n jsonProperty(\"roleValuePattern\", \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\"),\n jsonProperty(\"sessionDuration\", 3200),\n jsonProperty(\"useGroupMapping\", false)\n )))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:Saml\n properties:\n preconfiguredApp: amazon_aws\n label: Amazon AWS\n status: ACTIVE\n testAppSamlAppSettings:\n type: okta:AppSamlAppSettings\n name: test\n properties:\n appId: ${test.id}\n settings:\n fn::toJSON:\n appFilter: okta\n awsEnvironmentType: aws.amazon\n groupFilter: aws_(?{{accountid}}\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\-_]+)\n joinAllRoles: false\n loginURL: https://console.aws.amazon.com/ec2/home\n roleValuePattern: arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\n sessionDuration: 3200\n useGroupMapping: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example \u003capp_id\u003e\n```\n\n", + "description": "Manages app settings of the SAML application.\nThis resource allows you to manage app settings of the SAML Application . It's basically the same as\napp_settings_json field in okta.app.Saml resource and can be used in cases where settings require to be managed separately.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.app.Saml(\"test\", {\n preconfiguredApp: \"amazon_aws\",\n label: \"Amazon AWS\",\n status: \"ACTIVE\",\n});\nconst testAppSamlAppSettings = new okta.AppSamlAppSettings(\"test\", {\n appId: test.id,\n settings: JSON.stringify({\n appFilter: \"okta\",\n awsEnvironmentType: \"aws.amazon\",\n groupFilter: \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n joinAllRoles: false,\n loginURL: \"https://console.aws.amazon.com/ec2/home\",\n roleValuePattern: \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n sessionDuration: 3200,\n useGroupMapping: false,\n }),\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\ntest = okta.app.Saml(\"test\",\n preconfigured_app=\"amazon_aws\",\n label=\"Amazon AWS\",\n status=\"ACTIVE\")\ntest_app_saml_app_settings = okta.AppSamlAppSettings(\"test\",\n app_id=test.id,\n settings=json.dumps({\n \"appFilter\": \"okta\",\n \"awsEnvironmentType\": \"aws.amazon\",\n \"groupFilter\": \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n \"joinAllRoles\": False,\n \"loginURL\": \"https://console.aws.amazon.com/ec2/home\",\n \"roleValuePattern\": \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n \"sessionDuration\": 3200,\n \"useGroupMapping\": False,\n }))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.App.Saml(\"test\", new()\n {\n PreconfiguredApp = \"amazon_aws\",\n Label = \"Amazon AWS\",\n Status = \"ACTIVE\",\n });\n\n var testAppSamlAppSettings = new Okta.AppSamlAppSettings(\"test\", new()\n {\n AppId = test.Id,\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"appFilter\"] = \"okta\",\n [\"awsEnvironmentType\"] = \"aws.amazon\",\n [\"groupFilter\"] = \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n [\"joinAllRoles\"] = false,\n [\"loginURL\"] = \"https://console.aws.amazon.com/ec2/home\",\n [\"roleValuePattern\"] = \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n [\"sessionDuration\"] = 3200,\n [\"useGroupMapping\"] = false,\n }),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttest, err := app.NewSaml(ctx, \"test\", \u0026app.SamlArgs{\n\t\t\tPreconfiguredApp: pulumi.String(\"amazon_aws\"),\n\t\t\tLabel: pulumi.String(\"Amazon AWS\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"appFilter\": \"okta\",\n\t\t\t\"awsEnvironmentType\": \"aws.amazon\",\n\t\t\t\"groupFilter\": \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\",\n\t\t\t\"joinAllRoles\": false,\n\t\t\t\"loginURL\": \"https://console.aws.amazon.com/ec2/home\",\n\t\t\t\"roleValuePattern\": \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\",\n\t\t\t\"sessionDuration\": 3200,\n\t\t\t\"useGroupMapping\": false,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = okta.NewAppSamlAppSettings(ctx, \"test\", \u0026okta.AppSamlAppSettingsArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tSettings: pulumi.String(json0),\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.okta.app.Saml;\nimport com.pulumi.okta.app.SamlArgs;\nimport com.pulumi.okta.AppSamlAppSettings;\nimport com.pulumi.okta.AppSamlAppSettingsArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\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 test = new Saml(\"test\", SamlArgs.builder()\n .preconfiguredApp(\"amazon_aws\")\n .label(\"Amazon AWS\")\n .status(\"ACTIVE\")\n .build());\n\n var testAppSamlAppSettings = new AppSamlAppSettings(\"testAppSamlAppSettings\", AppSamlAppSettingsArgs.builder()\n .appId(test.id())\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"appFilter\", \"okta\"),\n jsonProperty(\"awsEnvironmentType\", \"aws.amazon\"),\n jsonProperty(\"groupFilter\", \"aws_(?{{accountid}}\\\\\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\\\\\-_]+)\"),\n jsonProperty(\"joinAllRoles\", false),\n jsonProperty(\"loginURL\", \"https://console.aws.amazon.com/ec2/home\"),\n jsonProperty(\"roleValuePattern\", \"arn:aws:iam::${accountid}:saml-provider/OKTA,arn:aws:iam::${accountid}:role/${role}\"),\n jsonProperty(\"sessionDuration\", 3200),\n jsonProperty(\"useGroupMapping\", false)\n )))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:Saml\n properties:\n preconfiguredApp: amazon_aws\n label: Amazon AWS\n status: ACTIVE\n testAppSamlAppSettings:\n type: okta:AppSamlAppSettings\n name: test\n properties:\n appId: ${test.id}\n settings:\n fn::toJSON:\n appFilter: okta\n awsEnvironmentType: aws.amazon\n groupFilter: aws_(?{{accountid}}\\\\d+)_(?{{role}}[a-zA-Z0-9+=,.@\\\\-_]+)\n joinAllRoles: false\n loginURL: https://console.aws.amazon.com/ec2/home\n roleValuePattern: arn:aws:iam::$${accountid}:saml-provider/OKTA,arn:aws:iam::$${accountid}:role/$${role}\n sessionDuration: 3200\n useGroupMapping: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/appSamlAppSettings:AppSamlAppSettings example \u003capp_id\u003e\n```\n\n", "properties": { "appId": { "type": "string", @@ -14416,7 +14416,7 @@ } }, "okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps": { - "description": "Manages Profile Enrollment Policy Apps\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nThis resource allows you to manage the apps in the Profile Enrollment Policy. \n**Important Notes:** \n - Default Enrollment Policy can not be used in this resource since it is used as a policy to re-assign apps to when they are unassigned from this one.\n - When re-assigning the app to another policy, please use 'depends_on' in the policy to which the app will be assigned. This is necessary to avoid \n unexpected behavior, since if the app is unassigned from the policy it is just assigned to the 'Default' one.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.policy.getPolicy({\n name: \"My Policy\",\n type: \"PROFILE_ENROLLMENT\",\n});\nconst test = okta.app.getApp({\n label: \"My App\",\n});\nconst examplePolicyProfileEnrollmentApps = new okta.PolicyProfileEnrollmentApps(\"example\", {\n policyId: exampleOktaPolicy.id,\n apps: [id],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.get_policy(name=\"My Policy\",\n type=\"PROFILE_ENROLLMENT\")\ntest = okta.app.get_app(label=\"My App\")\nexample_policy_profile_enrollment_apps = okta.PolicyProfileEnrollmentApps(\"example\",\n policy_id=example_okta_policy[\"id\"],\n apps=[id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"My Policy\",\n Type = \"PROFILE_ENROLLMENT\",\n });\n\n var test = Okta.App.GetApp.Invoke(new()\n {\n Label = \"My App\",\n });\n\n var examplePolicyProfileEnrollmentApps = new Okta.PolicyProfileEnrollmentApps(\"example\", new()\n {\n PolicyId = exampleOktaPolicy.Id,\n Apps = new[]\n {\n id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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 := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"My Policy\",\n\t\t\tType: \"PROFILE_ENROLLMENT\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"My App\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPolicyProfileEnrollmentApps(ctx, \"example\", \u0026okta.PolicyProfileEnrollmentAppsArgs{\n\t\t\tPolicyId: pulumi.Any(exampleOktaPolicy.Id),\n\t\t\tApps: pulumi.StringArray{\n\t\t\t\tid,\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport com.pulumi.okta.PolicyProfileEnrollmentApps;\nimport com.pulumi.okta.PolicyProfileEnrollmentAppsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"My Policy\")\n .type(\"PROFILE_ENROLLMENT\")\n .build());\n\n final var test = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"My App\")\n .build());\n\n var examplePolicyProfileEnrollmentApps = new PolicyProfileEnrollmentApps(\"examplePolicyProfileEnrollmentApps\", PolicyProfileEnrollmentAppsArgs.builder()\n .policyId(exampleOktaPolicy.id())\n .apps(id)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n examplePolicyProfileEnrollmentApps:\n type: okta:PolicyProfileEnrollmentApps\n name: example\n properties:\n policyId: ${exampleOktaPolicy.id}\n apps:\n - ${id}\nvariables:\n example:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: My Policy\n type: PROFILE_ENROLLMENT\n test:\n fn::invoke:\n Function: okta:app:getApp\n Arguments:\n label: My App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example \u003cpolicy_id\u003e\n```\n\n", + "description": "Manages Profile Enrollment Policy Apps\n\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\nThis resource allows you to manage the apps in the Profile Enrollment Policy. \n**Important Notes:** \n - Default Enrollment Policy can not be used in this resource since it is used as a policy to re-assign apps to when they are unassigned from this one.\n - When re-assigning the app to another policy, please use 'depends_on' in the policy to which the app will be assigned. This is necessary to avoid \n unexpected behavior, since if the app is unassigned from the policy it is just assigned to the 'Default' one.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.policy.getPolicy({\n name: \"My Policy\",\n type: \"PROFILE_ENROLLMENT\",\n});\nconst test = okta.app.getApp({\n label: \"My App\",\n});\nconst examplePolicyProfileEnrollmentApps = new okta.PolicyProfileEnrollmentApps(\"example\", {\n policyId: exampleOktaPolicy.id,\n apps: [id],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.get_policy(name=\"My Policy\",\n type=\"PROFILE_ENROLLMENT\")\ntest = okta.app.get_app(label=\"My App\")\nexample_policy_profile_enrollment_apps = okta.PolicyProfileEnrollmentApps(\"example\",\n policy_id=example_okta_policy[\"id\"],\n apps=[id])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"My Policy\",\n Type = \"PROFILE_ENROLLMENT\",\n });\n\n var test = Okta.App.GetApp.Invoke(new()\n {\n Label = \"My App\",\n });\n\n var examplePolicyProfileEnrollmentApps = new Okta.PolicyProfileEnrollmentApps(\"example\", new()\n {\n PolicyId = exampleOktaPolicy.Id,\n Apps = new[]\n {\n id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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 := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"My Policy\",\n\t\t\tType: \"PROFILE_ENROLLMENT\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"My App\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPolicyProfileEnrollmentApps(ctx, \"example\", \u0026okta.PolicyProfileEnrollmentAppsArgs{\n\t\t\tPolicyId: pulumi.Any(exampleOktaPolicy.Id),\n\t\t\tApps: pulumi.StringArray{\n\t\t\t\tid,\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport com.pulumi.okta.PolicyProfileEnrollmentApps;\nimport com.pulumi.okta.PolicyProfileEnrollmentAppsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"My Policy\")\n .type(\"PROFILE_ENROLLMENT\")\n .build());\n\n final var test = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"My App\")\n .build());\n\n var examplePolicyProfileEnrollmentApps = new PolicyProfileEnrollmentApps(\"examplePolicyProfileEnrollmentApps\", PolicyProfileEnrollmentAppsArgs.builder()\n .policyId(exampleOktaPolicy.id())\n .apps(id)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n examplePolicyProfileEnrollmentApps:\n type: okta:PolicyProfileEnrollmentApps\n name: example\n properties:\n policyId: ${exampleOktaPolicy.id}\n apps:\n - ${id}\nvariables:\n example:\n fn::invoke:\n function: okta:policy:getPolicy\n arguments:\n name: My Policy\n type: PROFILE_ENROLLMENT\n test:\n fn::invoke:\n function: okta:app:getApp\n arguments:\n label: My App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyProfileEnrollmentApps:PolicyProfileEnrollmentApps example \u003cpolicy_id\u003e\n```\n\n", "properties": { "apps": { "type": "array", @@ -14971,7 +14971,7 @@ } }, "okta:index/templateSms:TemplateSms": { - "description": "Creates an Okta SMS Template. This resource allows you to create and configure an Okta SMS Template.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.TemplateSms(\"example\", {\n type: \"SMS_VERIFY_CODE\",\n template: \"Your ${org.name} code is: ${code}\",\n translations: [\n {\n language: \"en\",\n template: \"Your ${org.name} code is: ${code}\",\n },\n {\n language: \"es\",\n template: \"Tu código de ${org.name} es: ${code}.\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.TemplateSms(\"example\",\n type=\"SMS_VERIFY_CODE\",\n template=\"Your ${org.name} code is: ${code}\",\n translations=[\n {\n \"language\": \"en\",\n \"template\": \"Your ${org.name} code is: ${code}\",\n },\n {\n \"language\": \"es\",\n \"template\": \"Tu código de ${org.name} es: ${code}.\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.TemplateSms(\"example\", new()\n {\n Type = \"SMS_VERIFY_CODE\",\n Template = \"Your ${org.name} code is: ${code}\",\n Translations = new[]\n {\n new Okta.Inputs.TemplateSmsTranslationArgs\n {\n Language = \"en\",\n Template = \"Your ${org.name} code is: ${code}\",\n },\n new Okta.Inputs.TemplateSmsTranslationArgs\n {\n Language = \"es\",\n Template = \"Tu código de ${org.name} es: ${code}.\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.NewTemplateSms(ctx, \"example\", \u0026okta.TemplateSmsArgs{\n\t\t\tType: pulumi.String(\"SMS_VERIFY_CODE\"),\n\t\t\tTemplate: pulumi.String(\"Your ${org.name} code is: ${code}\"),\n\t\t\tTranslations: okta.TemplateSmsTranslationArray{\n\t\t\t\t\u0026okta.TemplateSmsTranslationArgs{\n\t\t\t\t\tLanguage: pulumi.String(\"en\"),\n\t\t\t\t\tTemplate: pulumi.String(\"Your ${org.name} code is: ${code}\"),\n\t\t\t\t},\n\t\t\t\t\u0026okta.TemplateSmsTranslationArgs{\n\t\t\t\t\tLanguage: pulumi.String(\"es\"),\n\t\t\t\t\tTemplate: pulumi.String(\"Tu código de ${org.name} es: ${code}.\"),\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.okta.TemplateSms;\nimport com.pulumi.okta.TemplateSmsArgs;\nimport com.pulumi.okta.inputs.TemplateSmsTranslationArgs;\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 example = new TemplateSms(\"example\", TemplateSmsArgs.builder()\n .type(\"SMS_VERIFY_CODE\")\n .template(\"Your ${org.name} code is: ${code}\")\n .translations( \n TemplateSmsTranslationArgs.builder()\n .language(\"en\")\n .template(\"Your ${org.name} code is: ${code}\")\n .build(),\n TemplateSmsTranslationArgs.builder()\n .language(\"es\")\n .template(\"Tu código de ${org.name} es: ${code}.\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:TemplateSms\n properties:\n type: SMS_VERIFY_CODE\n template: 'Your ${org.name} code is: ${code}'\n translations:\n - language: en\n template: 'Your ${org.name} code is: ${code}'\n - language: es\n template: 'Tu código de ${org.name} es: ${code}.'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/templateSms:TemplateSms example \u003ctemplate_type\u003e\n```\n\n", + "description": "Creates an Okta SMS Template. This resource allows you to create and configure an Okta SMS Template.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.TemplateSms(\"example\", {\n type: \"SMS_VERIFY_CODE\",\n template: \"Your ${org.name} code is: ${code}\",\n translations: [\n {\n language: \"en\",\n template: \"Your ${org.name} code is: ${code}\",\n },\n {\n language: \"es\",\n template: \"Tu código de ${org.name} es: ${code}.\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.TemplateSms(\"example\",\n type=\"SMS_VERIFY_CODE\",\n template=\"Your ${org.name} code is: ${code}\",\n translations=[\n {\n \"language\": \"en\",\n \"template\": \"Your ${org.name} code is: ${code}\",\n },\n {\n \"language\": \"es\",\n \"template\": \"Tu código de ${org.name} es: ${code}.\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.TemplateSms(\"example\", new()\n {\n Type = \"SMS_VERIFY_CODE\",\n Template = \"Your ${org.name} code is: ${code}\",\n Translations = new[]\n {\n new Okta.Inputs.TemplateSmsTranslationArgs\n {\n Language = \"en\",\n Template = \"Your ${org.name} code is: ${code}\",\n },\n new Okta.Inputs.TemplateSmsTranslationArgs\n {\n Language = \"es\",\n Template = \"Tu código de ${org.name} es: ${code}.\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.NewTemplateSms(ctx, \"example\", \u0026okta.TemplateSmsArgs{\n\t\t\tType: pulumi.String(\"SMS_VERIFY_CODE\"),\n\t\t\tTemplate: pulumi.String(\"Your ${org.name} code is: ${code}\"),\n\t\t\tTranslations: okta.TemplateSmsTranslationArray{\n\t\t\t\t\u0026okta.TemplateSmsTranslationArgs{\n\t\t\t\t\tLanguage: pulumi.String(\"en\"),\n\t\t\t\t\tTemplate: pulumi.String(\"Your ${org.name} code is: ${code}\"),\n\t\t\t\t},\n\t\t\t\t\u0026okta.TemplateSmsTranslationArgs{\n\t\t\t\t\tLanguage: pulumi.String(\"es\"),\n\t\t\t\t\tTemplate: pulumi.String(\"Tu código de ${org.name} es: ${code}.\"),\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.okta.TemplateSms;\nimport com.pulumi.okta.TemplateSmsArgs;\nimport com.pulumi.okta.inputs.TemplateSmsTranslationArgs;\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 example = new TemplateSms(\"example\", TemplateSmsArgs.builder()\n .type(\"SMS_VERIFY_CODE\")\n .template(\"Your ${org.name} code is: ${code}\")\n .translations( \n TemplateSmsTranslationArgs.builder()\n .language(\"en\")\n .template(\"Your ${org.name} code is: ${code}\")\n .build(),\n TemplateSmsTranslationArgs.builder()\n .language(\"es\")\n .template(\"Tu código de ${org.name} es: ${code}.\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:TemplateSms\n properties:\n type: SMS_VERIFY_CODE\n template: 'Your $${org.name} code is: $${code}'\n translations:\n - language: en\n template: 'Your $${org.name} code is: $${code}'\n - language: es\n template: 'Tu código de $${org.name} es: $${code}.'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/templateSms:TemplateSms example \u003ctemplate_type\u003e\n```\n\n", "properties": { "template": { "type": "string", @@ -15545,7 +15545,7 @@ } }, "okta:index/userFactorQuestion:UserFactorQuestion": { - "description": "Creates security question factor for a user. This resource allows you to create and configure security question factor for a user.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst exampleUser = new okta.user.User(\"example\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"john.smith@example.com\",\n email: \"john.smith@example.com\",\n});\nconst example = okta.getUserSecurityQuestionsOutput({\n userId: exampleUser.id,\n});\nconst exampleFactor = new okta.factor.Factor(\"example\", {\n providerId: \"okta_question\",\n active: true,\n});\nconst exampleUserFactorQuestion = new okta.UserFactorQuestion(\"example\", {\n userId: exampleUser.id,\n key: example.apply(example =\u003e example.questions?.[0]?.key),\n answer: \"meatball\",\n}, {\n dependsOn: [exampleFactor],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample_user = okta.user.User(\"example\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"john.smith@example.com\",\n email=\"john.smith@example.com\")\nexample = okta.get_user_security_questions_output(user_id=example_user.id)\nexample_factor = okta.factor.Factor(\"example\",\n provider_id=\"okta_question\",\n active=True)\nexample_user_factor_question = okta.UserFactorQuestion(\"example\",\n user_id=example_user.id,\n key=example.questions[0].key,\n answer=\"meatball\",\n opts = pulumi.ResourceOptions(depends_on=[example_factor]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUser = new Okta.User.User(\"example\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"john.smith@example.com\",\n Email = \"john.smith@example.com\",\n });\n\n var example = Okta.GetUserSecurityQuestions.Invoke(new()\n {\n UserId = exampleUser.Id,\n });\n\n var exampleFactor = new Okta.Factor.Factor(\"example\", new()\n {\n ProviderId = \"okta_question\",\n Active = true,\n });\n\n var exampleUserFactorQuestion = new Okta.UserFactorQuestion(\"example\", new()\n {\n UserId = exampleUser.Id,\n Key = example.Apply(getUserSecurityQuestionsResult =\u003e getUserSecurityQuestionsResult.Questions[0]?.Key),\n Answer = \"meatball\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n exampleFactor,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/factor\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUser, err := user.NewUser(ctx, \"example\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"john.smith@example.com\"),\n\t\t\tEmail: pulumi.String(\"john.smith@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample := okta.GetUserSecurityQuestionsOutput(ctx, okta.GetUserSecurityQuestionsOutputArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t}, nil)\n\t\texampleFactor, err := factor.NewFactor(ctx, \"example\", \u0026factor.FactorArgs{\n\t\t\tProviderId: pulumi.String(\"okta_question\"),\n\t\t\tActive: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewUserFactorQuestion(ctx, \"example\", \u0026okta.UserFactorQuestionArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t\tKey: pulumi.String(example.ApplyT(func(example okta.GetUserSecurityQuestionsResult) (*string, error) {\n\t\t\t\treturn \u0026example.Questions[0].Key, nil\n\t\t\t}).(pulumi.StringPtrOutput)),\n\t\t\tAnswer: pulumi.String(\"meatball\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\texampleFactor,\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.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetUserSecurityQuestionsArgs;\nimport com.pulumi.okta.factor.Factor;\nimport com.pulumi.okta.factor.FactorArgs;\nimport com.pulumi.okta.UserFactorQuestion;\nimport com.pulumi.okta.UserFactorQuestionArgs;\nimport com.pulumi.resources.CustomResourceOptions;\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 exampleUser = new User(\"exampleUser\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"john.smith@example.com\")\n .email(\"john.smith@example.com\")\n .build());\n\n final var example = OktaFunctions.getUserSecurityQuestions(GetUserSecurityQuestionsArgs.builder()\n .userId(exampleUser.id())\n .build());\n\n var exampleFactor = new Factor(\"exampleFactor\", FactorArgs.builder()\n .providerId(\"okta_question\")\n .active(true)\n .build());\n\n var exampleUserFactorQuestion = new UserFactorQuestion(\"exampleUserFactorQuestion\", UserFactorQuestionArgs.builder()\n .userId(exampleUser.id())\n .key(example.applyValue(getUserSecurityQuestionsResult -\u003e getUserSecurityQuestionsResult).applyValue(example -\u003e example.applyValue(getUserSecurityQuestionsResult -\u003e getUserSecurityQuestionsResult.questions()[0].key())))\n .answer(\"meatball\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(exampleFactor)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleUser:\n type: okta:user:User\n name: example\n properties:\n firstName: John\n lastName: Smith\n login: john.smith@example.com\n email: john.smith@example.com\n exampleFactor:\n type: okta:factor:Factor\n name: example\n properties:\n providerId: okta_question\n active: true\n exampleUserFactorQuestion:\n type: okta:UserFactorQuestion\n name: example\n properties:\n userId: ${exampleUser.id}\n key: ${example.questions[0].key}\n answer: meatball\n options:\n dependson:\n - ${exampleFactor}\nvariables:\n example:\n fn::invoke:\n Function: okta:getUserSecurityQuestions\n Arguments:\n userId: ${exampleUser.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example \u003cuser_id\u003e/\u003cquestion_factor_id\u003e\n```\n\n", + "description": "Creates security question factor for a user. This resource allows you to create and configure security question factor for a user.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst exampleUser = new okta.user.User(\"example\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"john.smith@example.com\",\n email: \"john.smith@example.com\",\n});\nconst example = okta.getUserSecurityQuestionsOutput({\n userId: exampleUser.id,\n});\nconst exampleFactor = new okta.factor.Factor(\"example\", {\n providerId: \"okta_question\",\n active: true,\n});\nconst exampleUserFactorQuestion = new okta.UserFactorQuestion(\"example\", {\n userId: exampleUser.id,\n key: example.apply(example =\u003e example.questions?.[0]?.key),\n answer: \"meatball\",\n}, {\n dependsOn: [exampleFactor],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample_user = okta.user.User(\"example\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"john.smith@example.com\",\n email=\"john.smith@example.com\")\nexample = okta.get_user_security_questions_output(user_id=example_user.id)\nexample_factor = okta.factor.Factor(\"example\",\n provider_id=\"okta_question\",\n active=True)\nexample_user_factor_question = okta.UserFactorQuestion(\"example\",\n user_id=example_user.id,\n key=example.questions[0].key,\n answer=\"meatball\",\n opts = pulumi.ResourceOptions(depends_on=[example_factor]))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUser = new Okta.User.User(\"example\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"john.smith@example.com\",\n Email = \"john.smith@example.com\",\n });\n\n var example = Okta.GetUserSecurityQuestions.Invoke(new()\n {\n UserId = exampleUser.Id,\n });\n\n var exampleFactor = new Okta.Factor.Factor(\"example\", new()\n {\n ProviderId = \"okta_question\",\n Active = true,\n });\n\n var exampleUserFactorQuestion = new Okta.UserFactorQuestion(\"example\", new()\n {\n UserId = exampleUser.Id,\n Key = example.Apply(getUserSecurityQuestionsResult =\u003e getUserSecurityQuestionsResult.Questions[0]?.Key),\n Answer = \"meatball\",\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n exampleFactor,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/factor\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUser, err := user.NewUser(ctx, \"example\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"john.smith@example.com\"),\n\t\t\tEmail: pulumi.String(\"john.smith@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\texample := okta.GetUserSecurityQuestionsOutput(ctx, okta.GetUserSecurityQuestionsOutputArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t}, nil)\n\t\texampleFactor, err := factor.NewFactor(ctx, \"example\", \u0026factor.FactorArgs{\n\t\t\tProviderId: pulumi.String(\"okta_question\"),\n\t\t\tActive: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewUserFactorQuestion(ctx, \"example\", \u0026okta.UserFactorQuestionArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t\tKey: pulumi.String(example.ApplyT(func(example okta.GetUserSecurityQuestionsResult) (*string, error) {\n\t\t\t\treturn \u0026example.Questions[0].Key, nil\n\t\t\t}).(pulumi.StringPtrOutput)),\n\t\t\tAnswer: pulumi.String(\"meatball\"),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\texampleFactor,\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.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetUserSecurityQuestionsArgs;\nimport com.pulumi.okta.factor.Factor;\nimport com.pulumi.okta.factor.FactorArgs;\nimport com.pulumi.okta.UserFactorQuestion;\nimport com.pulumi.okta.UserFactorQuestionArgs;\nimport com.pulumi.resources.CustomResourceOptions;\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 exampleUser = new User(\"exampleUser\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"john.smith@example.com\")\n .email(\"john.smith@example.com\")\n .build());\n\n final var example = OktaFunctions.getUserSecurityQuestions(GetUserSecurityQuestionsArgs.builder()\n .userId(exampleUser.id())\n .build());\n\n var exampleFactor = new Factor(\"exampleFactor\", FactorArgs.builder()\n .providerId(\"okta_question\")\n .active(true)\n .build());\n\n var exampleUserFactorQuestion = new UserFactorQuestion(\"exampleUserFactorQuestion\", UserFactorQuestionArgs.builder()\n .userId(exampleUser.id())\n .key(example.applyValue(getUserSecurityQuestionsResult -\u003e getUserSecurityQuestionsResult).applyValue(example -\u003e example.applyValue(getUserSecurityQuestionsResult -\u003e getUserSecurityQuestionsResult.questions()[0].key())))\n .answer(\"meatball\")\n .build(), CustomResourceOptions.builder()\n .dependsOn(exampleFactor)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleUser:\n type: okta:user:User\n name: example\n properties:\n firstName: John\n lastName: Smith\n login: john.smith@example.com\n email: john.smith@example.com\n exampleFactor:\n type: okta:factor:Factor\n name: example\n properties:\n providerId: okta_question\n active: true\n exampleUserFactorQuestion:\n type: okta:UserFactorQuestion\n name: example\n properties:\n userId: ${exampleUser.id}\n key: ${example.questions[0].key}\n answer: meatball\n options:\n dependsOn:\n - ${exampleFactor}\nvariables:\n example:\n fn::invoke:\n function: okta:getUserSecurityQuestions\n arguments:\n userId: ${exampleUser.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/userFactorQuestion:UserFactorQuestion example \u003cuser_id\u003e/\u003cquestion_factor_id\u003e\n```\n\n", "properties": { "answer": { "type": "string", @@ -18468,7 +18468,7 @@ } }, "okta:policy/ruleIdpDiscovery:RuleIdpDiscovery": { - "description": "Creates an IdP Discovery Policy Rule.\n\t\t\nThis resource allows you to create and configure an IdP Discovery Policy Rule.\n\u003e If you receive the error 'You do not have permission to access the feature\nyou are requesting' contact support and\nrequest feature flag 'ADVANCED_SSO' be applied to your org.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\n//## All Okta orgs contain only one IdP Discovery Policy\nconst idpDiscoveryPolicy = okta.policy.getPolicy({\n name: \"Idp Discovery Policy\",\n type: \"IDP_DISCOVERY\",\n});\nconst example = new okta.policy.RuleIdpDiscovery(\"example\", {\n policyId: idpDiscoveryPolicy.then(idpDiscoveryPolicy =\u003e idpDiscoveryPolicy.id),\n name: \"example\",\n idpId: \"\u003cidp id\u003e\",\n idpType: \"OIDC\",\n networkConnection: \"ANYWHERE\",\n priority: 1,\n status: \"ACTIVE\",\n userIdentifierType: \"ATTRIBUTE\",\n userIdentifierAttribute: \"company\",\n appExcludes: [\n {\n id: \"\u003capp id\u003e\",\n type: \"APP\",\n },\n {\n name: \"yahoo_mail\",\n type: \"APP_TYPE\",\n },\n ],\n appIncludes: [\n {\n id: \"\u003capp id\u003e\",\n type: \"APP\",\n },\n {\n name: \"\u003capp type name\u003e\",\n type: \"APP_TYPE\",\n },\n ],\n platformIncludes: [{\n type: \"MOBILE\",\n osType: \"OSX\",\n }],\n userIdentifierPatterns: [{\n matchType: \"EQUALS\",\n value: \"Articulate\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\n### All Okta orgs contain only one IdP Discovery Policy\nidp_discovery_policy = okta.policy.get_policy(name=\"Idp Discovery Policy\",\n type=\"IDP_DISCOVERY\")\nexample = okta.policy.RuleIdpDiscovery(\"example\",\n policy_id=idp_discovery_policy.id,\n name=\"example\",\n idp_id=\"\u003cidp id\u003e\",\n idp_type=\"OIDC\",\n network_connection=\"ANYWHERE\",\n priority=1,\n status=\"ACTIVE\",\n user_identifier_type=\"ATTRIBUTE\",\n user_identifier_attribute=\"company\",\n app_excludes=[\n {\n \"id\": \"\u003capp id\u003e\",\n \"type\": \"APP\",\n },\n {\n \"name\": \"yahoo_mail\",\n \"type\": \"APP_TYPE\",\n },\n ],\n app_includes=[\n {\n \"id\": \"\u003capp id\u003e\",\n \"type\": \"APP\",\n },\n {\n \"name\": \"\u003capp type name\u003e\",\n \"type\": \"APP_TYPE\",\n },\n ],\n platform_includes=[{\n \"type\": \"MOBILE\",\n \"os_type\": \"OSX\",\n }],\n user_identifier_patterns=[{\n \"match_type\": \"EQUALS\",\n \"value\": \"Articulate\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n //## All Okta orgs contain only one IdP Discovery Policy\n var idpDiscoveryPolicy = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Idp Discovery Policy\",\n Type = \"IDP_DISCOVERY\",\n });\n\n var example = new Okta.Policy.RuleIdpDiscovery(\"example\", new()\n {\n PolicyId = idpDiscoveryPolicy.Apply(getPolicyResult =\u003e getPolicyResult.Id),\n Name = \"example\",\n IdpId = \"\u003cidp id\u003e\",\n IdpType = \"OIDC\",\n NetworkConnection = \"ANYWHERE\",\n Priority = 1,\n Status = \"ACTIVE\",\n UserIdentifierType = \"ATTRIBUTE\",\n UserIdentifierAttribute = \"company\",\n AppExcludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppExcludeArgs\n {\n Id = \"\u003capp id\u003e\",\n Type = \"APP\",\n },\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppExcludeArgs\n {\n Name = \"yahoo_mail\",\n Type = \"APP_TYPE\",\n },\n },\n AppIncludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppIncludeArgs\n {\n Id = \"\u003capp id\u003e\",\n Type = \"APP\",\n },\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppIncludeArgs\n {\n Name = \"\u003capp type name\u003e\",\n Type = \"APP_TYPE\",\n },\n },\n PlatformIncludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryPlatformIncludeArgs\n {\n Type = \"MOBILE\",\n OsType = \"OSX\",\n },\n },\n UserIdentifierPatterns = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryUserIdentifierPatternArgs\n {\n MatchType = \"EQUALS\",\n Value = \"Articulate\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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// ## All Okta orgs contain only one IdP Discovery Policy\n\t\tidpDiscoveryPolicy, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Idp Discovery Policy\",\n\t\t\tType: \"IDP_DISCOVERY\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = policy.NewRuleIdpDiscovery(ctx, \"example\", \u0026policy.RuleIdpDiscoveryArgs{\n\t\t\tPolicyId: pulumi.String(idpDiscoveryPolicy.Id),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tIdpId: pulumi.String(\"\u003cidp id\u003e\"),\n\t\t\tIdpType: pulumi.String(\"OIDC\"),\n\t\t\tNetworkConnection: pulumi.String(\"ANYWHERE\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tUserIdentifierType: pulumi.String(\"ATTRIBUTE\"),\n\t\t\tUserIdentifierAttribute: pulumi.String(\"company\"),\n\t\t\tAppExcludes: policy.RuleIdpDiscoveryAppExcludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppExcludeArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP\"),\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppExcludeArgs{\n\t\t\t\t\tName: pulumi.String(\"yahoo_mail\"),\n\t\t\t\t\tType: pulumi.String(\"APP_TYPE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAppIncludes: policy.RuleIdpDiscoveryAppIncludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppIncludeArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP\"),\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppIncludeArgs{\n\t\t\t\t\tName: pulumi.String(\"\u003capp type name\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP_TYPE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPlatformIncludes: policy.RuleIdpDiscoveryPlatformIncludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryPlatformIncludeArgs{\n\t\t\t\t\tType: pulumi.String(\"MOBILE\"),\n\t\t\t\t\tOsType: pulumi.String(\"OSX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tUserIdentifierPatterns: policy.RuleIdpDiscoveryUserIdentifierPatternArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryUserIdentifierPatternArgs{\n\t\t\t\t\tMatchType: pulumi.String(\"EQUALS\"),\n\t\t\t\t\tValue: pulumi.String(\"Articulate\"),\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.policy.RuleIdpDiscovery;\nimport com.pulumi.okta.policy.RuleIdpDiscoveryArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryAppExcludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryAppIncludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryPlatformIncludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryUserIdentifierPatternArgs;\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 //## All Okta orgs contain only one IdP Discovery Policy\n final var idpDiscoveryPolicy = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Idp Discovery Policy\")\n .type(\"IDP_DISCOVERY\")\n .build());\n\n var example = new RuleIdpDiscovery(\"example\", RuleIdpDiscoveryArgs.builder()\n .policyId(idpDiscoveryPolicy.applyValue(getPolicyResult -\u003e getPolicyResult.id()))\n .name(\"example\")\n .idpId(\"\u003cidp id\u003e\")\n .idpType(\"OIDC\")\n .networkConnection(\"ANYWHERE\")\n .priority(1)\n .status(\"ACTIVE\")\n .userIdentifierType(\"ATTRIBUTE\")\n .userIdentifierAttribute(\"company\")\n .appExcludes( \n RuleIdpDiscoveryAppExcludeArgs.builder()\n .id(\"\u003capp id\u003e\")\n .type(\"APP\")\n .build(),\n RuleIdpDiscoveryAppExcludeArgs.builder()\n .name(\"yahoo_mail\")\n .type(\"APP_TYPE\")\n .build())\n .appIncludes( \n RuleIdpDiscoveryAppIncludeArgs.builder()\n .id(\"\u003capp id\u003e\")\n .type(\"APP\")\n .build(),\n RuleIdpDiscoveryAppIncludeArgs.builder()\n .name(\"\u003capp type name\u003e\")\n .type(\"APP_TYPE\")\n .build())\n .platformIncludes(RuleIdpDiscoveryPlatformIncludeArgs.builder()\n .type(\"MOBILE\")\n .osType(\"OSX\")\n .build())\n .userIdentifierPatterns(RuleIdpDiscoveryUserIdentifierPatternArgs.builder()\n .matchType(\"EQUALS\")\n .value(\"Articulate\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:RuleIdpDiscovery\n properties:\n policyId: ${idpDiscoveryPolicy.id}\n name: example\n idpId: \u003cidp id\u003e\n idpType: OIDC\n networkConnection: ANYWHERE\n priority: 1\n status: ACTIVE\n userIdentifierType: ATTRIBUTE\n userIdentifierAttribute: company\n appExcludes:\n - id: \u003capp id\u003e\n type: APP\n - name: yahoo_mail\n type: APP_TYPE\n appIncludes:\n - id: \u003capp id\u003e\n type: APP\n - name: \u003capp type name\u003e\n type: APP_TYPE\n platformIncludes:\n - type: MOBILE\n osType: OSX\n userIdentifierPatterns:\n - matchType: EQUALS\n value: Articulate\nvariables:\n ### All Okta orgs contain only one IdP Discovery Policy\n idpDiscoveryPolicy:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: Idp Discovery Policy\n type: IDP_DISCOVERY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", + "description": "Creates an IdP Discovery Policy Rule.\n\t\t\nThis resource allows you to create and configure an IdP Discovery Policy Rule.\n\u003e If you receive the error 'You do not have permission to access the feature\nyou are requesting' contact support and\nrequest feature flag 'ADVANCED_SSO' be applied to your org.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\n//## All Okta orgs contain only one IdP Discovery Policy\nconst idpDiscoveryPolicy = okta.policy.getPolicy({\n name: \"Idp Discovery Policy\",\n type: \"IDP_DISCOVERY\",\n});\nconst example = new okta.policy.RuleIdpDiscovery(\"example\", {\n policyId: idpDiscoveryPolicy.then(idpDiscoveryPolicy =\u003e idpDiscoveryPolicy.id),\n name: \"example\",\n idpId: \"\u003cidp id\u003e\",\n idpType: \"OIDC\",\n networkConnection: \"ANYWHERE\",\n priority: 1,\n status: \"ACTIVE\",\n userIdentifierType: \"ATTRIBUTE\",\n userIdentifierAttribute: \"company\",\n appExcludes: [\n {\n id: \"\u003capp id\u003e\",\n type: \"APP\",\n },\n {\n name: \"yahoo_mail\",\n type: \"APP_TYPE\",\n },\n ],\n appIncludes: [\n {\n id: \"\u003capp id\u003e\",\n type: \"APP\",\n },\n {\n name: \"\u003capp type name\u003e\",\n type: \"APP_TYPE\",\n },\n ],\n platformIncludes: [{\n type: \"MOBILE\",\n osType: \"OSX\",\n }],\n userIdentifierPatterns: [{\n matchType: \"EQUALS\",\n value: \"Articulate\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\n### All Okta orgs contain only one IdP Discovery Policy\nidp_discovery_policy = okta.policy.get_policy(name=\"Idp Discovery Policy\",\n type=\"IDP_DISCOVERY\")\nexample = okta.policy.RuleIdpDiscovery(\"example\",\n policy_id=idp_discovery_policy.id,\n name=\"example\",\n idp_id=\"\u003cidp id\u003e\",\n idp_type=\"OIDC\",\n network_connection=\"ANYWHERE\",\n priority=1,\n status=\"ACTIVE\",\n user_identifier_type=\"ATTRIBUTE\",\n user_identifier_attribute=\"company\",\n app_excludes=[\n {\n \"id\": \"\u003capp id\u003e\",\n \"type\": \"APP\",\n },\n {\n \"name\": \"yahoo_mail\",\n \"type\": \"APP_TYPE\",\n },\n ],\n app_includes=[\n {\n \"id\": \"\u003capp id\u003e\",\n \"type\": \"APP\",\n },\n {\n \"name\": \"\u003capp type name\u003e\",\n \"type\": \"APP_TYPE\",\n },\n ],\n platform_includes=[{\n \"type\": \"MOBILE\",\n \"os_type\": \"OSX\",\n }],\n user_identifier_patterns=[{\n \"match_type\": \"EQUALS\",\n \"value\": \"Articulate\",\n }])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n //## All Okta orgs contain only one IdP Discovery Policy\n var idpDiscoveryPolicy = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Idp Discovery Policy\",\n Type = \"IDP_DISCOVERY\",\n });\n\n var example = new Okta.Policy.RuleIdpDiscovery(\"example\", new()\n {\n PolicyId = idpDiscoveryPolicy.Apply(getPolicyResult =\u003e getPolicyResult.Id),\n Name = \"example\",\n IdpId = \"\u003cidp id\u003e\",\n IdpType = \"OIDC\",\n NetworkConnection = \"ANYWHERE\",\n Priority = 1,\n Status = \"ACTIVE\",\n UserIdentifierType = \"ATTRIBUTE\",\n UserIdentifierAttribute = \"company\",\n AppExcludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppExcludeArgs\n {\n Id = \"\u003capp id\u003e\",\n Type = \"APP\",\n },\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppExcludeArgs\n {\n Name = \"yahoo_mail\",\n Type = \"APP_TYPE\",\n },\n },\n AppIncludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppIncludeArgs\n {\n Id = \"\u003capp id\u003e\",\n Type = \"APP\",\n },\n new Okta.Policy.Inputs.RuleIdpDiscoveryAppIncludeArgs\n {\n Name = \"\u003capp type name\u003e\",\n Type = \"APP_TYPE\",\n },\n },\n PlatformIncludes = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryPlatformIncludeArgs\n {\n Type = \"MOBILE\",\n OsType = \"OSX\",\n },\n },\n UserIdentifierPatterns = new[]\n {\n new Okta.Policy.Inputs.RuleIdpDiscoveryUserIdentifierPatternArgs\n {\n MatchType = \"EQUALS\",\n Value = \"Articulate\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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// ## All Okta orgs contain only one IdP Discovery Policy\n\t\tidpDiscoveryPolicy, err := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Idp Discovery Policy\",\n\t\t\tType: \"IDP_DISCOVERY\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = policy.NewRuleIdpDiscovery(ctx, \"example\", \u0026policy.RuleIdpDiscoveryArgs{\n\t\t\tPolicyId: pulumi.String(idpDiscoveryPolicy.Id),\n\t\t\tName: pulumi.String(\"example\"),\n\t\t\tIdpId: pulumi.String(\"\u003cidp id\u003e\"),\n\t\t\tIdpType: pulumi.String(\"OIDC\"),\n\t\t\tNetworkConnection: pulumi.String(\"ANYWHERE\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tUserIdentifierType: pulumi.String(\"ATTRIBUTE\"),\n\t\t\tUserIdentifierAttribute: pulumi.String(\"company\"),\n\t\t\tAppExcludes: policy.RuleIdpDiscoveryAppExcludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppExcludeArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP\"),\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppExcludeArgs{\n\t\t\t\t\tName: pulumi.String(\"yahoo_mail\"),\n\t\t\t\t\tType: pulumi.String(\"APP_TYPE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAppIncludes: policy.RuleIdpDiscoveryAppIncludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppIncludeArgs{\n\t\t\t\t\tId: pulumi.String(\"\u003capp id\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP\"),\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleIdpDiscoveryAppIncludeArgs{\n\t\t\t\t\tName: pulumi.String(\"\u003capp type name\u003e\"),\n\t\t\t\t\tType: pulumi.String(\"APP_TYPE\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tPlatformIncludes: policy.RuleIdpDiscoveryPlatformIncludeArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryPlatformIncludeArgs{\n\t\t\t\t\tType: pulumi.String(\"MOBILE\"),\n\t\t\t\t\tOsType: pulumi.String(\"OSX\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tUserIdentifierPatterns: policy.RuleIdpDiscoveryUserIdentifierPatternArray{\n\t\t\t\t\u0026policy.RuleIdpDiscoveryUserIdentifierPatternArgs{\n\t\t\t\t\tMatchType: pulumi.String(\"EQUALS\"),\n\t\t\t\t\tValue: pulumi.String(\"Articulate\"),\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport com.pulumi.okta.policy.RuleIdpDiscovery;\nimport com.pulumi.okta.policy.RuleIdpDiscoveryArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryAppExcludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryAppIncludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryPlatformIncludeArgs;\nimport com.pulumi.okta.policy.inputs.RuleIdpDiscoveryUserIdentifierPatternArgs;\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 //## All Okta orgs contain only one IdP Discovery Policy\n final var idpDiscoveryPolicy = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Idp Discovery Policy\")\n .type(\"IDP_DISCOVERY\")\n .build());\n\n var example = new RuleIdpDiscovery(\"example\", RuleIdpDiscoveryArgs.builder()\n .policyId(idpDiscoveryPolicy.applyValue(getPolicyResult -\u003e getPolicyResult.id()))\n .name(\"example\")\n .idpId(\"\u003cidp id\u003e\")\n .idpType(\"OIDC\")\n .networkConnection(\"ANYWHERE\")\n .priority(1)\n .status(\"ACTIVE\")\n .userIdentifierType(\"ATTRIBUTE\")\n .userIdentifierAttribute(\"company\")\n .appExcludes( \n RuleIdpDiscoveryAppExcludeArgs.builder()\n .id(\"\u003capp id\u003e\")\n .type(\"APP\")\n .build(),\n RuleIdpDiscoveryAppExcludeArgs.builder()\n .name(\"yahoo_mail\")\n .type(\"APP_TYPE\")\n .build())\n .appIncludes( \n RuleIdpDiscoveryAppIncludeArgs.builder()\n .id(\"\u003capp id\u003e\")\n .type(\"APP\")\n .build(),\n RuleIdpDiscoveryAppIncludeArgs.builder()\n .name(\"\u003capp type name\u003e\")\n .type(\"APP_TYPE\")\n .build())\n .platformIncludes(RuleIdpDiscoveryPlatformIncludeArgs.builder()\n .type(\"MOBILE\")\n .osType(\"OSX\")\n .build())\n .userIdentifierPatterns(RuleIdpDiscoveryUserIdentifierPatternArgs.builder()\n .matchType(\"EQUALS\")\n .value(\"Articulate\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:policy:RuleIdpDiscovery\n properties:\n policyId: ${idpDiscoveryPolicy.id}\n name: example\n idpId: \u003cidp id\u003e\n idpType: OIDC\n networkConnection: ANYWHERE\n priority: 1\n status: ACTIVE\n userIdentifierType: ATTRIBUTE\n userIdentifierAttribute: company\n appExcludes:\n - id: \u003capp id\u003e\n type: APP\n - name: yahoo_mail\n type: APP_TYPE\n appIncludes:\n - id: \u003capp id\u003e\n type: APP\n - name: \u003capp type name\u003e\n type: APP_TYPE\n platformIncludes:\n - type: MOBILE\n osType: OSX\n userIdentifierPatterns:\n - matchType: EQUALS\n value: Articulate\nvariables:\n ### All Okta orgs contain only one IdP Discovery Policy\n idpDiscoveryPolicy:\n fn::invoke:\n function: okta:policy:getPolicy\n arguments:\n name: Idp Discovery Policy\n type: IDP_DISCOVERY\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleIdpDiscovery:RuleIdpDiscovery example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", "properties": { "appExcludes": { "type": "array", @@ -19098,7 +19098,7 @@ } }, "okta:policy/ruleSignon:RuleSignon": { - "description": "Creates a Sign On Policy Rule. In case `Invalid condition type specified: riskScore.` error is thrown, set `risc_level` to an empty string, since this feature is not enabled.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.policy.Signon(\"test\", {\n name: \"Example Policy\",\n status: \"ACTIVE\",\n description: \"Example Policy\",\n});\nconst newCity = okta.getBehaviour({\n name: \"New City\",\n});\nconst example = new okta.policy.RuleSignon(\"example\", {\n access: \"CHALLENGE\",\n authtype: \"RADIUS\",\n name: \"Example Policy Rule\",\n networkConnection: \"ANYWHERE\",\n policyId: exampleOktaPolicySignon.id,\n status: \"ACTIVE\",\n riscLevel: \"HIGH\",\n behaviors: [newCity.then(newCity =\u003e newCity.id)],\n factorSequences: [\n {\n primaryCriteriaFactorType: \"token:hotp\",\n primaryCriteriaProvider: \"CUSTOM\",\n secondaryCriterias: [\n {\n factorType: \"token:software:totp\",\n provider: \"OKTA\",\n },\n {\n factorType: \"push\",\n provider: \"OKTA\",\n },\n {\n factorType: \"password\",\n provider: \"OKTA\",\n },\n {\n factorType: \"question\",\n provider: \"OKTA\",\n },\n {\n factorType: \"sms\",\n provider: \"OKTA\",\n },\n {\n factorType: \"token:software:totp\",\n provider: \"GOOGLE\",\n },\n {\n factorType: \"email\",\n provider: \"OKTA\",\n },\n {\n factorType: \"call\",\n provider: \"OKTA\",\n },\n {\n factorType: \"webauthn\",\n provider: \"FIDO\",\n },\n {\n factorType: \"token\",\n provider: \"RSA\",\n },\n {\n factorType: \"token\",\n provider: \"SYMANTEC\",\n },\n ],\n },\n {\n primaryCriteriaFactorType: \"token:software:totp\",\n primaryCriteriaProvider: \"OKTA\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.policy.Signon(\"test\",\n name=\"Example Policy\",\n status=\"ACTIVE\",\n description=\"Example Policy\")\nnew_city = okta.get_behaviour(name=\"New City\")\nexample = okta.policy.RuleSignon(\"example\",\n access=\"CHALLENGE\",\n authtype=\"RADIUS\",\n name=\"Example Policy Rule\",\n network_connection=\"ANYWHERE\",\n policy_id=example_okta_policy_signon[\"id\"],\n status=\"ACTIVE\",\n risc_level=\"HIGH\",\n behaviors=[new_city.id],\n factor_sequences=[\n {\n \"primary_criteria_factor_type\": \"token:hotp\",\n \"primary_criteria_provider\": \"CUSTOM\",\n \"secondary_criterias\": [\n {\n \"factor_type\": \"token:software:totp\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"push\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"password\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"question\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"sms\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"token:software:totp\",\n \"provider\": \"GOOGLE\",\n },\n {\n \"factor_type\": \"email\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"call\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"webauthn\",\n \"provider\": \"FIDO\",\n },\n {\n \"factor_type\": \"token\",\n \"provider\": \"RSA\",\n },\n {\n \"factor_type\": \"token\",\n \"provider\": \"SYMANTEC\",\n },\n ],\n },\n {\n \"primary_criteria_factor_type\": \"token:software:totp\",\n \"primary_criteria_provider\": \"OKTA\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.Policy.Signon(\"test\", new()\n {\n Name = \"Example Policy\",\n Status = \"ACTIVE\",\n Description = \"Example Policy\",\n });\n\n var newCity = Okta.GetBehaviour.Invoke(new()\n {\n Name = \"New City\",\n });\n\n var example = new Okta.Policy.RuleSignon(\"example\", new()\n {\n Access = \"CHALLENGE\",\n Authtype = \"RADIUS\",\n Name = \"Example Policy Rule\",\n NetworkConnection = \"ANYWHERE\",\n PolicyId = exampleOktaPolicySignon.Id,\n Status = \"ACTIVE\",\n RiscLevel = \"HIGH\",\n Behaviors = new[]\n {\n newCity.Apply(getBehaviourResult =\u003e getBehaviourResult.Id),\n },\n FactorSequences = new[]\n {\n new Okta.Policy.Inputs.RuleSignonFactorSequenceArgs\n {\n PrimaryCriteriaFactorType = \"token:hotp\",\n PrimaryCriteriaProvider = \"CUSTOM\",\n SecondaryCriterias = new[]\n {\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token:software:totp\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"push\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"password\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"question\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"sms\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token:software:totp\",\n Provider = \"GOOGLE\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"email\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"call\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"webauthn\",\n Provider = \"FIDO\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token\",\n Provider = \"RSA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token\",\n Provider = \"SYMANTEC\",\n },\n },\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceArgs\n {\n PrimaryCriteriaFactorType = \"token:software:totp\",\n PrimaryCriteriaProvider = \"OKTA\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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 := policy.NewSignon(ctx, \"test\", \u0026policy.SignonArgs{\n\t\t\tName: pulumi.String(\"Example Policy\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDescription: pulumi.String(\"Example Policy\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tnewCity, err := okta.LookupBehaviour(ctx, \u0026okta.LookupBehaviourArgs{\n\t\t\tName: pulumi.StringRef(\"New City\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = policy.NewRuleSignon(ctx, \"example\", \u0026policy.RuleSignonArgs{\n\t\t\tAccess: pulumi.String(\"CHALLENGE\"),\n\t\t\tAuthtype: pulumi.String(\"RADIUS\"),\n\t\t\tName: pulumi.String(\"Example Policy Rule\"),\n\t\t\tNetworkConnection: pulumi.String(\"ANYWHERE\"),\n\t\t\tPolicyId: pulumi.Any(exampleOktaPolicySignon.Id),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tRiscLevel: pulumi.String(\"HIGH\"),\n\t\t\tBehaviors: pulumi.StringArray{\n\t\t\t\tpulumi.String(newCity.Id),\n\t\t\t},\n\t\t\tFactorSequences: policy.RuleSignonFactorSequenceArray{\n\t\t\t\t\u0026policy.RuleSignonFactorSequenceArgs{\n\t\t\t\t\tPrimaryCriteriaFactorType: pulumi.String(\"token:hotp\"),\n\t\t\t\t\tPrimaryCriteriaProvider: pulumi.String(\"CUSTOM\"),\n\t\t\t\t\tSecondaryCriterias: policy.RuleSignonFactorSequenceSecondaryCriteriaArray{\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"push\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"password\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"question\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"sms\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"GOOGLE\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"email\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"call\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"webauthn\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"FIDO\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"RSA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"SYMANTEC\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleSignonFactorSequenceArgs{\n\t\t\t\t\tPrimaryCriteriaFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\tPrimaryCriteriaProvider: pulumi.String(\"OKTA\"),\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.okta.policy.Signon;\nimport com.pulumi.okta.policy.SignonArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetBehaviourArgs;\nimport com.pulumi.okta.policy.RuleSignon;\nimport com.pulumi.okta.policy.RuleSignonArgs;\nimport com.pulumi.okta.policy.inputs.RuleSignonFactorSequenceArgs;\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 test = new Signon(\"test\", SignonArgs.builder()\n .name(\"Example Policy\")\n .status(\"ACTIVE\")\n .description(\"Example Policy\")\n .build());\n\n final var newCity = OktaFunctions.getBehaviour(GetBehaviourArgs.builder()\n .name(\"New City\")\n .build());\n\n var example = new RuleSignon(\"example\", RuleSignonArgs.builder()\n .access(\"CHALLENGE\")\n .authtype(\"RADIUS\")\n .name(\"Example Policy Rule\")\n .networkConnection(\"ANYWHERE\")\n .policyId(exampleOktaPolicySignon.id())\n .status(\"ACTIVE\")\n .riscLevel(\"HIGH\")\n .behaviors(newCity.applyValue(getBehaviourResult -\u003e getBehaviourResult.id()))\n .factorSequences( \n RuleSignonFactorSequenceArgs.builder()\n .primaryCriteriaFactorType(\"token:hotp\")\n .primaryCriteriaProvider(\"CUSTOM\")\n .secondaryCriterias( \n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token:software:totp\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"push\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"password\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"question\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"sms\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token:software:totp\")\n .provider(\"GOOGLE\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"email\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"call\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"webauthn\")\n .provider(\"FIDO\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token\")\n .provider(\"RSA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token\")\n .provider(\"SYMANTEC\")\n .build())\n .build(),\n RuleSignonFactorSequenceArgs.builder()\n .primaryCriteriaFactorType(\"token:software:totp\")\n .primaryCriteriaProvider(\"OKTA\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:policy:Signon\n properties:\n name: Example Policy\n status: ACTIVE\n description: Example Policy\n example:\n type: okta:policy:RuleSignon\n properties:\n access: CHALLENGE\n authtype: RADIUS\n name: Example Policy Rule\n networkConnection: ANYWHERE\n policyId: ${exampleOktaPolicySignon.id}\n status: ACTIVE\n riscLevel: HIGH\n behaviors:\n - ${newCity.id}\n factorSequences:\n - primaryCriteriaFactorType: token:hotp\n primaryCriteriaProvider: CUSTOM\n secondaryCriterias:\n - factorType: token:software:totp\n provider: OKTA\n - factorType: push\n provider: OKTA\n - factorType: password\n provider: OKTA\n - factorType: question\n provider: OKTA\n - factorType: sms\n provider: OKTA\n - factorType: token:software:totp\n provider: GOOGLE\n - factorType: email\n provider: OKTA\n - factorType: call\n provider: OKTA\n - factorType: webauthn\n provider: FIDO\n - factorType: token\n provider: RSA\n - factorType: token\n provider: SYMANTEC\n - primaryCriteriaFactorType: token:software:totp\n primaryCriteriaProvider: OKTA\nvariables:\n newCity:\n fn::invoke:\n Function: okta:getBehaviour\n Arguments:\n name: New City\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleSignon:RuleSignon example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", + "description": "Creates a Sign On Policy Rule. In case `Invalid condition type specified: riskScore.` error is thrown, set `risc_level` to an empty string, since this feature is not enabled.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = new okta.policy.Signon(\"test\", {\n name: \"Example Policy\",\n status: \"ACTIVE\",\n description: \"Example Policy\",\n});\nconst newCity = okta.getBehaviour({\n name: \"New City\",\n});\nconst example = new okta.policy.RuleSignon(\"example\", {\n access: \"CHALLENGE\",\n authtype: \"RADIUS\",\n name: \"Example Policy Rule\",\n networkConnection: \"ANYWHERE\",\n policyId: exampleOktaPolicySignon.id,\n status: \"ACTIVE\",\n riscLevel: \"HIGH\",\n behaviors: [newCity.then(newCity =\u003e newCity.id)],\n factorSequences: [\n {\n primaryCriteriaFactorType: \"token:hotp\",\n primaryCriteriaProvider: \"CUSTOM\",\n secondaryCriterias: [\n {\n factorType: \"token:software:totp\",\n provider: \"OKTA\",\n },\n {\n factorType: \"push\",\n provider: \"OKTA\",\n },\n {\n factorType: \"password\",\n provider: \"OKTA\",\n },\n {\n factorType: \"question\",\n provider: \"OKTA\",\n },\n {\n factorType: \"sms\",\n provider: \"OKTA\",\n },\n {\n factorType: \"token:software:totp\",\n provider: \"GOOGLE\",\n },\n {\n factorType: \"email\",\n provider: \"OKTA\",\n },\n {\n factorType: \"call\",\n provider: \"OKTA\",\n },\n {\n factorType: \"webauthn\",\n provider: \"FIDO\",\n },\n {\n factorType: \"token\",\n provider: \"RSA\",\n },\n {\n factorType: \"token\",\n provider: \"SYMANTEC\",\n },\n ],\n },\n {\n primaryCriteriaFactorType: \"token:software:totp\",\n primaryCriteriaProvider: \"OKTA\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.policy.Signon(\"test\",\n name=\"Example Policy\",\n status=\"ACTIVE\",\n description=\"Example Policy\")\nnew_city = okta.get_behaviour(name=\"New City\")\nexample = okta.policy.RuleSignon(\"example\",\n access=\"CHALLENGE\",\n authtype=\"RADIUS\",\n name=\"Example Policy Rule\",\n network_connection=\"ANYWHERE\",\n policy_id=example_okta_policy_signon[\"id\"],\n status=\"ACTIVE\",\n risc_level=\"HIGH\",\n behaviors=[new_city.id],\n factor_sequences=[\n {\n \"primary_criteria_factor_type\": \"token:hotp\",\n \"primary_criteria_provider\": \"CUSTOM\",\n \"secondary_criterias\": [\n {\n \"factor_type\": \"token:software:totp\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"push\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"password\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"question\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"sms\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"token:software:totp\",\n \"provider\": \"GOOGLE\",\n },\n {\n \"factor_type\": \"email\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"call\",\n \"provider\": \"OKTA\",\n },\n {\n \"factor_type\": \"webauthn\",\n \"provider\": \"FIDO\",\n },\n {\n \"factor_type\": \"token\",\n \"provider\": \"RSA\",\n },\n {\n \"factor_type\": \"token\",\n \"provider\": \"SYMANTEC\",\n },\n ],\n },\n {\n \"primary_criteria_factor_type\": \"token:software:totp\",\n \"primary_criteria_provider\": \"OKTA\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = new Okta.Policy.Signon(\"test\", new()\n {\n Name = \"Example Policy\",\n Status = \"ACTIVE\",\n Description = \"Example Policy\",\n });\n\n var newCity = Okta.GetBehaviour.Invoke(new()\n {\n Name = \"New City\",\n });\n\n var example = new Okta.Policy.RuleSignon(\"example\", new()\n {\n Access = \"CHALLENGE\",\n Authtype = \"RADIUS\",\n Name = \"Example Policy Rule\",\n NetworkConnection = \"ANYWHERE\",\n PolicyId = exampleOktaPolicySignon.Id,\n Status = \"ACTIVE\",\n RiscLevel = \"HIGH\",\n Behaviors = new[]\n {\n newCity.Apply(getBehaviourResult =\u003e getBehaviourResult.Id),\n },\n FactorSequences = new[]\n {\n new Okta.Policy.Inputs.RuleSignonFactorSequenceArgs\n {\n PrimaryCriteriaFactorType = \"token:hotp\",\n PrimaryCriteriaProvider = \"CUSTOM\",\n SecondaryCriterias = new[]\n {\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token:software:totp\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"push\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"password\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"question\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"sms\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token:software:totp\",\n Provider = \"GOOGLE\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"email\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"call\",\n Provider = \"OKTA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"webauthn\",\n Provider = \"FIDO\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token\",\n Provider = \"RSA\",\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceSecondaryCriteriaArgs\n {\n FactorType = \"token\",\n Provider = \"SYMANTEC\",\n },\n },\n },\n new Okta.Policy.Inputs.RuleSignonFactorSequenceArgs\n {\n PrimaryCriteriaFactorType = \"token:software:totp\",\n PrimaryCriteriaProvider = \"OKTA\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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 := policy.NewSignon(ctx, \"test\", \u0026policy.SignonArgs{\n\t\t\tName: pulumi.String(\"Example Policy\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDescription: pulumi.String(\"Example Policy\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tnewCity, err := okta.LookupBehaviour(ctx, \u0026okta.LookupBehaviourArgs{\n\t\t\tName: pulumi.StringRef(\"New City\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = policy.NewRuleSignon(ctx, \"example\", \u0026policy.RuleSignonArgs{\n\t\t\tAccess: pulumi.String(\"CHALLENGE\"),\n\t\t\tAuthtype: pulumi.String(\"RADIUS\"),\n\t\t\tName: pulumi.String(\"Example Policy Rule\"),\n\t\t\tNetworkConnection: pulumi.String(\"ANYWHERE\"),\n\t\t\tPolicyId: pulumi.Any(exampleOktaPolicySignon.Id),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tRiscLevel: pulumi.String(\"HIGH\"),\n\t\t\tBehaviors: pulumi.StringArray{\n\t\t\t\tpulumi.String(newCity.Id),\n\t\t\t},\n\t\t\tFactorSequences: policy.RuleSignonFactorSequenceArray{\n\t\t\t\t\u0026policy.RuleSignonFactorSequenceArgs{\n\t\t\t\t\tPrimaryCriteriaFactorType: pulumi.String(\"token:hotp\"),\n\t\t\t\t\tPrimaryCriteriaProvider: pulumi.String(\"CUSTOM\"),\n\t\t\t\t\tSecondaryCriterias: policy.RuleSignonFactorSequenceSecondaryCriteriaArray{\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"push\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"password\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"question\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"sms\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"GOOGLE\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"email\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"call\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"OKTA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"webauthn\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"FIDO\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"RSA\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\u0026policy.RuleSignonFactorSequenceSecondaryCriteriaArgs{\n\t\t\t\t\t\t\tFactorType: pulumi.String(\"token\"),\n\t\t\t\t\t\t\tProvider: pulumi.String(\"SYMANTEC\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t\t\u0026policy.RuleSignonFactorSequenceArgs{\n\t\t\t\t\tPrimaryCriteriaFactorType: pulumi.String(\"token:software:totp\"),\n\t\t\t\t\tPrimaryCriteriaProvider: pulumi.String(\"OKTA\"),\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.okta.policy.Signon;\nimport com.pulumi.okta.policy.SignonArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetBehaviourArgs;\nimport com.pulumi.okta.policy.RuleSignon;\nimport com.pulumi.okta.policy.RuleSignonArgs;\nimport com.pulumi.okta.policy.inputs.RuleSignonFactorSequenceArgs;\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 test = new Signon(\"test\", SignonArgs.builder()\n .name(\"Example Policy\")\n .status(\"ACTIVE\")\n .description(\"Example Policy\")\n .build());\n\n final var newCity = OktaFunctions.getBehaviour(GetBehaviourArgs.builder()\n .name(\"New City\")\n .build());\n\n var example = new RuleSignon(\"example\", RuleSignonArgs.builder()\n .access(\"CHALLENGE\")\n .authtype(\"RADIUS\")\n .name(\"Example Policy Rule\")\n .networkConnection(\"ANYWHERE\")\n .policyId(exampleOktaPolicySignon.id())\n .status(\"ACTIVE\")\n .riscLevel(\"HIGH\")\n .behaviors(newCity.applyValue(getBehaviourResult -\u003e getBehaviourResult.id()))\n .factorSequences( \n RuleSignonFactorSequenceArgs.builder()\n .primaryCriteriaFactorType(\"token:hotp\")\n .primaryCriteriaProvider(\"CUSTOM\")\n .secondaryCriterias( \n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token:software:totp\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"push\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"password\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"question\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"sms\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token:software:totp\")\n .provider(\"GOOGLE\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"email\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"call\")\n .provider(\"OKTA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"webauthn\")\n .provider(\"FIDO\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token\")\n .provider(\"RSA\")\n .build(),\n RuleSignonFactorSequenceSecondaryCriteriaArgs.builder()\n .factorType(\"token\")\n .provider(\"SYMANTEC\")\n .build())\n .build(),\n RuleSignonFactorSequenceArgs.builder()\n .primaryCriteriaFactorType(\"token:software:totp\")\n .primaryCriteriaProvider(\"OKTA\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:policy:Signon\n properties:\n name: Example Policy\n status: ACTIVE\n description: Example Policy\n example:\n type: okta:policy:RuleSignon\n properties:\n access: CHALLENGE\n authtype: RADIUS\n name: Example Policy Rule\n networkConnection: ANYWHERE\n policyId: ${exampleOktaPolicySignon.id}\n status: ACTIVE\n riscLevel: HIGH\n behaviors:\n - ${newCity.id}\n factorSequences:\n - primaryCriteriaFactorType: token:hotp\n primaryCriteriaProvider: CUSTOM\n secondaryCriterias:\n - factorType: token:software:totp\n provider: OKTA\n - factorType: push\n provider: OKTA\n - factorType: password\n provider: OKTA\n - factorType: question\n provider: OKTA\n - factorType: sms\n provider: OKTA\n - factorType: token:software:totp\n provider: GOOGLE\n - factorType: email\n provider: OKTA\n - factorType: call\n provider: OKTA\n - factorType: webauthn\n provider: FIDO\n - factorType: token\n provider: RSA\n - factorType: token\n provider: SYMANTEC\n - primaryCriteriaFactorType: token:software:totp\n primaryCriteriaProvider: OKTA\nvariables:\n newCity:\n fn::invoke:\n function: okta:getBehaviour\n arguments:\n name: New City\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:policy/ruleSignon:RuleSignon example \u003cpolicy_id\u003e/\u003crule_id\u003e\n```\n\n", "properties": { "access": { "type": "string", @@ -19549,7 +19549,7 @@ } }, "okta:profile/mapping:Mapping": { - "description": "Manages a profile mapping. This resource allows you to manage a profile mapping by source and target IDs. \u003e **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.manage` scope.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst user = okta.user.getUserProfileMappingSource({});\nconst example = new okta.profile.Mapping(\"example\", {\n sourceId: \"\u003csource id\u003e\",\n targetId: user.then(user =\u003e user.id),\n deleteWhenAbsent: true,\n mappings: [\n {\n id: \"firstName\",\n expression: \"appuser.firstName\",\n },\n {\n id: \"lastName\",\n expression: \"appuser.lastName\",\n },\n {\n id: \"email\",\n expression: \"appuser.email\",\n },\n {\n id: \"login\",\n expression: \"appuser.email\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nuser = okta.user.get_user_profile_mapping_source()\nexample = okta.profile.Mapping(\"example\",\n source_id=\"\u003csource id\u003e\",\n target_id=user.id,\n delete_when_absent=True,\n mappings=[\n {\n \"id\": \"firstName\",\n \"expression\": \"appuser.firstName\",\n },\n {\n \"id\": \"lastName\",\n \"expression\": \"appuser.lastName\",\n },\n {\n \"id\": \"email\",\n \"expression\": \"appuser.email\",\n },\n {\n \"id\": \"login\",\n \"expression\": \"appuser.email\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var user = Okta.User.GetUserProfileMappingSource.Invoke();\n\n var example = new Okta.Profile.Mapping(\"example\", new()\n {\n SourceId = \"\u003csource id\u003e\",\n TargetId = user.Apply(getUserProfileMappingSourceResult =\u003e getUserProfileMappingSourceResult.Id),\n DeleteWhenAbsent = true,\n Mappings = new[]\n {\n new Okta.Profile.Inputs.MappingMappingArgs\n {\n Id = \"firstName\",\n Expression = \"appuser.firstName\",\n },\n new Okta.Profile.Inputs.MappingMappingArgs\n {\n Id = \"lastName\",\n Expression = \"appuser.lastName\",\n },\n new Okta.Profile.Inputs.MappingMappingArgs\n {\n Id = \"email\",\n Expression = \"appuser.email\",\n },\n new Okta.Profile.Inputs.MappingMappingArgs\n {\n Id = \"login\",\n Expression = \"appuser.email\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/profile\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tuser, err := user.GetUserProfileMappingSource(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = profile.NewMapping(ctx, \"example\", \u0026profile.MappingArgs{\n\t\t\tSourceId: pulumi.String(\"\u003csource id\u003e\"),\n\t\t\tTargetId: pulumi.String(user.Id),\n\t\t\tDeleteWhenAbsent: pulumi.Bool(true),\n\t\t\tMappings: profile.MappingMappingArray{\n\t\t\t\t\u0026profile.MappingMappingArgs{\n\t\t\t\t\tId: pulumi.String(\"firstName\"),\n\t\t\t\t\tExpression: pulumi.String(\"appuser.firstName\"),\n\t\t\t\t},\n\t\t\t\t\u0026profile.MappingMappingArgs{\n\t\t\t\t\tId: pulumi.String(\"lastName\"),\n\t\t\t\t\tExpression: pulumi.String(\"appuser.lastName\"),\n\t\t\t\t},\n\t\t\t\t\u0026profile.MappingMappingArgs{\n\t\t\t\t\tId: pulumi.String(\"email\"),\n\t\t\t\t\tExpression: pulumi.String(\"appuser.email\"),\n\t\t\t\t},\n\t\t\t\t\u0026profile.MappingMappingArgs{\n\t\t\t\t\tId: pulumi.String(\"login\"),\n\t\t\t\t\tExpression: pulumi.String(\"appuser.email\"),\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.okta.user.UserFunctions;\nimport com.pulumi.okta.profile.Mapping;\nimport com.pulumi.okta.profile.MappingArgs;\nimport com.pulumi.okta.profile.inputs.MappingMappingArgs;\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 user = UserFunctions.getUserProfileMappingSource();\n\n var example = new Mapping(\"example\", MappingArgs.builder()\n .sourceId(\"\u003csource id\u003e\")\n .targetId(user.applyValue(getUserProfileMappingSourceResult -\u003e getUserProfileMappingSourceResult.id()))\n .deleteWhenAbsent(true)\n .mappings( \n MappingMappingArgs.builder()\n .id(\"firstName\")\n .expression(\"appuser.firstName\")\n .build(),\n MappingMappingArgs.builder()\n .id(\"lastName\")\n .expression(\"appuser.lastName\")\n .build(),\n MappingMappingArgs.builder()\n .id(\"email\")\n .expression(\"appuser.email\")\n .build(),\n MappingMappingArgs.builder()\n .id(\"login\")\n .expression(\"appuser.email\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:profile:Mapping\n properties:\n sourceId: \u003csource id\u003e\n targetId: ${user.id}\n deleteWhenAbsent: true\n mappings:\n - id: firstName\n expression: appuser.firstName\n - id: lastName\n expression: appuser.lastName\n - id: email\n expression: appuser.email\n - id: login\n expression: appuser.email\nvariables:\n user:\n fn::invoke:\n Function: okta:user:getUserProfileMappingSource\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Manages a profile mapping. This resource allows you to manage a profile mapping by source and target IDs. \u003e **NOTE:** If using this resource with OAuth2 scopes, this resource requires `okta.profileMappings.manage` scope.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst user = okta.user.getUserProfileMappingSource({});\nconst example = new okta.profile.Mapping(\"example\", {\n sourceId: \"\u003csource id\u003e\",\n targetId: user.then(user =\u003e user.id),\n deleteWhenAbsent: true,\n mappings: [\n {\n id: \"firstName\",\n expression: \"appuser.firstName\",\n },\n {\n id: \"lastName\",\n expression: \"appuser.lastName\",\n },\n {\n id: \"email\",\n expression: \"appuser.email\",\n },\n {\n id: \"login\",\n expression: \"appuser.email\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nuser = okta.user.get_user_profile_mapping_source()\nexample = okta.profile.Mapping(\"example\",\n source_id=\"\u003csource id\u003e\",\n target_id=user.id,\n delete_when_absent=True,\n mappings=[\n {\n \"id\": \"firstName\",\n \"expression\": \"appuser.firstName\",\n },\n {\n \"id\": \"lastName\",\n \"expression\": \"appuser.lastName\",\n },\n {\n \"id\": \"email\",\n \"expression\": \"appuser.email\",\n },\n {\n \"id\": \"login\",\n \"expression\": \"appuser.email\",\n },\n ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var user = Okta.User.GetUserProfileMappingSource.Invoke();\n\n var example = new Okta.Profile.Mapping(\"example\", new()\n {\n SourceId = \"\u003csource id\u003e\",\n TargetId = user.Apply(getUserProfileMappingSourceResult =\u003e getUserProfileMappingSourceResult.Id),\n DeleteWhenAbsent = true,\n Mappings = new[]\n {\n new Okta.Profile.Inputs.MappingMappingArgs\n {\n Id = \"firstName\",\n Expression = \"appuser.firstName\",\n },\n new Okta.Profile.Inputs.MappingMappingArgs\n {\n Id = \"lastName\",\n Expression = \"appuser.lastName\",\n },\n new Okta.Profile.Inputs.MappingMappingArgs\n {\n Id = \"email\",\n Expression = \"appuser.email\",\n },\n new Okta.Profile.Inputs.MappingMappingArgs\n {\n Id = \"login\",\n Expression = \"appuser.email\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/profile\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tuser, err := user.GetUserProfileMappingSource(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = profile.NewMapping(ctx, \"example\", \u0026profile.MappingArgs{\n\t\t\tSourceId: pulumi.String(\"\u003csource id\u003e\"),\n\t\t\tTargetId: pulumi.String(user.Id),\n\t\t\tDeleteWhenAbsent: pulumi.Bool(true),\n\t\t\tMappings: profile.MappingMappingArray{\n\t\t\t\t\u0026profile.MappingMappingArgs{\n\t\t\t\t\tId: pulumi.String(\"firstName\"),\n\t\t\t\t\tExpression: pulumi.String(\"appuser.firstName\"),\n\t\t\t\t},\n\t\t\t\t\u0026profile.MappingMappingArgs{\n\t\t\t\t\tId: pulumi.String(\"lastName\"),\n\t\t\t\t\tExpression: pulumi.String(\"appuser.lastName\"),\n\t\t\t\t},\n\t\t\t\t\u0026profile.MappingMappingArgs{\n\t\t\t\t\tId: pulumi.String(\"email\"),\n\t\t\t\t\tExpression: pulumi.String(\"appuser.email\"),\n\t\t\t\t},\n\t\t\t\t\u0026profile.MappingMappingArgs{\n\t\t\t\t\tId: pulumi.String(\"login\"),\n\t\t\t\t\tExpression: pulumi.String(\"appuser.email\"),\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.okta.user.UserFunctions;\nimport com.pulumi.okta.profile.Mapping;\nimport com.pulumi.okta.profile.MappingArgs;\nimport com.pulumi.okta.profile.inputs.MappingMappingArgs;\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 user = UserFunctions.getUserProfileMappingSource();\n\n var example = new Mapping(\"example\", MappingArgs.builder()\n .sourceId(\"\u003csource id\u003e\")\n .targetId(user.applyValue(getUserProfileMappingSourceResult -\u003e getUserProfileMappingSourceResult.id()))\n .deleteWhenAbsent(true)\n .mappings( \n MappingMappingArgs.builder()\n .id(\"firstName\")\n .expression(\"appuser.firstName\")\n .build(),\n MappingMappingArgs.builder()\n .id(\"lastName\")\n .expression(\"appuser.lastName\")\n .build(),\n MappingMappingArgs.builder()\n .id(\"email\")\n .expression(\"appuser.email\")\n .build(),\n MappingMappingArgs.builder()\n .id(\"login\")\n .expression(\"appuser.email\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:profile:Mapping\n properties:\n sourceId: \u003csource id\u003e\n targetId: ${user.id}\n deleteWhenAbsent: true\n mappings:\n - id: firstName\n expression: appuser.firstName\n - id: lastName\n expression: appuser.lastName\n - id: email\n expression: appuser.email\n - id: login\n expression: appuser.email\nvariables:\n user:\n fn::invoke:\n function: okta:user:getUserProfileMappingSource\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "alwaysApply": { "type": "boolean", @@ -20383,7 +20383,7 @@ }, "functions": { "okta:app/getApp:getApp": { - "description": "Get an application of any kind from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.app.getApp({\n label: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.get_app(label=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.App.GetApp.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\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 := app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\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.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:app:getApp\n Arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get an application of any kind from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.app.getApp({\n label: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.get_app(label=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.App.GetApp.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\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 := app.GetApp(ctx, \u0026app.GetAppArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\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.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetAppArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppFunctions.getApp(GetAppArgs.builder()\n .label(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:app:getApp\n arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getApp.\n", "properties": { @@ -20485,7 +20485,7 @@ } }, "okta:app/getMetadataSaml:getMetadataSaml": { - "description": "Get a SAML application's metadata from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.app.getMetadataSaml({\n appId: \"\u003capp id\u003e\",\n keyId: \"\u003ccert key id\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.get_metadata_saml(app_id=\"\u003capp id\u003e\",\n key_id=\"\u003ccert key id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.App.GetMetadataSaml.Invoke(new()\n {\n AppId = \"\u003capp id\u003e\",\n KeyId = \"\u003ccert key id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\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 := app.GetMetadataSaml(ctx, \u0026app.GetMetadataSamlArgs{\n\t\t\tAppId: \"\u003capp id\u003e\",\n\t\t\tKeyId: pulumi.StringRef(\"\u003ccert key id\u003e\"),\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.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetMetadataSamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppFunctions.getMetadataSaml(GetMetadataSamlArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .keyId(\"\u003ccert key id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:app:getMetadataSaml\n Arguments:\n appId: \u003capp id\u003e\n keyId: \u003ccert key id\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a SAML application's metadata from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.app.getMetadataSaml({\n appId: \"\u003capp id\u003e\",\n keyId: \"\u003ccert key id\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.get_metadata_saml(app_id=\"\u003capp id\u003e\",\n key_id=\"\u003ccert key id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.App.GetMetadataSaml.Invoke(new()\n {\n AppId = \"\u003capp id\u003e\",\n KeyId = \"\u003ccert key id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\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 := app.GetMetadataSaml(ctx, \u0026app.GetMetadataSamlArgs{\n\t\t\tAppId: \"\u003capp id\u003e\",\n\t\t\tKeyId: pulumi.StringRef(\"\u003ccert key id\u003e\"),\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.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetMetadataSamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppFunctions.getMetadataSaml(GetMetadataSamlArgs.builder()\n .appId(\"\u003capp id\u003e\")\n .keyId(\"\u003ccert key id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:app:getMetadataSaml\n arguments:\n appId: \u003capp id\u003e\n keyId: \u003ccert key id\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getMetadataSaml.\n", "properties": { @@ -20557,7 +20557,7 @@ } }, "okta:app/getOauth:getOauth": { - "description": "Get a OIDC application from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.app.getOauth({\n label: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.app.get_oauth(label=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.App.GetOauth.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\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 := app.GetOauth(ctx, \u0026app.GetOauthArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\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.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetOauthArgs;\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 test = AppFunctions.getOauth(GetOauthArgs.builder()\n .label(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: okta:app:getOauth\n Arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a OIDC application from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.app.getOauth({\n label: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.app.get_oauth(label=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.App.GetOauth.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\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 := app.GetOauth(ctx, \u0026app.GetOauthArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\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.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetOauthArgs;\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 test = AppFunctions.getOauth(GetOauthArgs.builder()\n .label(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:app:getOauth\n arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getOauth.\n", "properties": { @@ -20742,7 +20742,7 @@ } }, "okta:app/getSaml:getSaml": { - "description": "Get a SAML application from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.app.getSaml({\n label: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.get_saml(label=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.App.GetSaml.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\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 := app.LookupSaml(ctx, \u0026app.LookupSamlArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\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.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetSamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppFunctions.getSaml(GetSamlArgs.builder()\n .label(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:app:getSaml\n Arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a SAML application from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.app.getSaml({\n label: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.get_saml(label=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.App.GetSaml.Invoke(new()\n {\n Label = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/app\"\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 := app.LookupSaml(ctx, \u0026app.LookupSamlArgs{\n\t\t\tLabel: pulumi.StringRef(\"Example App\"),\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.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetSamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AppFunctions.getSaml(GetSamlArgs.builder()\n .label(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:app:getSaml\n arguments:\n label: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSaml.\n", "properties": { @@ -21035,7 +21035,7 @@ } }, "okta:auth/getServer:getServer": { - "description": "Get an auth server from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.auth.getServer({\n name: \"Example Auth\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.get_server(name=\"Example Auth\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Auth.GetServer.Invoke(new()\n {\n Name = \"Example Auth\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\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 := auth.LookupServer(ctx, \u0026auth.LookupServerArgs{\n\t\t\tName: \"Example Auth\",\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.okta.auth.AuthFunctions;\nimport com.pulumi.okta.auth.inputs.GetServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AuthFunctions.getServer(GetServerArgs.builder()\n .name(\"Example Auth\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:auth:getServer\n Arguments:\n name: Example Auth\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get an auth server from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.auth.getServer({\n name: \"Example Auth\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.get_server(name=\"Example Auth\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Auth.GetServer.Invoke(new()\n {\n Name = \"Example Auth\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\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 := auth.LookupServer(ctx, \u0026auth.LookupServerArgs{\n\t\t\tName: \"Example Auth\",\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.okta.auth.AuthFunctions;\nimport com.pulumi.okta.auth.inputs.GetServerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AuthFunctions.getServer(GetServerArgs.builder()\n .name(\"Example Auth\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:auth:getServer\n arguments:\n name: Example Auth\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getServer.\n", "properties": { @@ -21117,7 +21117,7 @@ } }, "okta:auth/getServerPolicy:getServerPolicy": { - "description": "Get an authorization server policy from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.auth.getServerPolicy({\n authServerId: \"\u003cauth server id\u003e\",\n name: \"staff\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.get_server_policy(auth_server_id=\"\u003cauth server id\u003e\",\n name=\"staff\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Auth.GetServerPolicy.Invoke(new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n Name = \"staff\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\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 := auth.LookupServerPolicy(ctx, \u0026auth.LookupServerPolicyArgs{\n\t\t\tAuthServerId: \"\u003cauth server id\u003e\",\n\t\t\tName: \"staff\",\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.okta.auth.AuthFunctions;\nimport com.pulumi.okta.auth.inputs.GetServerPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AuthFunctions.getServerPolicy(GetServerPolicyArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .name(\"staff\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:auth:getServerPolicy\n Arguments:\n authServerId: \u003cauth server id\u003e\n name: staff\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get an authorization server policy from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.auth.getServerPolicy({\n authServerId: \"\u003cauth server id\u003e\",\n name: \"staff\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.auth.get_server_policy(auth_server_id=\"\u003cauth server id\u003e\",\n name=\"staff\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Auth.GetServerPolicy.Invoke(new()\n {\n AuthServerId = \"\u003cauth server id\u003e\",\n Name = \"staff\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\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 := auth.LookupServerPolicy(ctx, \u0026auth.LookupServerPolicyArgs{\n\t\t\tAuthServerId: \"\u003cauth server id\u003e\",\n\t\t\tName: \"staff\",\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.okta.auth.AuthFunctions;\nimport com.pulumi.okta.auth.inputs.GetServerPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = AuthFunctions.getServerPolicy(GetServerPolicyArgs.builder()\n .authServerId(\"\u003cauth server id\u003e\")\n .name(\"staff\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:auth:getServerPolicy\n arguments:\n authServerId: \u003cauth server id\u003e\n name: staff\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getServerPolicy.\n", "properties": { @@ -21179,7 +21179,7 @@ } }, "okta:auth/getServerScopes:getServerScopes": { - "description": "Get a list of authorization server scopes from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.auth.getServerScopes({\n authServerId: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.auth.get_server_scopes(auth_server_id=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.Auth.GetServerScopes.Invoke(new()\n {\n AuthServerId = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\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 := auth.GetServerScopes(ctx, \u0026auth.GetServerScopesArgs{\n\t\t\tAuthServerId: \"default\",\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.okta.auth.AuthFunctions;\nimport com.pulumi.okta.auth.inputs.GetServerScopesArgs;\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 test = AuthFunctions.getServerScopes(GetServerScopesArgs.builder()\n .authServerId(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: okta:auth:getServerScopes\n Arguments:\n authServerId: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a list of authorization server scopes from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.auth.getServerScopes({\n authServerId: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.auth.get_server_scopes(auth_server_id=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.Auth.GetServerScopes.Invoke(new()\n {\n AuthServerId = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/auth\"\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 := auth.GetServerScopes(ctx, \u0026auth.GetServerScopesArgs{\n\t\t\tAuthServerId: \"default\",\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.okta.auth.AuthFunctions;\nimport com.pulumi.okta.auth.inputs.GetServerScopesArgs;\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 test = AuthFunctions.getServerScopes(GetServerScopesArgs.builder()\n .authServerId(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:auth:getServerScopes\n arguments:\n authServerId: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getServerScopes.\n", "properties": { @@ -21221,7 +21221,7 @@ } }, "okta:group/getEveryoneGroup:getEveryoneGroup": { - "description": "Use this data source to retrieve the `Everyone` group from Okta. The \nsame can be achieved with the `okta.group.Group` data\nsource with `name = \"Everyone\"`. This is simply a shortcut.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.group.getEveryoneGroup({});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.group.get_everyone_group()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Group.GetEveryoneGroup.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\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 := group.GetEveryoneGroup(ctx, \u0026group.GetEveryoneGroupArgs{}, 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.okta.group.GroupFunctions;\nimport com.pulumi.okta.group.inputs.GetEveryoneGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = GroupFunctions.getEveryoneGroup();\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:group:getEveryoneGroup\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve the `Everyone` group from Okta. The \nsame can be achieved with the `okta.group.Group` data\nsource with `name = \"Everyone\"`. This is simply a shortcut.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.group.getEveryoneGroup({});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.group.get_everyone_group()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Group.GetEveryoneGroup.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\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 := group.GetEveryoneGroup(ctx, \u0026group.GetEveryoneGroupArgs{}, 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.okta.group.GroupFunctions;\nimport com.pulumi.okta.group.inputs.GetEveryoneGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = GroupFunctions.getEveryoneGroup();\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:group:getEveryoneGroup\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getEveryoneGroup.\n", "properties": { @@ -21256,7 +21256,7 @@ } }, "okta:group/getGroup:getGroup": { - "description": "Get a group from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.group.getGroup({\n name: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.group.get_group(name=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Group.GetGroup.Invoke(new()\n {\n Name = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\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 := group.LookupGroup(ctx, \u0026group.LookupGroupArgs{\n\t\t\tName: pulumi.StringRef(\"Example App\"),\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.okta.group.GroupFunctions;\nimport com.pulumi.okta.group.inputs.GetGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = GroupFunctions.getGroup(GetGroupArgs.builder()\n .name(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:group:getGroup\n Arguments:\n name: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a group from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.group.getGroup({\n name: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.group.get_group(name=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Group.GetGroup.Invoke(new()\n {\n Name = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\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 := group.LookupGroup(ctx, \u0026group.LookupGroupArgs{\n\t\t\tName: pulumi.StringRef(\"Example App\"),\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.okta.group.GroupFunctions;\nimport com.pulumi.okta.group.inputs.GetGroupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = GroupFunctions.getGroup(GetGroupArgs.builder()\n .name(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:group:getGroup\n arguments:\n name: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getGroup.\n", "properties": { @@ -21326,7 +21326,7 @@ } }, "okta:group/getRule:getRule": { - "description": "Get a group rule from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.group.getRule({\n id: example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.group.get_rule(id=example[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.Group.GetRule.Invoke(new()\n {\n Id = example.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\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 := group.LookupRule(ctx, \u0026group.LookupRuleArgs{\n\t\t\tId: pulumi.StringRef(example.Id),\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.okta.group.GroupFunctions;\nimport com.pulumi.okta.group.inputs.GetRuleArgs;\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 test = GroupFunctions.getRule(GetRuleArgs.builder()\n .id(example.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: okta:group:getRule\n Arguments:\n id: ${example.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a group rule from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.group.getRule({\n id: example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.group.get_rule(id=example[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.Group.GetRule.Invoke(new()\n {\n Id = example.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/group\"\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 := group.LookupRule(ctx, \u0026group.LookupRuleArgs{\n\t\t\tId: pulumi.StringRef(example.Id),\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.okta.group.GroupFunctions;\nimport com.pulumi.okta.group.inputs.GetRuleArgs;\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 test = GroupFunctions.getRule(GetRuleArgs.builder()\n .id(example.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:group:getRule\n arguments:\n id: ${example.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRule.\n", "properties": { @@ -21393,7 +21393,7 @@ } }, "okta:idp/getMetadataSaml:getMetadataSaml": { - "description": "Get SAML IdP metadata from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.idp.getMetadataSaml({\n idpId: \"\u003cidp id\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.get_metadata_saml(idp_id=\"\u003cidp id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Idp.GetMetadataSaml.Invoke(new()\n {\n IdpId = \"\u003cidp id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\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 := idp.GetMetadataSaml(ctx, \u0026idp.GetMetadataSamlArgs{\n\t\t\tIdpId: pulumi.StringRef(\"\u003cidp id\u003e\"),\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.okta.idp.IdpFunctions;\nimport com.pulumi.okta.idp.inputs.GetMetadataSamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IdpFunctions.getMetadataSaml(GetMetadataSamlArgs.builder()\n .idpId(\"\u003cidp id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:idp:getMetadataSaml\n Arguments:\n idpId: \u003cidp id\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get SAML IdP metadata from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.idp.getMetadataSaml({\n idpId: \"\u003cidp id\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.get_metadata_saml(idp_id=\"\u003cidp id\u003e\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Idp.GetMetadataSaml.Invoke(new()\n {\n IdpId = \"\u003cidp id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\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 := idp.GetMetadataSaml(ctx, \u0026idp.GetMetadataSamlArgs{\n\t\t\tIdpId: pulumi.StringRef(\"\u003cidp id\u003e\"),\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.okta.idp.IdpFunctions;\nimport com.pulumi.okta.idp.inputs.GetMetadataSamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IdpFunctions.getMetadataSaml(GetMetadataSamlArgs.builder()\n .idpId(\"\u003cidp id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:idp:getMetadataSaml\n arguments:\n idpId: \u003cidp id\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getMetadataSaml.\n", "properties": { @@ -21463,7 +21463,7 @@ } }, "okta:idp/getOidc:getOidc": { - "description": "Get a OIDC IdP from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.idp.getOidc({\n name: \"Example Provider\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.get_oidc(name=\"Example Provider\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Idp.GetOidc.Invoke(new()\n {\n Name = \"Example Provider\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\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 := idp.LookupOidc(ctx, \u0026idp.LookupOidcArgs{\n\t\t\tName: pulumi.StringRef(\"Example Provider\"),\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.okta.idp.IdpFunctions;\nimport com.pulumi.okta.idp.inputs.GetOidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IdpFunctions.getOidc(GetOidcArgs.builder()\n .name(\"Example Provider\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:idp:getOidc\n Arguments:\n name: Example Provider\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a OIDC IdP from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.idp.getOidc({\n name: \"Example Provider\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.get_oidc(name=\"Example Provider\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Idp.GetOidc.Invoke(new()\n {\n Name = \"Example Provider\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\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 := idp.LookupOidc(ctx, \u0026idp.LookupOidcArgs{\n\t\t\tName: pulumi.StringRef(\"Example Provider\"),\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.okta.idp.IdpFunctions;\nimport com.pulumi.okta.idp.inputs.GetOidcArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IdpFunctions.getOidc(GetOidcArgs.builder()\n .name(\"Example Provider\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:idp:getOidc\n arguments:\n name: Example Provider\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getOidc.\n", "properties": { @@ -21580,7 +21580,7 @@ } }, "okta:idp/getSaml:getSaml": { - "description": "Get a SAML IdP from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.idp.getSaml({\n name: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.get_saml(name=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Idp.GetSaml.Invoke(new()\n {\n Name = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\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 := idp.LookupSaml(ctx, \u0026idp.LookupSamlArgs{\n\t\t\tName: pulumi.StringRef(\"Example App\"),\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.okta.idp.IdpFunctions;\nimport com.pulumi.okta.idp.inputs.GetSamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IdpFunctions.getSaml(GetSamlArgs.builder()\n .name(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:idp:getSaml\n Arguments:\n name: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a SAML IdP from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.idp.getSaml({\n name: \"Example App\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.get_saml(name=\"Example App\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Idp.GetSaml.Invoke(new()\n {\n Name = \"Example App\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\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 := idp.LookupSaml(ctx, \u0026idp.LookupSamlArgs{\n\t\t\tName: pulumi.StringRef(\"Example App\"),\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.okta.idp.IdpFunctions;\nimport com.pulumi.okta.idp.inputs.GetSamlArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IdpFunctions.getSaml(GetSamlArgs.builder()\n .name(\"Example App\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:idp:getSaml\n arguments:\n name: Example App\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSaml.\n", "properties": { @@ -21676,7 +21676,7 @@ } }, "okta:idp/getSocial:getSocial": { - "description": "Get a social IdP from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.idp.getSocial({\n name: \"My Facebook IdP\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.get_social(name=\"My Facebook IdP\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Idp.GetSocial.Invoke(new()\n {\n Name = \"My Facebook IdP\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\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 := idp.LookupSocial(ctx, \u0026idp.LookupSocialArgs{\n\t\t\tName: pulumi.StringRef(\"My Facebook IdP\"),\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.okta.idp.IdpFunctions;\nimport com.pulumi.okta.idp.inputs.GetSocialArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IdpFunctions.getSocial(GetSocialArgs.builder()\n .name(\"My Facebook IdP\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:idp:getSocial\n Arguments:\n name: My Facebook IdP\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a social IdP from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.idp.getSocial({\n name: \"My Facebook IdP\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.idp.get_social(name=\"My Facebook IdP\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Idp.GetSocial.Invoke(new()\n {\n Name = \"My Facebook IdP\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp\"\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 := idp.LookupSocial(ctx, \u0026idp.LookupSocialArgs{\n\t\t\tName: pulumi.StringRef(\"My Facebook IdP\"),\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.okta.idp.IdpFunctions;\nimport com.pulumi.okta.idp.inputs.GetSocialArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = IdpFunctions.getSocial(GetSocialArgs.builder()\n .name(\"My Facebook IdP\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:idp:getSocial\n arguments:\n name: My Facebook IdP\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSocial.\n", "properties": { @@ -21847,7 +21847,7 @@ } }, "okta:index/getAppGroupAssignments:getAppGroupAssignments": { - "description": "Get a set of groups assigned to an Okta application.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAppGroupAssignments({\n id: testOktaAppOauth.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_app_group_assignments(id=test_okta_app_oauth[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAppGroupAssignments.Invoke(new()\n {\n Id = testOktaAppOauth.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.LookupAppGroupAssignments(ctx, \u0026okta.LookupAppGroupAssignmentsArgs{\n\t\t\tId: testOktaAppOauth.Id,\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAppGroupAssignmentsArgs;\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 test = OktaFunctions.getAppGroupAssignments(GetAppGroupAssignmentsArgs.builder()\n .id(testOktaAppOauth.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: okta:getAppGroupAssignments\n Arguments:\n id: ${testOktaAppOauth.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a set of groups assigned to an Okta application.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAppGroupAssignments({\n id: testOktaAppOauth.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_app_group_assignments(id=test_okta_app_oauth[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAppGroupAssignments.Invoke(new()\n {\n Id = testOktaAppOauth.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.LookupAppGroupAssignments(ctx, \u0026okta.LookupAppGroupAssignmentsArgs{\n\t\t\tId: testOktaAppOauth.Id,\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAppGroupAssignmentsArgs;\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 test = OktaFunctions.getAppGroupAssignments(GetAppGroupAssignmentsArgs.builder()\n .id(testOktaAppOauth.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:getAppGroupAssignments\n arguments:\n id: ${testOktaAppOauth.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAppGroupAssignments.\n", "properties": { @@ -21885,7 +21885,7 @@ } }, "okta:index/getAppSignonPolicy:getAppSignonPolicy": { - "description": "Get a sign-on policy for the application.\n\n\u003e **WARNING:** This feature is only available as a part of the \nIdentity Engine. Contact support \nfor further information.\n\n\u003e Inside the product a sign-on policy is referenced as an _authentication\npolicy_, in the public API the policy is of type\n[`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getAppSignonPolicy({\n appId: \"app_id\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_app_signon_policy(app_id=\"app_id\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetAppSignonPolicy.Invoke(new()\n {\n AppId = \"app_id\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.LookupAppSignonPolicy(ctx, \u0026okta.LookupAppSignonPolicyArgs{\n\t\t\tAppId: \"app_id\",\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAppSignonPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getAppSignonPolicy(GetAppSignonPolicyArgs.builder()\n .appId(\"app_id\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:getAppSignonPolicy\n Arguments:\n appId: app_id\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a sign-on policy for the application.\n\n\u003e **WARNING:** This feature is only available as a part of the \nIdentity Engine. Contact support \nfor further information.\n\n\u003e Inside the product a sign-on policy is referenced as an _authentication\npolicy_, in the public API the policy is of type\n[`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object).\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getAppSignonPolicy({\n appId: \"app_id\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_app_signon_policy(app_id=\"app_id\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetAppSignonPolicy.Invoke(new()\n {\n AppId = \"app_id\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.LookupAppSignonPolicy(ctx, \u0026okta.LookupAppSignonPolicyArgs{\n\t\t\tAppId: \"app_id\",\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAppSignonPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getAppSignonPolicy(GetAppSignonPolicyArgs.builder()\n .appId(\"app_id\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getAppSignonPolicy\n arguments:\n appId: app_id\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAppSignonPolicy.\n", "properties": { @@ -21924,7 +21924,7 @@ } }, "okta:index/getAppUserAssignments:getAppUserAssignments": { - "description": "Get a set of users assigned to an Okta application.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAppUserAssignments({\n id: testOktaAppOauth.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_app_user_assignments(id=test_okta_app_oauth[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAppUserAssignments.Invoke(new()\n {\n Id = testOktaAppOauth.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetAppUserAssignments(ctx, \u0026okta.GetAppUserAssignmentsArgs{\n\t\t\tId: testOktaAppOauth.Id,\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAppUserAssignmentsArgs;\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 test = OktaFunctions.getAppUserAssignments(GetAppUserAssignmentsArgs.builder()\n .id(testOktaAppOauth.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: okta:getAppUserAssignments\n Arguments:\n id: ${testOktaAppOauth.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a set of users assigned to an Okta application.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAppUserAssignments({\n id: testOktaAppOauth.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_app_user_assignments(id=test_okta_app_oauth[\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAppUserAssignments.Invoke(new()\n {\n Id = testOktaAppOauth.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetAppUserAssignments(ctx, \u0026okta.GetAppUserAssignmentsArgs{\n\t\t\tId: testOktaAppOauth.Id,\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAppUserAssignmentsArgs;\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 test = OktaFunctions.getAppUserAssignments(GetAppUserAssignmentsArgs.builder()\n .id(testOktaAppOauth.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:getAppUserAssignments\n arguments:\n id: ${testOktaAppOauth.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAppUserAssignments.\n", "properties": { @@ -22031,7 +22031,7 @@ } }, "okta:index/getAuthServerClaim:getAuthServerClaim": { - "description": "Get authorization server claim from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAuthServerClaim({\n authServerId: \"default\",\n name: \"birthdate\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_auth_server_claim(auth_server_id=\"default\",\n name=\"birthdate\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAuthServerClaim.Invoke(new()\n {\n AuthServerId = \"default\",\n Name = \"birthdate\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetAuthServerClaim(ctx, \u0026okta.GetAuthServerClaimArgs{\n\t\t\tAuthServerId: \"default\",\n\t\t\tName: pulumi.StringRef(\"birthdate\"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAuthServerClaimArgs;\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 test = OktaFunctions.getAuthServerClaim(GetAuthServerClaimArgs.builder()\n .authServerId(\"default\")\n .name(\"birthdate\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: okta:getAuthServerClaim\n Arguments:\n authServerId: default\n name: birthdate\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get authorization server claim from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAuthServerClaim({\n authServerId: \"default\",\n name: \"birthdate\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_auth_server_claim(auth_server_id=\"default\",\n name=\"birthdate\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAuthServerClaim.Invoke(new()\n {\n AuthServerId = \"default\",\n Name = \"birthdate\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetAuthServerClaim(ctx, \u0026okta.GetAuthServerClaimArgs{\n\t\t\tAuthServerId: \"default\",\n\t\t\tName: pulumi.StringRef(\"birthdate\"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAuthServerClaimArgs;\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 test = OktaFunctions.getAuthServerClaim(GetAuthServerClaimArgs.builder()\n .authServerId(\"default\")\n .name(\"birthdate\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:getAuthServerClaim\n arguments:\n authServerId: default\n name: birthdate\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAuthServerClaim.\n", "properties": { @@ -22109,7 +22109,7 @@ } }, "okta:index/getAuthServerClaims:getAuthServerClaims": { - "description": "Get a list of authorization server claims from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAuthServerClaims({\n authServerId: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_auth_server_claims(auth_server_id=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAuthServerClaims.Invoke(new()\n {\n AuthServerId = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetAuthServerClaims(ctx, \u0026okta.GetAuthServerClaimsArgs{\n\t\t\tAuthServerId: \"default\",\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAuthServerClaimsArgs;\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 test = OktaFunctions.getAuthServerClaims(GetAuthServerClaimsArgs.builder()\n .authServerId(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: okta:getAuthServerClaims\n Arguments:\n authServerId: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a list of authorization server claims from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAuthServerClaims({\n authServerId: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_auth_server_claims(auth_server_id=\"default\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAuthServerClaims.Invoke(new()\n {\n AuthServerId = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetAuthServerClaims(ctx, \u0026okta.GetAuthServerClaimsArgs{\n\t\t\tAuthServerId: \"default\",\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAuthServerClaimsArgs;\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 test = OktaFunctions.getAuthServerClaims(GetAuthServerClaimsArgs.builder()\n .authServerId(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:getAuthServerClaims\n arguments:\n authServerId: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAuthServerClaims.\n", "properties": { @@ -22151,7 +22151,7 @@ } }, "okta:index/getAuthenticator:getAuthenticator": { - "description": "Get an authenticator by key, name of ID.\n\n\u003e **WARNING:** This feature is only available as a part of the \nIdentity Engine. Contact support \nfor further information.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAuthenticator({\n key: \"security_question\",\n});\nconst test1 = okta.getAuthenticator({\n name: \"Okta Verify\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_authenticator(key=\"security_question\")\ntest1 = okta.get_authenticator(name=\"Okta Verify\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAuthenticator.Invoke(new()\n {\n Key = \"security_question\",\n });\n\n var test1 = Okta.GetAuthenticator.Invoke(new()\n {\n Name = \"Okta Verify\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.LookupAuthenticator(ctx, \u0026okta.LookupAuthenticatorArgs{\n\t\t\tKey: pulumi.StringRef(\"security_question\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.LookupAuthenticator(ctx, \u0026okta.LookupAuthenticatorArgs{\n\t\t\tName: pulumi.StringRef(\"Okta Verify\"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAuthenticatorArgs;\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 test = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()\n .key(\"security_question\")\n .build());\n\n final var test1 = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()\n .name(\"Okta Verify\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: okta:getAuthenticator\n Arguments:\n key: security_question\n test1:\n fn::invoke:\n Function: okta:getAuthenticator\n Arguments:\n name: Okta Verify\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get an authenticator by key, name of ID.\n\n\u003e **WARNING:** This feature is only available as a part of the \nIdentity Engine. Contact support \nfor further information.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getAuthenticator({\n key: \"security_question\",\n});\nconst test1 = okta.getAuthenticator({\n name: \"Okta Verify\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_authenticator(key=\"security_question\")\ntest1 = okta.get_authenticator(name=\"Okta Verify\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetAuthenticator.Invoke(new()\n {\n Key = \"security_question\",\n });\n\n var test1 = Okta.GetAuthenticator.Invoke(new()\n {\n Name = \"Okta Verify\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.LookupAuthenticator(ctx, \u0026okta.LookupAuthenticatorArgs{\n\t\t\tKey: pulumi.StringRef(\"security_question\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.LookupAuthenticator(ctx, \u0026okta.LookupAuthenticatorArgs{\n\t\t\tName: pulumi.StringRef(\"Okta Verify\"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetAuthenticatorArgs;\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 test = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()\n .key(\"security_question\")\n .build());\n\n final var test1 = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()\n .name(\"Okta Verify\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:getAuthenticator\n arguments:\n key: security_question\n test1:\n fn::invoke:\n function: okta:getAuthenticator\n arguments:\n name: Okta Verify\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAuthenticator.\n", "properties": { @@ -22237,7 +22237,7 @@ } }, "okta:index/getBehaviour:getBehaviour": { - "description": "Get a behavior by name or ID.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetBehaviourArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getBehaviour(GetBehaviourArgs.builder()\n .label(\"New City\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:getBehaviour\n Arguments:\n label: New City\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a behavior by name or ID.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetBehaviourArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getBehaviour(GetBehaviourArgs.builder()\n .label(\"New City\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getBehaviour\n arguments:\n label: New City\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getBehaviour.\n", "properties": { @@ -22288,7 +22288,7 @@ } }, "okta:index/getBehaviours:getBehaviours": { - "description": "Get a behaviors by search criteria.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getBehaviours({\n q: \"New\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_behaviours(q=\"New\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetBehaviours.Invoke(new()\n {\n Q = \"New\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetBehaviours(ctx, \u0026okta.GetBehavioursArgs{\n\t\t\tQ: pulumi.StringRef(\"New\"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetBehavioursArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder()\n .q(\"New\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:getBehaviours\n Arguments:\n q: New\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a behaviors by search criteria.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getBehaviours({\n q: \"New\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_behaviours(q=\"New\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetBehaviours.Invoke(new()\n {\n Q = \"New\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetBehaviours(ctx, \u0026okta.GetBehavioursArgs{\n\t\t\tQ: pulumi.StringRef(\"New\"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetBehavioursArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder()\n .q(\"New\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getBehaviours\n arguments:\n q: New\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getBehaviours.\n", "properties": { @@ -22379,7 +22379,7 @@ } }, "okta:index/getBrands:getBrands": { - "description": "Get the brands belonging to an Okta organization.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getBrands({});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_brands()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetBrands.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetBrands(ctx, map[string]interface{}{}, 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.okta.OktaFunctions;\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 test = OktaFunctions.getBrands();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n Function: okta:getBrands\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get the brands belonging to an Okta organization.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst test = okta.getBrands({});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_brands()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var test = Okta.GetBrands.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetBrands(ctx, map[string]interface{}{}, 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.okta.OktaFunctions;\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 test = OktaFunctions.getBrands();\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:getBrands\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getBrands.\n", "properties": { @@ -22541,7 +22541,7 @@ } }, "okta:index/getDomain:getDomain": { - "description": "Get a domain from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.Domain(\"example\", {name: \"www.example.com\"});\nconst by-name = okta.getDomain({\n domainIdOrName: \"www.example.com\",\n});\nconst by-id = okta.getDomainOutput({\n domainIdOrName: example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.Domain(\"example\", name=\"www.example.com\")\nby_name = okta.get_domain(domain_id_or_name=\"www.example.com\")\nby_id = okta.get_domain_output(domain_id_or_name=example.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Domain(\"example\", new()\n {\n Name = \"www.example.com\",\n });\n\n var by_name = Okta.GetDomain.Invoke(new()\n {\n DomainIdOrName = \"www.example.com\",\n });\n\n var by_id = Okta.GetDomain.Invoke(new()\n {\n DomainIdOrName = example.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := okta.NewDomain(ctx, \"example\", \u0026okta.DomainArgs{\n\t\t\tName: pulumi.String(\"www.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.LookupDomain(ctx, \u0026okta.LookupDomainArgs{\n\t\t\tDomainIdOrName: \"www.example.com\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = okta.LookupDomainOutput(ctx, okta.GetDomainOutputArgs{\n\t\t\tDomainIdOrName: example.ID(),\n\t\t}, nil)\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.okta.Domain;\nimport com.pulumi.okta.DomainArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetDomainArgs;\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 example = new Domain(\"example\", DomainArgs.builder()\n .name(\"www.example.com\")\n .build());\n\n final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder()\n .domainIdOrName(\"www.example.com\")\n .build());\n\n final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder()\n .domainIdOrName(example.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:Domain\n properties:\n name: www.example.com\nvariables:\n by-name:\n fn::invoke:\n Function: okta:getDomain\n Arguments:\n domainIdOrName: www.example.com\n by-id:\n fn::invoke:\n Function: okta:getDomain\n Arguments:\n domainIdOrName: ${example.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a domain from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = new okta.Domain(\"example\", {name: \"www.example.com\"});\nconst by-name = okta.getDomain({\n domainIdOrName: \"www.example.com\",\n});\nconst by-id = okta.getDomainOutput({\n domainIdOrName: example.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.Domain(\"example\", name=\"www.example.com\")\nby_name = okta.get_domain(domain_id_or_name=\"www.example.com\")\nby_id = okta.get_domain_output(domain_id_or_name=example.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = new Okta.Domain(\"example\", new()\n {\n Name = \"www.example.com\",\n });\n\n var by_name = Okta.GetDomain.Invoke(new()\n {\n DomainIdOrName = \"www.example.com\",\n });\n\n var by_id = Okta.GetDomain.Invoke(new()\n {\n DomainIdOrName = example.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texample, err := okta.NewDomain(ctx, \"example\", \u0026okta.DomainArgs{\n\t\t\tName: pulumi.String(\"www.example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.LookupDomain(ctx, \u0026okta.LookupDomainArgs{\n\t\t\tDomainIdOrName: \"www.example.com\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = okta.LookupDomainOutput(ctx, okta.GetDomainOutputArgs{\n\t\t\tDomainIdOrName: example.ID(),\n\t\t}, nil)\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.okta.Domain;\nimport com.pulumi.okta.DomainArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetDomainArgs;\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 example = new Domain(\"example\", DomainArgs.builder()\n .name(\"www.example.com\")\n .build());\n\n final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder()\n .domainIdOrName(\"www.example.com\")\n .build());\n\n final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder()\n .domainIdOrName(example.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:Domain\n properties:\n name: www.example.com\nvariables:\n by-name:\n fn::invoke:\n function: okta:getDomain\n arguments:\n domainIdOrName: www.example.com\n by-id:\n fn::invoke:\n function: okta:getDomain\n arguments:\n domainIdOrName: ${example.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDomain.\n", "properties": { @@ -22737,7 +22737,7 @@ } }, "okta:index/getGroups:getGroups": { - "description": "Get a list of groups from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getGroups({\n q: \"Engineering - \",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_groups(q=\"Engineering - \")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetGroups.Invoke(new()\n {\n Q = \"Engineering - \",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetGroups(ctx, \u0026okta.GetGroupsArgs{\n\t\t\tQ: pulumi.StringRef(\"Engineering - \"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetGroupsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getGroups(GetGroupsArgs.builder()\n .q(\"Engineering - \")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:getGroups\n Arguments:\n q: 'Engineering - '\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a list of groups from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getGroups({\n q: \"Engineering - \",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_groups(q=\"Engineering - \")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetGroups.Invoke(new()\n {\n Q = \"Engineering - \",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetGroups(ctx, \u0026okta.GetGroupsArgs{\n\t\t\tQ: pulumi.StringRef(\"Engineering - \"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetGroupsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getGroups(GetGroupsArgs.builder()\n .q(\"Engineering - \")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getGroups\n arguments:\n q: 'Engineering - '\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getGroups.\n", "properties": { @@ -22837,7 +22837,7 @@ } }, "okta:index/getNetworkZone:getNetworkZone": { - "description": "Gets Okta Network Zone.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getNetworkZone({\n name: \"Block Antarctica\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_network_zone(name=\"Block Antarctica\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetNetworkZone.Invoke(new()\n {\n Name = \"Block Antarctica\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetNetworkZone(ctx, \u0026okta.GetNetworkZoneArgs{\n\t\t\tName: pulumi.StringRef(\"Block Antarctica\"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetNetworkZoneArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getNetworkZone(GetNetworkZoneArgs.builder()\n .name(\"Block Antarctica\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:getNetworkZone\n Arguments:\n name: Block Antarctica\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Gets Okta Network Zone.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getNetworkZone({\n name: \"Block Antarctica\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_network_zone(name=\"Block Antarctica\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetNetworkZone.Invoke(new()\n {\n Name = \"Block Antarctica\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetNetworkZone(ctx, \u0026okta.GetNetworkZoneArgs{\n\t\t\tName: pulumi.StringRef(\"Block Antarctica\"),\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetNetworkZoneArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getNetworkZone(GetNetworkZoneArgs.builder()\n .name(\"Block Antarctica\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getNetworkZone\n arguments:\n name: Block Antarctica\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getNetworkZone.\n", "properties": { @@ -23007,7 +23007,7 @@ } }, "okta:index/getRoleSubscription:getRoleSubscription": { - "description": "Get subscriptions of a Role with a specific type\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getRoleSubscription({\n notificationType: \"APP_IMPORT\",\n roleType: \"SUPER_ADMIN\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_role_subscription(notification_type=\"APP_IMPORT\",\n role_type=\"SUPER_ADMIN\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetRoleSubscription.Invoke(new()\n {\n NotificationType = \"APP_IMPORT\",\n RoleType = \"SUPER_ADMIN\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.LookupRoleSubscription(ctx, \u0026okta.LookupRoleSubscriptionArgs{\n\t\t\tNotificationType: \"APP_IMPORT\",\n\t\t\tRoleType: \"SUPER_ADMIN\",\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetRoleSubscriptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getRoleSubscription(GetRoleSubscriptionArgs.builder()\n .notificationType(\"APP_IMPORT\")\n .roleType(\"SUPER_ADMIN\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:getRoleSubscription\n Arguments:\n notificationType: APP_IMPORT\n roleType: SUPER_ADMIN\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get subscriptions of a Role with a specific type\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.getRoleSubscription({\n notificationType: \"APP_IMPORT\",\n roleType: \"SUPER_ADMIN\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_role_subscription(notification_type=\"APP_IMPORT\",\n role_type=\"SUPER_ADMIN\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.GetRoleSubscription.Invoke(new()\n {\n NotificationType = \"APP_IMPORT\",\n RoleType = \"SUPER_ADMIN\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.LookupRoleSubscription(ctx, \u0026okta.LookupRoleSubscriptionArgs{\n\t\t\tNotificationType: \"APP_IMPORT\",\n\t\t\tRoleType: \"SUPER_ADMIN\",\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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetRoleSubscriptionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = OktaFunctions.getRoleSubscription(GetRoleSubscriptionArgs.builder()\n .notificationType(\"APP_IMPORT\")\n .roleType(\"SUPER_ADMIN\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getRoleSubscription\n arguments:\n notificationType: APP_IMPORT\n roleType: SUPER_ADMIN\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRoleSubscription.\n", "properties": { @@ -23293,7 +23293,7 @@ } }, "okta:index/getTrustedOrigins:getTrustedOrigins": { - "description": "Get List of Trusted Origins using filters.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst all = okta.getTrustedOrigins({});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nall = okta.get_trusted_origins()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var all = Okta.GetTrustedOrigins.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetTrustedOrigins(ctx, \u0026okta.GetTrustedOriginsArgs{}, 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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetTrustedOriginsArgs;\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 all = OktaFunctions.getTrustedOrigins();\n\n }\n}\n```\n```yaml\nvariables:\n all:\n fn::invoke:\n Function: okta:getTrustedOrigins\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get List of Trusted Origins using filters.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst all = okta.getTrustedOrigins({});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nall = okta.get_trusted_origins()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var all = Okta.GetTrustedOrigins.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\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 := okta.GetTrustedOrigins(ctx, \u0026okta.GetTrustedOriginsArgs{}, 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.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetTrustedOriginsArgs;\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 all = OktaFunctions.getTrustedOrigins();\n\n }\n}\n```\n```yaml\nvariables:\n all:\n fn::invoke:\n function: okta:getTrustedOrigins\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getTrustedOrigins.\n", "properties": { @@ -23330,7 +23330,7 @@ } }, "okta:index/getUserSecurityQuestions:getUserSecurityQuestions": { - "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst exampleUser = new okta.user.User(\"example\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"john.smith@example.com\",\n email: \"john.smith@example.com\",\n});\nconst example = okta.getUserSecurityQuestionsOutput({\n userId: exampleUser.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample_user = okta.user.User(\"example\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"john.smith@example.com\",\n email=\"john.smith@example.com\")\nexample = okta.get_user_security_questions_output(user_id=example_user.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUser = new Okta.User.User(\"example\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"john.smith@example.com\",\n Email = \"john.smith@example.com\",\n });\n\n var example = Okta.GetUserSecurityQuestions.Invoke(new()\n {\n UserId = exampleUser.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUser, err := user.NewUser(ctx, \"example\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"john.smith@example.com\"),\n\t\t\tEmail: pulumi.String(\"john.smith@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = okta.GetUserSecurityQuestionsOutput(ctx, okta.GetUserSecurityQuestionsOutputArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t}, nil)\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.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetUserSecurityQuestionsArgs;\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 exampleUser = new User(\"exampleUser\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"john.smith@example.com\")\n .email(\"john.smith@example.com\")\n .build());\n\n final var example = OktaFunctions.getUserSecurityQuestions(GetUserSecurityQuestionsArgs.builder()\n .userId(exampleUser.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleUser:\n type: okta:user:User\n name: example\n properties:\n firstName: John\n lastName: Smith\n login: john.smith@example.com\n email: john.smith@example.com\nvariables:\n example:\n fn::invoke:\n Function: okta:getUserSecurityQuestions\n Arguments:\n userId: ${exampleUser.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst exampleUser = new okta.user.User(\"example\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"john.smith@example.com\",\n email: \"john.smith@example.com\",\n});\nconst example = okta.getUserSecurityQuestionsOutput({\n userId: exampleUser.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample_user = okta.user.User(\"example\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"john.smith@example.com\",\n email=\"john.smith@example.com\")\nexample = okta.get_user_security_questions_output(user_id=example_user.id)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var exampleUser = new Okta.User.User(\"example\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"john.smith@example.com\",\n Email = \"john.smith@example.com\",\n });\n\n var example = Okta.GetUserSecurityQuestions.Invoke(new()\n {\n UserId = exampleUser.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\texampleUser, err := user.NewUser(ctx, \"example\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"john.smith@example.com\"),\n\t\t\tEmail: pulumi.String(\"john.smith@example.com\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_ = okta.GetUserSecurityQuestionsOutput(ctx, okta.GetUserSecurityQuestionsOutputArgs{\n\t\t\tUserId: exampleUser.ID(),\n\t\t}, nil)\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.okta.user.User;\nimport com.pulumi.okta.user.UserArgs;\nimport com.pulumi.okta.OktaFunctions;\nimport com.pulumi.okta.inputs.GetUserSecurityQuestionsArgs;\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 exampleUser = new User(\"exampleUser\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"john.smith@example.com\")\n .email(\"john.smith@example.com\")\n .build());\n\n final var example = OktaFunctions.getUserSecurityQuestions(GetUserSecurityQuestionsArgs.builder()\n .userId(exampleUser.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n exampleUser:\n type: okta:user:User\n name: example\n properties:\n firstName: John\n lastName: Smith\n login: john.smith@example.com\n email: john.smith@example.com\nvariables:\n example:\n fn::invoke:\n function: okta:getUserSecurityQuestions\n arguments:\n userId: ${exampleUser.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getUserSecurityQuestions.\n", "properties": { @@ -23371,7 +23371,7 @@ } }, "okta:policy/getDefaultPolicy:getDefaultPolicy": { - "description": "Use this data source to retrieve a default policy from Okta. This \nsame thing can be achieved using the `okta.policy.getPolicy` with default \nnames, this is simply a shortcut.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.policy.getDefaultPolicy({\n type: \"PASSWORD\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.get_default_policy(type=\"PASSWORD\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Policy.GetDefaultPolicy.Invoke(new()\n {\n Type = \"PASSWORD\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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 := policy.GetDefaultPolicy(ctx, \u0026policy.GetDefaultPolicyArgs{\n\t\t\tType: \"PASSWORD\",\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetDefaultPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = PolicyFunctions.getDefaultPolicy(GetDefaultPolicyArgs.builder()\n .type(\"PASSWORD\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:policy:getDefaultPolicy\n Arguments:\n type: PASSWORD\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Use this data source to retrieve a default policy from Okta. This \nsame thing can be achieved using the `okta.policy.getPolicy` with default \nnames, this is simply a shortcut.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.policy.getDefaultPolicy({\n type: \"PASSWORD\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.get_default_policy(type=\"PASSWORD\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Policy.GetDefaultPolicy.Invoke(new()\n {\n Type = \"PASSWORD\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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 := policy.GetDefaultPolicy(ctx, \u0026policy.GetDefaultPolicyArgs{\n\t\t\tType: \"PASSWORD\",\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetDefaultPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = PolicyFunctions.getDefaultPolicy(GetDefaultPolicyArgs.builder()\n .type(\"PASSWORD\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:policy:getDefaultPolicy\n arguments:\n type: PASSWORD\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDefaultPolicy.\n", "properties": { @@ -23405,7 +23405,7 @@ } }, "okta:policy/getPolicy:getPolicy": { - "description": "Get a policy from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.policy.getPolicy({\n name: \"Password Policy Example\",\n type: \"PASSWORD\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.get_policy(name=\"Password Policy Example\",\n type=\"PASSWORD\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Password Policy Example\",\n Type = \"PASSWORD\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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 := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Password Policy Example\",\n\t\t\tType: \"PASSWORD\",\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Password Policy Example\")\n .type(\"PASSWORD\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:policy:getPolicy\n Arguments:\n name: Password Policy Example\n type: PASSWORD\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a policy from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.policy.getPolicy({\n name: \"Password Policy Example\",\n type: \"PASSWORD\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.policy.get_policy(name=\"Password Policy Example\",\n type=\"PASSWORD\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.Policy.GetPolicy.Invoke(new()\n {\n Name = \"Password Policy Example\",\n Type = \"PASSWORD\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/policy\"\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 := policy.GetPolicy(ctx, \u0026policy.GetPolicyArgs{\n\t\t\tName: \"Password Policy Example\",\n\t\t\tType: \"PASSWORD\",\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.okta.policy.PolicyFunctions;\nimport com.pulumi.okta.policy.inputs.GetPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = PolicyFunctions.getPolicy(GetPolicyArgs.builder()\n .name(\"Password Policy Example\")\n .type(\"PASSWORD\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:policy:getPolicy\n arguments:\n name: Password Policy Example\n type: PASSWORD\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getPolicy.\n", "properties": { @@ -23683,7 +23683,7 @@ } }, "okta:user/getUserProfileMappingSource:getUserProfileMappingSource": { - "description": "Get the base user Profile Mapping source or target from Okta.\n\n\u003e **NOTE:** If using this resource with OAuth2 scopes, this resource \nrequires `okta.profileMappings.read` scope.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.user.getUserProfileMappingSource({});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.user.get_user_profile_mapping_source()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.User.GetUserProfileMappingSource.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\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 := user.GetUserProfileMappingSource(ctx, map[string]interface{}{}, 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.okta.user.UserFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = UserFunctions.getUserProfileMappingSource();\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:user:getUserProfileMappingSource\n Arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get the base user Profile Mapping source or target from Okta.\n\n\u003e **NOTE:** If using this resource with OAuth2 scopes, this resource \nrequires `okta.profileMappings.read` scope.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.user.getUserProfileMappingSource({});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.user.get_user_profile_mapping_source()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.User.GetUserProfileMappingSource.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\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 := user.GetUserProfileMappingSource(ctx, map[string]interface{}{}, 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.okta.user.UserFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = UserFunctions.getUserProfileMappingSource();\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:user:getUserProfileMappingSource\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "outputs": { "description": "A collection of values returned by getUserProfileMappingSource.\n", "properties": { @@ -23709,7 +23709,7 @@ } }, "okta:user/getUserType:getUserType": { - "description": "Get a user type from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.user.getUserType({\n name: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.user.get_user_type(name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.User.GetUserType.Invoke(new()\n {\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\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 := user.LookupUserType(ctx, \u0026user.LookupUserTypeArgs{\n\t\t\tName: pulumi.StringRef(\"example\"),\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.okta.user.UserFunctions;\nimport com.pulumi.okta.user.inputs.GetUserTypeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = UserFunctions.getUserType(GetUserTypeArgs.builder()\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: okta:user:getUserType\n Arguments:\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Get a user type from Okta.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst example = okta.user.getUserType({\n name: \"example\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.user.get_user_type(name=\"example\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Okta = Pulumi.Okta;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = Okta.User.GetUserType.Invoke(new()\n {\n Name = \"example\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/user\"\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 := user.LookupUserType(ctx, \u0026user.LookupUserTypeArgs{\n\t\t\tName: pulumi.StringRef(\"example\"),\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.okta.user.UserFunctions;\nimport com.pulumi.okta.user.inputs.GetUserTypeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = UserFunctions.getUserType(GetUserTypeArgs.builder()\n .name(\"example\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:user:getUserType\n arguments:\n name: example\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getUserType.\n", "properties": { diff --git a/provider/go.mod b/provider/go.mod index 7685ec37..e7cea85d 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -7,8 +7,8 @@ toolchain go1.22.7 require ( github.com/okta/terraform-provider-okta v0.0.0 github.com/pulumi/providertest v0.1.3 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0 - github.com/pulumi/pulumi/sdk/v3 v3.140.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.97.0 + github.com/pulumi/pulumi/sdk/v3 v3.142.0 github.com/stretchr/testify v1.9.0 ) @@ -199,9 +199,9 @@ require ( github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 // indirect github.com/pulumi/esc v0.10.0 // indirect github.com/pulumi/inflector v0.1.1 // indirect - github.com/pulumi/pulumi-java/pkg v0.17.0 // indirect - github.com/pulumi/pulumi-yaml v1.11.2 // indirect - github.com/pulumi/pulumi/pkg/v3 v3.140.0 // indirect + github.com/pulumi/pulumi-java/pkg v0.18.0 // indirect + github.com/pulumi/pulumi-yaml v1.12.0 // indirect + github.com/pulumi/pulumi/pkg/v3 v3.142.0 // indirect github.com/pulumi/schema-tools v0.1.2 // indirect github.com/pulumi/terraform-diff-reader v0.0.2 // indirect github.com/rivo/uniseg v0.4.4 // indirect diff --git a/provider/go.sum b/provider/go.sum index ba26bf39..a263d943 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1973,16 +1973,16 @@ github.com/pulumi/inflector v0.1.1 h1:dvlxlWtXwOJTUUtcYDvwnl6Mpg33prhK+7mzeF+Sob github.com/pulumi/inflector v0.1.1/go.mod h1:HUFCjcPTz96YtTuUlwG3i3EZG4WlniBvR9bd+iJxCUY= github.com/pulumi/providertest v0.1.3 h1:GpNKRy/haNjRHiUA9bi4diU4Op2zf3axYXbga5AepHg= github.com/pulumi/providertest v0.1.3/go.mod h1:GcsqEGgSngwaNOD+kICJPIUQlnA911fGBU8HDlJvVL0= -github.com/pulumi/pulumi-java/pkg v0.17.0 h1:KmaVLrVmlkzShOfaJNJDlckorbFm8dM/C7L4hj6LX8U= -github.com/pulumi/pulumi-java/pkg v0.17.0/go.mod h1:ji4U4H7t81X4aaE88D9+z5CmKH/QoLwQi9N1iGl+2KQ= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0 h1:uJB3tM1j+9SKeXLCAx3DBVHsYk4ddXNrVoiqpgXal2Q= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.96.0/go.mod h1:WnOTAfdtm5+kW3rIU0rLhxFSEHtJIMf19FdOU6NFXG0= -github.com/pulumi/pulumi-yaml v1.11.2 h1:MU7TTNbruGCSgNHhaBygjIbLWm3WSbd1q98GpMIgQzE= -github.com/pulumi/pulumi-yaml v1.11.2/go.mod h1:RdXRBupRGGAD1kbYNG1V1h6pyFnXisvQsl0AANvVjGI= -github.com/pulumi/pulumi/pkg/v3 v3.140.0 h1:/bvHa19HY/6qHWvuAOVII8qr72MDGGczBWlPYlPo3j0= -github.com/pulumi/pulumi/pkg/v3 v3.140.0/go.mod h1:rcTtSyisd7BzZTugNk/s9zlYgX9S0S10+pha3Tko6yM= -github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU= -github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= +github.com/pulumi/pulumi-java/pkg v0.18.0 h1:3PApc5YegH69n6oubB63mqI97pF+oQywWr7ii4082Mw= +github.com/pulumi/pulumi-java/pkg v0.18.0/go.mod h1:YKYYFEb3Jvzf/dDJo0xOeEkIfBAMkkkdhXulauvEjmc= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.97.0 h1:/Y/9hffZp2CFUfInVbv/9rWnZETiiOgKju1Ua512Ke8= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.97.0/go.mod h1:B/Auryr+yVUkLOMzgpFe7HLwKAtXc6YJwpAXfNGyLPk= +github.com/pulumi/pulumi-yaml v1.12.0 h1:ThJP+EBqeJyCnS6w6/PwcEFOT5o112qv0lObhefmFCk= +github.com/pulumi/pulumi-yaml v1.12.0/go.mod h1:EhZd1XDfuLa15O51qVVE16U6r8ldK9mLIBclqWCX27Y= +github.com/pulumi/pulumi/pkg/v3 v3.142.0 h1:UE8TFyXrlxvPrATpd3Kl3En34KrFIFWOxxNAodywPNU= +github.com/pulumi/pulumi/pkg/v3 v3.142.0/go.mod h1:3k6WwRIT7veiDnk3Yo2NtqEYX+4dgLCrMIFvEOnjQqI= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= diff --git a/sdk/go.mod b/sdk/go.mod index 70c5f7bc..7a4aa2b9 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.140.0 + github.com/pulumi/pulumi/sdk/v3 v3.142.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 5d5453c0..54cd0acd 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -150,8 +150,8 @@ github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231 h1:vkHw5I/plNdTr435 github.com/pulumi/appdash v0.0.0-20231130102222-75f619a67231/go.mod h1:murToZ2N9hNJzewjHBgfFdXhZKjY3z5cYC1VXk+lbFE= github.com/pulumi/esc v0.9.1 h1:HH5eEv8sgyxSpY5a8yePyqFXzA8cvBvapfH8457+mIs= github.com/pulumi/esc v0.9.1/go.mod h1:oEJ6bOsjYlQUpjf70GiX+CXn3VBmpwFDxUTlmtUN84c= -github.com/pulumi/pulumi/sdk/v3 v3.140.0 h1:+Z/RBvdYg7tBNkBwk4p/FzlV7niBT3TbLAICq/Y0LDU= -github.com/pulumi/pulumi/sdk/v3 v3.140.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= +github.com/pulumi/pulumi/sdk/v3 v3.142.0 h1:SmcVddGuvwAh3g3XUVQQ5gVRQUKH1yZ6iETpDNHIHlw= +github.com/pulumi/pulumi/sdk/v3 v3.142.0/go.mod h1:PvKsX88co8XuwuPdzolMvew5lZV+4JmZfkeSjj7A6dI= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/nodejs/app/getApp.ts b/sdk/nodejs/app/getApp.ts index a3a8360f..34721b9e 100644 --- a/sdk/nodejs/app/getApp.ts +++ b/sdk/nodejs/app/getApp.ts @@ -150,7 +150,7 @@ export interface GetAppResult { * }); * ``` */ -export function getAppOutput(args?: GetAppOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAppOutput(args?: GetAppOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:app/getApp:getApp", { diff --git a/sdk/nodejs/app/getMetadataSaml.ts b/sdk/nodejs/app/getMetadataSaml.ts index 3f5b079e..f4be986c 100644 --- a/sdk/nodejs/app/getMetadataSaml.ts +++ b/sdk/nodejs/app/getMetadataSaml.ts @@ -97,7 +97,7 @@ export interface GetMetadataSamlResult { * }); * ``` */ -export function getMetadataSamlOutput(args: GetMetadataSamlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMetadataSamlOutput(args: GetMetadataSamlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:app/getMetadataSaml:getMetadataSaml", { "appId": args.appId, diff --git a/sdk/nodejs/app/getOauth.ts b/sdk/nodejs/app/getOauth.ts index 4ef87e06..4e60c80e 100644 --- a/sdk/nodejs/app/getOauth.ts +++ b/sdk/nodejs/app/getOauth.ts @@ -206,7 +206,7 @@ export interface GetOauthResult { * }); * ``` */ -export function getOauthOutput(args?: GetOauthOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getOauthOutput(args?: GetOauthOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:app/getOauth:getOauth", { diff --git a/sdk/nodejs/app/getSaml.ts b/sdk/nodejs/app/getSaml.ts index bb00e12a..b82920de 100644 --- a/sdk/nodejs/app/getSaml.ts +++ b/sdk/nodejs/app/getSaml.ts @@ -290,7 +290,7 @@ export interface GetSamlResult { * }); * ``` */ -export function getSamlOutput(args?: GetSamlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSamlOutput(args?: GetSamlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:app/getSaml:getSaml", { diff --git a/sdk/nodejs/auth/getServer.ts b/sdk/nodejs/auth/getServer.ts index 3ac8e986..296e3284 100644 --- a/sdk/nodejs/auth/getServer.ts +++ b/sdk/nodejs/auth/getServer.ts @@ -98,7 +98,7 @@ export interface GetServerResult { * }); * ``` */ -export function getServerOutput(args: GetServerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getServerOutput(args: GetServerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:auth/getServer:getServer", { "name": args.name, diff --git a/sdk/nodejs/auth/getServerPolicy.ts b/sdk/nodejs/auth/getServerPolicy.ts index 8bb60a5c..af6ac156 100644 --- a/sdk/nodejs/auth/getServerPolicy.ts +++ b/sdk/nodejs/auth/getServerPolicy.ts @@ -85,7 +85,7 @@ export interface GetServerPolicyResult { * }); * ``` */ -export function getServerPolicyOutput(args: GetServerPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getServerPolicyOutput(args: GetServerPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:auth/getServerPolicy:getServerPolicy", { "authServerId": args.authServerId, diff --git a/sdk/nodejs/auth/getServerScopes.ts b/sdk/nodejs/auth/getServerScopes.ts index aa5aa5cc..0c5962f2 100644 --- a/sdk/nodejs/auth/getServerScopes.ts +++ b/sdk/nodejs/auth/getServerScopes.ts @@ -68,7 +68,7 @@ export interface GetServerScopesResult { * }); * ``` */ -export function getServerScopesOutput(args: GetServerScopesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getServerScopesOutput(args: GetServerScopesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:auth/getServerScopes:getServerScopes", { "authServerId": args.authServerId, diff --git a/sdk/nodejs/getAppGroupAssignments.ts b/sdk/nodejs/getAppGroupAssignments.ts index 5597128e..f67f1230 100644 --- a/sdk/nodejs/getAppGroupAssignments.ts +++ b/sdk/nodejs/getAppGroupAssignments.ts @@ -62,7 +62,7 @@ export interface GetAppGroupAssignmentsResult { * }); * ``` */ -export function getAppGroupAssignmentsOutput(args: GetAppGroupAssignmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAppGroupAssignmentsOutput(args: GetAppGroupAssignmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getAppGroupAssignments:getAppGroupAssignments", { "id": args.id, diff --git a/sdk/nodejs/getAppSignonPolicy.ts b/sdk/nodejs/getAppSignonPolicy.ts index 9a717027..33d3bc38 100644 --- a/sdk/nodejs/getAppSignonPolicy.ts +++ b/sdk/nodejs/getAppSignonPolicy.ts @@ -82,7 +82,7 @@ export interface GetAppSignonPolicyResult { * }); * ``` */ -export function getAppSignonPolicyOutput(args: GetAppSignonPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAppSignonPolicyOutput(args: GetAppSignonPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getAppSignonPolicy:getAppSignonPolicy", { "appId": args.appId, diff --git a/sdk/nodejs/getAppUserAssignments.ts b/sdk/nodejs/getAppUserAssignments.ts index ee65e923..baddefb3 100644 --- a/sdk/nodejs/getAppUserAssignments.ts +++ b/sdk/nodejs/getAppUserAssignments.ts @@ -62,7 +62,7 @@ export interface GetAppUserAssignmentsResult { * }); * ``` */ -export function getAppUserAssignmentsOutput(args: GetAppUserAssignmentsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAppUserAssignmentsOutput(args: GetAppUserAssignmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getAppUserAssignments:getAppUserAssignments", { "id": args.id, diff --git a/sdk/nodejs/getApps.ts b/sdk/nodejs/getApps.ts index e5a507fd..1d103198 100644 --- a/sdk/nodejs/getApps.ts +++ b/sdk/nodejs/getApps.ts @@ -77,7 +77,7 @@ export interface GetAppsResult { */ readonly useOptimization?: boolean; } -export function getAppsOutput(args?: GetAppsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAppsOutput(args?: GetAppsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getApps:getApps", { diff --git a/sdk/nodejs/getAuthServerClaim.ts b/sdk/nodejs/getAuthServerClaim.ts index f60341c1..16daa6c2 100644 --- a/sdk/nodejs/getAuthServerClaim.ts +++ b/sdk/nodejs/getAuthServerClaim.ts @@ -102,7 +102,7 @@ export interface GetAuthServerClaimResult { * }); * ``` */ -export function getAuthServerClaimOutput(args: GetAuthServerClaimOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAuthServerClaimOutput(args: GetAuthServerClaimOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getAuthServerClaim:getAuthServerClaim", { "authServerId": args.authServerId, diff --git a/sdk/nodejs/getAuthServerClaims.ts b/sdk/nodejs/getAuthServerClaims.ts index f4fc185b..4a20507c 100644 --- a/sdk/nodejs/getAuthServerClaims.ts +++ b/sdk/nodejs/getAuthServerClaims.ts @@ -68,7 +68,7 @@ export interface GetAuthServerClaimsResult { * }); * ``` */ -export function getAuthServerClaimsOutput(args: GetAuthServerClaimsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAuthServerClaimsOutput(args: GetAuthServerClaimsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getAuthServerClaims:getAuthServerClaims", { "authServerId": args.authServerId, diff --git a/sdk/nodejs/getAuthenticator.ts b/sdk/nodejs/getAuthenticator.ts index 39c7d6de..0bf0e25e 100644 --- a/sdk/nodejs/getAuthenticator.ts +++ b/sdk/nodejs/getAuthenticator.ts @@ -127,7 +127,7 @@ export interface GetAuthenticatorResult { * }); * ``` */ -export function getAuthenticatorOutput(args?: GetAuthenticatorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getAuthenticatorOutput(args?: GetAuthenticatorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getAuthenticator:getAuthenticator", { diff --git a/sdk/nodejs/getBehaviour.ts b/sdk/nodejs/getBehaviour.ts index 0f44d29d..5070ae70 100644 --- a/sdk/nodejs/getBehaviour.ts +++ b/sdk/nodejs/getBehaviour.ts @@ -58,7 +58,7 @@ export interface GetBehaviourResult { /** * Get a behavior by name or ID. */ -export function getBehaviourOutput(args?: GetBehaviourOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getBehaviourOutput(args?: GetBehaviourOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getBehaviour:getBehaviour", { diff --git a/sdk/nodejs/getBehaviours.ts b/sdk/nodejs/getBehaviours.ts index 65179b88..a43a43b0 100644 --- a/sdk/nodejs/getBehaviours.ts +++ b/sdk/nodejs/getBehaviours.ts @@ -66,7 +66,7 @@ export interface GetBehavioursResult { * }); * ``` */ -export function getBehavioursOutput(args?: GetBehavioursOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getBehavioursOutput(args?: GetBehavioursOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getBehaviours:getBehaviours", { diff --git a/sdk/nodejs/getBrand.ts b/sdk/nodejs/getBrand.ts index e400e833..e7709893 100644 --- a/sdk/nodejs/getBrand.ts +++ b/sdk/nodejs/getBrand.ts @@ -56,7 +56,7 @@ export interface GetBrandResult { /** * Get a single Brand from Okta. */ -export function getBrandOutput(args: GetBrandOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getBrandOutput(args: GetBrandOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getBrand:getBrand", { "brandId": args.brandId, diff --git a/sdk/nodejs/getBrands.ts b/sdk/nodejs/getBrands.ts index 86785c9a..5745d469 100644 --- a/sdk/nodejs/getBrands.ts +++ b/sdk/nodejs/getBrands.ts @@ -49,7 +49,7 @@ export interface GetBrandsResult { * const test = okta.getBrands({}); * ``` */ -export function getBrandsOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getBrandsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getBrands:getBrands", { }, opts); diff --git a/sdk/nodejs/getDefaultSigninPage.ts b/sdk/nodejs/getDefaultSigninPage.ts index 2cf5827a..2e186868 100644 --- a/sdk/nodejs/getDefaultSigninPage.ts +++ b/sdk/nodejs/getDefaultSigninPage.ts @@ -56,7 +56,7 @@ export interface GetDefaultSigninPageResult { /** * Retrieve the default signin page of a brand */ -export function getDefaultSigninPageOutput(args: GetDefaultSigninPageOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDefaultSigninPageOutput(args: GetDefaultSigninPageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getDefaultSigninPage:getDefaultSigninPage", { "brandId": args.brandId, diff --git a/sdk/nodejs/getDeviceAssurancePolicy.ts b/sdk/nodejs/getDeviceAssurancePolicy.ts index 4d86f0f7..421924bc 100644 --- a/sdk/nodejs/getDeviceAssurancePolicy.ts +++ b/sdk/nodejs/getDeviceAssurancePolicy.ts @@ -90,7 +90,7 @@ export interface GetDeviceAssurancePolicyResult { /** * Get a policy assurance from Okta. */ -export function getDeviceAssurancePolicyOutput(args?: GetDeviceAssurancePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDeviceAssurancePolicyOutput(args?: GetDeviceAssurancePolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getDeviceAssurancePolicy:getDeviceAssurancePolicy", { diff --git a/sdk/nodejs/getDomain.ts b/sdk/nodejs/getDomain.ts index 74279b59..a3ea3150 100644 --- a/sdk/nodejs/getDomain.ts +++ b/sdk/nodejs/getDomain.ts @@ -92,7 +92,7 @@ export interface GetDomainResult { * }); * ``` */ -export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDomainOutput(args: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getDomain:getDomain", { "domainIdOrName": args.domainIdOrName, diff --git a/sdk/nodejs/getEmailCustomization.ts b/sdk/nodejs/getEmailCustomization.ts index 9c51d8a9..7f8ead40 100644 --- a/sdk/nodejs/getEmailCustomization.ts +++ b/sdk/nodejs/getEmailCustomization.ts @@ -78,7 +78,7 @@ export interface GetEmailCustomizationResult { /** * Get the email customization of an email template belonging to a brand in an Okta organization. */ -export function getEmailCustomizationOutput(args: GetEmailCustomizationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getEmailCustomizationOutput(args: GetEmailCustomizationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getEmailCustomization:getEmailCustomization", { "brandId": args.brandId, diff --git a/sdk/nodejs/getEmailCustomizations.ts b/sdk/nodejs/getEmailCustomizations.ts index 9d5ffefa..f81bafce 100644 --- a/sdk/nodejs/getEmailCustomizations.ts +++ b/sdk/nodejs/getEmailCustomizations.ts @@ -55,7 +55,7 @@ export interface GetEmailCustomizationsResult { /** * Get the email customizations of an email template belonging to a brand in an Okta organization. */ -export function getEmailCustomizationsOutput(args: GetEmailCustomizationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getEmailCustomizationsOutput(args: GetEmailCustomizationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getEmailCustomizations:getEmailCustomizations", { "brandId": args.brandId, diff --git a/sdk/nodejs/getGroups.ts b/sdk/nodejs/getGroups.ts index 557097fb..f1ce86af 100644 --- a/sdk/nodejs/getGroups.ts +++ b/sdk/nodejs/getGroups.ts @@ -78,7 +78,7 @@ export interface GetGroupsResult { * }); * ``` */ -export function getGroupsOutput(args?: GetGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getGroupsOutput(args?: GetGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getGroups:getGroups", { diff --git a/sdk/nodejs/getLogStream.ts b/sdk/nodejs/getLogStream.ts index 0c35eb14..52d2160e 100644 --- a/sdk/nodejs/getLogStream.ts +++ b/sdk/nodejs/getLogStream.ts @@ -59,7 +59,7 @@ export interface GetLogStreamResult { /** * Log Streams */ -export function getLogStreamOutput(args?: GetLogStreamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getLogStreamOutput(args?: GetLogStreamOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getLogStream:getLogStream", { diff --git a/sdk/nodejs/getNetworkZone.ts b/sdk/nodejs/getNetworkZone.ts index 63e3c760..abbb8b74 100644 --- a/sdk/nodejs/getNetworkZone.ts +++ b/sdk/nodejs/getNetworkZone.ts @@ -127,7 +127,7 @@ export interface GetNetworkZoneResult { * }); * ``` */ -export function getNetworkZoneOutput(args?: GetNetworkZoneOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getNetworkZoneOutput(args?: GetNetworkZoneOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getNetworkZone:getNetworkZone", { diff --git a/sdk/nodejs/getOrgMetadata.ts b/sdk/nodejs/getOrgMetadata.ts index 3e12b19a..1e203543 100644 --- a/sdk/nodejs/getOrgMetadata.ts +++ b/sdk/nodejs/getOrgMetadata.ts @@ -56,7 +56,7 @@ export interface GetOrgMetadataResult { /** * Retrieves the well-known org metadata, which includes the id, configured custom domains, authentication pipeline, and various other org settings. */ -export function getOrgMetadataOutput(args?: GetOrgMetadataOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getOrgMetadataOutput(args?: GetOrgMetadataOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getOrgMetadata:getOrgMetadata", { diff --git a/sdk/nodejs/getRoleSubscription.ts b/sdk/nodejs/getRoleSubscription.ts index 38aab2dc..1531e93b 100644 --- a/sdk/nodejs/getRoleSubscription.ts +++ b/sdk/nodejs/getRoleSubscription.ts @@ -77,7 +77,7 @@ export interface GetRoleSubscriptionResult { * }); * ``` */ -export function getRoleSubscriptionOutput(args: GetRoleSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRoleSubscriptionOutput(args: GetRoleSubscriptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getRoleSubscription:getRoleSubscription", { "notificationType": args.notificationType, diff --git a/sdk/nodejs/getTemplate.ts b/sdk/nodejs/getTemplate.ts index 79684b44..9dcc2996 100644 --- a/sdk/nodejs/getTemplate.ts +++ b/sdk/nodejs/getTemplate.ts @@ -53,7 +53,7 @@ export interface GetTemplateResult { /** * Get a single Email Template for a Brand belonging to an Okta organization. */ -export function getTemplateOutput(args: GetTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTemplateOutput(args: GetTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getTemplate:getTemplate", { "brandId": args.brandId, diff --git a/sdk/nodejs/getTemplates.ts b/sdk/nodejs/getTemplates.ts index 598ffec0..85e7ff0f 100644 --- a/sdk/nodejs/getTemplates.ts +++ b/sdk/nodejs/getTemplates.ts @@ -46,7 +46,7 @@ export interface GetTemplatesResult { /** * Get the email templates belonging to a brand in an Okta organization. */ -export function getTemplatesOutput(args: GetTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTemplatesOutput(args: GetTemplatesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getTemplates:getTemplates", { "brandId": args.brandId, diff --git a/sdk/nodejs/getTheme.ts b/sdk/nodejs/getTheme.ts index ace08bc5..bd30d949 100644 --- a/sdk/nodejs/getTheme.ts +++ b/sdk/nodejs/getTheme.ts @@ -97,7 +97,7 @@ export interface GetThemeResult { /** * Get a single Theme of a Brand of an Okta Organization. */ -export function getThemeOutput(args: GetThemeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getThemeOutput(args: GetThemeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getTheme:getTheme", { "brandId": args.brandId, diff --git a/sdk/nodejs/getThemes.ts b/sdk/nodejs/getThemes.ts index d84256b4..9a76c115 100644 --- a/sdk/nodejs/getThemes.ts +++ b/sdk/nodejs/getThemes.ts @@ -46,7 +46,7 @@ export interface GetThemesResult { /** * Get Themes of a Brand of an Okta Organization. */ -export function getThemesOutput(args: GetThemesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getThemesOutput(args: GetThemesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getThemes:getThemes", { "brandId": args.brandId, diff --git a/sdk/nodejs/getTrustedOrigins.ts b/sdk/nodejs/getTrustedOrigins.ts index 7831a1f8..8011f0f3 100644 --- a/sdk/nodejs/getTrustedOrigins.ts +++ b/sdk/nodejs/getTrustedOrigins.ts @@ -62,7 +62,7 @@ export interface GetTrustedOriginsResult { * const all = okta.getTrustedOrigins({}); * ``` */ -export function getTrustedOriginsOutput(args?: GetTrustedOriginsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getTrustedOriginsOutput(args?: GetTrustedOriginsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getTrustedOrigins:getTrustedOrigins", { diff --git a/sdk/nodejs/getUserSecurityQuestions.ts b/sdk/nodejs/getUserSecurityQuestions.ts index 35657307..8f9c1627 100644 --- a/sdk/nodejs/getUserSecurityQuestions.ts +++ b/sdk/nodejs/getUserSecurityQuestions.ts @@ -73,7 +73,7 @@ export interface GetUserSecurityQuestionsResult { * }); * ``` */ -export function getUserSecurityQuestionsOutput(args: GetUserSecurityQuestionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUserSecurityQuestionsOutput(args: GetUserSecurityQuestionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:index/getUserSecurityQuestions:getUserSecurityQuestions", { "userId": args.userId, diff --git a/sdk/nodejs/group/getEveryoneGroup.ts b/sdk/nodejs/group/getEveryoneGroup.ts index ae89dcdf..4909cb19 100644 --- a/sdk/nodejs/group/getEveryoneGroup.ts +++ b/sdk/nodejs/group/getEveryoneGroup.ts @@ -67,7 +67,7 @@ export interface GetEveryoneGroupResult { * const example = okta.group.getEveryoneGroup({}); * ``` */ -export function getEveryoneGroupOutput(args?: GetEveryoneGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getEveryoneGroupOutput(args?: GetEveryoneGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:group/getEveryoneGroup:getEveryoneGroup", { diff --git a/sdk/nodejs/group/getGroup.ts b/sdk/nodejs/group/getGroup.ts index 0d517507..46cf324a 100644 --- a/sdk/nodejs/group/getGroup.ts +++ b/sdk/nodejs/group/getGroup.ts @@ -97,7 +97,7 @@ export interface GetGroupResult { * }); * ``` */ -export function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getGroupOutput(args?: GetGroupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:group/getGroup:getGroup", { diff --git a/sdk/nodejs/group/getRule.ts b/sdk/nodejs/group/getRule.ts index 35df606a..158fc362 100644 --- a/sdk/nodejs/group/getRule.ts +++ b/sdk/nodejs/group/getRule.ts @@ -93,7 +93,7 @@ export interface GetRuleResult { * }); * ``` */ -export function getRuleOutput(args?: GetRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getRuleOutput(args?: GetRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:group/getRule:getRule", { diff --git a/sdk/nodejs/idp/getMetadataSaml.ts b/sdk/nodejs/idp/getMetadataSaml.ts index 20919fce..2306903b 100644 --- a/sdk/nodejs/idp/getMetadataSaml.ts +++ b/sdk/nodejs/idp/getMetadataSaml.ts @@ -95,7 +95,7 @@ export interface GetMetadataSamlResult { * }); * ``` */ -export function getMetadataSamlOutput(args?: GetMetadataSamlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getMetadataSamlOutput(args?: GetMetadataSamlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:idp/getMetadataSaml:getMetadataSaml", { diff --git a/sdk/nodejs/idp/getOidc.ts b/sdk/nodejs/idp/getOidc.ts index f126ed6b..d3aa111b 100644 --- a/sdk/nodejs/idp/getOidc.ts +++ b/sdk/nodejs/idp/getOidc.ts @@ -132,7 +132,7 @@ export interface GetOidcResult { * }); * ``` */ -export function getOidcOutput(args?: GetOidcOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getOidcOutput(args?: GetOidcOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:idp/getOidc:getOidc", { diff --git a/sdk/nodejs/idp/getSaml.ts b/sdk/nodejs/idp/getSaml.ts index d99c9659..0ee560c3 100644 --- a/sdk/nodejs/idp/getSaml.ts +++ b/sdk/nodejs/idp/getSaml.ts @@ -116,7 +116,7 @@ export interface GetSamlResult { * }); * ``` */ -export function getSamlOutput(args?: GetSamlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSamlOutput(args?: GetSamlOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:idp/getSaml:getSaml", { diff --git a/sdk/nodejs/idp/getSocial.ts b/sdk/nodejs/idp/getSocial.ts index d44e369f..c7e1e8fb 100644 --- a/sdk/nodejs/idp/getSocial.ts +++ b/sdk/nodejs/idp/getSocial.ts @@ -168,7 +168,7 @@ export interface GetSocialResult { * }); * ``` */ -export function getSocialOutput(args?: GetSocialOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getSocialOutput(args?: GetSocialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:idp/getSocial:getSocial", { diff --git a/sdk/nodejs/policy/getDefaultPolicy.ts b/sdk/nodejs/policy/getDefaultPolicy.ts index 10b9e5d2..f842c3a7 100644 --- a/sdk/nodejs/policy/getDefaultPolicy.ts +++ b/sdk/nodejs/policy/getDefaultPolicy.ts @@ -66,7 +66,7 @@ export interface GetDefaultPolicyResult { * }); * ``` */ -export function getDefaultPolicyOutput(args: GetDefaultPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getDefaultPolicyOutput(args: GetDefaultPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:policy/getDefaultPolicy:getDefaultPolicy", { "type": args.type, diff --git a/sdk/nodejs/policy/getPolicy.ts b/sdk/nodejs/policy/getPolicy.ts index 01c84996..60e83708 100644 --- a/sdk/nodejs/policy/getPolicy.ts +++ b/sdk/nodejs/policy/getPolicy.ts @@ -77,7 +77,7 @@ export interface GetPolicyResult { * }); * ``` */ -export function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:policy/getPolicy:getPolicy", { "name": args.name, diff --git a/sdk/nodejs/user/getUser.ts b/sdk/nodejs/user/getUser.ts index 95766440..872e1e09 100644 --- a/sdk/nodejs/user/getUser.ts +++ b/sdk/nodejs/user/getUser.ts @@ -124,7 +124,7 @@ export interface GetUserResult { /** * Get a single users from Okta. */ -export function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:user/getUser:getUser", { diff --git a/sdk/nodejs/user/getUserProfileMappingSource.ts b/sdk/nodejs/user/getUserProfileMappingSource.ts index 8fb9f4e4..70bca86e 100644 --- a/sdk/nodejs/user/getUserProfileMappingSource.ts +++ b/sdk/nodejs/user/getUserProfileMappingSource.ts @@ -57,7 +57,7 @@ export interface GetUserProfileMappingSourceResult { * const example = okta.user.getUserProfileMappingSource({}); * ``` */ -export function getUserProfileMappingSourceOutput(opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUserProfileMappingSourceOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:user/getUserProfileMappingSource:getUserProfileMappingSource", { }, opts); diff --git a/sdk/nodejs/user/getUserType.ts b/sdk/nodejs/user/getUserType.ts index 22423c41..c292ddf0 100644 --- a/sdk/nodejs/user/getUserType.ts +++ b/sdk/nodejs/user/getUserType.ts @@ -76,7 +76,7 @@ export interface GetUserTypeResult { * }); * ``` */ -export function getUserTypeOutput(args?: GetUserTypeOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUserTypeOutput(args?: GetUserTypeOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:user/getUserType:getUserType", { diff --git a/sdk/nodejs/user/getUsers.ts b/sdk/nodejs/user/getUsers.ts index ed8233b0..3605a5ad 100644 --- a/sdk/nodejs/user/getUsers.ts +++ b/sdk/nodejs/user/getUsers.ts @@ -92,7 +92,7 @@ export interface GetUsersResult { /** * Get a list of users from Okta. */ -export function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { +export function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("okta:user/getUsers:getUsers", { diff --git a/sdk/python/pulumi_okta/app/get_app.py b/sdk/python/pulumi_okta/app/get_app.py index cb7e816d..57c2f2cb 100644 --- a/sdk/python/pulumi_okta/app/get_app.py +++ b/sdk/python/pulumi_okta/app/get_app.py @@ -242,7 +242,7 @@ def get_app_output(active_only: Optional[pulumi.Input[Optional[bool]]] = None, label_prefix: Optional[pulumi.Input[Optional[str]]] = None, skip_groups: Optional[pulumi.Input[Optional[bool]]] = None, skip_users: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppResult]: """ Get an application of any kind from Okta. @@ -277,7 +277,7 @@ def get_app_output(active_only: Optional[pulumi.Input[Optional[bool]]] = None, __args__['labelPrefix'] = label_prefix __args__['skipGroups'] = skip_groups __args__['skipUsers'] = skip_users - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:app/getApp:getApp', __args__, opts=opts, typ=GetAppResult) return __ret__.apply(lambda __response__: GetAppResult( active_only=pulumi.get(__response__, 'active_only'), diff --git a/sdk/python/pulumi_okta/app/get_metadata_saml.py b/sdk/python/pulumi_okta/app/get_metadata_saml.py index 78afb4cc..9ac90069 100644 --- a/sdk/python/pulumi_okta/app/get_metadata_saml.py +++ b/sdk/python/pulumi_okta/app/get_metadata_saml.py @@ -183,7 +183,7 @@ def get_metadata_saml(app_id: Optional[str] = None, want_authn_requests_signed=pulumi.get(__ret__, 'want_authn_requests_signed')) def get_metadata_saml_output(app_id: Optional[pulumi.Input[str]] = None, key_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMetadataSamlResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMetadataSamlResult]: """ Get a SAML application's metadata from Okta. @@ -204,7 +204,7 @@ def get_metadata_saml_output(app_id: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['appId'] = app_id __args__['keyId'] = key_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:app/getMetadataSaml:getMetadataSaml', __args__, opts=opts, typ=GetMetadataSamlResult) return __ret__.apply(lambda __response__: GetMetadataSamlResult( app_id=pulumi.get(__response__, 'app_id'), diff --git a/sdk/python/pulumi_okta/app/get_oauth.py b/sdk/python/pulumi_okta/app/get_oauth.py index ffd778af..d276aace 100644 --- a/sdk/python/pulumi_okta/app/get_oauth.py +++ b/sdk/python/pulumi_okta/app/get_oauth.py @@ -435,7 +435,7 @@ def get_oauth_output(active_only: Optional[pulumi.Input[Optional[bool]]] = None, label_prefix: Optional[pulumi.Input[Optional[str]]] = None, skip_groups: Optional[pulumi.Input[Optional[bool]]] = None, skip_users: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOauthResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOauthResult]: """ Get a OIDC application from Okta. @@ -470,7 +470,7 @@ def get_oauth_output(active_only: Optional[pulumi.Input[Optional[bool]]] = None, __args__['labelPrefix'] = label_prefix __args__['skipGroups'] = skip_groups __args__['skipUsers'] = skip_users - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:app/getOauth:getOauth', __args__, opts=opts, typ=GetOauthResult) return __ret__.apply(lambda __response__: GetOauthResult( active_only=pulumi.get(__response__, 'active_only'), diff --git a/sdk/python/pulumi_okta/app/get_saml.py b/sdk/python/pulumi_okta/app/get_saml.py index 326fecd7..8a861e8d 100644 --- a/sdk/python/pulumi_okta/app/get_saml.py +++ b/sdk/python/pulumi_okta/app/get_saml.py @@ -704,7 +704,7 @@ def get_saml_output(active_only: Optional[pulumi.Input[Optional[bool]]] = None, request_compressed: Optional[pulumi.Input[Optional[bool]]] = None, skip_groups: Optional[pulumi.Input[Optional[bool]]] = None, skip_users: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSamlResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSamlResult]: """ Get a SAML application from Okta. @@ -737,7 +737,7 @@ def get_saml_output(active_only: Optional[pulumi.Input[Optional[bool]]] = None, __args__['requestCompressed'] = request_compressed __args__['skipGroups'] = skip_groups __args__['skipUsers'] = skip_users - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:app/getSaml:getSaml', __args__, opts=opts, typ=GetSamlResult) return __ret__.apply(lambda __response__: GetSamlResult( accessibility_error_redirect_url=pulumi.get(__response__, 'accessibility_error_redirect_url'), diff --git a/sdk/python/pulumi_okta/auth/get_server.py b/sdk/python/pulumi_okta/auth/get_server.py index 38852e95..c524ba2f 100644 --- a/sdk/python/pulumi_okta/auth/get_server.py +++ b/sdk/python/pulumi_okta/auth/get_server.py @@ -204,7 +204,7 @@ def get_server(name: Optional[str] = None, name=pulumi.get(__ret__, 'name'), status=pulumi.get(__ret__, 'status')) def get_server_output(name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServerResult]: """ Get an auth server from Okta. @@ -222,7 +222,7 @@ def get_server_output(name: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:auth/getServer:getServer', __args__, opts=opts, typ=GetServerResult) return __ret__.apply(lambda __response__: GetServerResult( audiences=pulumi.get(__response__, 'audiences'), diff --git a/sdk/python/pulumi_okta/auth/get_server_policy.py b/sdk/python/pulumi_okta/auth/get_server_policy.py index 2914dcd7..d05aaa78 100644 --- a/sdk/python/pulumi_okta/auth/get_server_policy.py +++ b/sdk/python/pulumi_okta/auth/get_server_policy.py @@ -144,7 +144,7 @@ def get_server_policy(auth_server_id: Optional[str] = None, priority=pulumi.get(__ret__, 'priority')) def get_server_policy_output(auth_server_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerPolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServerPolicyResult]: """ Get an authorization server policy from Okta. @@ -165,7 +165,7 @@ def get_server_policy_output(auth_server_id: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['authServerId'] = auth_server_id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:auth/getServerPolicy:getServerPolicy', __args__, opts=opts, typ=GetServerPolicyResult) return __ret__.apply(lambda __response__: GetServerPolicyResult( assigned_clients=pulumi.get(__response__, 'assigned_clients'), diff --git a/sdk/python/pulumi_okta/auth/get_server_scopes.py b/sdk/python/pulumi_okta/auth/get_server_scopes.py index ebd49b9f..9368dba3 100644 --- a/sdk/python/pulumi_okta/auth/get_server_scopes.py +++ b/sdk/python/pulumi_okta/auth/get_server_scopes.py @@ -101,7 +101,7 @@ def get_server_scopes(auth_server_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), scopes=pulumi.get(__ret__, 'scopes')) def get_server_scopes_output(auth_server_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServerScopesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetServerScopesResult]: """ Get a list of authorization server scopes from Okta. @@ -119,7 +119,7 @@ def get_server_scopes_output(auth_server_id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['authServerId'] = auth_server_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:auth/getServerScopes:getServerScopes', __args__, opts=opts, typ=GetServerScopesResult) return __ret__.apply(lambda __response__: GetServerScopesResult( auth_server_id=pulumi.get(__response__, 'auth_server_id'), diff --git a/sdk/python/pulumi_okta/get_app_group_assignments.py b/sdk/python/pulumi_okta/get_app_group_assignments.py index fe9d60d0..9f2ce24d 100644 --- a/sdk/python/pulumi_okta/get_app_group_assignments.py +++ b/sdk/python/pulumi_okta/get_app_group_assignments.py @@ -87,7 +87,7 @@ def get_app_group_assignments(id: Optional[str] = None, groups=pulumi.get(__ret__, 'groups'), id=pulumi.get(__ret__, 'id')) def get_app_group_assignments_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppGroupAssignmentsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppGroupAssignmentsResult]: """ Get a set of groups assigned to an Okta application. @@ -105,7 +105,7 @@ def get_app_group_assignments_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getAppGroupAssignments:getAppGroupAssignments', __args__, opts=opts, typ=GetAppGroupAssignmentsResult) return __ret__.apply(lambda __response__: GetAppGroupAssignmentsResult( groups=pulumi.get(__response__, 'groups'), diff --git a/sdk/python/pulumi_okta/get_app_signon_policy.py b/sdk/python/pulumi_okta/get_app_signon_policy.py index 1d3eaf68..7a7f4e62 100644 --- a/sdk/python/pulumi_okta/get_app_signon_policy.py +++ b/sdk/python/pulumi_okta/get_app_signon_policy.py @@ -108,7 +108,7 @@ def get_app_signon_policy(app_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name')) def get_app_signon_policy_output(app_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppSignonPolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppSignonPolicyResult]: """ Get a sign-on policy for the application. @@ -134,7 +134,7 @@ def get_app_signon_policy_output(app_id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['appId'] = app_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getAppSignonPolicy:getAppSignonPolicy', __args__, opts=opts, typ=GetAppSignonPolicyResult) return __ret__.apply(lambda __response__: GetAppSignonPolicyResult( app_id=pulumi.get(__response__, 'app_id'), diff --git a/sdk/python/pulumi_okta/get_app_user_assignments.py b/sdk/python/pulumi_okta/get_app_user_assignments.py index 8500ce6a..f73b7325 100644 --- a/sdk/python/pulumi_okta/get_app_user_assignments.py +++ b/sdk/python/pulumi_okta/get_app_user_assignments.py @@ -87,7 +87,7 @@ def get_app_user_assignments(id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), users=pulumi.get(__ret__, 'users')) def get_app_user_assignments_output(id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppUserAssignmentsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppUserAssignmentsResult]: """ Get a set of users assigned to an Okta application. @@ -105,7 +105,7 @@ def get_app_user_assignments_output(id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['id'] = id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getAppUserAssignments:getAppUserAssignments', __args__, opts=opts, typ=GetAppUserAssignmentsResult) return __ret__.apply(lambda __response__: GetAppUserAssignmentsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_okta/get_apps.py b/sdk/python/pulumi_okta/get_apps.py index a92e2882..91f41d1e 100644 --- a/sdk/python/pulumi_okta/get_apps.py +++ b/sdk/python/pulumi_okta/get_apps.py @@ -159,7 +159,7 @@ def get_apps_output(active_only: Optional[pulumi.Input[Optional[bool]]] = None, label: Optional[pulumi.Input[Optional[str]]] = None, label_prefix: Optional[pulumi.Input[Optional[str]]] = None, use_optimization: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAppsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppsResult]: """ Use this data source to access information about an existing resource. @@ -175,7 +175,7 @@ def get_apps_output(active_only: Optional[pulumi.Input[Optional[bool]]] = None, __args__['label'] = label __args__['labelPrefix'] = label_prefix __args__['useOptimization'] = use_optimization - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getApps:getApps', __args__, opts=opts, typ=GetAppsResult) return __ret__.apply(lambda __response__: GetAppsResult( active_only=pulumi.get(__response__, 'active_only'), diff --git a/sdk/python/pulumi_okta/get_auth_server_claim.py b/sdk/python/pulumi_okta/get_auth_server_claim.py index 0f04cbce..d6797c58 100644 --- a/sdk/python/pulumi_okta/get_auth_server_claim.py +++ b/sdk/python/pulumi_okta/get_auth_server_claim.py @@ -187,7 +187,7 @@ def get_auth_server_claim(auth_server_id: Optional[str] = None, def get_auth_server_claim_output(auth_server_id: Optional[pulumi.Input[str]] = None, id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAuthServerClaimResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthServerClaimResult]: """ Get authorization server claim from Okta. @@ -210,7 +210,7 @@ def get_auth_server_claim_output(auth_server_id: Optional[pulumi.Input[str]] = N __args__['authServerId'] = auth_server_id __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getAuthServerClaim:getAuthServerClaim', __args__, opts=opts, typ=GetAuthServerClaimResult) return __ret__.apply(lambda __response__: GetAuthServerClaimResult( always_include_in_token=pulumi.get(__response__, 'always_include_in_token'), diff --git a/sdk/python/pulumi_okta/get_auth_server_claims.py b/sdk/python/pulumi_okta/get_auth_server_claims.py index b483e4fb..f10703fd 100644 --- a/sdk/python/pulumi_okta/get_auth_server_claims.py +++ b/sdk/python/pulumi_okta/get_auth_server_claims.py @@ -101,7 +101,7 @@ def get_auth_server_claims(auth_server_id: Optional[str] = None, claims=pulumi.get(__ret__, 'claims'), id=pulumi.get(__ret__, 'id')) def get_auth_server_claims_output(auth_server_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAuthServerClaimsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthServerClaimsResult]: """ Get a list of authorization server claims from Okta. @@ -119,7 +119,7 @@ def get_auth_server_claims_output(auth_server_id: Optional[pulumi.Input[str]] = """ __args__ = dict() __args__['authServerId'] = auth_server_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getAuthServerClaims:getAuthServerClaims', __args__, opts=opts, typ=GetAuthServerClaimsResult) return __ret__.apply(lambda __response__: GetAuthServerClaimsResult( auth_server_id=pulumi.get(__response__, 'auth_server_id'), diff --git a/sdk/python/pulumi_okta/get_authenticator.py b/sdk/python/pulumi_okta/get_authenticator.py index 5c226f0c..bfd8b9d5 100644 --- a/sdk/python/pulumi_okta/get_authenticator.py +++ b/sdk/python/pulumi_okta/get_authenticator.py @@ -230,7 +230,7 @@ def get_authenticator(id: Optional[str] = None, def get_authenticator_output(id: Optional[pulumi.Input[Optional[str]]] = None, key: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAuthenticatorResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthenticatorResult]: """ Get an authenticator by key, name of ID. @@ -257,7 +257,7 @@ def get_authenticator_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['id'] = id __args__['key'] = key __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getAuthenticator:getAuthenticator', __args__, opts=opts, typ=GetAuthenticatorResult) return __ret__.apply(lambda __response__: GetAuthenticatorResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_okta/get_behaviour.py b/sdk/python/pulumi_okta/get_behaviour.py index 2371e834..3372d99b 100644 --- a/sdk/python/pulumi_okta/get_behaviour.py +++ b/sdk/python/pulumi_okta/get_behaviour.py @@ -121,7 +121,7 @@ def get_behaviour(id: Optional[str] = None, type=pulumi.get(__ret__, 'type')) def get_behaviour_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBehaviourResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBehaviourResult]: """ Get a behavior by name or ID. @@ -132,7 +132,7 @@ def get_behaviour_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__ = dict() __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getBehaviour:getBehaviour', __args__, opts=opts, typ=GetBehaviourResult) return __ret__.apply(lambda __response__: GetBehaviourResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_okta/get_behaviours.py b/sdk/python/pulumi_okta/get_behaviours.py index e8330bfd..00c1345c 100644 --- a/sdk/python/pulumi_okta/get_behaviours.py +++ b/sdk/python/pulumi_okta/get_behaviours.py @@ -98,7 +98,7 @@ def get_behaviours(q: Optional[str] = None, id=pulumi.get(__ret__, 'id'), q=pulumi.get(__ret__, 'q')) def get_behaviours_output(q: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBehavioursResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBehavioursResult]: """ Get a behaviors by search criteria. @@ -116,7 +116,7 @@ def get_behaviours_output(q: Optional[pulumi.Input[Optional[str]]] = None, """ __args__ = dict() __args__['q'] = q - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getBehaviours:getBehaviours', __args__, opts=opts, typ=GetBehavioursResult) return __ret__.apply(lambda __response__: GetBehavioursResult( behaviors=pulumi.get(__response__, 'behaviors'), diff --git a/sdk/python/pulumi_okta/get_brand.py b/sdk/python/pulumi_okta/get_brand.py index 37e02e09..3fa3f973 100644 --- a/sdk/python/pulumi_okta/get_brand.py +++ b/sdk/python/pulumi_okta/get_brand.py @@ -130,7 +130,7 @@ def get_brand(brand_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), remove_powered_by_okta=pulumi.get(__ret__, 'remove_powered_by_okta')) def get_brand_output(brand_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBrandResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBrandResult]: """ Get a single Brand from Okta. @@ -139,7 +139,7 @@ def get_brand_output(brand_id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['brandId'] = brand_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getBrand:getBrand', __args__, opts=opts, typ=GetBrandResult) return __ret__.apply(lambda __response__: GetBrandResult( brand_id=pulumi.get(__response__, 'brand_id'), diff --git a/sdk/python/pulumi_okta/get_brands.py b/sdk/python/pulumi_okta/get_brands.py index b27c474e..e90c14e2 100644 --- a/sdk/python/pulumi_okta/get_brands.py +++ b/sdk/python/pulumi_okta/get_brands.py @@ -82,7 +82,7 @@ def get_brands(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBrand return AwaitableGetBrandsResult( brands=pulumi.get(__ret__, 'brands'), id=pulumi.get(__ret__, 'id')) -def get_brands_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetBrandsResult]: +def get_brands_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBrandsResult]: """ Get the brands belonging to an Okta organization. @@ -96,7 +96,7 @@ def get_brands_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Out ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getBrands:getBrands', __args__, opts=opts, typ=GetBrandsResult) return __ret__.apply(lambda __response__: GetBrandsResult( brands=pulumi.get(__response__, 'brands'), diff --git a/sdk/python/pulumi_okta/get_default_signin_page.py b/sdk/python/pulumi_okta/get_default_signin_page.py index 814a44d0..fad64773 100644 --- a/sdk/python/pulumi_okta/get_default_signin_page.py +++ b/sdk/python/pulumi_okta/get_default_signin_page.py @@ -132,7 +132,7 @@ def get_default_signin_page(brand_id: Optional[str] = None, def get_default_signin_page_output(brand_id: Optional[pulumi.Input[str]] = None, content_security_policy_setting: Optional[pulumi.Input[Optional[Union['GetDefaultSigninPageContentSecurityPolicySettingArgs', 'GetDefaultSigninPageContentSecurityPolicySettingArgsDict']]]] = None, widget_customizations: Optional[pulumi.Input[Optional[Union['GetDefaultSigninPageWidgetCustomizationsArgs', 'GetDefaultSigninPageWidgetCustomizationsArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDefaultSigninPageResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDefaultSigninPageResult]: """ Retrieve the default signin page of a brand @@ -143,7 +143,7 @@ def get_default_signin_page_output(brand_id: Optional[pulumi.Input[str]] = None, __args__['brandId'] = brand_id __args__['contentSecurityPolicySetting'] = content_security_policy_setting __args__['widgetCustomizations'] = widget_customizations - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getDefaultSigninPage:getDefaultSigninPage', __args__, opts=opts, typ=GetDefaultSigninPageResult) return __ret__.apply(lambda __response__: GetDefaultSigninPageResult( brand_id=pulumi.get(__response__, 'brand_id'), diff --git a/sdk/python/pulumi_okta/get_device_assurance_policy.py b/sdk/python/pulumi_okta/get_device_assurance_policy.py index 214896bc..cd80907e 100644 --- a/sdk/python/pulumi_okta/get_device_assurance_policy.py +++ b/sdk/python/pulumi_okta/get_device_assurance_policy.py @@ -196,7 +196,7 @@ def get_device_assurance_policy_output(id: Optional[pulumi.Input[Optional[str]]] name: Optional[pulumi.Input[Optional[str]]] = None, secure_hardware_present: Optional[pulumi.Input[Optional[bool]]] = None, third_party_signal_provider: Optional[pulumi.Input[Optional[Union['GetDeviceAssurancePolicyThirdPartySignalProviderArgs', 'GetDeviceAssurancePolicyThirdPartySignalProviderArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeviceAssurancePolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDeviceAssurancePolicyResult]: """ Get a policy assurance from Okta. @@ -211,7 +211,7 @@ def get_device_assurance_policy_output(id: Optional[pulumi.Input[Optional[str]]] __args__['name'] = name __args__['secureHardwarePresent'] = secure_hardware_present __args__['thirdPartySignalProvider'] = third_party_signal_provider - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getDeviceAssurancePolicy:getDeviceAssurancePolicy', __args__, opts=opts, typ=GetDeviceAssurancePolicyResult) return __ret__.apply(lambda __response__: GetDeviceAssurancePolicyResult( disk_encryption_type=pulumi.get(__response__, 'disk_encryption_type'), diff --git a/sdk/python/pulumi_okta/get_domain.py b/sdk/python/pulumi_okta/get_domain.py index d430bfe5..f6a22ade 100644 --- a/sdk/python/pulumi_okta/get_domain.py +++ b/sdk/python/pulumi_okta/get_domain.py @@ -155,7 +155,7 @@ def get_domain(domain_id_or_name: Optional[str] = None, public_certificate=pulumi.get(__ret__, 'public_certificate'), validation_status=pulumi.get(__ret__, 'validation_status')) def get_domain_output(domain_id_or_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDomainResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDomainResult]: """ Get a domain from Okta. @@ -175,7 +175,7 @@ def get_domain_output(domain_id_or_name: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['domainIdOrName'] = domain_id_or_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getDomain:getDomain', __args__, opts=opts, typ=GetDomainResult) return __ret__.apply(lambda __response__: GetDomainResult( certificate_source_type=pulumi.get(__response__, 'certificate_source_type'), diff --git a/sdk/python/pulumi_okta/get_email_customization.py b/sdk/python/pulumi_okta/get_email_customization.py index 26718326..0636022b 100644 --- a/sdk/python/pulumi_okta/get_email_customization.py +++ b/sdk/python/pulumi_okta/get_email_customization.py @@ -177,7 +177,7 @@ def get_email_customization(brand_id: Optional[str] = None, def get_email_customization_output(brand_id: Optional[pulumi.Input[str]] = None, customization_id: Optional[pulumi.Input[str]] = None, template_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEmailCustomizationResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEmailCustomizationResult]: """ Get the email customization of an email template belonging to a brand in an Okta organization. @@ -190,7 +190,7 @@ def get_email_customization_output(brand_id: Optional[pulumi.Input[str]] = None, __args__['brandId'] = brand_id __args__['customizationId'] = customization_id __args__['templateName'] = template_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getEmailCustomization:getEmailCustomization', __args__, opts=opts, typ=GetEmailCustomizationResult) return __ret__.apply(lambda __response__: GetEmailCustomizationResult( body=pulumi.get(__response__, 'body'), diff --git a/sdk/python/pulumi_okta/get_email_customizations.py b/sdk/python/pulumi_okta/get_email_customizations.py index 9363620c..b35f5879 100644 --- a/sdk/python/pulumi_okta/get_email_customizations.py +++ b/sdk/python/pulumi_okta/get_email_customizations.py @@ -109,7 +109,7 @@ def get_email_customizations(brand_id: Optional[str] = None, template_name=pulumi.get(__ret__, 'template_name')) def get_email_customizations_output(brand_id: Optional[pulumi.Input[str]] = None, template_name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEmailCustomizationsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEmailCustomizationsResult]: """ Get the email customizations of an email template belonging to a brand in an Okta organization. @@ -120,7 +120,7 @@ def get_email_customizations_output(brand_id: Optional[pulumi.Input[str]] = None __args__ = dict() __args__['brandId'] = brand_id __args__['templateName'] = template_name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getEmailCustomizations:getEmailCustomizations', __args__, opts=opts, typ=GetEmailCustomizationsResult) return __ret__.apply(lambda __response__: GetEmailCustomizationsResult( brand_id=pulumi.get(__response__, 'brand_id'), diff --git a/sdk/python/pulumi_okta/get_groups.py b/sdk/python/pulumi_okta/get_groups.py index f414d381..bda1a57c 100644 --- a/sdk/python/pulumi_okta/get_groups.py +++ b/sdk/python/pulumi_okta/get_groups.py @@ -128,7 +128,7 @@ def get_groups(q: Optional[str] = None, def get_groups_output(q: Optional[pulumi.Input[Optional[str]]] = None, search: Optional[pulumi.Input[Optional[str]]] = None, type: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupsResult]: """ Get a list of groups from Okta. @@ -149,7 +149,7 @@ def get_groups_output(q: Optional[pulumi.Input[Optional[str]]] = None, __args__['q'] = q __args__['search'] = search __args__['type'] = type - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getGroups:getGroups', __args__, opts=opts, typ=GetGroupsResult) return __ret__.apply(lambda __response__: GetGroupsResult( groups=pulumi.get(__response__, 'groups'), diff --git a/sdk/python/pulumi_okta/get_log_stream.py b/sdk/python/pulumi_okta/get_log_stream.py index 4e5f0cd4..fddcbe72 100644 --- a/sdk/python/pulumi_okta/get_log_stream.py +++ b/sdk/python/pulumi_okta/get_log_stream.py @@ -123,7 +123,7 @@ def get_log_stream(id: Optional[str] = None, def get_log_stream_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, settings: Optional[pulumi.Input[Optional[Union['GetLogStreamSettingsArgs', 'GetLogStreamSettingsArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetLogStreamResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetLogStreamResult]: """ Log Streams @@ -135,7 +135,7 @@ def get_log_stream_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['id'] = id __args__['name'] = name __args__['settings'] = settings - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getLogStream:getLogStream', __args__, opts=opts, typ=GetLogStreamResult) return __ret__.apply(lambda __response__: GetLogStreamResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_okta/get_network_zone.py b/sdk/python/pulumi_okta/get_network_zone.py index 6c03158b..825fc7f4 100644 --- a/sdk/python/pulumi_okta/get_network_zone.py +++ b/sdk/python/pulumi_okta/get_network_zone.py @@ -246,7 +246,7 @@ def get_network_zone_output(dynamic_locations_excludes: Optional[pulumi.Input[Op ip_service_categories_excludes: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, ip_service_categories_includes: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetNetworkZoneResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNetworkZoneResult]: """ Gets Okta Network Zone. @@ -272,7 +272,7 @@ def get_network_zone_output(dynamic_locations_excludes: Optional[pulumi.Input[Op __args__['ipServiceCategoriesExcludes'] = ip_service_categories_excludes __args__['ipServiceCategoriesIncludes'] = ip_service_categories_includes __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getNetworkZone:getNetworkZone', __args__, opts=opts, typ=GetNetworkZoneResult) return __ret__.apply(lambda __response__: GetNetworkZoneResult( asns=pulumi.get(__response__, 'asns'), diff --git a/sdk/python/pulumi_okta/get_org_metadata.py b/sdk/python/pulumi_okta/get_org_metadata.py index cc5559d7..658025ff 100644 --- a/sdk/python/pulumi_okta/get_org_metadata.py +++ b/sdk/python/pulumi_okta/get_org_metadata.py @@ -110,7 +110,7 @@ def get_org_metadata(domains: Optional[Union['GetOrgMetadataDomainsArgs', 'GetOr settings=pulumi.get(__ret__, 'settings')) def get_org_metadata_output(domains: Optional[pulumi.Input[Optional[Union['GetOrgMetadataDomainsArgs', 'GetOrgMetadataDomainsArgsDict']]]] = None, settings: Optional[pulumi.Input[Optional[Union['GetOrgMetadataSettingsArgs', 'GetOrgMetadataSettingsArgsDict']]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOrgMetadataResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOrgMetadataResult]: """ Retrieves the well-known org metadata, which includes the id, configured custom domains, authentication pipeline, and various other org settings. @@ -121,7 +121,7 @@ def get_org_metadata_output(domains: Optional[pulumi.Input[Optional[Union['GetOr __args__ = dict() __args__['domains'] = domains __args__['settings'] = settings - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getOrgMetadata:getOrgMetadata', __args__, opts=opts, typ=GetOrgMetadataResult) return __ret__.apply(lambda __response__: GetOrgMetadataResult( domains=pulumi.get(__response__, 'domains'), diff --git a/sdk/python/pulumi_okta/get_role_subscription.py b/sdk/python/pulumi_okta/get_role_subscription.py index 389d2469..d1724c68 100644 --- a/sdk/python/pulumi_okta/get_role_subscription.py +++ b/sdk/python/pulumi_okta/get_role_subscription.py @@ -118,7 +118,7 @@ def get_role_subscription(notification_type: Optional[str] = None, status=pulumi.get(__ret__, 'status')) def get_role_subscription_output(notification_type: Optional[pulumi.Input[str]] = None, role_type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRoleSubscriptionResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRoleSubscriptionResult]: """ Get subscriptions of a Role with a specific type @@ -139,7 +139,7 @@ def get_role_subscription_output(notification_type: Optional[pulumi.Input[str]] __args__ = dict() __args__['notificationType'] = notification_type __args__['roleType'] = role_type - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getRoleSubscription:getRoleSubscription', __args__, opts=opts, typ=GetRoleSubscriptionResult) return __ret__.apply(lambda __response__: GetRoleSubscriptionResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_okta/get_template.py b/sdk/python/pulumi_okta/get_template.py index 0b91f946..c874d32e 100644 --- a/sdk/python/pulumi_okta/get_template.py +++ b/sdk/python/pulumi_okta/get_template.py @@ -108,7 +108,7 @@ def get_template(brand_id: Optional[str] = None, name=pulumi.get(__ret__, 'name')) def get_template_output(brand_id: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTemplateResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTemplateResult]: """ Get a single Email Template for a Brand belonging to an Okta organization. @@ -119,7 +119,7 @@ def get_template_output(brand_id: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['brandId'] = brand_id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getTemplate:getTemplate', __args__, opts=opts, typ=GetTemplateResult) return __ret__.apply(lambda __response__: GetTemplateResult( brand_id=pulumi.get(__response__, 'brand_id'), diff --git a/sdk/python/pulumi_okta/get_templates.py b/sdk/python/pulumi_okta/get_templates.py index 9fb567d7..933af20d 100644 --- a/sdk/python/pulumi_okta/get_templates.py +++ b/sdk/python/pulumi_okta/get_templates.py @@ -92,7 +92,7 @@ def get_templates(brand_id: Optional[str] = None, email_templates=pulumi.get(__ret__, 'email_templates'), id=pulumi.get(__ret__, 'id')) def get_templates_output(brand_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTemplatesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTemplatesResult]: """ Get the email templates belonging to a brand in an Okta organization. @@ -101,7 +101,7 @@ def get_templates_output(brand_id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['brandId'] = brand_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getTemplates:getTemplates', __args__, opts=opts, typ=GetTemplatesResult) return __ret__.apply(lambda __response__: GetTemplatesResult( brand_id=pulumi.get(__response__, 'brand_id'), diff --git a/sdk/python/pulumi_okta/get_theme.py b/sdk/python/pulumi_okta/get_theme.py index b0002eaa..436d5a24 100644 --- a/sdk/python/pulumi_okta/get_theme.py +++ b/sdk/python/pulumi_okta/get_theme.py @@ -251,7 +251,7 @@ def get_theme(brand_id: Optional[str] = None, theme_id=pulumi.get(__ret__, 'theme_id')) def get_theme_output(brand_id: Optional[pulumi.Input[str]] = None, theme_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetThemeResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetThemeResult]: """ Get a single Theme of a Brand of an Okta Organization. @@ -262,7 +262,7 @@ def get_theme_output(brand_id: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['brandId'] = brand_id __args__['themeId'] = theme_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getTheme:getTheme', __args__, opts=opts, typ=GetThemeResult) return __ret__.apply(lambda __response__: GetThemeResult( background_image_url=pulumi.get(__response__, 'background_image_url'), diff --git a/sdk/python/pulumi_okta/get_themes.py b/sdk/python/pulumi_okta/get_themes.py index a97d8776..7f23bfe0 100644 --- a/sdk/python/pulumi_okta/get_themes.py +++ b/sdk/python/pulumi_okta/get_themes.py @@ -92,7 +92,7 @@ def get_themes(brand_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), themes=pulumi.get(__ret__, 'themes')) def get_themes_output(brand_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetThemesResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetThemesResult]: """ Get Themes of a Brand of an Okta Organization. @@ -101,7 +101,7 @@ def get_themes_output(brand_id: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['brandId'] = brand_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getThemes:getThemes', __args__, opts=opts, typ=GetThemesResult) return __ret__.apply(lambda __response__: GetThemesResult( brand_id=pulumi.get(__response__, 'brand_id'), diff --git a/sdk/python/pulumi_okta/get_trusted_origins.py b/sdk/python/pulumi_okta/get_trusted_origins.py index fee9a2f3..3d0fb962 100644 --- a/sdk/python/pulumi_okta/get_trusted_origins.py +++ b/sdk/python/pulumi_okta/get_trusted_origins.py @@ -98,7 +98,7 @@ def get_trusted_origins(filter: Optional[str] = None, id=pulumi.get(__ret__, 'id'), trusted_origins=pulumi.get(__ret__, 'trusted_origins')) def get_trusted_origins_output(filter: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetTrustedOriginsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTrustedOriginsResult]: """ Get List of Trusted Origins using filters. @@ -116,7 +116,7 @@ def get_trusted_origins_output(filter: Optional[pulumi.Input[Optional[str]]] = N """ __args__ = dict() __args__['filter'] = filter - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getTrustedOrigins:getTrustedOrigins', __args__, opts=opts, typ=GetTrustedOriginsResult) return __ret__.apply(lambda __response__: GetTrustedOriginsResult( filter=pulumi.get(__response__, 'filter'), diff --git a/sdk/python/pulumi_okta/get_user_security_questions.py b/sdk/python/pulumi_okta/get_user_security_questions.py index 931728e0..8b096a77 100644 --- a/sdk/python/pulumi_okta/get_user_security_questions.py +++ b/sdk/python/pulumi_okta/get_user_security_questions.py @@ -101,7 +101,7 @@ def get_user_security_questions(user_id: Optional[str] = None, questions=pulumi.get(__ret__, 'questions'), user_id=pulumi.get(__ret__, 'user_id')) def get_user_security_questions_output(user_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserSecurityQuestionsResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserSecurityQuestionsResult]: """ ## Example Usage @@ -122,7 +122,7 @@ def get_user_security_questions_output(user_id: Optional[pulumi.Input[str]] = No """ __args__ = dict() __args__['userId'] = user_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:index/getUserSecurityQuestions:getUserSecurityQuestions', __args__, opts=opts, typ=GetUserSecurityQuestionsResult) return __ret__.apply(lambda __response__: GetUserSecurityQuestionsResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_okta/group/get_everyone_group.py b/sdk/python/pulumi_okta/group/get_everyone_group.py index 3be4a780..3fd3867f 100644 --- a/sdk/python/pulumi_okta/group/get_everyone_group.py +++ b/sdk/python/pulumi_okta/group/get_everyone_group.py @@ -102,7 +102,7 @@ def get_everyone_group(include_users: Optional[bool] = None, id=pulumi.get(__ret__, 'id'), include_users=pulumi.get(__ret__, 'include_users')) def get_everyone_group_output(include_users: Optional[pulumi.Input[Optional[bool]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEveryoneGroupResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEveryoneGroupResult]: """ Use this data source to retrieve the `Everyone` group from Okta. The same can be achieved with the `group.Group` data @@ -122,7 +122,7 @@ def get_everyone_group_output(include_users: Optional[pulumi.Input[Optional[bool """ __args__ = dict() __args__['includeUsers'] = include_users - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:group/getEveryoneGroup:getEveryoneGroup', __args__, opts=opts, typ=GetEveryoneGroupResult) return __ret__.apply(lambda __response__: GetEveryoneGroupResult( description=pulumi.get(__response__, 'description'), diff --git a/sdk/python/pulumi_okta/group/get_group.py b/sdk/python/pulumi_okta/group/get_group.py index a9f2ad11..f7ccd7e1 100644 --- a/sdk/python/pulumi_okta/group/get_group.py +++ b/sdk/python/pulumi_okta/group/get_group.py @@ -164,7 +164,7 @@ def get_group_output(delay_read_seconds: Optional[pulumi.Input[Optional[str]]] = include_users: Optional[pulumi.Input[Optional[bool]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, type: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetGroupResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetGroupResult]: """ Get a group from Okta. @@ -189,7 +189,7 @@ def get_group_output(delay_read_seconds: Optional[pulumi.Input[Optional[str]]] = __args__['includeUsers'] = include_users __args__['name'] = name __args__['type'] = type - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:group/getGroup:getGroup', __args__, opts=opts, typ=GetGroupResult) return __ret__.apply(lambda __response__: GetGroupResult( delay_read_seconds=pulumi.get(__response__, 'delay_read_seconds'), diff --git a/sdk/python/pulumi_okta/group/get_rule.py b/sdk/python/pulumi_okta/group/get_rule.py index e8fb4a9c..bf5a91ce 100644 --- a/sdk/python/pulumi_okta/group/get_rule.py +++ b/sdk/python/pulumi_okta/group/get_rule.py @@ -160,7 +160,7 @@ def get_rule(id: Optional[str] = None, def get_rule_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, status: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetRuleResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRuleResult]: """ Get a group rule from Okta. @@ -182,7 +182,7 @@ def get_rule_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__['id'] = id __args__['name'] = name __args__['status'] = status - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:group/getRule:getRule', __args__, opts=opts, typ=GetRuleResult) return __ret__.apply(lambda __response__: GetRuleResult( expression_type=pulumi.get(__response__, 'expression_type'), diff --git a/sdk/python/pulumi_okta/idp/get_metadata_saml.py b/sdk/python/pulumi_okta/idp/get_metadata_saml.py index 521c5e42..35512205 100644 --- a/sdk/python/pulumi_okta/idp/get_metadata_saml.py +++ b/sdk/python/pulumi_okta/idp/get_metadata_saml.py @@ -191,7 +191,7 @@ def get_metadata_saml(idp_id: Optional[str] = None, metadata=pulumi.get(__ret__, 'metadata'), signing_certificate=pulumi.get(__ret__, 'signing_certificate')) def get_metadata_saml_output(idp_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetMetadataSamlResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMetadataSamlResult]: """ Get SAML IdP metadata from Okta. @@ -209,7 +209,7 @@ def get_metadata_saml_output(idp_id: Optional[pulumi.Input[Optional[str]]] = Non """ __args__ = dict() __args__['idpId'] = idp_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:idp/getMetadataSaml:getMetadataSaml', __args__, opts=opts, typ=GetMetadataSamlResult) return __ret__.apply(lambda __response__: GetMetadataSamlResult( assertions_signed=pulumi.get(__response__, 'assertions_signed'), diff --git a/sdk/python/pulumi_okta/idp/get_oidc.py b/sdk/python/pulumi_okta/idp/get_oidc.py index 597ca2a3..b7cc5a56 100644 --- a/sdk/python/pulumi_okta/idp/get_oidc.py +++ b/sdk/python/pulumi_okta/idp/get_oidc.py @@ -299,7 +299,7 @@ def get_oidc(id: Optional[str] = None, user_info_url=pulumi.get(__ret__, 'user_info_url')) def get_oidc_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetOidcResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOidcResult]: """ Get a OIDC IdP from Okta. @@ -319,7 +319,7 @@ def get_oidc_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__ = dict() __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:idp/getOidc:getOidc', __args__, opts=opts, typ=GetOidcResult) return __ret__.apply(lambda __response__: GetOidcResult( authorization_binding=pulumi.get(__response__, 'authorization_binding'), diff --git a/sdk/python/pulumi_okta/idp/get_saml.py b/sdk/python/pulumi_okta/idp/get_saml.py index 2ce91cb9..62026046 100644 --- a/sdk/python/pulumi_okta/idp/get_saml.py +++ b/sdk/python/pulumi_okta/idp/get_saml.py @@ -247,7 +247,7 @@ def get_saml(id: Optional[str] = None, type=pulumi.get(__ret__, 'type')) def get_saml_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSamlResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSamlResult]: """ Get a SAML IdP from Okta. @@ -267,7 +267,7 @@ def get_saml_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__ = dict() __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:idp/getSaml:getSaml', __args__, opts=opts, typ=GetSamlResult) return __ret__.apply(lambda __response__: GetSamlResult( acs_binding=pulumi.get(__response__, 'acs_binding'), diff --git a/sdk/python/pulumi_okta/idp/get_social.py b/sdk/python/pulumi_okta/idp/get_social.py index 0059aac4..77b9e5c3 100644 --- a/sdk/python/pulumi_okta/idp/get_social.py +++ b/sdk/python/pulumi_okta/idp/get_social.py @@ -416,7 +416,7 @@ def get_social(id: Optional[str] = None, username_template=pulumi.get(__ret__, 'username_template')) def get_social_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSocialResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSocialResult]: """ Get a social IdP from Okta. @@ -436,7 +436,7 @@ def get_social_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__ = dict() __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:idp/getSocial:getSocial', __args__, opts=opts, typ=GetSocialResult) return __ret__.apply(lambda __response__: GetSocialResult( account_link_action=pulumi.get(__response__, 'account_link_action'), diff --git a/sdk/python/pulumi_okta/policy/get_default_policy.py b/sdk/python/pulumi_okta/policy/get_default_policy.py index 48f5faf5..60733da7 100644 --- a/sdk/python/pulumi_okta/policy/get_default_policy.py +++ b/sdk/python/pulumi_okta/policy/get_default_policy.py @@ -89,7 +89,7 @@ def get_default_policy(type: Optional[str] = None, id=pulumi.get(__ret__, 'id'), type=pulumi.get(__ret__, 'type')) def get_default_policy_output(type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDefaultPolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDefaultPolicyResult]: """ Use this data source to retrieve a default policy from Okta. This same thing can be achieved using the `policy_get_policy` with default @@ -109,7 +109,7 @@ def get_default_policy_output(type: Optional[pulumi.Input[str]] = None, """ __args__ = dict() __args__['type'] = type - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:policy/getDefaultPolicy:getDefaultPolicy', __args__, opts=opts, typ=GetDefaultPolicyResult) return __ret__.apply(lambda __response__: GetDefaultPolicyResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_okta/policy/get_policy.py b/sdk/python/pulumi_okta/policy/get_policy.py index 95efb769..e8d39a50 100644 --- a/sdk/python/pulumi_okta/policy/get_policy.py +++ b/sdk/python/pulumi_okta/policy/get_policy.py @@ -118,7 +118,7 @@ def get_policy(name: Optional[str] = None, type=pulumi.get(__ret__, 'type')) def get_policy_output(name: Optional[pulumi.Input[str]] = None, type: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPolicyResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicyResult]: """ Get a policy from Okta. @@ -139,7 +139,7 @@ def get_policy_output(name: Optional[pulumi.Input[str]] = None, __args__ = dict() __args__['name'] = name __args__['type'] = type - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:policy/getPolicy:getPolicy', __args__, opts=opts, typ=GetPolicyResult) return __ret__.apply(lambda __response__: GetPolicyResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_okta/user/get_user.py b/sdk/python/pulumi_okta/user/get_user.py index 74dd6c60..279710f4 100644 --- a/sdk/python/pulumi_okta/user/get_user.py +++ b/sdk/python/pulumi_okta/user/get_user.py @@ -525,7 +525,7 @@ def get_user_output(compound_search_operator: Optional[pulumi.Input[Optional[str skip_groups: Optional[pulumi.Input[Optional[bool]]] = None, skip_roles: Optional[pulumi.Input[Optional[bool]]] = None, user_id: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserResult]: """ Get a single users from Okta. @@ -544,7 +544,7 @@ def get_user_output(compound_search_operator: Optional[pulumi.Input[Optional[str __args__['skipGroups'] = skip_groups __args__['skipRoles'] = skip_roles __args__['userId'] = user_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:user/getUser:getUser', __args__, opts=opts, typ=GetUserResult) return __ret__.apply(lambda __response__: GetUserResult( admin_roles=pulumi.get(__response__, 'admin_roles'), diff --git a/sdk/python/pulumi_okta/user/get_user_profile_mapping_source.py b/sdk/python/pulumi_okta/user/get_user_profile_mapping_source.py index 67c88d5c..8d5d113a 100644 --- a/sdk/python/pulumi_okta/user/get_user_profile_mapping_source.py +++ b/sdk/python/pulumi_okta/user/get_user_profile_mapping_source.py @@ -97,7 +97,7 @@ def get_user_profile_mapping_source(opts: Optional[pulumi.InvokeOptions] = None) id=pulumi.get(__ret__, 'id'), name=pulumi.get(__ret__, 'name'), type=pulumi.get(__ret__, 'type')) -def get_user_profile_mapping_source_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserProfileMappingSourceResult]: +def get_user_profile_mapping_source_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserProfileMappingSourceResult]: """ Get the base user Profile Mapping source or target from Okta. @@ -114,7 +114,7 @@ def get_user_profile_mapping_source_output(opts: Optional[pulumi.InvokeOptions] ``` """ __args__ = dict() - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:user/getUserProfileMappingSource:getUserProfileMappingSource', __args__, opts=opts, typ=GetUserProfileMappingSourceResult) return __ret__.apply(lambda __response__: GetUserProfileMappingSourceResult( id=pulumi.get(__response__, 'id'), diff --git a/sdk/python/pulumi_okta/user/get_user_type.py b/sdk/python/pulumi_okta/user/get_user_type.py index b6083378..2098a5f9 100644 --- a/sdk/python/pulumi_okta/user/get_user_type.py +++ b/sdk/python/pulumi_okta/user/get_user_type.py @@ -117,7 +117,7 @@ def get_user_type(id: Optional[str] = None, name=pulumi.get(__ret__, 'name')) def get_user_type_output(id: Optional[pulumi.Input[Optional[str]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUserTypeResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserTypeResult]: """ Get a user type from Okta. @@ -137,7 +137,7 @@ def get_user_type_output(id: Optional[pulumi.Input[Optional[str]]] = None, __args__ = dict() __args__['id'] = id __args__['name'] = name - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:user/getUserType:getUserType', __args__, opts=opts, typ=GetUserTypeResult) return __ret__.apply(lambda __response__: GetUserTypeResult( description=pulumi.get(__response__, 'description'), diff --git a/sdk/python/pulumi_okta/user/get_users.py b/sdk/python/pulumi_okta/user/get_users.py index a1146beb..0a8c84d2 100644 --- a/sdk/python/pulumi_okta/user/get_users.py +++ b/sdk/python/pulumi_okta/user/get_users.py @@ -178,7 +178,7 @@ def get_users_output(compound_search_operator: Optional[pulumi.Input[Optional[st include_groups: Optional[pulumi.Input[Optional[bool]]] = None, include_roles: Optional[pulumi.Input[Optional[bool]]] = None, searches: Optional[pulumi.Input[Optional[Sequence[Union['GetUsersSearchArgs', 'GetUsersSearchArgsDict']]]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetUsersResult]: + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUsersResult]: """ Get a list of users from Okta. @@ -197,7 +197,7 @@ def get_users_output(compound_search_operator: Optional[pulumi.Input[Optional[st __args__['includeGroups'] = include_groups __args__['includeRoles'] = include_roles __args__['searches'] = searches - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke_output('okta:user/getUsers:getUsers', __args__, opts=opts, typ=GetUsersResult) return __ret__.apply(lambda __response__: GetUsersResult( compound_search_operator=pulumi.get(__response__, 'compound_search_operator'),