From 552469f18e5b824913791341932cb5474f591008 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Wed, 24 Jun 2026 04:29:57 +0000 Subject: [PATCH 1/2] make tfgen --- .../pulumi-resource-okta/bridge-metadata.json | 313 ++ provider/cmd/pulumi-resource-okta/schema.json | 3518 +++++++++++++++-- provider/go.mod | 2 +- upstream | 2 +- 4 files changed, 3404 insertions(+), 431 deletions(-) diff --git a/provider/cmd/pulumi-resource-okta/bridge-metadata.json b/provider/cmd/pulumi-resource-okta/bridge-metadata.json index 468734ef9..ffe9d8cb9 100644 --- a/provider/cmd/pulumi-resource-okta/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-okta/bridge-metadata.json @@ -237,6 +237,9 @@ "groups_included": { "maxItemsOne": false }, + "keep_me_signed_in": { + "maxItemsOne": true + }, "network_excludes": { "maxItemsOne": false }, @@ -283,6 +286,9 @@ "groups_included": { "maxItemsOne": false }, + "keep_me_signed_in": { + "maxItemsOne": true + }, "network_excludes": { "maxItemsOne": false }, @@ -431,6 +437,31 @@ "current": "okta:index/authenticator:Authenticator", "majorVersion": 6 }, + "okta_authenticator_method_webauthn": { + "current": "okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn", + "majorVersion": 6, + "fields": { + "aaguid_group": { + "maxItemsOne": false, + "elem": { + "fields": { + "aaguids": { + "maxItemsOne": false + } + } + } + } + } + }, + "okta_authenticator_webauthn_custom_aaguid": { + "current": "okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid", + "majorVersion": 6, + "fields": { + "attestation_root_certificate": { + "maxItemsOne": false + } + } + }, "okta_behavior": { "current": "okta:index/behaviour:Behaviour", "majorVersion": 6 @@ -781,6 +812,85 @@ "current": "okta:index/hookKey:HookKey", "majorVersion": 6 }, + "okta_identity_source_group": { + "current": "okta:index/identitySourceGroup:IdentitySourceGroup", + "majorVersion": 6 + }, + "okta_identity_source_group_membership": { + "current": "okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership", + "majorVersion": 6, + "fields": { + "member_external_ids": { + "maxItemsOne": false + } + } + }, + "okta_identity_source_import": { + "current": "okta:index/identitySourceImport:IdentitySourceImport", + "majorVersion": 6, + "fields": { + "delete_group_memberships": { + "fields": { + "memberships": { + "maxItemsOne": false, + "elem": { + "fields": { + "member_external_ids": { + "maxItemsOne": false + } + } + } + } + } + }, + "delete_groups": { + "fields": { + "external_ids": { + "maxItemsOne": false + } + } + }, + "delete_users": { + "fields": { + "profiles": { + "maxItemsOne": false + } + } + }, + "upsert_group_memberships": { + "fields": { + "memberships": { + "maxItemsOne": false, + "elem": { + "fields": { + "member_external_ids": { + "maxItemsOne": false + } + } + } + } + } + }, + "upsert_groups": { + "fields": { + "profiles": { + "maxItemsOne": false + } + } + }, + "upsert_users": { + "fields": { + "profiles": { + "maxItemsOne": false + } + } + } + } + }, + "okta_identity_source_user": { + "current": "okta:index/identitySourceUser:IdentitySourceUser", + "majorVersion": 6 + }, "okta_idp_oidc": { "current": "okta:idp/oidc:Oidc", "majorVersion": 6, @@ -1616,6 +1726,81 @@ } } }, + "okta_app_sign_on_policy_rule": { + "current": "okta:app/getSignOnPolicyRule:getSignOnPolicyRule", + "majorVersion": 6, + "fields": { + "conditions": { + "fields": { + "device": { + "fields": { + "assurance": { + "fields": { + "include": { + "maxItemsOne": false + } + } + } + } + }, + "network": { + "fields": { + "exclude": { + "maxItemsOne": false + }, + "include": { + "maxItemsOne": false + } + } + }, + "people": { + "fields": { + "groups": { + "fields": { + "exclude": { + "maxItemsOne": false + }, + "include": { + "maxItemsOne": false + } + } + }, + "users": { + "fields": { + "exclude": { + "maxItemsOne": false + }, + "include": { + "maxItemsOne": false + } + } + } + } + }, + "platform": { + "fields": { + "exclude": { + "maxItemsOne": false + }, + "include": { + "maxItemsOne": false + } + } + }, + "user_type": { + "fields": { + "exclude": { + "maxItemsOne": false + }, + "include": { + "maxItemsOne": false + } + } + } + } + } + } + }, "okta_app_signon_policy": { "current": "okta:index/getAppSignonPolicy:getAppSignonPolicy", "majorVersion": 6 @@ -1723,6 +1908,73 @@ "current": "okta:index/getAuthenticator:getAuthenticator", "majorVersion": 6 }, + "okta_authenticator_method_webauthn": { + "current": "okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", + "majorVersion": 6, + "fields": { + "aaguid_groups": { + "maxItemsOne": false, + "elem": { + "fields": { + "aaguids": { + "maxItemsOne": false + } + } + } + } + } + }, + "okta_authenticator_webauthn_custom_aaguids": { + "current": "okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", + "majorVersion": 6, + "fields": { + "custom_aaguids": { + "maxItemsOne": false + } + } + }, + "okta_authorization_servers_policies_rule": { + "current": "okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", + "majorVersion": 6, + "fields": { + "conditions": { + "fields": { + "grant_types": { + "fields": { + "include": { + "maxItemsOne": false + } + } + }, + "people": { + "fields": { + "groups": { + "fields": { + "include": { + "maxItemsOne": false + } + } + }, + "users": { + "fields": { + "include": { + "maxItemsOne": false + } + } + } + } + }, + "scopes": { + "fields": { + "include": { + "maxItemsOne": false + } + } + } + } + } + } + }, "okta_behavior": { "current": "okta:index/getBehaviour:getBehaviour", "majorVersion": 6 @@ -2046,6 +2298,36 @@ "current": "okta:index/getHookKey:getHookKey", "majorVersion": 6 }, + "okta_iam_assignees_user": { + "current": "okta:index/getIamAssigneesUser:getIamAssigneesUser", + "majorVersion": 6, + "fields": { + "items": { + "maxItemsOne": false + } + } + }, + "okta_identity_source_group_memberships": { + "current": "okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", + "majorVersion": 6, + "fields": { + "member_external_ids": { + "maxItemsOne": false + } + } + }, + "okta_identity_source_groups": { + "current": "okta:index/getIdentitySourceGroups:getIdentitySourceGroups", + "majorVersion": 6 + }, + "okta_identity_source_sessions": { + "current": "okta:index/getIdentitySourceSessions:getIdentitySourceSessions", + "majorVersion": 6 + }, + "okta_identity_source_users": { + "current": "okta:index/getIdentitySourceUsers:getIdentitySourceUsers", + "majorVersion": 6 + }, "okta_idp_metadata_saml": { "current": "okta:idp/getMetadataSaml:getMetadataSaml", "majorVersion": 6 @@ -2531,6 +2813,8 @@ } } }, + "okta_authenticator_method_webauthn": {}, + "okta_authenticator_webauthn_custom_aaguid": {}, "okta_brand": {}, "okta_campaign": {}, "okta_customized_signin_page": {}, @@ -2544,6 +2828,20 @@ "okta_group_owner": {}, "okta_group_owners": {}, "okta_hook_key": {}, + "okta_identity_source_group": {}, + "okta_identity_source_group_membership": {}, + "okta_identity_source_import": {}, + "okta_identity_source_user": { + "fields": { + "id": { + "name": "identitySourceUserId" + } + }, + "computeID": { + "kind": "delegate", + "field": "identitySourceUserId" + } + }, "okta_log_stream": {}, "okta_policy_device_assurance_android": {}, "okta_policy_device_assurance_chromeos": {}, @@ -2650,6 +2948,8 @@ "okta:index/authServerClaimDefault:AuthServerClaimDefault": 0, "okta:index/authServerDefault:AuthServerDefault": 0, "okta:index/authenticator:Authenticator": 0, + "okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn": 1, + "okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid": 1, "okta:index/behaviour:Behaviour": 0, "okta:index/brand:Brand": 1, "okta:index/campaign:Campaign": 1, @@ -2678,6 +2978,10 @@ "okta:index/groupMemberships:GroupMemberships": 0, "okta:index/groupSchemaProperty:GroupSchemaProperty": 0, "okta:index/hookKey:HookKey": 1, + "okta:index/identitySourceGroup:IdentitySourceGroup": 1, + "okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership": 1, + "okta:index/identitySourceImport:IdentitySourceImport": 1, + "okta:index/identitySourceUser:IdentitySourceUser": 1, "okta:index/linkDefinition:LinkDefinition": 0, "okta:index/linkValue:LinkValue": 0, "okta:index/logStream:LogStream": 1, @@ -2747,6 +3051,7 @@ "okta:app/getMetadataSaml:getMetadataSaml": 0, "okta:app/getOauth:getOauth": 0, "okta:app/getSaml:getSaml": 0, + "okta:app/getSignOnPolicyRule:getSignOnPolicyRule": 1, "okta:app/getToken:getToken": 1, "okta:auth/getServer:getServer": 0, "okta:auth/getServerClients:getServerClients": 1, @@ -2771,6 +3076,9 @@ "okta:index/getAuthServerClaim:getAuthServerClaim": 0, "okta:index/getAuthServerClaims:getAuthServerClaims": 0, "okta:index/getAuthenticator:getAuthenticator": 0, + "okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn": 1, + "okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids": 1, + "okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule": 1, "okta:index/getBehaviour:getBehaviour": 0, "okta:index/getBehaviours:getBehaviours": 0, "okta:index/getBrand:getBrand": 0, @@ -2792,6 +3100,11 @@ "okta:index/getFeatures:getFeatures": 1, "okta:index/getGroups:getGroups": 0, "okta:index/getHookKey:getHookKey": 1, + "okta:index/getIamAssigneesUser:getIamAssigneesUser": 1, + "okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships": 1, + "okta:index/getIdentitySourceGroups:getIdentitySourceGroups": 1, + "okta:index/getIdentitySourceSessions:getIdentitySourceSessions": 1, + "okta:index/getIdentitySourceUsers:getIdentitySourceUsers": 1, "okta:index/getLogStream:getLogStream": 1, "okta:index/getNetworkZone:getNetworkZone": 0, "okta:index/getOauthAuthorizationServer:getOauthAuthorizationServer": 1, diff --git a/provider/cmd/pulumi-resource-okta/schema.json b/provider/cmd/pulumi-resource-okta/schema.json index ab55f9515..b31707684 100644 --- a/provider/cmd/pulumi-resource-okta/schema.json +++ b/provider/cmd/pulumi-resource-okta/schema.json @@ -42,7 +42,7 @@ "respectSchemaVersion": true }, "nodejs": { - "packageDescription": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v6.10.0", + "packageDescription": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v6.12.0", "readme": "\u003e This provider is a derived work of the [Terraform Provider](https://github.com/okta/terraform-provider-okta)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e first check the [`pulumi-okta` repo](https://github.com/pulumi/pulumi-okta/issues); however, if that doesn't turn up anything,\n\u003e please consult the source [`terraform-provider-okta` repo](https://github.com/okta/terraform-provider-okta/issues).", "devDependencies": { "@types/mime": "^2.0.0", @@ -667,6 +667,10 @@ "type": "string", "description": "Inactivity period before re-authentication in ISO 8601 duration format.\n" }, + "keepMeSignedIn": { + "$ref": "#/types/okta:app/SignonPolicyRulesRuleKeepMeSignedIn:SignonPolicyRulesRuleKeepMeSignedIn", + "description": "Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the \"Option to stay signed in\". Requires the KMSI feature to be enabled on the Okta org.\n" + }, "name": { "type": "string", "description": "Policy Rule Name. Must be unique within the policy.\n" @@ -706,7 +710,7 @@ }, "riskScore": { "type": "string", - "description": "Risk score level to match: ANY, LOW, MEDIUM, or HIGH.\n" + "description": "Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature.\n" }, "status": { "type": "string", @@ -770,6 +774,26 @@ } } }, + "okta:app/SignonPolicyRulesRuleKeepMeSignedIn:SignonPolicyRulesRuleKeepMeSignedIn": { + "properties": { + "postAuth": { + "type": "string", + "description": "Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`.\n" + }, + "postAuthPromptFrequency": { + "type": "string", + "description": "How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`).\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "postAuth" + ] + } + } + }, "okta:app/SignonPolicyRulesRulePlatformInclude:SignonPolicyRulesRulePlatformInclude": { "properties": { "osExpression": { @@ -1168,6 +1192,484 @@ } } }, + "okta:app/getSignOnPolicyRuleActions:getSignOnPolicyRuleActions": { + "properties": { + "appSignOn": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleActionsAppSignOn:getSignOnPolicyRuleActionsAppSignOn", + "description": "Specifies the results when a user attempts to sign in\n" + } + }, + "type": "object" + }, + "okta:app/getSignOnPolicyRuleActionsAppSignOn:getSignOnPolicyRuleActionsAppSignOn": { + "properties": { + "access": { + "type": "string", + "description": "Access\n" + }, + "keepMeSignedIn": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn:getSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn", + "description": "Controls how often the post-authentication prompt is presented to users\n" + }, + "verificationMethod": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleActionsAppSignOnVerificationMethod:getSignOnPolicyRuleActionsAppSignOnVerificationMethod", + "description": "The method used to verify a user\n" + } + }, + "type": "object", + "required": [ + "access" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn:getSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn": { + "properties": { + "postAuth": { + "type": "string", + "description": "Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed.\n" + }, + "postAuthPromptFrequency": { + "type": "string", + "description": "A time duration specified as an ISO 8601 duration\n" + } + }, + "type": "object", + "required": [ + "postAuth", + "postAuthPromptFrequency" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleActionsAppSignOnVerificationMethod:getSignOnPolicyRuleActionsAppSignOnVerificationMethod": { + "properties": { + "type": { + "type": "string", + "description": "Verification method type\n" + } + }, + "type": "object", + "required": [ + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditions:getSignOnPolicyRuleConditions": { + "properties": { + "device": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsDevice:getSignOnPolicyRuleConditionsDevice", + "description": "Specifies the device condition to match on\n" + }, + "elCondition": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsElCondition:getSignOnPolicyRuleConditionsElCondition", + "description": "Specifies Okta Expression Language expressions\n" + }, + "network": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsNetwork:getSignOnPolicyRuleConditionsNetwork", + "description": "Specifies a network selection mode and a set of network zones to be included or excluded.\n" + }, + "people": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPeople:getSignOnPolicyRuleConditionsPeople", + "description": "Specifies the users and groups that are included or excluded by the policy rule\n" + }, + "platform": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPlatform:getSignOnPolicyRuleConditionsPlatform", + "description": "Specifies a particular platform or device to match on\n" + }, + "riskScore": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsRiskScore:getSignOnPolicyRuleConditionsRiskScore", + "description": "Specifies a particular level of risk to match on\n" + }, + "userType": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsUserType:getSignOnPolicyRuleConditionsUserType", + "description": "Specifies which user types to include and/or exclude\n" + } + }, + "type": "object" + }, + "okta:app/getSignOnPolicyRuleConditionsDevice:getSignOnPolicyRuleConditionsDevice": { + "properties": { + "assurance": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsDeviceAssurance:getSignOnPolicyRuleConditionsDeviceAssurance", + "description": "Specifies device assurance policies in the policy rule.\n" + }, + "managed": { + "type": "boolean", + "description": "Indicates if the device is managed.\n" + }, + "registered": { + "type": "boolean", + "description": "Indicates if the device is registered.\n" + } + }, + "type": "object", + "required": [ + "managed", + "registered" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsDeviceAssurance:getSignOnPolicyRuleConditionsDeviceAssurance": { + "properties": { + "includes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Specifies the device assurance policy ID\n" + } + }, + "type": "object", + "required": [ + "includes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsElCondition:getSignOnPolicyRuleConditionsElCondition": { + "properties": { + "condition": { + "type": "string", + "description": "expression to match\n" + } + }, + "type": "object", + "required": [ + "condition" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsNetwork:getSignOnPolicyRuleConditionsNetwork": { + "properties": { + "connection": { + "type": "string", + "description": "Network selection mode\n" + }, + "excludes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The zones to exclude.\n" + }, + "includes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The zones to include.\n" + } + }, + "type": "object", + "required": [ + "connection", + "excludes", + "includes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsPeople:getSignOnPolicyRuleConditionsPeople": { + "properties": { + "groups": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPeopleGroups:getSignOnPolicyRuleConditionsPeopleGroups", + "description": "Specifies a set of groups whose users are to be included or excluded\n" + }, + "users": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPeopleUsers:getSignOnPolicyRuleConditionsPeopleUsers", + "description": "Specifies a set of users to be included or excluded\n" + } + }, + "type": "object" + }, + "okta:app/getSignOnPolicyRuleConditionsPeopleGroups:getSignOnPolicyRuleConditionsPeopleGroups": { + "properties": { + "excludes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Groups to be excluded\n" + }, + "includes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Groups to be included\n" + } + }, + "type": "object", + "required": [ + "excludes", + "includes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsPeopleUsers:getSignOnPolicyRuleConditionsPeopleUsers": { + "properties": { + "excludes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Users to be excluded\n" + }, + "includes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Users to be included\n" + } + }, + "type": "object", + "required": [ + "excludes", + "includes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsPlatform:getSignOnPolicyRuleConditionsPlatform": { + "properties": { + "excludes": { + "type": "array", + "items": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPlatformExclude:getSignOnPolicyRuleConditionsPlatformExclude" + }, + "description": "Exclude\n" + }, + "includes": { + "type": "array", + "items": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPlatformInclude:getSignOnPolicyRuleConditionsPlatformInclude" + }, + "description": "Include\n" + } + }, + "type": "object" + }, + "okta:app/getSignOnPolicyRuleConditionsPlatformExclude:getSignOnPolicyRuleConditionsPlatformExclude": { + "properties": { + "os": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPlatformExcludeOs:getSignOnPolicyRuleConditionsPlatformExcludeOs", + "description": "Os\n" + }, + "type": { + "type": "string", + "description": "The type of platform\n" + } + }, + "type": "object", + "required": [ + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsPlatformExcludeOs:getSignOnPolicyRuleConditionsPlatformExcludeOs": { + "properties": { + "expression": { + "type": "string", + "description": "Expression\n" + }, + "type": { + "type": "string", + "description": "The type of operating system\n" + }, + "version": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPlatformExcludeOsVersion:getSignOnPolicyRuleConditionsPlatformExcludeOsVersion", + "description": "Version\n" + } + }, + "type": "object", + "required": [ + "expression", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsPlatformExcludeOsVersion:getSignOnPolicyRuleConditionsPlatformExcludeOsVersion": { + "properties": { + "matchType": { + "type": "string", + "description": "MatchType\n" + }, + "value": { + "type": "string", + "description": "Value\n" + } + }, + "type": "object", + "required": [ + "matchType", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsPlatformInclude:getSignOnPolicyRuleConditionsPlatformInclude": { + "properties": { + "os": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPlatformIncludeOs:getSignOnPolicyRuleConditionsPlatformIncludeOs", + "description": "Os\n" + }, + "type": { + "type": "string", + "description": "The type of platform\n" + } + }, + "type": "object", + "required": [ + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsPlatformIncludeOs:getSignOnPolicyRuleConditionsPlatformIncludeOs": { + "properties": { + "expression": { + "type": "string", + "description": "Expression\n" + }, + "type": { + "type": "string", + "description": "The type of operating system\n" + }, + "version": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditionsPlatformIncludeOsVersion:getSignOnPolicyRuleConditionsPlatformIncludeOsVersion", + "description": "Version\n" + } + }, + "type": "object", + "required": [ + "expression", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsPlatformIncludeOsVersion:getSignOnPolicyRuleConditionsPlatformIncludeOsVersion": { + "properties": { + "matchType": { + "type": "string", + "description": "MatchType\n" + }, + "value": { + "type": "string", + "description": "Value\n" + } + }, + "type": "object", + "required": [ + "matchType", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsRiskScore:getSignOnPolicyRuleConditionsRiskScore": { + "properties": { + "level": { + "type": "string", + "description": "The level to match\n" + }, + "minRiskLevel": { + "type": "string", + "description": "The minimum risk level to match.\n" + } + }, + "type": "object", + "required": [ + "level", + "minRiskLevel" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:app/getSignOnPolicyRuleConditionsUserType:getSignOnPolicyRuleConditionsUserType": { + "properties": { + "excludes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The user types to exclude\n" + }, + "includes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The user types to include\n" + } + }, + "type": "object", + "required": [ + "excludes", + "includes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "okta:auth/getServerScopesScope:getServerScopesScope": { "properties": { "consent": { @@ -1359,6 +1861,19 @@ "profile" ] }, + "okta:index/AppSignonPolicyRuleKeepMeSignedIn:AppSignonPolicyRuleKeepMeSignedIn": { + "properties": { + "postAuth": { + "type": "string", + "description": "Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`.\n" + }, + "postAuthPromptFrequency": { + "type": "string", + "description": "How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`).\n" + } + }, + "type": "object" + }, "okta:index/AppSignonPolicyRulePlatformInclude:AppSignonPolicyRulePlatformInclude": { "properties": { "osExpression": { @@ -1408,6 +1923,127 @@ "title" ] }, + "okta:index/AuthenticatorMethodWebauthnAaguidGroup:AuthenticatorMethodWebauthnAaguidGroup": { + "properties": { + "aaguids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of FIDO2 AAGUIDs in this group.\n" + }, + "name": { + "type": "string", + "description": "A name to identify the group of FIDO2 AAGUIDs.\n" + } + }, + "type": "object", + "required": [ + "aaguids", + "name" + ] + }, + "okta:index/AuthenticatorMethodWebauthnRpId:AuthenticatorMethodWebauthnRpId": { + "properties": { + "domain": { + "$ref": "#/types/okta:index/AuthenticatorMethodWebauthnRpIdDomain:AuthenticatorMethodWebauthnRpIdDomain", + "description": "The RP domain configuration. Contains:\n" + }, + "enabled": { + "type": "boolean", + "description": "Whether the RP ID is active and used for WebAuthn operations.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "enabled" + ] + } + } + }, + "okta:index/AuthenticatorMethodWebauthnRpIdDomain:AuthenticatorMethodWebauthnRpIdDomain": { + "properties": { + "name": { + "type": "string", + "description": "The RP ID domain value used for WebAuthn operations.\n" + }, + "validationStatus": { + "type": "string", + "description": "The validation status of the domain.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "name", + "validationStatus" + ] + } + } + }, + "okta:index/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate:AuthenticatorWebauthnCustomAaguidAttestationRootCertificate": { + "properties": { + "expiry": { + "type": "string", + "description": "Expiry date of the certificate.\n" + }, + "issuer": { + "type": "string", + "description": "Issuer of the certificate.\n" + }, + "x5c": { + "type": "string", + "description": "X.509 certificate chain (base64-encoded).\n" + }, + "x5tS256": { + "type": "string", + "description": "SHA-256 hash (thumbprint) of the X.509 certificate.\n" + } + }, + "type": "object", + "required": [ + "x5c" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "expiry", + "issuer", + "x5c", + "x5tS256" + ] + } + } + }, + "okta:index/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics:AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics": { + "properties": { + "fipsCompliant": { + "type": "boolean", + "description": "Indicates whether the authenticator meets FIPS compliance requirements.\n" + }, + "hardwareProtected": { + "type": "boolean", + "description": "Indicates whether the authenticator stores the private key on a hardware component.\n" + }, + "platformAttached": { + "type": "boolean", + "description": "Indicates whether the custom AAGUID is built into the authenticator or is external.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "fipsCompliant", + "hardwareProtected", + "platformAttached" + ] + } + } + }, "okta:index/CampaignNotificationSettings:CampaignNotificationSettings": { "properties": { "notifyReviewPeriodEnd": { @@ -2317,6 +2953,245 @@ "title" ] }, + "okta:index/IdentitySourceGroupProfile:IdentitySourceGroupProfile": { + "properties": { + "description": { + "type": "string", + "description": "Description of the group.\n" + }, + "displayName": { + "type": "string", + "description": "Name of the group.\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportDeleteGroupMemberships:IdentitySourceImportDeleteGroupMemberships": { + "properties": { + "memberships": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteGroupMembershipsMembership:IdentitySourceImportDeleteGroupMembershipsMembership" + }, + "description": "Group memberships to delete. (see below)\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportDeleteGroupMembershipsMembership:IdentitySourceImportDeleteGroupMembershipsMembership": { + "properties": { + "groupExternalId": { + "type": "string", + "description": "External ID of the group.\n" + }, + "memberExternalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "External IDs of the group members to remove.\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportDeleteGroups:IdentitySourceImportDeleteGroups": { + "properties": { + "externalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "External IDs of the groups to delete.\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportDeleteUsers:IdentitySourceImportDeleteUsers": { + "properties": { + "entityType": { + "type": "string", + "description": "Entity type. Currently only `USERS` is supported.\n" + }, + "profiles": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteUsersProfile:IdentitySourceImportDeleteUsersProfile" + }, + "description": "User profiles to delete (by external ID). (see below)\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportDeleteUsersProfile:IdentitySourceImportDeleteUsersProfile": { + "properties": { + "externalId": { + "type": "string", + "description": "External ID of the user to delete.\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportUpsertGroupMemberships:IdentitySourceImportUpsertGroupMemberships": { + "properties": { + "memberships": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertGroupMembershipsMembership:IdentitySourceImportUpsertGroupMembershipsMembership" + }, + "description": "Group memberships to upsert. (see below)\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportUpsertGroupMembershipsMembership:IdentitySourceImportUpsertGroupMembershipsMembership": { + "properties": { + "groupExternalId": { + "type": "string", + "description": "External ID of the group.\n" + }, + "memberExternalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "External IDs of the group members to add.\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportUpsertGroups:IdentitySourceImportUpsertGroups": { + "properties": { + "profiles": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertGroupsProfile:IdentitySourceImportUpsertGroupsProfile" + }, + "description": "Group profiles to upsert. (see below)\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportUpsertGroupsProfile:IdentitySourceImportUpsertGroupsProfile": { + "properties": { + "externalId": { + "type": "string", + "description": "External ID of the group.\n" + }, + "groupProfile": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertGroupsProfileGroupProfile:IdentitySourceImportUpsertGroupsProfileGroupProfile", + "description": "Group profile attributes. (see below)\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportUpsertGroupsProfileGroupProfile:IdentitySourceImportUpsertGroupsProfileGroupProfile": { + "properties": { + "description": { + "type": "string", + "description": "Description of the group.\n" + }, + "displayName": { + "type": "string", + "description": "Display name of the group.\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportUpsertUsers:IdentitySourceImportUpsertUsers": { + "properties": { + "entityType": { + "type": "string", + "description": "Entity type. Currently only `USERS` is supported.\n" + }, + "profiles": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertUsersProfile:IdentitySourceImportUpsertUsersProfile" + }, + "description": "User profiles to upsert. (see below)\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportUpsertUsersProfile:IdentitySourceImportUpsertUsersProfile": { + "properties": { + "externalId": { + "type": "string", + "description": "External ID of the user.\n" + }, + "profile": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertUsersProfileProfile:IdentitySourceImportUpsertUsersProfileProfile", + "description": "User profile attributes. (see below)\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceImportUpsertUsersProfileProfile:IdentitySourceImportUpsertUsersProfileProfile": { + "properties": { + "email": { + "type": "string", + "description": "Email address of the user.\n" + }, + "firstName": { + "type": "string", + "description": "First name of the user.\n" + }, + "homeAddress": { + "type": "string", + "description": "Home address of the user.\n" + }, + "lastName": { + "type": "string", + "description": "Last name of the user.\n" + }, + "mobilePhone": { + "type": "string", + "description": "Mobile phone number of the user.\n" + }, + "secondEmail": { + "type": "string", + "description": "Alternative email address of the user.\n" + }, + "userName": { + "type": "string", + "description": "Username of the user.\n" + } + }, + "type": "object" + }, + "okta:index/IdentitySourceUserProfile:IdentitySourceUserProfile": { + "properties": { + "email": { + "type": "string", + "description": "Email address of the user.\n" + }, + "firstName": { + "type": "string", + "description": "First name of the user.\n" + }, + "homeAddress": { + "type": "string", + "description": "Home address of the user.\n" + }, + "lastName": { + "type": "string", + "description": "Last name of the user.\n" + }, + "mobilePhone": { + "type": "string", + "description": "Mobile phone number of the user.\n" + }, + "secondEmail": { + "type": "string", + "description": "Alternative email address of the user.\n" + }, + "userName": { + "type": "string", + "description": "Username of the user.\n" + } + }, + "type": "object" + }, "okta:index/LogStreamSettings:LogStreamSettings": { "properties": { "accountId": { @@ -2479,6 +3354,9 @@ }, "samAccountName": { "type": "string" + }, + "type": { + "type": "string" } }, "type": "object", @@ -2486,7 +3364,8 @@ "distinguishedName", "groupScope", "groupType", - "samAccountName" + "samAccountName", + "type" ] }, "okta:index/PushProviderConfiguration:PushProviderConfiguration": { @@ -3303,6 +4182,294 @@ } } }, + "okta:index/getAuthenticatorMethodWebauthnAaguidGroup:getAuthenticatorMethodWebauthnAaguidGroup": { + "properties": { + "aaguids": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of FIDO2 AAGUIDs in this group.\n" + }, + "name": { + "type": "string", + "description": "The name of the AAGUID group.\n" + } + }, + "type": "object", + "required": [ + "aaguids", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthenticatorMethodWebauthnRpId:getAuthenticatorMethodWebauthnRpId": { + "properties": { + "domain": { + "$ref": "#/types/okta:index/getAuthenticatorMethodWebauthnRpIdDomain:getAuthenticatorMethodWebauthnRpIdDomain", + "description": "The RP domain configuration. Contains:\n" + }, + "enabled": { + "type": "boolean", + "description": "Whether the RP ID is active and used for WebAuthn operations.\n" + } + }, + "type": "object", + "required": [ + "enabled" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthenticatorMethodWebauthnRpIdDomain:getAuthenticatorMethodWebauthnRpIdDomain": { + "properties": { + "name": { + "type": "string", + "description": "The name of the AAGUID group.\n" + }, + "validationStatus": { + "type": "string", + "description": "The validation status of the domain.\n" + } + }, + "type": "object", + "required": [ + "name", + "validationStatus" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthenticatorWebauthnCustomAaguidsCustomAaguid:getAuthenticatorWebauthnCustomAaguidsCustomAaguid": { + "properties": { + "aaguid": { + "type": "string", + "description": "The AAGUID identifier.\n" + }, + "authenticatorCharacteristics": { + "$ref": "#/types/okta:index/getAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics:getAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics", + "description": "Properties of the custom AAGUID authenticator.\n" + }, + "name": { + "type": "string", + "description": "The product name associated with the AAGUID.\n" + } + }, + "type": "object", + "required": [ + "aaguid", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics:getAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics": { + "properties": { + "fipsCompliant": { + "type": "boolean", + "description": "Whether the authenticator meets FIPS compliance requirements.\n" + }, + "hardwareProtected": { + "type": "boolean", + "description": "Whether the authenticator stores the private key on hardware.\n" + }, + "platformAttached": { + "type": "boolean", + "description": "Whether the AAGUID is built into the authenticator or is external.\n" + } + }, + "type": "object", + "required": [ + "fipsCompliant", + "hardwareProtected", + "platformAttached" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthorizationServersPoliciesRuleActions:getAuthorizationServersPoliciesRuleActions": { + "properties": { + "token": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleActionsToken:getAuthorizationServersPoliciesRuleActionsToken", + "description": "Token\n" + } + }, + "type": "object" + }, + "okta:index/getAuthorizationServersPoliciesRuleActionsToken:getAuthorizationServersPoliciesRuleActionsToken": { + "properties": { + "accessTokenLifetimeMinutes": { + "type": "integer", + "description": "Lifetime of the access token in minutes.\n" + }, + "inlineHook": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleActionsTokenInlineHook:getAuthorizationServersPoliciesRuleActionsTokenInlineHook", + "description": "InlineHook\n" + }, + "refreshTokenLifetimeMinutes": { + "type": "integer", + "description": "Lifetime of the refresh token is the minimum access token lifetime.\n" + }, + "refreshTokenWindowMinutes": { + "type": "integer", + "description": "Timeframe when the refresh token is valid.\n" + } + }, + "type": "object", + "required": [ + "accessTokenLifetimeMinutes", + "refreshTokenLifetimeMinutes", + "refreshTokenWindowMinutes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthorizationServersPoliciesRuleActionsTokenInlineHook:getAuthorizationServersPoliciesRuleActionsTokenInlineHook": { + "properties": { + "id": { + "type": "string", + "description": "Unique identifier of the authorization server policy rule.\n" + } + }, + "type": "object", + "required": [ + "id" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthorizationServersPoliciesRuleConditions:getAuthorizationServersPoliciesRuleConditions": { + "properties": { + "grantTypes": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleConditionsGrantTypes:getAuthorizationServersPoliciesRuleConditionsGrantTypes", + "description": "Array of grant types that this condition includes.\n" + }, + "people": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleConditionsPeople:getAuthorizationServersPoliciesRuleConditionsPeople", + "description": "Identifies Users and Groups that are used together\n" + }, + "scopes": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleConditionsScopes:getAuthorizationServersPoliciesRuleConditionsScopes", + "description": "Array of scopes that the condition includes\n" + } + }, + "type": "object" + }, + "okta:index/getAuthorizationServersPoliciesRuleConditionsGrantTypes:getAuthorizationServersPoliciesRuleConditionsGrantTypes": { + "properties": { + "includes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Array of grant types that this condition includes.\n" + } + }, + "type": "object", + "required": [ + "includes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthorizationServersPoliciesRuleConditionsPeople:getAuthorizationServersPoliciesRuleConditionsPeople": { + "properties": { + "groups": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleConditionsPeopleGroups:getAuthorizationServersPoliciesRuleConditionsPeopleGroups", + "description": "Specifies a set of Groups whose Users are to be included\n" + }, + "users": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleConditionsPeopleUsers:getAuthorizationServersPoliciesRuleConditionsPeopleUsers", + "description": "Specifies a set of Users to be included\n" + } + }, + "type": "object" + }, + "okta:index/getAuthorizationServersPoliciesRuleConditionsPeopleGroups:getAuthorizationServersPoliciesRuleConditionsPeopleGroups": { + "properties": { + "includes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Groups to be included\n" + } + }, + "type": "object", + "required": [ + "includes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthorizationServersPoliciesRuleConditionsPeopleUsers:getAuthorizationServersPoliciesRuleConditionsPeopleUsers": { + "properties": { + "includes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Users to be included\n" + } + }, + "type": "object", + "required": [ + "includes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getAuthorizationServersPoliciesRuleConditionsScopes:getAuthorizationServersPoliciesRuleConditionsScopes": { + "properties": { + "includes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Include\n" + } + }, + "type": "object", + "required": [ + "includes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "okta:index/getBehavioursBehavior:getBehavioursBehavior": { "properties": { "id": { @@ -5006,6 +6173,89 @@ } } }, + "okta:index/getIamAssigneesUserItem:getIamAssigneesUserItem": { + "properties": { + "id": { + "type": "string" + }, + "orn": { + "type": "string", + "description": "ORN representing the assignee\n" + } + }, + "type": "object", + "required": [ + "id", + "orn" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getIdentitySourceGroupsProfile:getIdentitySourceGroupsProfile": { + "properties": { + "description": { + "type": "string", + "description": "Description of the group.\n" + }, + "displayName": { + "type": "string", + "description": "Display name of the group.\n" + } + }, + "type": "object", + "required": [ + "description", + "displayName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "okta:index/getIdentitySourceUsersProfile:getIdentitySourceUsersProfile": { + "properties": { + "email": { + "type": "string" + }, + "firstName": { + "type": "string" + }, + "homeAddress": { + "type": "string" + }, + "lastName": { + "type": "string" + }, + "mobilePhone": { + "type": "string" + }, + "secondEmail": { + "type": "string" + }, + "userName": { + "type": "string" + } + }, + "type": "object", + "required": [ + "email", + "firstName", + "homeAddress", + "lastName", + "mobilePhone", + "secondEmail", + "userName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "okta:index/getLogStreamSettings:getLogStreamSettings": { "properties": { "accountId": { @@ -6668,6 +7918,9 @@ }, "okta:user/getUsersUser:getUsersUser": { "properties": { + "activated": { + "type": "string" + }, "adminRoles": { "type": "array", "items": { @@ -6683,6 +7936,9 @@ "countryCode": { "type": "string" }, + "created": { + "type": "string" + }, "customProfileAttributes": { "type": "string" }, @@ -6719,9 +7975,15 @@ "id": { "type": "string" }, + "lastLogin": { + "type": "string" + }, "lastName": { "type": "string" }, + "lastUpdated": { + "type": "string" + }, "locale": { "type": "string" }, @@ -6746,6 +8008,9 @@ "organization": { "type": "string" }, + "passwordChanged": { + "type": "string" + }, "postalAddress": { "type": "string" }, @@ -6777,6 +8042,9 @@ "status": { "type": "string" }, + "statusChanged": { + "type": "string" + }, "streetAddress": { "type": "string" }, @@ -6802,10 +8070,12 @@ }, "type": "object", "required": [ + "activated", "adminRoles", "city", "costCenter", "countryCode", + "created", "customProfileAttributes", "department", "displayName", @@ -6817,7 +8087,9 @@ "honorificPrefix", "honorificSuffix", "id", + "lastLogin", "lastName", + "lastUpdated", "locale", "login", "manager", @@ -6826,6 +8098,7 @@ "mobilePhone", "nickName", "organization", + "passwordChanged", "postalAddress", "preferredLanguage", "primaryPhone", @@ -6835,6 +8108,7 @@ "secondEmail", "state", "status", + "statusChanged", "streetAddress", "timezone", "title", @@ -8301,274 +9575,282 @@ "type": "boolean", "description": "Display auto submit toolbar\n" }, - "clientBasicSecret": { - "type": "string", - "description": "The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e instead to avoid persisting secrets in state. Either \u003cspan pulumi-lang-nodejs=\"`clientBasicSecret`\" pulumi-lang-dotnet=\"`ClientBasicSecret`\" pulumi-lang-go=\"`clientBasicSecret`\" pulumi-lang-python=\"`client_basic_secret`\" pulumi-lang-yaml=\"`clientBasicSecret`\" pulumi-lang-java=\"`clientBasicSecret`\" pulumi-lang-hcl=\"`client_basic_secret`\"\u003e`clientBasicSecret`\u003c/span\u003e or \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e can be specified, but not both.\n", - "secret": true - }, - "clientBasicSecretWo": { - "type": "string", - "description": "**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.\nThe user provided write-only OAuth client secret key value for Terraform 1.11+. Unlike \u003cspan pulumi-lang-nodejs=\"`clientBasicSecret`\" pulumi-lang-dotnet=\"`ClientBasicSecret`\" pulumi-lang-go=\"`clientBasicSecret`\" pulumi-lang-python=\"`client_basic_secret`\" pulumi-lang-yaml=\"`clientBasicSecret`\" pulumi-lang-java=\"`clientBasicSecret`\" pulumi-lang-hcl=\"`client_basic_secret`\"\u003e`clientBasicSecret`\u003c/span\u003e, this secret will not be persisted in the Terraform state file, providing improved security. Only use this attribute with Terraform 1.11 or higher. Either \u003cspan pulumi-lang-nodejs=\"`clientBasicSecret`\" pulumi-lang-dotnet=\"`ClientBasicSecret`\" pulumi-lang-go=\"`clientBasicSecret`\" pulumi-lang-python=\"`client_basic_secret`\" pulumi-lang-yaml=\"`clientBasicSecret`\" pulumi-lang-java=\"`clientBasicSecret`\" pulumi-lang-hcl=\"`client_basic_secret`\"\u003e`clientBasicSecret`\u003c/span\u003e or \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e can be specified, but not both.\n", - "secret": true - }, - "clientBasicSecretWoVersion": { - "type": "integer", - "description": "Version number for the write-only client secret. Increment this value to trigger an update when changing \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e.\n" - }, - "clientId": { - "type": "string", - "description": "OAuth client ID. If set during creation, app is created with this id.\n" - }, - "clientSecret": { - "type": "string", - "description": "OAuth client secret value, this is output only. This will be in plain text in your statefile unless you set\u003cspan pulumi-lang-nodejs=\" omitSecret \" pulumi-lang-dotnet=\" OmitSecret \" pulumi-lang-go=\" omitSecret \" pulumi-lang-python=\" omit_secret \" pulumi-lang-yaml=\" omitSecret \" pulumi-lang-java=\" omitSecret \" pulumi-lang-hcl=\" omit_secret \"\u003e omitSecret \u003c/span\u003eabove.\n", - "secret": true - }, - "clientUri": { - "type": "string", - "description": "URI to a web page providing information about the client.\n" - }, - "consentMethod": { - "type": "string", - "description": "*Early Access Property*. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED. Note: Enable `API_ACCESS_MANAGEMENT`, `API_ACCESS_MANAGEMENT_CONSENT` feature flags in your org to use this property.\n" - }, - "enduserNote": { - "type": "string", - "description": "Application notes for end users.\n" - }, - "frontchannelLogoutSessionRequired": { - "type": "boolean", - "description": "*Early Access Property*. Determines whether Okta sends sid and iss in the logout request.\n" - }, - "frontchannelLogoutUri": { - "type": "string", - "description": "*Early Access Property*. URL where Okta sends the logout request. Required when\u003cspan pulumi-lang-nodejs=\" participateSlo \" pulumi-lang-dotnet=\" ParticipateSlo \" pulumi-lang-go=\" participateSlo \" pulumi-lang-python=\" participate_slo \" pulumi-lang-yaml=\" participateSlo \" pulumi-lang-java=\" participateSlo \" pulumi-lang-hcl=\" participate_slo \"\u003e participateSlo \u003c/span\u003eis true.\n" - }, - "grantTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.\n" - }, - "groupsClaim": { - "$ref": "#/types/okta:app/OAuthGroupsClaim:OAuthGroupsClaim", - "description": "Groups claim for an OpenID Connect client application (argument is ignored when API auth is done with OAuth 2.0 credentials, and is not supported when \u003cspan pulumi-lang-nodejs=\"`preconfiguredApp`\" pulumi-lang-dotnet=\"`PreconfiguredApp`\" pulumi-lang-go=\"`preconfiguredApp`\" pulumi-lang-python=\"`preconfigured_app`\" pulumi-lang-yaml=\"`preconfiguredApp`\" pulumi-lang-java=\"`preconfiguredApp`\" pulumi-lang-hcl=\"`preconfigured_app`\"\u003e`preconfiguredApp`\u003c/span\u003e is set)\n", - "deprecationMessage": "The\u003cspan pulumi-lang-nodejs=\" groupsClaim \" pulumi-lang-dotnet=\" GroupsClaim \" pulumi-lang-go=\" groupsClaim \" pulumi-lang-python=\" groups_claim \" pulumi-lang-yaml=\" groupsClaim \" pulumi-lang-java=\" groupsClaim \" pulumi-lang-hcl=\" groups_claim \"\u003e groupsClaim \u003c/span\u003efield is deprecated and will be removed in a future version. Use Authorization Server Claims (okta_auth_server_claim) or app profile configuration instead." - }, - "hideIos": { - "type": "boolean", - "description": "Do not display application icon on mobile app\n" - }, - "hideWeb": { - "type": "boolean", - "description": "Do not display application icon to users\n" - }, - "implicitAssignment": { - "type": "boolean", - "description": "*Early Access Property*. Enable Federation Broker Mode.\n" - }, - "issuerMode": { + "backchannelCustomAuthenticatorId": { + "type": "string", + "description": "The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types." + }, + "clientBasicSecret": { + "type": "string", + "description": "The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e instead to avoid persisting secrets in state. Either \u003cspan pulumi-lang-nodejs=\"`clientBasicSecret`\" pulumi-lang-dotnet=\"`ClientBasicSecret`\" pulumi-lang-go=\"`clientBasicSecret`\" pulumi-lang-python=\"`client_basic_secret`\" pulumi-lang-yaml=\"`clientBasicSecret`\" pulumi-lang-java=\"`clientBasicSecret`\" pulumi-lang-hcl=\"`client_basic_secret`\"\u003e`clientBasicSecret`\u003c/span\u003e or \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e can be specified, but not both.\n", + "secret": true + }, + "clientBasicSecretWo": { + "type": "string", + "description": "**NOTE:** This field is write-only and its value will not be updated in state as part of read operations.\nThe user provided write-only OAuth client secret key value for Terraform 1.11+. Unlike \u003cspan pulumi-lang-nodejs=\"`clientBasicSecret`\" pulumi-lang-dotnet=\"`ClientBasicSecret`\" pulumi-lang-go=\"`clientBasicSecret`\" pulumi-lang-python=\"`client_basic_secret`\" pulumi-lang-yaml=\"`clientBasicSecret`\" pulumi-lang-java=\"`clientBasicSecret`\" pulumi-lang-hcl=\"`client_basic_secret`\"\u003e`clientBasicSecret`\u003c/span\u003e, this secret will not be persisted in the Terraform state file, providing improved security. Only use this attribute with Terraform 1.11 or higher. Either \u003cspan pulumi-lang-nodejs=\"`clientBasicSecret`\" pulumi-lang-dotnet=\"`ClientBasicSecret`\" pulumi-lang-go=\"`clientBasicSecret`\" pulumi-lang-python=\"`client_basic_secret`\" pulumi-lang-yaml=\"`clientBasicSecret`\" pulumi-lang-java=\"`clientBasicSecret`\" pulumi-lang-hcl=\"`client_basic_secret`\"\u003e`clientBasicSecret`\u003c/span\u003e or \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e can be specified, but not both.\n", + "secret": true + }, + "clientBasicSecretWoVersion": { + "type": "integer", + "description": "Version number for the write-only client secret. Increment this value to trigger an update when changing \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e.\n" + }, + "clientId": { + "type": "string", + "description": "OAuth client ID. If set during creation, app is created with this id.\n" + }, + "clientSecret": { + "type": "string", + "description": "OAuth client secret value, this is output only. This will be in plain text in your statefile unless you set\u003cspan pulumi-lang-nodejs=\" omitSecret \" pulumi-lang-dotnet=\" OmitSecret \" pulumi-lang-go=\" omitSecret \" pulumi-lang-python=\" omit_secret \" pulumi-lang-yaml=\" omitSecret \" pulumi-lang-java=\" omitSecret \" pulumi-lang-hcl=\" omit_secret \"\u003e omitSecret \u003c/span\u003eabove.\n", + "secret": true + }, + "clientUri": { + "type": "string", + "description": "URI to a web page providing information about the client.\n" + }, + "consentMethod": { + "type": "string", + "description": "*Early Access Property*. Indicates whether user consent is required or implicit. Valid values: REQUIRED, TRUSTED. Default value is TRUSTED. Note: Enable `API_ACCESS_MANAGEMENT`, `API_ACCESS_MANAGEMENT_CONSENT` feature flags in your org to use this property.\n" + }, + "enduserNote": { + "type": "string", + "description": "Application notes for end users.\n" + }, + "frontchannelLogoutSessionRequired": { + "type": "boolean", + "description": "*Early Access Property*. Determines whether Okta sends sid and iss in the logout request.\n" + }, + "frontchannelLogoutUri": { + "type": "string", + "description": "*Early Access Property*. URL where Okta sends the logout request. Required when\u003cspan pulumi-lang-nodejs=\" participateSlo \" pulumi-lang-dotnet=\" ParticipateSlo \" pulumi-lang-go=\" participateSlo \" pulumi-lang-python=\" participate_slo \" pulumi-lang-yaml=\" participateSlo \" pulumi-lang-java=\" participateSlo \" pulumi-lang-hcl=\" participate_slo \"\u003e participateSlo \u003c/span\u003eis true.\n" + }, + "grantTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of OAuth 2.0 grant types. Conditional validation params found here https://developer.okta.com/docs/api/resources/apps#credentials-settings-details. Defaults to minimum requirements per app type.\n" + }, + "groupsClaim": { + "$ref": "#/types/okta:app/OAuthGroupsClaim:OAuthGroupsClaim", + "description": "Groups claim for an OpenID Connect client application (argument is ignored when API auth is done with OAuth 2.0 credentials, and is not supported when \u003cspan pulumi-lang-nodejs=\"`preconfiguredApp`\" pulumi-lang-dotnet=\"`PreconfiguredApp`\" pulumi-lang-go=\"`preconfiguredApp`\" pulumi-lang-python=\"`preconfigured_app`\" pulumi-lang-yaml=\"`preconfiguredApp`\" pulumi-lang-java=\"`preconfiguredApp`\" pulumi-lang-hcl=\"`preconfigured_app`\"\u003e`preconfiguredApp`\u003c/span\u003e is set)\n", + "deprecationMessage": "The\u003cspan pulumi-lang-nodejs=\" groupsClaim \" pulumi-lang-dotnet=\" GroupsClaim \" pulumi-lang-go=\" groupsClaim \" pulumi-lang-python=\" groups_claim \" pulumi-lang-yaml=\" groupsClaim \" pulumi-lang-java=\" groupsClaim \" pulumi-lang-hcl=\" groups_claim \"\u003e groupsClaim \u003c/span\u003efield is deprecated and will be removed in a future version. Use Authorization Server Claims (okta_auth_server_claim) or app profile configuration instead." + }, + "hideIos": { + "type": "boolean", + "description": "Do not display application icon on mobile app\n" + }, + "hideWeb": { + "type": "boolean", + "description": "Do not display application icon to users\n" + }, + "implicitAssignment": { + "type": "boolean", + "description": "*Early Access Property*. Enable Federation Broker Mode.\n" + }, + "issuerMode": { + "type": "string", + "description": "*Early Access Property*. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.\n" + }, + "jwks": { + "type": "array", + "items": { + "$ref": "#/types/okta:app/OAuthJwk:OAuthJwk" + }, + "description": "JSON Web Key Set (JWKS) for application. Note: Inline JWKS may have compatibility issues with v6 SDK. Consider using\u003cspan pulumi-lang-nodejs=\" jwksUri \" pulumi-lang-dotnet=\" JwksUri \" pulumi-lang-go=\" jwksUri \" pulumi-lang-python=\" jwks_uri \" pulumi-lang-yaml=\" jwksUri \" pulumi-lang-java=\" jwksUri \" pulumi-lang-hcl=\" jwks_uri \"\u003e jwksUri \u003c/span\u003einstead." + }, + "jwksUri": { + "type": "string", + "description": "URL reference to JWKS\n" + }, + "label": { + "type": "string", + "description": "The Application's display name.\n" + }, + "loginMode": { + "type": "string", + "description": "The type of Idp-Initiated login that the client supports, if any\n" + }, + "loginScopes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of scopes to use for the request\n" + }, + "loginUri": { + "type": "string", + "description": "URI that initiates login.\n" + }, + "logo": { + "type": "string", + "description": "Local file path to the logo. The file must be in PNG, JPG, or GIF format, and less than 1 MB in size.\n" + }, + "logoUri": { + "type": "string", + "description": "URI that references a logo for the client.\n" + }, + "logoUrl": { + "type": "string", + "description": "URL of the application's logo\n" + }, + "name": { + "type": "string", + "description": "Name of the app.\n" + }, + "network": { + "$ref": "#/types/okta:app/OAuthNetwork:OAuthNetwork", + "description": "Network restrictions for the application client. Only one \u003cspan pulumi-lang-nodejs=\"`network`\" pulumi-lang-dotnet=\"`Network`\" pulumi-lang-go=\"`network`\" pulumi-lang-python=\"`network`\" pulumi-lang-yaml=\"`network`\" pulumi-lang-java=\"`network`\" pulumi-lang-hcl=\"`network`\"\u003e`network`\u003c/span\u003e block may be defined.\n" + }, + "omitSecret": { + "type": "boolean", + "description": "This tells the provider not manage the client*secret value in state. When this is false (the default), it will cause the auto-generated client*secret to be persisted in the\u003cspan pulumi-lang-nodejs=\" clientSecret \" pulumi-lang-dotnet=\" ClientSecret \" pulumi-lang-go=\" clientSecret \" pulumi-lang-python=\" client_secret \" pulumi-lang-yaml=\" clientSecret \" pulumi-lang-java=\" clientSecret \" pulumi-lang-hcl=\" client_secret \"\u003e clientSecret \u003c/span\u003eattribute in state. This also means that every time an update to this app is run, this value is also set on the API. If this changes from false =\u003e true, the \u003cspan pulumi-lang-nodejs=\"`clientSecret`\" pulumi-lang-dotnet=\"`ClientSecret`\" pulumi-lang-go=\"`clientSecret`\" pulumi-lang-python=\"`client_secret`\" pulumi-lang-yaml=\"`clientSecret`\" pulumi-lang-java=\"`clientSecret`\" pulumi-lang-hcl=\"`client_secret`\"\u003e`clientSecret`\u003c/span\u003e is dropped from state and the secret at the time of the apply is what remains. If this is ever changes from true =\u003e false your app will be recreated, due to the need to regenerate a secret we can store in state.\n" + }, + "participateSlo": { + "type": "boolean", + "description": "*Early Access Property*. Allows the app to participate in front-channel Single Logout. Note: You can only enable participate*slo for web and browser application types. When set to true, frontchannel*logout_uri must also be provided. Enable `SINGLE_LOGOUT_SUPPORT` feature flag in your org to use this property.\n" + }, + "pkceRequired": { + "type": "boolean", + "description": "Require Proof Key for Code Exchange (PKCE) for additional verification key rotation mode. See: https://developer.okta.com/docs/reference/api/apps/#oauth-credential-object\n" + }, + "policyUri": { + "type": "string", + "description": "URI to web page providing client policy document.\n" + }, + "postLogoutRedirectUris": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of URIs for redirection after logout. Note: see okta*app*oauth*post*logout*redirect*uri for appending to this list in a decentralized way.\n" + }, + "preconfiguredApp": { + "type": "string", + "description": "Tells Okta to use an existing application in their application catalog, as opposed to a custom application. Note: \u003cspan pulumi-lang-nodejs=\"`groupsClaim`\" pulumi-lang-dotnet=\"`GroupsClaim`\" pulumi-lang-go=\"`groupsClaim`\" pulumi-lang-python=\"`groups_claim`\" pulumi-lang-yaml=\"`groupsClaim`\" pulumi-lang-java=\"`groupsClaim`\" pulumi-lang-hcl=\"`groups_claim`\"\u003e`groupsClaim`\u003c/span\u003e is not supported when using \u003cspan pulumi-lang-nodejs=\"`preconfiguredApp`\" pulumi-lang-dotnet=\"`PreconfiguredApp`\" pulumi-lang-go=\"`preconfiguredApp`\" pulumi-lang-python=\"`preconfigured_app`\" pulumi-lang-yaml=\"`preconfiguredApp`\" pulumi-lang-java=\"`preconfiguredApp`\" pulumi-lang-hcl=\"`preconfigured_app`\"\u003e`preconfiguredApp`\u003c/span\u003e.\n" + }, + "profile": { + "type": "string", + "description": "Custom JSON that represents an OAuth application's profile\n" + }, + "redirectUris": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta*app*oauth*redirect*uri for appending to this list in a decentralized way.\n" + }, + "refreshTokenLeeway": { + "type": "integer", + "description": "*Early Access Property* Grace period for token rotation, required with grant types refresh_token\n" + }, + "refreshTokenRotation": { + "type": "string", + "description": "*Early Access Property* Refresh token rotation behavior, required with grant types refresh_token\n" + }, + "responseTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of OAuth 2.0 response type strings. Valid values are any combination of: \u003cspan pulumi-lang-nodejs=\"`code`\" pulumi-lang-dotnet=\"`Code`\" pulumi-lang-go=\"`code`\" pulumi-lang-python=\"`code`\" pulumi-lang-yaml=\"`code`\" pulumi-lang-java=\"`code`\" pulumi-lang-hcl=\"`code`\"\u003e`code`\u003c/span\u003e, \u003cspan pulumi-lang-nodejs=\"`token`\" pulumi-lang-dotnet=\"`Token`\" pulumi-lang-go=\"`token`\" pulumi-lang-python=\"`token`\" pulumi-lang-yaml=\"`token`\" pulumi-lang-java=\"`token`\" pulumi-lang-hcl=\"`token`\"\u003e`token`\u003c/span\u003e, and \u003cspan pulumi-lang-nodejs=\"`idToken`\" pulumi-lang-dotnet=\"`IdToken`\" pulumi-lang-go=\"`idToken`\" pulumi-lang-python=\"`id_token`\" pulumi-lang-yaml=\"`idToken`\" pulumi-lang-java=\"`idToken`\" pulumi-lang-hcl=\"`id_token`\"\u003e`idToken`\u003c/span\u003e.\n" + }, + "signOnMode": { + "type": "string", + "description": "Sign on mode of application.\n" + }, + "skipAuthenticationPolicy": { + "type": "boolean", + "description": "When set to true, the provider will not assign or read the authentication policy for this application. This can be useful when the caller lacks the permissions to read or manage policies, or to reduce API calls against the `/api/v1/apps` rate limit." + }, + "status": { + "type": "string", + "description": "Status of application. By default, it is `ACTIVE`\n" + }, + "tokenEndpointAuthMethod": { + "type": "string", + "description": "Requested authentication method for the token endpoint, valid values include: 'client*secret*basic', 'client*secret*post', 'client*secret*jwt', 'private*key*jwt', 'none', etc.\n" + }, + "tosUri": { + "type": "string", + "description": "URI to web page providing client tos (terms of service).\n" + }, + "type": { + "type": "string", + "description": "The type of client application.\n" + }, + "userNameTemplate": { + "type": "string", + "description": "Username template. Default: `${source.login}`\n" + }, + "userNameTemplatePushStatus": { + "type": "string", + "description": "Push username on update. Valid values: `PUSH` and `DONT_PUSH`\n" + }, + "userNameTemplateSuffix": { + "type": "string", + "description": "Username template suffix\n" + }, + "userNameTemplateType": { + "type": "string", + "description": "Username template type. Default: `BUILT_IN`\n" + }, + "wildcardRedirect": { + "type": "string", + "description": "*Early Access Property*. Indicates if the client is allowed to use wildcard matching of redirect_uris.\n" + } + }, + "required": [ + "authenticationPolicy", + "clientId", + "clientSecret", + "grantTypes", + "label", + "logoUrl", + "name", + "pkceRequired", + "responseTypes", + "signOnMode", + "type" + ], + "inputProperties": { + "accessibilityErrorRedirectUrl": { + "type": "string", + "description": "Custom error page URL\n" + }, + "accessibilityLoginRedirectUrl": { + "type": "string", + "description": "Custom login page URL\n" + }, + "accessibilitySelfService": { + "type": "boolean", + "description": "Enable self service. Default is \u003cspan pulumi-lang-nodejs=\"`false`\" pulumi-lang-dotnet=\"`False`\" pulumi-lang-go=\"`false`\" pulumi-lang-python=\"`false`\" pulumi-lang-yaml=\"`false`\" pulumi-lang-java=\"`false`\" pulumi-lang-hcl=\"`false`\"\u003e`false`\u003c/span\u003e\n" + }, + "adminNote": { + "type": "string", + "description": "Application notes for admins.\n" + }, + "appLinksJson": { + "type": "string", + "description": "Displays specific appLinks for the app. The value for each application link should be boolean.\n" + }, + "appSettingsJson": { + "type": "string", + "description": "Application settings in JSON format\n" + }, + "authenticationPolicy": { + "type": "string", + "description": "The ID of the associated app*signon*policy. If this property is removed from the application the default sign-on-policy will be associated with this application. From now on, there is no need to attach\u003cspan pulumi-lang-nodejs=\" authenticationPolicy \" pulumi-lang-dotnet=\" AuthenticationPolicy \" pulumi-lang-go=\" authenticationPolicy \" pulumi-lang-python=\" authentication_policy \" pulumi-lang-yaml=\" authenticationPolicy \" pulumi-lang-java=\" authenticationPolicy \" pulumi-lang-hcl=\" authentication_policy \"\u003e authenticationPolicy \u003c/span\u003efor applications of type `SERVICE` in the upcoming release.\n" + }, + "autoKeyRotation": { + "type": "boolean", + "description": "Requested key rotation mode. If\n\t\t\tauto*key*rotation isn't specified, the client automatically opts in for Okta's\n\t\t\tkey rotation. You can update this property via the API or via the administrator\n\t\t\tUI.\n\t\t\tSee: https://developer.okta.com/docs/reference/api/apps/#oauth-credential-object\"\n" + }, + "autoSubmitToolbar": { + "type": "boolean", + "description": "Display auto submit toolbar\n" + }, + "backchannelCustomAuthenticatorId": { "type": "string", - "description": "*Early Access Property*. Indicates whether the Okta Authorization Server uses the original Okta org domain URL or a custom domain URL as the issuer of ID token for this client.\n" - }, - "jwks": { - "type": "array", - "items": { - "$ref": "#/types/okta:app/OAuthJwk:OAuthJwk" - }, - "description": "JSON Web Key Set (JWKS) for application. Note: Inline JWKS may have compatibility issues with v6 SDK. Consider using\u003cspan pulumi-lang-nodejs=\" jwksUri \" pulumi-lang-dotnet=\" JwksUri \" pulumi-lang-go=\" jwksUri \" pulumi-lang-python=\" jwks_uri \" pulumi-lang-yaml=\" jwksUri \" pulumi-lang-java=\" jwksUri \" pulumi-lang-hcl=\" jwks_uri \"\u003e jwksUri \u003c/span\u003einstead." - }, - "jwksUri": { - "type": "string", - "description": "URL reference to JWKS\n" - }, - "label": { - "type": "string", - "description": "The Application's display name.\n" - }, - "loginMode": { - "type": "string", - "description": "The type of Idp-Initiated login that the client supports, if any\n" - }, - "loginScopes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of scopes to use for the request\n" - }, - "loginUri": { - "type": "string", - "description": "URI that initiates login.\n" - }, - "logo": { - "type": "string", - "description": "Local file path to the logo. The file must be in PNG, JPG, or GIF format, and less than 1 MB in size.\n" - }, - "logoUri": { - "type": "string", - "description": "URI that references a logo for the client.\n" - }, - "logoUrl": { - "type": "string", - "description": "URL of the application's logo\n" - }, - "name": { - "type": "string", - "description": "Name of the app.\n" - }, - "network": { - "$ref": "#/types/okta:app/OAuthNetwork:OAuthNetwork", - "description": "Network restrictions for the application client. Only one \u003cspan pulumi-lang-nodejs=\"`network`\" pulumi-lang-dotnet=\"`Network`\" pulumi-lang-go=\"`network`\" pulumi-lang-python=\"`network`\" pulumi-lang-yaml=\"`network`\" pulumi-lang-java=\"`network`\" pulumi-lang-hcl=\"`network`\"\u003e`network`\u003c/span\u003e block may be defined.\n" - }, - "omitSecret": { - "type": "boolean", - "description": "This tells the provider not manage the client*secret value in state. When this is false (the default), it will cause the auto-generated client*secret to be persisted in the\u003cspan pulumi-lang-nodejs=\" clientSecret \" pulumi-lang-dotnet=\" ClientSecret \" pulumi-lang-go=\" clientSecret \" pulumi-lang-python=\" client_secret \" pulumi-lang-yaml=\" clientSecret \" pulumi-lang-java=\" clientSecret \" pulumi-lang-hcl=\" client_secret \"\u003e clientSecret \u003c/span\u003eattribute in state. This also means that every time an update to this app is run, this value is also set on the API. If this changes from false =\u003e true, the \u003cspan pulumi-lang-nodejs=\"`clientSecret`\" pulumi-lang-dotnet=\"`ClientSecret`\" pulumi-lang-go=\"`clientSecret`\" pulumi-lang-python=\"`client_secret`\" pulumi-lang-yaml=\"`clientSecret`\" pulumi-lang-java=\"`clientSecret`\" pulumi-lang-hcl=\"`client_secret`\"\u003e`clientSecret`\u003c/span\u003e is dropped from state and the secret at the time of the apply is what remains. If this is ever changes from true =\u003e false your app will be recreated, due to the need to regenerate a secret we can store in state.\n" - }, - "participateSlo": { - "type": "boolean", - "description": "*Early Access Property*. Allows the app to participate in front-channel Single Logout. Note: You can only enable participate*slo for web and browser application types. When set to true, frontchannel*logout_uri must also be provided. Enable `SINGLE_LOGOUT_SUPPORT` feature flag in your org to use this property.\n" - }, - "pkceRequired": { - "type": "boolean", - "description": "Require Proof Key for Code Exchange (PKCE) for additional verification key rotation mode. See: https://developer.okta.com/docs/reference/api/apps/#oauth-credential-object\n" - }, - "policyUri": { - "type": "string", - "description": "URI to web page providing client policy document.\n" - }, - "postLogoutRedirectUris": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of URIs for redirection after logout. Note: see okta*app*oauth*post*logout*redirect*uri for appending to this list in a decentralized way.\n" - }, - "preconfiguredApp": { - "type": "string", - "description": "Tells Okta to use an existing application in their application catalog, as opposed to a custom application. Note: \u003cspan pulumi-lang-nodejs=\"`groupsClaim`\" pulumi-lang-dotnet=\"`GroupsClaim`\" pulumi-lang-go=\"`groupsClaim`\" pulumi-lang-python=\"`groups_claim`\" pulumi-lang-yaml=\"`groupsClaim`\" pulumi-lang-java=\"`groupsClaim`\" pulumi-lang-hcl=\"`groups_claim`\"\u003e`groupsClaim`\u003c/span\u003e is not supported when using \u003cspan pulumi-lang-nodejs=\"`preconfiguredApp`\" pulumi-lang-dotnet=\"`PreconfiguredApp`\" pulumi-lang-go=\"`preconfiguredApp`\" pulumi-lang-python=\"`preconfigured_app`\" pulumi-lang-yaml=\"`preconfiguredApp`\" pulumi-lang-java=\"`preconfiguredApp`\" pulumi-lang-hcl=\"`preconfigured_app`\"\u003e`preconfiguredApp`\u003c/span\u003e.\n" - }, - "profile": { - "type": "string", - "description": "Custom JSON that represents an OAuth application's profile\n" - }, - "redirectUris": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of URIs for use in the redirect-based flow. This is required for all application types except service. Note: see okta*app*oauth*redirect*uri for appending to this list in a decentralized way.\n" - }, - "refreshTokenLeeway": { - "type": "integer", - "description": "*Early Access Property* Grace period for token rotation, required with grant types refresh_token\n" - }, - "refreshTokenRotation": { - "type": "string", - "description": "*Early Access Property* Refresh token rotation behavior, required with grant types refresh_token\n" - }, - "responseTypes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of OAuth 2.0 response type strings. Valid values are any combination of: \u003cspan pulumi-lang-nodejs=\"`code`\" pulumi-lang-dotnet=\"`Code`\" pulumi-lang-go=\"`code`\" pulumi-lang-python=\"`code`\" pulumi-lang-yaml=\"`code`\" pulumi-lang-java=\"`code`\" pulumi-lang-hcl=\"`code`\"\u003e`code`\u003c/span\u003e, \u003cspan pulumi-lang-nodejs=\"`token`\" pulumi-lang-dotnet=\"`Token`\" pulumi-lang-go=\"`token`\" pulumi-lang-python=\"`token`\" pulumi-lang-yaml=\"`token`\" pulumi-lang-java=\"`token`\" pulumi-lang-hcl=\"`token`\"\u003e`token`\u003c/span\u003e, and \u003cspan pulumi-lang-nodejs=\"`idToken`\" pulumi-lang-dotnet=\"`IdToken`\" pulumi-lang-go=\"`idToken`\" pulumi-lang-python=\"`id_token`\" pulumi-lang-yaml=\"`idToken`\" pulumi-lang-java=\"`idToken`\" pulumi-lang-hcl=\"`id_token`\"\u003e`idToken`\u003c/span\u003e.\n" - }, - "signOnMode": { - "type": "string", - "description": "Sign on mode of application.\n" - }, - "skipAuthenticationPolicy": { - "type": "boolean", - "description": "When set to true, the provider will not assign or read the authentication policy for this application. This can be useful when the caller lacks the permissions to read or manage policies, or to reduce API calls against the `/api/v1/apps` rate limit." - }, - "status": { - "type": "string", - "description": "Status of application. By default, it is `ACTIVE`\n" - }, - "tokenEndpointAuthMethod": { - "type": "string", - "description": "Requested authentication method for the token endpoint, valid values include: 'client*secret*basic', 'client*secret*post', 'client*secret*jwt', 'private*key*jwt', 'none', etc.\n" - }, - "tosUri": { - "type": "string", - "description": "URI to web page providing client tos (terms of service).\n" - }, - "type": { - "type": "string", - "description": "The type of client application.\n" - }, - "userNameTemplate": { - "type": "string", - "description": "Username template. Default: `${source.login}`\n" - }, - "userNameTemplatePushStatus": { - "type": "string", - "description": "Push username on update. Valid values: `PUSH` and `DONT_PUSH`\n" - }, - "userNameTemplateSuffix": { - "type": "string", - "description": "Username template suffix\n" - }, - "userNameTemplateType": { - "type": "string", - "description": "Username template type. Default: `BUILT_IN`\n" - }, - "wildcardRedirect": { - "type": "string", - "description": "*Early Access Property*. Indicates if the client is allowed to use wildcard matching of redirect_uris.\n" - } - }, - "required": [ - "authenticationPolicy", - "clientId", - "clientSecret", - "grantTypes", - "label", - "logoUrl", - "name", - "pkceRequired", - "responseTypes", - "signOnMode", - "type" - ], - "inputProperties": { - "accessibilityErrorRedirectUrl": { - "type": "string", - "description": "Custom error page URL\n" - }, - "accessibilityLoginRedirectUrl": { - "type": "string", - "description": "Custom login page URL\n" - }, - "accessibilitySelfService": { - "type": "boolean", - "description": "Enable self service. Default is \u003cspan pulumi-lang-nodejs=\"`false`\" pulumi-lang-dotnet=\"`False`\" pulumi-lang-go=\"`false`\" pulumi-lang-python=\"`false`\" pulumi-lang-yaml=\"`false`\" pulumi-lang-java=\"`false`\" pulumi-lang-hcl=\"`false`\"\u003e`false`\u003c/span\u003e\n" - }, - "adminNote": { - "type": "string", - "description": "Application notes for admins.\n" - }, - "appLinksJson": { - "type": "string", - "description": "Displays specific appLinks for the app. The value for each application link should be boolean.\n" - }, - "appSettingsJson": { - "type": "string", - "description": "Application settings in JSON format\n" - }, - "authenticationPolicy": { - "type": "string", - "description": "The ID of the associated app*signon*policy. If this property is removed from the application the default sign-on-policy will be associated with this application. From now on, there is no need to attach\u003cspan pulumi-lang-nodejs=\" authenticationPolicy \" pulumi-lang-dotnet=\" AuthenticationPolicy \" pulumi-lang-go=\" authenticationPolicy \" pulumi-lang-python=\" authentication_policy \" pulumi-lang-yaml=\" authenticationPolicy \" pulumi-lang-java=\" authenticationPolicy \" pulumi-lang-hcl=\" authentication_policy \"\u003e authenticationPolicy \u003c/span\u003efor applications of type `SERVICE` in the upcoming release.\n" - }, - "autoKeyRotation": { - "type": "boolean", - "description": "Requested key rotation mode. If\n\t\t\tauto*key*rotation isn't specified, the client automatically opts in for Okta's\n\t\t\tkey rotation. You can update this property via the API or via the administrator\n\t\t\tUI.\n\t\t\tSee: https://developer.okta.com/docs/reference/api/apps/#oauth-credential-object\"\n" - }, - "autoSubmitToolbar": { - "type": "boolean", - "description": "Display auto submit toolbar\n" + "description": "The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types." }, "clientBasicSecret": { "type": "string", @@ -8817,6 +10099,10 @@ "type": "boolean", "description": "Display auto submit toolbar\n" }, + "backchannelCustomAuthenticatorId": { + "type": "string", + "description": "The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types." + }, "clientBasicSecret": { "type": "string", "description": "The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e instead to avoid persisting secrets in state. Either \u003cspan pulumi-lang-nodejs=\"`clientBasicSecret`\" pulumi-lang-dotnet=\"`ClientBasicSecret`\" pulumi-lang-go=\"`clientBasicSecret`\" pulumi-lang-python=\"`client_basic_secret`\" pulumi-lang-yaml=\"`clientBasicSecret`\" pulumi-lang-java=\"`clientBasicSecret`\" pulumi-lang-hcl=\"`client_basic_secret`\"\u003e`clientBasicSecret`\u003c/span\u003e or \u003cspan pulumi-lang-nodejs=\"`clientBasicSecretWo`\" pulumi-lang-dotnet=\"`ClientBasicSecretWo`\" pulumi-lang-go=\"`clientBasicSecretWo`\" pulumi-lang-python=\"`client_basic_secret_wo`\" pulumi-lang-yaml=\"`clientBasicSecretWo`\" pulumi-lang-java=\"`clientBasicSecretWo`\" pulumi-lang-hcl=\"`client_basic_secret_wo`\"\u003e`clientBasicSecretWo`\u003c/span\u003e can be specified, but not both.\n", @@ -10383,7 +11669,7 @@ } }, "okta:app/signonPolicyRules:SignonPolicyRules": { - "description": "## #\u003cspan pulumi-lang-nodejs=\" okta.app.SignonPolicyRules\n\" pulumi-lang-dotnet=\" okta.app.SignonPolicyRules\n\" pulumi-lang-go=\" app.SignonPolicyRules\n\" pulumi-lang-python=\" app.SignonPolicyRules\n\" pulumi-lang-yaml=\" okta.app.SignonPolicyRules\n\" pulumi-lang-java=\" okta.app.SignonPolicyRules\n\" pulumi-lang-hcl=\" okta_app_signon_policy_rules\n\"\u003e okta.app.SignonPolicyRules\n\u003c/span\u003e\nManages multiple app sign-on policy rules for a single policy. This resource allows you to define all rules for a policy in a single configuration block, ensuring consistent priority ordering and avoiding drift issues.\n\n\u003e **IMPORTANT:** This resource uses name-first matching to identify and update rules. When migrating from individual \u003cspan pulumi-lang-nodejs=\"`okta.AppSignonPolicyRule`\" pulumi-lang-dotnet=\"`okta.AppSignonPolicyRule`\" pulumi-lang-go=\"`AppSignonPolicyRule`\" pulumi-lang-python=\"`AppSignonPolicyRule`\" pulumi-lang-yaml=\"`okta.AppSignonPolicyRule`\" pulumi-lang-java=\"`okta.AppSignonPolicyRule`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rule`\"\u003e`okta.AppSignonPolicyRule`\u003c/span\u003e resources, ensure rule names remain consistent to enable safe adoption without data loss.\n\n\u003e **NOTE ON RENAMING RULES:** If you rename a rule without explicitly preserving its \u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e, the provider will treat it as a deletion of the old rule and creation of a new rule. To rename a rule while preserving its configuration and ID, you must explicitly set the \u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e attribute in your configuration before changing the \u003cspan pulumi-lang-nodejs=\"`name`\" pulumi-lang-dotnet=\"`Name`\" pulumi-lang-go=\"`name`\" pulumi-lang-python=\"`name`\" pulumi-lang-yaml=\"`name`\" pulumi-lang-java=\"`name`\" pulumi-lang-hcl=\"`name`\"\u003e`name`\u003c/span\u003e. For example:\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.app.SignonPolicyRules(\"example\", {\n policyId: exampleOktaAppSignonPolicy.id,\n rules: [\n {\n name: \"High Priority Rule\",\n priority: 1,\n factorMode: \"2FA\",\n reAuthenticationFrequency: \"PT2H\",\n status: \"ACTIVE\",\n },\n {\n name: \"Low Priority Rule\",\n priority: 2,\n factorMode: \"1FA\",\n access: \"ALLOW\",\n status: \"ACTIVE\",\n },\n {\n name: \"Deny Rule\",\n priority: 3,\n access: \"DENY\",\n status: \"ACTIVE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.SignonPolicyRules(\"example\",\n policy_id=example_okta_app_signon_policy[\"id\"],\n rules=[\n {\n \"name\": \"High Priority Rule\",\n \"priority\": 1,\n \"factor_mode\": \"2FA\",\n \"re_authentication_frequency\": \"PT2H\",\n \"status\": \"ACTIVE\",\n },\n {\n \"name\": \"Low Priority Rule\",\n \"priority\": 2,\n \"factor_mode\": \"1FA\",\n \"access\": \"ALLOW\",\n \"status\": \"ACTIVE\",\n },\n {\n \"name\": \"Deny Rule\",\n \"priority\": 3,\n \"access\": \"DENY\",\n \"status\": \"ACTIVE\",\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.App.SignonPolicyRules(\"example\", new()\n {\n PolicyId = exampleOktaAppSignonPolicy.Id,\n Rules = new[]\n {\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"High Priority Rule\",\n Priority = 1,\n FactorMode = \"2FA\",\n ReAuthenticationFrequency = \"PT2H\",\n Status = \"ACTIVE\",\n },\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"Low Priority Rule\",\n Priority = 2,\n FactorMode = \"1FA\",\n Access = \"ALLOW\",\n Status = \"ACTIVE\",\n },\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"Deny Rule\",\n Priority = 3,\n Access = \"DENY\",\n Status = \"ACTIVE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewSignonPolicyRules(ctx, \"example\", \u0026app.SignonPolicyRulesArgs{\n\t\t\tPolicyId: pulumi.Any(exampleOktaAppSignonPolicy.Id),\n\t\t\tRules: app.SignonPolicyRulesRuleArray{\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"High Priority Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\t\tFactorMode: pulumi.String(\"2FA\"),\n\t\t\t\t\tReAuthenticationFrequency: pulumi.String(\"PT2H\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t},\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Low Priority Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\t\tFactorMode: pulumi.String(\"1FA\"),\n\t\t\t\t\tAccess: pulumi.String(\"ALLOW\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t},\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Deny Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(3),\n\t\t\t\t\tAccess: pulumi.String(\"DENY\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_app_signonpolicyrules\" \"example\" {\n policy_id = exampleOktaAppSignonPolicy.id\n rules {\n name = \"High Priority Rule\"\n priority = 1\n factor_mode = \"2FA\"\n re_authentication_frequency = \"PT2H\"\n status = \"ACTIVE\"\n }\n rules {\n name = \"Low Priority Rule\"\n priority = 2\n factor_mode = \"1FA\"\n access = \"ALLOW\"\n status = \"ACTIVE\"\n }\n rules {\n name = \"Deny Rule\"\n priority = 3\n access = \"DENY\"\n status = \"ACTIVE\"\n }\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.SignonPolicyRules;\nimport com.pulumi.okta.app.SignonPolicyRulesArgs;\nimport com.pulumi.okta.app.inputs.SignonPolicyRulesRuleArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 SignonPolicyRules(\"example\", SignonPolicyRulesArgs.builder()\n .policyId(exampleOktaAppSignonPolicy.id())\n .rules( \n SignonPolicyRulesRuleArgs.builder()\n .name(\"High Priority Rule\")\n .priority(1)\n .factorMode(\"2FA\")\n .reAuthenticationFrequency(\"PT2H\")\n .status(\"ACTIVE\")\n .build(),\n SignonPolicyRulesRuleArgs.builder()\n .name(\"Low Priority Rule\")\n .priority(2)\n .factorMode(\"1FA\")\n .access(\"ALLOW\")\n .status(\"ACTIVE\")\n .build(),\n SignonPolicyRulesRuleArgs.builder()\n .name(\"Deny Rule\")\n .priority(3)\n .access(\"DENY\")\n .status(\"ACTIVE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:SignonPolicyRules\n properties:\n policyId: ${exampleOktaAppSignonPolicy.id}\n rules:\n - name: High Priority Rule\n priority: 1\n factorMode: 2FA\n reAuthenticationFrequency: PT2H\n status: ACTIVE\n - name: Low Priority Rule\n priority: 2\n factorMode: 1FA\n access: ALLOW\n status: ACTIVE\n - name: Deny Rule\n priority: 3\n access: DENY\n status: ACTIVE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Priority Management\n\n\u003e **IMPORTANT:** When managing priorities, follow Okta's top-down synchronization strategy to avoid automatic priority shifting. Always update rules in priority order (P1 → PN) to prevent cascading shifts.\n\n### Priority Behavior\n\n- Priorities are **0-indexed** but can be any positive integer.\n- When you omit \u003cspan pulumi-lang-nodejs=\"`priority`\" pulumi-lang-dotnet=\"`Priority`\" pulumi-lang-go=\"`priority`\" pulumi-lang-python=\"`priority`\" pulumi-lang-yaml=\"`priority`\" pulumi-lang-java=\"`priority`\" pulumi-lang-hcl=\"`priority`\"\u003e`priority`\u003c/span\u003e in config, Terraform will display the actual priority assigned by Okta in the state.\n- Okta allows gaps in priorities (e.g., priorities 1, 2, 5, 99 are valid).\n- **Maximum of 99 rules per policy:** You can define up to 99 custom rules. Priority 99 is reserved for the system Catch-all Rule.\n- If you update multiple rules simultaneously and priorities conflict, Okta may automatically shift priorities to resolve conflicts. To prevent this:\n 1. Use explicit, sequential priority values (1, 2, 3, 4, 5).\n 2. Avoid updating rules with the same priority.\n 3. Consider using temporary high priorities (100+) if reordering is needed.\n\n### System Rules and Catch-all Rule\n\n- **Catch-all Rule:** Every policy includes a system-level Catch-all Rule with priority 99. This is the default rule that applies if no other rules match.\n- **Immutable:** System rules (like \"Catch-all Rule\") cannot be modified, deleted, or have their conditions/priorities changed.\n- **Import behavior:** If you import a policy with a Catch-all Rule, it will appear in your state but cannot be managed by Terraform. Omit it from your configuration.\n\n## Migration from\u003cspan pulumi-lang-nodejs=\" okta.AppSignonPolicyRule\n\" pulumi-lang-dotnet=\" okta.AppSignonPolicyRule\n\" pulumi-lang-go=\" AppSignonPolicyRule\n\" pulumi-lang-python=\" AppSignonPolicyRule\n\" pulumi-lang-yaml=\" okta.AppSignonPolicyRule\n\" pulumi-lang-java=\" okta.AppSignonPolicyRule\n\" pulumi-lang-hcl=\" okta_app_signon_policy_rule\n\"\u003e okta.AppSignonPolicyRule\n\u003c/span\u003e\nIf you currently use multiple individual \u003cspan pulumi-lang-nodejs=\"`okta.AppSignonPolicyRule`\" pulumi-lang-dotnet=\"`okta.AppSignonPolicyRule`\" pulumi-lang-go=\"`AppSignonPolicyRule`\" pulumi-lang-python=\"`AppSignonPolicyRule`\" pulumi-lang-yaml=\"`okta.AppSignonPolicyRule`\" pulumi-lang-java=\"`okta.AppSignonPolicyRule`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rule`\"\u003e`okta.AppSignonPolicyRule`\u003c/span\u003e resources, follow these steps to safely migrate to the grouped resource:\n\n### Step 1: Backup Your State\n\n```bash\npulumi state pull \u003e terraform-state-backup.json\n```\n\n### Step 2: Identify Rule IDs and Names\n\nList all rules in your policy to identify their IDs and names:\n\n```bash\n# Using Terraform state\npulumi state show 'okta_app_signon_policy_rule.rule1'\n```\n\n\n### Step 4: Create the Grouped Resource Configuration\n\nCreate a new \u003cspan pulumi-lang-nodejs=\"`okta.app.SignonPolicyRules`\" pulumi-lang-dotnet=\"`okta.app.SignonPolicyRules`\" pulumi-lang-go=\"`app.SignonPolicyRules`\" pulumi-lang-python=\"`app.SignonPolicyRules`\" pulumi-lang-yaml=\"`okta.app.SignonPolicyRules`\" pulumi-lang-java=\"`okta.app.SignonPolicyRules`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rules`\"\u003e`okta.app.SignonPolicyRules`\u003c/span\u003e resource with the same rules. Use **rule names as the matching key** (do NOT include \u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e unless adopting an existing rule):\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst migrated = new okta.app.SignonPolicyRules(\"migrated\", {\n policyId: myPolicy.id,\n rules: [\n {\n name: \"High Priority Rule\",\n priority: 1,\n factorMode: \"2FA\",\n reAuthenticationFrequency: \"PT2H\",\n status: \"ACTIVE\",\n },\n {\n name: \"Second Rule\",\n priority: 2,\n factorMode: \"1FA\",\n status: \"ACTIVE\",\n },\n {\n name: \"Deny Rule\",\n priority: 3,\n access: \"DENY\",\n status: \"ACTIVE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nmigrated = okta.app.SignonPolicyRules(\"migrated\",\n policy_id=my_policy[\"id\"],\n rules=[\n {\n \"name\": \"High Priority Rule\",\n \"priority\": 1,\n \"factor_mode\": \"2FA\",\n \"re_authentication_frequency\": \"PT2H\",\n \"status\": \"ACTIVE\",\n },\n {\n \"name\": \"Second Rule\",\n \"priority\": 2,\n \"factor_mode\": \"1FA\",\n \"status\": \"ACTIVE\",\n },\n {\n \"name\": \"Deny Rule\",\n \"priority\": 3,\n \"access\": \"DENY\",\n \"status\": \"ACTIVE\",\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 migrated = new Okta.App.SignonPolicyRules(\"migrated\", new()\n {\n PolicyId = myPolicy.Id,\n Rules = new[]\n {\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"High Priority Rule\",\n Priority = 1,\n FactorMode = \"2FA\",\n ReAuthenticationFrequency = \"PT2H\",\n Status = \"ACTIVE\",\n },\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"Second Rule\",\n Priority = 2,\n FactorMode = \"1FA\",\n Status = \"ACTIVE\",\n },\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"Deny Rule\",\n Priority = 3,\n Access = \"DENY\",\n Status = \"ACTIVE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewSignonPolicyRules(ctx, \"migrated\", \u0026app.SignonPolicyRulesArgs{\n\t\t\tPolicyId: pulumi.Any(myPolicy.Id),\n\t\t\tRules: app.SignonPolicyRulesRuleArray{\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"High Priority Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\t\tFactorMode: pulumi.String(\"2FA\"),\n\t\t\t\t\tReAuthenticationFrequency: pulumi.String(\"PT2H\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t},\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Second Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\t\tFactorMode: pulumi.String(\"1FA\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t},\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Deny Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(3),\n\t\t\t\t\tAccess: pulumi.String(\"DENY\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_app_signonpolicyrules\" \"migrated\" {\n policy_id = myPolicy.id\n rules {\n name = \"High Priority Rule\"\n priority = 1\n factor_mode = \"2FA\"\n re_authentication_frequency = \"PT2H\"\n status = \"ACTIVE\"\n }\n rules {\n name = \"Second Rule\"\n priority = 2\n factor_mode = \"1FA\"\n status = \"ACTIVE\"\n }\n rules {\n name = \"Deny Rule\"\n priority = 3\n access = \"DENY\"\n status = \"ACTIVE\"\n }\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.SignonPolicyRules;\nimport com.pulumi.okta.app.SignonPolicyRulesArgs;\nimport com.pulumi.okta.app.inputs.SignonPolicyRulesRuleArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 migrated = new SignonPolicyRules(\"migrated\", SignonPolicyRulesArgs.builder()\n .policyId(myPolicy.id())\n .rules( \n SignonPolicyRulesRuleArgs.builder()\n .name(\"High Priority Rule\")\n .priority(1)\n .factorMode(\"2FA\")\n .reAuthenticationFrequency(\"PT2H\")\n .status(\"ACTIVE\")\n .build(),\n SignonPolicyRulesRuleArgs.builder()\n .name(\"Second Rule\")\n .priority(2)\n .factorMode(\"1FA\")\n .status(\"ACTIVE\")\n .build(),\n SignonPolicyRulesRuleArgs.builder()\n .name(\"Deny Rule\")\n .priority(3)\n .access(\"DENY\")\n .status(\"ACTIVE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n migrated:\n type: okta:app:SignonPolicyRules\n properties:\n policyId: ${myPolicy.id}\n rules:\n - name: High Priority Rule\n priority: 1\n factorMode: 2FA\n reAuthenticationFrequency: PT2H\n status: ACTIVE\n - name: Second Rule\n priority: 2\n factorMode: 1FA\n status: ACTIVE\n - name: Deny Rule\n priority: 3\n access: DENY\n status: ACTIVE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Step 5: Plan and Verify\n\nRun `pulumi preview` to see if any changes will be made:\n\n```bash\npulumi preview -out migration.tfplan\n```\n\n**Expected outcome:** Either \"No changes\" or only legitimate config updates. If the plan shows unexpected deletes or recreates:\n- Verify rule names match exactly (case-sensitive).\n- Check that attributes (access, factor_mode, etc.) match Okta's current state.\n- Ensure you're not declaring system rules (e.g., Catch-all Rule).\n\n### Step 6: Apply the Migration\n\n```bash\npulumi up migration.tfplan\n```\n\n### Step 6: Verify Final State\n\n```bash\npulumi preview\n# Output should show: No changes. Your infrastructure matches the configuration.\n```\n\n## Important Migration Notes\n\n### Priority Differences\n\nWhen migrating from \u003cspan pulumi-lang-nodejs=\"`okta.AppSignonPolicyRule`\" pulumi-lang-dotnet=\"`okta.AppSignonPolicyRule`\" pulumi-lang-go=\"`AppSignonPolicyRule`\" pulumi-lang-python=\"`AppSignonPolicyRule`\" pulumi-lang-yaml=\"`okta.AppSignonPolicyRule`\" pulumi-lang-java=\"`okta.AppSignonPolicyRule`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rule`\"\u003e`okta.AppSignonPolicyRule`\u003c/span\u003e (single-rule resource) to \u003cspan pulumi-lang-nodejs=\"`okta.app.SignonPolicyRules`\" pulumi-lang-dotnet=\"`okta.app.SignonPolicyRules`\" pulumi-lang-go=\"`app.SignonPolicyRules`\" pulumi-lang-python=\"`app.SignonPolicyRules`\" pulumi-lang-yaml=\"`okta.app.SignonPolicyRules`\" pulumi-lang-java=\"`okta.app.SignonPolicyRules`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rules`\"\u003e`okta.app.SignonPolicyRules`\u003c/span\u003e (grouped resource):\n\n- **Old behavior:** Single-rule resource defaults to `priority = 0` in Terraform state, even if Okta assigned a different priority.\n- **New behavior:** Grouped resource reflects the actual priority assigned by Okta. When you omit \u003cspan pulumi-lang-nodejs=\"`priority`\" pulumi-lang-dotnet=\"`Priority`\" pulumi-lang-go=\"`priority`\" pulumi-lang-python=\"`priority`\" pulumi-lang-yaml=\"`priority`\" pulumi-lang-java=\"`priority`\" pulumi-lang-hcl=\"`priority`\"\u003e`priority`\u003c/span\u003e, the state will show the real Okta-assigned priority.\n\n**Action:** Explicitly set \u003cspan pulumi-lang-nodejs=\"`priority`\" pulumi-lang-dotnet=\"`Priority`\" pulumi-lang-go=\"`priority`\" pulumi-lang-python=\"`priority`\" pulumi-lang-yaml=\"`priority`\" pulumi-lang-java=\"`priority`\" pulumi-lang-hcl=\"`priority`\"\u003e`priority`\u003c/span\u003e values in your configuration to avoid unexpected changes during migration.\n\n### Name-First Matching\n\nThe grouped resource matches rules by **name first**, not by ID:\n\n- If you rename a rule in config, the provider will match it to the existing rule by the new name.\n- If a name doesn't exist in Okta, a new rule is created.\n- This design prevents accidental re-matching when state order differs from config order.\n\n### System Rules\n\nSystem rules (e.g., \"Catch-all Rule\") cannot be managed:\n\n- If your policy has a system rule, do NOT declare it in your configuration.\n- The provider will detect it during import/read but will not attempt to modify or delete it.\n- System rules are read-only from Terraform's perspective.\n\n## Troubleshooting\n\n### Plan shows \"1 to change\" but config matches Okta\n\n**Cause:** State and config rule order differ, triggering re-matching.\n\n**Solution:** Verify rule names match exactly (case-sensitive) and attributes are correct. Run `pulumi preview -refresh=true` to refresh state from Okta.\n\n### Priorities shift unexpectedly after apply\n\n**Cause:** Okta automatically shifts priorities when updates conflict. This is expected behavior per Okta's prioritization rules.\n\n**Solution:** Use explicit, sequential priorities (1, 2, 3, ...) instead of 0-indexed or sparse values. Avoid updating multiple rules simultaneously with overlapping priorities.\n\n### Error: \"System rule cannot be modified\"\n\n**Cause:** You attempted to set conditions on a system rule (Catch-all Rule).\n\n**Solution:** Remove the system rule from your configuration. System rules are immutable.\n\n## See Also\n\n-\u003cspan pulumi-lang-nodejs=\" okta.AppSignonPolicy \" pulumi-lang-dotnet=\" okta.AppSignonPolicy \" pulumi-lang-go=\" AppSignonPolicy \" pulumi-lang-python=\" AppSignonPolicy \" pulumi-lang-yaml=\" okta.AppSignonPolicy \" pulumi-lang-java=\" okta.AppSignonPolicy \" pulumi-lang-hcl=\" okta_app_signon_policy \"\u003e okta.AppSignonPolicy \u003c/span\u003e- Create and manage app sign-on policies.\n- [Okta Policy Rule Prioritization Guide](https://developer.okta.com/docs/guides/policy-rule-prioritization/main/) - Learn about priority management and top-down synchronization.\n\n## Import\n\nImport an existing policy's rules:\n\n```sh\n$ pulumi import okta:app/signonPolicyRules:SignonPolicyRules example \u003cpolicy_id\u003e\n```\n\nThis will populate your state with all rules for the policy (including system rules). Update your configuration to match.\n\n", + "description": "## #\u003cspan pulumi-lang-nodejs=\" okta.app.SignonPolicyRules\n\" pulumi-lang-dotnet=\" okta.app.SignonPolicyRules\n\" pulumi-lang-go=\" app.SignonPolicyRules\n\" pulumi-lang-python=\" app.SignonPolicyRules\n\" pulumi-lang-yaml=\" okta.app.SignonPolicyRules\n\" pulumi-lang-java=\" okta.app.SignonPolicyRules\n\" pulumi-lang-hcl=\" okta_app_signon_policy_rules\n\"\u003e okta.app.SignonPolicyRules\n\u003c/span\u003e\nManages multiple app sign-on policy rules for a single policy. This resource allows you to define all rules for a policy in a single configuration block, ensuring consistent priority ordering and avoiding drift issues.\n\n\u003e **IMPORTANT:** This resource uses name-first matching to identify and update rules. When migrating from individual \u003cspan pulumi-lang-nodejs=\"`okta.AppSignonPolicyRule`\" pulumi-lang-dotnet=\"`okta.AppSignonPolicyRule`\" pulumi-lang-go=\"`AppSignonPolicyRule`\" pulumi-lang-python=\"`AppSignonPolicyRule`\" pulumi-lang-yaml=\"`okta.AppSignonPolicyRule`\" pulumi-lang-java=\"`okta.AppSignonPolicyRule`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rule`\"\u003e`okta.AppSignonPolicyRule`\u003c/span\u003e resources, ensure rule names remain consistent to enable safe adoption without data loss.\n\n\u003e **NOTE ON RENAMING RULES:** If you rename a rule without explicitly preserving its \u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e, the provider will treat it as a deletion of the old rule and creation of a new rule. To rename a rule while preserving its configuration and ID, you must explicitly set the \u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e attribute in your configuration before changing the \u003cspan pulumi-lang-nodejs=\"`name`\" pulumi-lang-dotnet=\"`Name`\" pulumi-lang-go=\"`name`\" pulumi-lang-python=\"`name`\" pulumi-lang-yaml=\"`name`\" pulumi-lang-java=\"`name`\" pulumi-lang-hcl=\"`name`\"\u003e`name`\u003c/span\u003e. For example:\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.app.SignonPolicyRules(\"example\", {\n policyId: exampleOktaAppSignonPolicy.id,\n rules: [\n {\n name: \"High Priority Rule\",\n priority: 1,\n factorMode: \"2FA\",\n reAuthenticationFrequency: \"PT2H\",\n status: \"ACTIVE\",\n },\n {\n name: \"Low Priority Rule\",\n priority: 2,\n factorMode: \"1FA\",\n access: \"ALLOW\",\n status: \"ACTIVE\",\n },\n {\n name: \"Deny Rule\",\n priority: 3,\n access: \"DENY\",\n status: \"ACTIVE\",\n },\n {\n name: \"KMSI Rule\",\n priority: 4,\n access: \"ALLOW\",\n status: \"ACTIVE\",\n keepMeSignedIn: {\n postAuth: \"ALLOWED\",\n postAuthPromptFrequency: \"PT168H\",\n },\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.SignonPolicyRules(\"example\",\n policy_id=example_okta_app_signon_policy[\"id\"],\n rules=[\n {\n \"name\": \"High Priority Rule\",\n \"priority\": 1,\n \"factor_mode\": \"2FA\",\n \"re_authentication_frequency\": \"PT2H\",\n \"status\": \"ACTIVE\",\n },\n {\n \"name\": \"Low Priority Rule\",\n \"priority\": 2,\n \"factor_mode\": \"1FA\",\n \"access\": \"ALLOW\",\n \"status\": \"ACTIVE\",\n },\n {\n \"name\": \"Deny Rule\",\n \"priority\": 3,\n \"access\": \"DENY\",\n \"status\": \"ACTIVE\",\n },\n {\n \"name\": \"KMSI Rule\",\n \"priority\": 4,\n \"access\": \"ALLOW\",\n \"status\": \"ACTIVE\",\n \"keep_me_signed_in\": {\n \"post_auth\": \"ALLOWED\",\n \"post_auth_prompt_frequency\": \"PT168H\",\n },\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.App.SignonPolicyRules(\"example\", new()\n {\n PolicyId = exampleOktaAppSignonPolicy.Id,\n Rules = new[]\n {\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"High Priority Rule\",\n Priority = 1,\n FactorMode = \"2FA\",\n ReAuthenticationFrequency = \"PT2H\",\n Status = \"ACTIVE\",\n },\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"Low Priority Rule\",\n Priority = 2,\n FactorMode = \"1FA\",\n Access = \"ALLOW\",\n Status = \"ACTIVE\",\n },\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"Deny Rule\",\n Priority = 3,\n Access = \"DENY\",\n Status = \"ACTIVE\",\n },\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"KMSI Rule\",\n Priority = 4,\n Access = \"ALLOW\",\n Status = \"ACTIVE\",\n KeepMeSignedIn = new Okta.App.Inputs.SignonPolicyRulesRuleKeepMeSignedInArgs\n {\n PostAuth = \"ALLOWED\",\n PostAuthPromptFrequency = \"PT168H\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewSignonPolicyRules(ctx, \"example\", \u0026app.SignonPolicyRulesArgs{\n\t\t\tPolicyId: pulumi.Any(exampleOktaAppSignonPolicy.Id),\n\t\t\tRules: app.SignonPolicyRulesRuleArray{\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"High Priority Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\t\tFactorMode: pulumi.String(\"2FA\"),\n\t\t\t\t\tReAuthenticationFrequency: pulumi.String(\"PT2H\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t},\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Low Priority Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\t\tFactorMode: pulumi.String(\"1FA\"),\n\t\t\t\t\tAccess: pulumi.String(\"ALLOW\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t},\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Deny Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(3),\n\t\t\t\t\tAccess: pulumi.String(\"DENY\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t},\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"KMSI Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(4),\n\t\t\t\t\tAccess: pulumi.String(\"ALLOW\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t\tKeepMeSignedIn: \u0026app.SignonPolicyRulesRuleKeepMeSignedInArgs{\n\t\t\t\t\t\tPostAuth: pulumi.String(\"ALLOWED\"),\n\t\t\t\t\t\tPostAuthPromptFrequency: pulumi.String(\"PT168H\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_app_signonpolicyrules\" \"example\" {\n policy_id = exampleOktaAppSignonPolicy.id\n rules {\n name = \"High Priority Rule\"\n priority = 1\n factor_mode = \"2FA\"\n re_authentication_frequency = \"PT2H\"\n status = \"ACTIVE\"\n }\n rules {\n name = \"Low Priority Rule\"\n priority = 2\n factor_mode = \"1FA\"\n access = \"ALLOW\"\n status = \"ACTIVE\"\n }\n rules {\n name = \"Deny Rule\"\n priority = 3\n access = \"DENY\"\n status = \"ACTIVE\"\n }\n rules {\n name = \"KMSI Rule\"\n priority = 4\n access = \"ALLOW\"\n status = \"ACTIVE\"\n keep_me_signed_in = {\n post_auth = \"ALLOWED\"\n post_auth_prompt_frequency = \"PT168H\"\n }\n }\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.SignonPolicyRules;\nimport com.pulumi.okta.app.SignonPolicyRulesArgs;\nimport com.pulumi.okta.app.inputs.SignonPolicyRulesRuleArgs;\nimport com.pulumi.okta.app.inputs.SignonPolicyRulesRuleKeepMeSignedInArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 SignonPolicyRules(\"example\", SignonPolicyRulesArgs.builder()\n .policyId(exampleOktaAppSignonPolicy.id())\n .rules( \n SignonPolicyRulesRuleArgs.builder()\n .name(\"High Priority Rule\")\n .priority(1)\n .factorMode(\"2FA\")\n .reAuthenticationFrequency(\"PT2H\")\n .status(\"ACTIVE\")\n .build(),\n SignonPolicyRulesRuleArgs.builder()\n .name(\"Low Priority Rule\")\n .priority(2)\n .factorMode(\"1FA\")\n .access(\"ALLOW\")\n .status(\"ACTIVE\")\n .build(),\n SignonPolicyRulesRuleArgs.builder()\n .name(\"Deny Rule\")\n .priority(3)\n .access(\"DENY\")\n .status(\"ACTIVE\")\n .build(),\n SignonPolicyRulesRuleArgs.builder()\n .name(\"KMSI Rule\")\n .priority(4)\n .access(\"ALLOW\")\n .status(\"ACTIVE\")\n .keepMeSignedIn(SignonPolicyRulesRuleKeepMeSignedInArgs.builder()\n .postAuth(\"ALLOWED\")\n .postAuthPromptFrequency(\"PT168H\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:app:SignonPolicyRules\n properties:\n policyId: ${exampleOktaAppSignonPolicy.id}\n rules:\n - name: High Priority Rule\n priority: 1\n factorMode: 2FA\n reAuthenticationFrequency: PT2H\n status: ACTIVE\n - name: Low Priority Rule\n priority: 2\n factorMode: 1FA\n access: ALLOW\n status: ACTIVE\n - name: Deny Rule\n priority: 3\n access: DENY\n status: ACTIVE\n - name: KMSI Rule\n priority: 4\n access: ALLOW\n status: ACTIVE\n keepMeSignedIn:\n postAuth: ALLOWED\n postAuthPromptFrequency: PT168H\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Priority Management\n\n\u003e **IMPORTANT:** When managing priorities, follow Okta's top-down synchronization strategy to avoid automatic priority shifting. Always update rules in priority order (P1 → PN) to prevent cascading shifts.\n\n### Priority Behavior\n\n- Priorities are **0-indexed** but can be any positive integer.\n- When you omit \u003cspan pulumi-lang-nodejs=\"`priority`\" pulumi-lang-dotnet=\"`Priority`\" pulumi-lang-go=\"`priority`\" pulumi-lang-python=\"`priority`\" pulumi-lang-yaml=\"`priority`\" pulumi-lang-java=\"`priority`\" pulumi-lang-hcl=\"`priority`\"\u003e`priority`\u003c/span\u003e in config, Terraform will display the actual priority assigned by Okta in the state.\n- Okta allows gaps in priorities (e.g., priorities 1, 2, 5, 99 are valid).\n- **Maximum of 99 rules per policy:** You can define up to 99 custom rules. Priority 99 is reserved for the system Catch-all Rule.\n- If you update multiple rules simultaneously and priorities conflict, Okta may automatically shift priorities to resolve conflicts. To prevent this:\n 1. Use explicit, sequential priority values (1, 2, 3, 4, 5).\n 2. Avoid updating rules with the same priority.\n 3. Consider using temporary high priorities (100+) if reordering is needed.\n\n### System Rules and Catch-all Rule\n\n- **Catch-all Rule:** Every policy includes a system-level Catch-all Rule with priority 99. This is the default rule that applies if no other rules match.\n- **Immutable:** System rules (like \"Catch-all Rule\") cannot be modified, deleted, or have their conditions/priorities changed.\n- **Import behavior:** If you import a policy with a Catch-all Rule, it will appear in your state but cannot be managed by Terraform. Omit it from your configuration.\n\n## Migration from\u003cspan pulumi-lang-nodejs=\" okta.AppSignonPolicyRule\n\" pulumi-lang-dotnet=\" okta.AppSignonPolicyRule\n\" pulumi-lang-go=\" AppSignonPolicyRule\n\" pulumi-lang-python=\" AppSignonPolicyRule\n\" pulumi-lang-yaml=\" okta.AppSignonPolicyRule\n\" pulumi-lang-java=\" okta.AppSignonPolicyRule\n\" pulumi-lang-hcl=\" okta_app_signon_policy_rule\n\"\u003e okta.AppSignonPolicyRule\n\u003c/span\u003e\nIf you currently use multiple individual \u003cspan pulumi-lang-nodejs=\"`okta.AppSignonPolicyRule`\" pulumi-lang-dotnet=\"`okta.AppSignonPolicyRule`\" pulumi-lang-go=\"`AppSignonPolicyRule`\" pulumi-lang-python=\"`AppSignonPolicyRule`\" pulumi-lang-yaml=\"`okta.AppSignonPolicyRule`\" pulumi-lang-java=\"`okta.AppSignonPolicyRule`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rule`\"\u003e`okta.AppSignonPolicyRule`\u003c/span\u003e resources, follow these steps to safely migrate to the grouped resource:\n\n### Step 1: Backup Your State\n\n```bash\npulumi state pull \u003e terraform-state-backup.json\n```\n\n### Step 2: Identify Rule IDs and Names\n\nList all rules in your policy to identify their IDs and names:\n\n```bash\n# Using Terraform state\npulumi state show 'okta_app_signon_policy_rule.rule1'\n```\n\n\n### Step 4: Create the Grouped Resource Configuration\n\nCreate a new \u003cspan pulumi-lang-nodejs=\"`okta.app.SignonPolicyRules`\" pulumi-lang-dotnet=\"`okta.app.SignonPolicyRules`\" pulumi-lang-go=\"`app.SignonPolicyRules`\" pulumi-lang-python=\"`app.SignonPolicyRules`\" pulumi-lang-yaml=\"`okta.app.SignonPolicyRules`\" pulumi-lang-java=\"`okta.app.SignonPolicyRules`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rules`\"\u003e`okta.app.SignonPolicyRules`\u003c/span\u003e resource with the same rules. Use **rule names as the matching key** (do NOT include \u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e unless adopting an existing rule):\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst migrated = new okta.app.SignonPolicyRules(\"migrated\", {\n policyId: myPolicy.id,\n rules: [\n {\n name: \"High Priority Rule\",\n priority: 1,\n factorMode: \"2FA\",\n reAuthenticationFrequency: \"PT2H\",\n status: \"ACTIVE\",\n },\n {\n name: \"Second Rule\",\n priority: 2,\n factorMode: \"1FA\",\n status: \"ACTIVE\",\n },\n {\n name: \"Deny Rule\",\n priority: 3,\n access: \"DENY\",\n status: \"ACTIVE\",\n },\n ],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nmigrated = okta.app.SignonPolicyRules(\"migrated\",\n policy_id=my_policy[\"id\"],\n rules=[\n {\n \"name\": \"High Priority Rule\",\n \"priority\": 1,\n \"factor_mode\": \"2FA\",\n \"re_authentication_frequency\": \"PT2H\",\n \"status\": \"ACTIVE\",\n },\n {\n \"name\": \"Second Rule\",\n \"priority\": 2,\n \"factor_mode\": \"1FA\",\n \"status\": \"ACTIVE\",\n },\n {\n \"name\": \"Deny Rule\",\n \"priority\": 3,\n \"access\": \"DENY\",\n \"status\": \"ACTIVE\",\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 migrated = new Okta.App.SignonPolicyRules(\"migrated\", new()\n {\n PolicyId = myPolicy.Id,\n Rules = new[]\n {\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"High Priority Rule\",\n Priority = 1,\n FactorMode = \"2FA\",\n ReAuthenticationFrequency = \"PT2H\",\n Status = \"ACTIVE\",\n },\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"Second Rule\",\n Priority = 2,\n FactorMode = \"1FA\",\n Status = \"ACTIVE\",\n },\n new Okta.App.Inputs.SignonPolicyRulesRuleArgs\n {\n Name = \"Deny Rule\",\n Priority = 3,\n Access = \"DENY\",\n Status = \"ACTIVE\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewSignonPolicyRules(ctx, \"migrated\", \u0026app.SignonPolicyRulesArgs{\n\t\t\tPolicyId: pulumi.Any(myPolicy.Id),\n\t\t\tRules: app.SignonPolicyRulesRuleArray{\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"High Priority Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(1),\n\t\t\t\t\tFactorMode: pulumi.String(\"2FA\"),\n\t\t\t\t\tReAuthenticationFrequency: pulumi.String(\"PT2H\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t},\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Second Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(2),\n\t\t\t\t\tFactorMode: pulumi.String(\"1FA\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\t\t},\n\t\t\t\t\u0026app.SignonPolicyRulesRuleArgs{\n\t\t\t\t\tName: pulumi.String(\"Deny Rule\"),\n\t\t\t\t\tPriority: pulumi.Int(3),\n\t\t\t\t\tAccess: pulumi.String(\"DENY\"),\n\t\t\t\t\tStatus: pulumi.String(\"ACTIVE\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_app_signonpolicyrules\" \"migrated\" {\n policy_id = myPolicy.id\n rules {\n name = \"High Priority Rule\"\n priority = 1\n factor_mode = \"2FA\"\n re_authentication_frequency = \"PT2H\"\n status = \"ACTIVE\"\n }\n rules {\n name = \"Second Rule\"\n priority = 2\n factor_mode = \"1FA\"\n status = \"ACTIVE\"\n }\n rules {\n name = \"Deny Rule\"\n priority = 3\n access = \"DENY\"\n status = \"ACTIVE\"\n }\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.SignonPolicyRules;\nimport com.pulumi.okta.app.SignonPolicyRulesArgs;\nimport com.pulumi.okta.app.inputs.SignonPolicyRulesRuleArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 migrated = new SignonPolicyRules(\"migrated\", SignonPolicyRulesArgs.builder()\n .policyId(myPolicy.id())\n .rules( \n SignonPolicyRulesRuleArgs.builder()\n .name(\"High Priority Rule\")\n .priority(1)\n .factorMode(\"2FA\")\n .reAuthenticationFrequency(\"PT2H\")\n .status(\"ACTIVE\")\n .build(),\n SignonPolicyRulesRuleArgs.builder()\n .name(\"Second Rule\")\n .priority(2)\n .factorMode(\"1FA\")\n .status(\"ACTIVE\")\n .build(),\n SignonPolicyRulesRuleArgs.builder()\n .name(\"Deny Rule\")\n .priority(3)\n .access(\"DENY\")\n .status(\"ACTIVE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n migrated:\n type: okta:app:SignonPolicyRules\n properties:\n policyId: ${myPolicy.id}\n rules:\n - name: High Priority Rule\n priority: 1\n factorMode: 2FA\n reAuthenticationFrequency: PT2H\n status: ACTIVE\n - name: Second Rule\n priority: 2\n factorMode: 1FA\n status: ACTIVE\n - name: Deny Rule\n priority: 3\n access: DENY\n status: ACTIVE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Step 5: Plan and Verify\n\nRun `pulumi preview` to see if any changes will be made:\n\n```bash\npulumi preview -out migration.tfplan\n```\n\n**Expected outcome:** Either \"No changes\" or only legitimate config updates. If the plan shows unexpected deletes or recreates:\n- Verify rule names match exactly (case-sensitive).\n- Check that attributes (access, factor_mode, etc.) match Okta's current state.\n- Ensure you're not declaring system rules (e.g., Catch-all Rule).\n\n### Step 6: Apply the Migration\n\n```bash\npulumi up migration.tfplan\n```\n\n### Step 6: Verify Final State\n\n```bash\npulumi preview\n# Output should show: No changes. Your infrastructure matches the configuration.\n```\n\n## Important Migration Notes\n\n### Priority Differences\n\nWhen migrating from \u003cspan pulumi-lang-nodejs=\"`okta.AppSignonPolicyRule`\" pulumi-lang-dotnet=\"`okta.AppSignonPolicyRule`\" pulumi-lang-go=\"`AppSignonPolicyRule`\" pulumi-lang-python=\"`AppSignonPolicyRule`\" pulumi-lang-yaml=\"`okta.AppSignonPolicyRule`\" pulumi-lang-java=\"`okta.AppSignonPolicyRule`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rule`\"\u003e`okta.AppSignonPolicyRule`\u003c/span\u003e (single-rule resource) to \u003cspan pulumi-lang-nodejs=\"`okta.app.SignonPolicyRules`\" pulumi-lang-dotnet=\"`okta.app.SignonPolicyRules`\" pulumi-lang-go=\"`app.SignonPolicyRules`\" pulumi-lang-python=\"`app.SignonPolicyRules`\" pulumi-lang-yaml=\"`okta.app.SignonPolicyRules`\" pulumi-lang-java=\"`okta.app.SignonPolicyRules`\" pulumi-lang-hcl=\"`okta_app_signon_policy_rules`\"\u003e`okta.app.SignonPolicyRules`\u003c/span\u003e (grouped resource):\n\n- **Old behavior:** Single-rule resource defaults to `priority = 0` in Terraform state, even if Okta assigned a different priority.\n- **New behavior:** Grouped resource reflects the actual priority assigned by Okta. When you omit \u003cspan pulumi-lang-nodejs=\"`priority`\" pulumi-lang-dotnet=\"`Priority`\" pulumi-lang-go=\"`priority`\" pulumi-lang-python=\"`priority`\" pulumi-lang-yaml=\"`priority`\" pulumi-lang-java=\"`priority`\" pulumi-lang-hcl=\"`priority`\"\u003e`priority`\u003c/span\u003e, the state will show the real Okta-assigned priority.\n\n**Action:** Explicitly set \u003cspan pulumi-lang-nodejs=\"`priority`\" pulumi-lang-dotnet=\"`Priority`\" pulumi-lang-go=\"`priority`\" pulumi-lang-python=\"`priority`\" pulumi-lang-yaml=\"`priority`\" pulumi-lang-java=\"`priority`\" pulumi-lang-hcl=\"`priority`\"\u003e`priority`\u003c/span\u003e values in your configuration to avoid unexpected changes during migration.\n\n### Name-First Matching\n\nThe grouped resource matches rules by **name first**, not by ID:\n\n- If you rename a rule in config, the provider will match it to the existing rule by the new name.\n- If a name doesn't exist in Okta, a new rule is created.\n- This design prevents accidental re-matching when state order differs from config order.\n\n### System Rules\n\nSystem rules (e.g., \"Catch-all Rule\") cannot be managed:\n\n- If your policy has a system rule, do NOT declare it in your configuration.\n- The provider will detect it during import/read but will not attempt to modify or delete it.\n- System rules are read-only from Terraform's perspective.\n\n## Troubleshooting\n\n### Plan shows \"1 to change\" but config matches Okta\n\n**Cause:** State and config rule order differ, triggering re-matching.\n\n**Solution:** Verify rule names match exactly (case-sensitive) and attributes are correct. Run `pulumi preview -refresh=true` to refresh state from Okta.\n\n### Priorities shift unexpectedly after apply\n\n**Cause:** Okta automatically shifts priorities when updates conflict. This is expected behavior per Okta's prioritization rules.\n\n**Solution:** Use explicit, sequential priorities (1, 2, 3, ...) instead of 0-indexed or sparse values. Avoid updating multiple rules simultaneously with overlapping priorities.\n\n### Error: \"System rule cannot be modified\"\n\n**Cause:** You attempted to set conditions on a system rule (Catch-all Rule).\n\n**Solution:** Remove the system rule from your configuration. System rules are immutable.\n\n## See Also\n\n-\u003cspan pulumi-lang-nodejs=\" okta.AppSignonPolicy \" pulumi-lang-dotnet=\" okta.AppSignonPolicy \" pulumi-lang-go=\" AppSignonPolicy \" pulumi-lang-python=\" AppSignonPolicy \" pulumi-lang-yaml=\" okta.AppSignonPolicy \" pulumi-lang-java=\" okta.AppSignonPolicy \" pulumi-lang-hcl=\" okta_app_signon_policy \"\u003e okta.AppSignonPolicy \u003c/span\u003e- Create and manage app sign-on policies.\n- [Okta Policy Rule Prioritization Guide](https://developer.okta.com/docs/guides/policy-rule-prioritization/main/) - Learn about priority management and top-down synchronization.\n\n## Import\n\nImport an existing policy's rules:\n\n```sh\n$ pulumi import okta:app/signonPolicyRules:SignonPolicyRules example \u003cpolicy_id\u003e\n```\n\nThis will populate your state with all rules for the policy (including system rules). Update your configuration to match.\n\n", "properties": { "policyId": { "type": "string", @@ -15500,156 +16786,165 @@ "type": "string", "description": "The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals.\n" }, - "name": { - "type": "string", - "description": "Policy Rule Name\n" - }, - "networkConnection": { - "type": "string", - "description": "Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK.\n" - }, - "networkExcludes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The zones to exclude\n" - }, - "networkIncludes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The zones to include\n" - }, - "platformIncludes": { - "type": "array", - "items": { - "$ref": "#/types/okta:index/AppSignonPolicyRulePlatformInclude:AppSignonPolicyRulePlatformInclude" - } - }, - "policyId": { - "type": "string", - "description": "ID of the policy\n" - }, - "priority": { - "type": "integer", - "description": "Priority of the rule.\n" - }, - "reAuthenticationFrequency": { - "type": "string", - "description": "The duration after which the end user must re-authenticate, regardless of user activity. Use the ISO 8601 Period format for recurring time intervals. PT0S - Every sign-in attempt, PT43800H - Once per session. Cannot be set if reauthenticateIn is set in one or more entries of chains.\n" - }, - "riskScore": { - "type": "string", - "description": "The risk score specifies a particular level of risk to match on: ANY, LOW, MEDIUM, HIGH\n" - }, - "status": { - "type": "string", - "description": "Status of the rule\n" - }, - "system": { - "type": "boolean", - "description": "Often the `Catch-all Rule` this rule is the system (default) rule for its associated policy\n" - }, - "type": { - "type": "string", - "description": "The Verification Method type\n" - }, - "userTypesExcludeds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Set of User Type IDs to exclude\n" - }, - "userTypesIncludeds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Set of User Type IDs to include\n" - }, - "usersExcludeds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Set of User IDs to exclude\n" - }, - "usersIncludeds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Set of User IDs to include\n" - } - }, - "required": [ - "name", - "policyId", - "riskScore", - "system" - ], - "inputProperties": { - "access": { - "type": "string", - "description": "Allow or deny access based on the rule conditions: ALLOW or DENY\n" - }, - "chains": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Authentication method chains. Only supports 5 items in the array. Each chain can support maximum 3 steps. To be used only with verification method type `AUTH_METHOD_CHAIN`.\n" - }, - "constraints": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array that contains nested Authenticator Constraint objects that are organized by the Authenticator class\n" - }, - "customExpression": { - "type": "string", - "description": "This is an optional advanced setting. If the expression is formatted incorrectly or conflicts with conditions set above, the rule may not match any users.\n" - }, - "deviceAssurancesIncludeds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of device assurance IDs to include\n" - }, - "deviceIsManaged": { - "type": "boolean", - "description": "If the device is managed. A device is managed if it's managed by a device management system. When managed is passed, registered must also be included and must be set to true.\n" - }, - "deviceIsRegistered": { - "type": "boolean", - "description": "If the device is registered. A device is registered if the User enrolls with Okta Verify that is installed on the device.\n" - }, - "factorMode": { - "type": "string", - "description": "The number of factors required to satisfy this assurance level\n" - }, - "groupsExcludeds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of group IDs to exclude\n" - }, - "groupsIncludeds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "List of group IDs to include\n" - }, - "inactivityPeriod": { - "type": "string", - "description": "The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals.\n" + "keepMeSignedIn": { + "$ref": "#/types/okta:index/AppSignonPolicyRuleKeepMeSignedIn:AppSignonPolicyRuleKeepMeSignedIn", + "description": "Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org.\n" + }, + "name": { + "type": "string", + "description": "Policy Rule Name\n" + }, + "networkConnection": { + "type": "string", + "description": "Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK.\n" + }, + "networkExcludes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The zones to exclude\n" + }, + "networkIncludes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The zones to include\n" + }, + "platformIncludes": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/AppSignonPolicyRulePlatformInclude:AppSignonPolicyRulePlatformInclude" + } + }, + "policyId": { + "type": "string", + "description": "ID of the policy\n" + }, + "priority": { + "type": "integer", + "description": "Priority of the rule.\n" + }, + "reAuthenticationFrequency": { + "type": "string", + "description": "The duration after which the end user must re-authenticate, regardless of user activity. Use the ISO 8601 Period format for recurring time intervals. PT0S - Every sign-in attempt, PT43800H - Once per session. Cannot be set if reauthenticateIn is set in one or more entries of chains.\n" + }, + "riskScore": { + "type": "string", + "description": "The risk score specifies a particular level of risk to match on: ANY, LOW, MEDIUM, HIGH\n" + }, + "status": { + "type": "string", + "description": "Status of the rule\n" + }, + "system": { + "type": "boolean", + "description": "Often the `Catch-all Rule` this rule is the system (default) rule for its associated policy\n" + }, + "type": { + "type": "string", + "description": "The Verification Method type\n" + }, + "userTypesExcludeds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Set of User Type IDs to exclude\n" + }, + "userTypesIncludeds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Set of User Type IDs to include\n" + }, + "usersExcludeds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Set of User IDs to exclude\n" + }, + "usersIncludeds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Set of User IDs to include\n" + } + }, + "required": [ + "keepMeSignedIn", + "name", + "policyId", + "riskScore", + "system" + ], + "inputProperties": { + "access": { + "type": "string", + "description": "Allow or deny access based on the rule conditions: ALLOW or DENY\n" + }, + "chains": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Authentication method chains. Only supports 5 items in the array. Each chain can support maximum 3 steps. To be used only with verification method type `AUTH_METHOD_CHAIN`.\n" + }, + "constraints": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array that contains nested Authenticator Constraint objects that are organized by the Authenticator class\n" + }, + "customExpression": { + "type": "string", + "description": "This is an optional advanced setting. If the expression is formatted incorrectly or conflicts with conditions set above, the rule may not match any users.\n" + }, + "deviceAssurancesIncludeds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of device assurance IDs to include\n" + }, + "deviceIsManaged": { + "type": "boolean", + "description": "If the device is managed. A device is managed if it's managed by a device management system. When managed is passed, registered must also be included and must be set to true.\n" + }, + "deviceIsRegistered": { + "type": "boolean", + "description": "If the device is registered. A device is registered if the User enrolls with Okta Verify that is installed on the device.\n" + }, + "factorMode": { + "type": "string", + "description": "The number of factors required to satisfy this assurance level\n" + }, + "groupsExcludeds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of group IDs to exclude\n" + }, + "groupsIncludeds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of group IDs to include\n" + }, + "inactivityPeriod": { + "type": "string", + "description": "The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals.\n" + }, + "keepMeSignedIn": { + "$ref": "#/types/okta:index/AppSignonPolicyRuleKeepMeSignedIn:AppSignonPolicyRuleKeepMeSignedIn", + "description": "Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org.\n" }, "name": { "type": "string", @@ -15798,6 +17093,10 @@ "type": "string", "description": "The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals.\n" }, + "keepMeSignedIn": { + "$ref": "#/types/okta:index/AppSignonPolicyRuleKeepMeSignedIn:AppSignonPolicyRuleKeepMeSignedIn", + "description": "Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org.\n" + }, "name": { "type": "string", "description": "Policy Rule Name\n" @@ -16819,6 +18118,300 @@ "type": "object" } }, + "okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn": { + "description": "\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\n\nManages the WebAuthn authenticator method settings, including AAGUID group allowlists, user verification preferences, and passkey configuration.\n\n\u003e **Note:** This resource manages the settings of an existing WebAuthn authenticator method. The method itself cannot be created or deleted — it exists as part of the authenticator. On destroy, settings are reset to defaults.\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 webauthn = okta.getAuthenticator({\n key: \"webauthn\",\n});\nconst example = new okta.AuthenticatorMethodWebauthn(\"example\", {\n authenticatorId: webauthn.then(webauthn =\u003e webauthn.id),\n userVerification: \"PREFERRED\",\n attachment: \"ANY\",\n allowSyncablePasskeys: true,\n aaguidGroups: [{\n name: \"YubiKeys\",\n aaguids: [\"cb69481e-8ff7-4039-93ec-0a2729a154a8\"],\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nwebauthn = okta.get_authenticator(key=\"webauthn\")\nexample = okta.AuthenticatorMethodWebauthn(\"example\",\n authenticator_id=webauthn.id,\n user_verification=\"PREFERRED\",\n attachment=\"ANY\",\n allow_syncable_passkeys=True,\n aaguid_groups=[{\n \"name\": \"YubiKeys\",\n \"aaguids\": [\"cb69481e-8ff7-4039-93ec-0a2729a154a8\"],\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 webauthn = Okta.GetAuthenticator.Invoke(new()\n {\n Key = \"webauthn\",\n });\n\n var example = new Okta.AuthenticatorMethodWebauthn(\"example\", new()\n {\n AuthenticatorId = webauthn.Apply(getAuthenticatorResult =\u003e getAuthenticatorResult.Id),\n UserVerification = \"PREFERRED\",\n Attachment = \"ANY\",\n AllowSyncablePasskeys = true,\n AaguidGroups = new[]\n {\n new Okta.Inputs.AuthenticatorMethodWebauthnAaguidGroupArgs\n {\n Name = \"YubiKeys\",\n Aaguids = new[]\n {\n \"cb69481e-8ff7-4039-93ec-0a2729a154a8\",\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\twebauthn, err := okta.GetAuthenticator(ctx, \u0026okta.LookupAuthenticatorArgs{\n\t\t\tKey: pulumi.StringRef(\"webauthn\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewAuthenticatorMethodWebauthn(ctx, \"example\", \u0026okta.AuthenticatorMethodWebauthnArgs{\n\t\t\tAuthenticatorId: pulumi.String(webauthn.Id),\n\t\t\tUserVerification: pulumi.String(\"PREFERRED\"),\n\t\t\tAttachment: pulumi.String(\"ANY\"),\n\t\t\tAllowSyncablePasskeys: pulumi.Bool(true),\n\t\t\tAaguidGroups: okta.AuthenticatorMethodWebauthnAaguidGroupArray{\n\t\t\t\t\u0026okta.AuthenticatorMethodWebauthnAaguidGroupArgs{\n\t\t\t\t\tName: pulumi.String(\"YubiKeys\"),\n\t\t\t\t\tAaguids: pulumi.StringArray{\n\t\t\t\t\t\tpulumi.String(\"cb69481e-8ff7-4039-93ec-0a2729a154a8\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getauthenticator\" \"webauthn\" {\n key = \"webauthn\"\n}\n\nresource \"okta_authenticatormethodwebauthn\" \"example\" {\n authenticator_id = data.okta_getauthenticator.webauthn.id\n user_verification = \"PREFERRED\"\n attachment = \"ANY\"\n allow_syncable_passkeys = true\n aaguid_groups {\n name = \"YubiKeys\"\n aaguids = [\"cb69481e-8ff7-4039-93ec-0a2729a154a8\"]\n }\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 com.pulumi.okta.AuthenticatorMethodWebauthn;\nimport com.pulumi.okta.AuthenticatorMethodWebauthnArgs;\nimport com.pulumi.okta.inputs.AuthenticatorMethodWebauthnAaguidGroupArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()\n .key(\"webauthn\")\n .build());\n\n var example = new AuthenticatorMethodWebauthn(\"example\", AuthenticatorMethodWebauthnArgs.builder()\n .authenticatorId(webauthn.id())\n .userVerification(\"PREFERRED\")\n .attachment(\"ANY\")\n .allowSyncablePasskeys(true)\n .aaguidGroups(AuthenticatorMethodWebauthnAaguidGroupArgs.builder()\n .name(\"YubiKeys\")\n .aaguids(\"cb69481e-8ff7-4039-93ec-0a2729a154a8\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:AuthenticatorMethodWebauthn\n properties:\n authenticatorId: ${webauthn.id}\n userVerification: PREFERRED\n attachment: ANY\n allowSyncablePasskeys: true\n aaguidGroups:\n - name: YubiKeys\n aaguids:\n - cb69481e-8ff7-4039-93ec-0a2729a154a8\nvariables:\n webauthn:\n fn::invoke:\n function: okta:getAuthenticator\n arguments:\n key: webauthn\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nThe WebAuthn method can be imported using the authenticator ID:\n\n```sh\n$ pulumi import okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn example aut1234567890\n```\n\n", + "properties": { + "aaguidGroups": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/AuthenticatorMethodWebauthnAaguidGroup:AuthenticatorMethodWebauthnAaguidGroup" + }, + "description": "List of AAGUID group configurations.\n" + }, + "allowSyncablePasskeys": { + "type": "boolean", + "description": "Whether syncable passkeys are allowed.\n" + }, + "attachment": { + "type": "string", + "description": "Method attachment setting.\n" + }, + "authenticatorId": { + "type": "string", + "description": "The ID of the WebAuthn authenticator.\n" + }, + "certBasedAttestationValidation": { + "type": "boolean", + "description": "Whether certificate-based attestation validation is enabled.\n" + }, + "enableAutofillUi": { + "type": "boolean", + "description": "Enables the passkeys autofill UI for WebAuthn discoverable credentials.\n" + }, + "fipsCompliant": { + "type": "boolean", + "description": "Whether the authenticator must be FIPS compliant.\n" + }, + "hardwareProtected": { + "type": "boolean", + "description": "Whether the authenticator must store the private key on hardware.\n" + }, + "residentKeyRequirement": { + "type": "string", + "description": "Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`.\n" + }, + "rpId": { + "$ref": "#/types/okta:index/AuthenticatorMethodWebauthnRpId:AuthenticatorMethodWebauthnRpId", + "description": "The Relying Party (RP) ID configuration for WebAuthn. Contains:\n" + }, + "showSignInWithAPasskeyButton": { + "type": "boolean", + "description": "Whether to show the \"Sign in with a Passkey\" button.\n" + }, + "status": { + "type": "string", + "description": "The status of the WebAuthn method (`ACTIVE` or `INACTIVE`).\n" + }, + "userVerification": { + "type": "string", + "description": "User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`.\n" + }, + "userVerificationForVerify": { + "type": "string", + "description": "User verification setting for authentication (verification).\n" + } + }, + "required": [ + "allowSyncablePasskeys", + "attachment", + "authenticatorId", + "certBasedAttestationValidation", + "enableAutofillUi", + "fipsCompliant", + "hardwareProtected", + "residentKeyRequirement", + "showSignInWithAPasskeyButton", + "status", + "userVerification", + "userVerificationForVerify" + ], + "inputProperties": { + "aaguidGroups": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/AuthenticatorMethodWebauthnAaguidGroup:AuthenticatorMethodWebauthnAaguidGroup" + }, + "description": "List of AAGUID group configurations.\n" + }, + "allowSyncablePasskeys": { + "type": "boolean", + "description": "Whether syncable passkeys are allowed.\n" + }, + "attachment": { + "type": "string", + "description": "Method attachment setting.\n" + }, + "authenticatorId": { + "type": "string", + "description": "The ID of the WebAuthn authenticator.\n" + }, + "certBasedAttestationValidation": { + "type": "boolean", + "description": "Whether certificate-based attestation validation is enabled.\n" + }, + "enableAutofillUi": { + "type": "boolean", + "description": "Enables the passkeys autofill UI for WebAuthn discoverable credentials.\n" + }, + "fipsCompliant": { + "type": "boolean", + "description": "Whether the authenticator must be FIPS compliant.\n" + }, + "hardwareProtected": { + "type": "boolean", + "description": "Whether the authenticator must store the private key on hardware.\n" + }, + "residentKeyRequirement": { + "type": "string", + "description": "Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`.\n" + }, + "rpId": { + "$ref": "#/types/okta:index/AuthenticatorMethodWebauthnRpId:AuthenticatorMethodWebauthnRpId", + "description": "The Relying Party (RP) ID configuration for WebAuthn. Contains:\n" + }, + "showSignInWithAPasskeyButton": { + "type": "boolean", + "description": "Whether to show the \"Sign in with a Passkey\" button.\n" + }, + "userVerification": { + "type": "string", + "description": "User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`.\n" + }, + "userVerificationForVerify": { + "type": "string", + "description": "User verification setting for authentication (verification).\n" + } + }, + "requiredInputs": [ + "authenticatorId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering AuthenticatorMethodWebauthn resources.\n", + "properties": { + "aaguidGroups": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/AuthenticatorMethodWebauthnAaguidGroup:AuthenticatorMethodWebauthnAaguidGroup" + }, + "description": "List of AAGUID group configurations.\n" + }, + "allowSyncablePasskeys": { + "type": "boolean", + "description": "Whether syncable passkeys are allowed.\n" + }, + "attachment": { + "type": "string", + "description": "Method attachment setting.\n" + }, + "authenticatorId": { + "type": "string", + "description": "The ID of the WebAuthn authenticator.\n" + }, + "certBasedAttestationValidation": { + "type": "boolean", + "description": "Whether certificate-based attestation validation is enabled.\n" + }, + "enableAutofillUi": { + "type": "boolean", + "description": "Enables the passkeys autofill UI for WebAuthn discoverable credentials.\n" + }, + "fipsCompliant": { + "type": "boolean", + "description": "Whether the authenticator must be FIPS compliant.\n" + }, + "hardwareProtected": { + "type": "boolean", + "description": "Whether the authenticator must store the private key on hardware.\n" + }, + "residentKeyRequirement": { + "type": "string", + "description": "Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`.\n" + }, + "rpId": { + "$ref": "#/types/okta:index/AuthenticatorMethodWebauthnRpId:AuthenticatorMethodWebauthnRpId", + "description": "The Relying Party (RP) ID configuration for WebAuthn. Contains:\n" + }, + "showSignInWithAPasskeyButton": { + "type": "boolean", + "description": "Whether to show the \"Sign in with a Passkey\" button.\n" + }, + "status": { + "type": "string", + "description": "The status of the WebAuthn method (`ACTIVE` or `INACTIVE`).\n" + }, + "userVerification": { + "type": "string", + "description": "User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`.\n" + }, + "userVerificationForVerify": { + "type": "string", + "description": "User verification setting for authentication (verification).\n" + } + }, + "type": "object" + } + }, + "okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid": { + "description": "\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\n\nManages a custom AAGUID (Authenticator Attestation Globally Unique Identifier) for a WebAuthn authenticator. Custom AAGUIDs allow administrators to register specific hardware security key models with the organization.\n\n\u003e **NOTE:** AAGUIDs that are registered in the [FIDO Metadata Service (MDS)](https://fidoalliance.org/metadata/) with attestation certificates **require** the \u003cspan pulumi-lang-nodejs=\"`attestationRootCertificate`\" pulumi-lang-dotnet=\"`AttestationRootCertificate`\" pulumi-lang-go=\"`attestationRootCertificate`\" pulumi-lang-python=\"`attestation_root_certificate`\" pulumi-lang-yaml=\"`attestationRootCertificate`\" pulumi-lang-java=\"`attestationRootCertificate`\" pulumi-lang-hcl=\"`attestation_root_certificate`\"\u003e`attestationRootCertificate`\u003c/span\u003e block(s) to be provided. If omitted for an MDS-registered AAGUID, the API will return a validation error. AAGUIDs not present in the MDS do not require certificates.\n\n## Example Usage\n\n### Basic (custom/non-MDS AAGUID)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst webauthn = okta.getAuthenticator({\n key: \"webauthn\",\n});\nconst customKey = new okta.AuthenticatorWebauthnCustomAaguid(\"custom_key\", {\n authenticatorId: webauthn.then(webauthn =\u003e webauthn.id),\n aaguid: \"00000000-0000-0000-0000-000000000001\",\n name: \"Custom Security Key\",\n authenticatorCharacteristics: {\n hardwareProtected: true,\n platformAttached: false,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nwebauthn = okta.get_authenticator(key=\"webauthn\")\ncustom_key = okta.AuthenticatorWebauthnCustomAaguid(\"custom_key\",\n authenticator_id=webauthn.id,\n aaguid=\"00000000-0000-0000-0000-000000000001\",\n name=\"Custom Security Key\",\n authenticator_characteristics={\n \"hardware_protected\": True,\n \"platform_attached\": False,\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 webauthn = Okta.GetAuthenticator.Invoke(new()\n {\n Key = \"webauthn\",\n });\n\n var customKey = new Okta.AuthenticatorWebauthnCustomAaguid(\"custom_key\", new()\n {\n AuthenticatorId = webauthn.Apply(getAuthenticatorResult =\u003e getAuthenticatorResult.Id),\n Aaguid = \"00000000-0000-0000-0000-000000000001\",\n Name = \"Custom Security Key\",\n AuthenticatorCharacteristics = new Okta.Inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs\n {\n HardwareProtected = true,\n PlatformAttached = false,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\twebauthn, err := okta.GetAuthenticator(ctx, \u0026okta.LookupAuthenticatorArgs{\n\t\t\tKey: pulumi.StringRef(\"webauthn\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewAuthenticatorWebauthnCustomAaguid(ctx, \"custom_key\", \u0026okta.AuthenticatorWebauthnCustomAaguidArgs{\n\t\t\tAuthenticatorId: pulumi.String(webauthn.Id),\n\t\t\tAaguid: pulumi.String(\"00000000-0000-0000-0000-000000000001\"),\n\t\t\tName: pulumi.String(\"Custom Security Key\"),\n\t\t\tAuthenticatorCharacteristics: \u0026okta.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs{\n\t\t\t\tHardwareProtected: pulumi.Bool(true),\n\t\t\t\tPlatformAttached: pulumi.Bool(false),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getauthenticator\" \"webauthn\" {\n key = \"webauthn\"\n}\n\nresource \"okta_authenticatorwebauthncustomaaguid\" \"custom_key\" {\n authenticator_id = data.okta_getauthenticator.webauthn.id\n aaguid = \"00000000-0000-0000-0000-000000000001\"\n name = \"Custom Security Key\"\n authenticator_characteristics = {\n hardware_protected = true\n platform_attached = false\n }\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 com.pulumi.okta.AuthenticatorWebauthnCustomAaguid;\nimport com.pulumi.okta.AuthenticatorWebauthnCustomAaguidArgs;\nimport com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()\n .key(\"webauthn\")\n .build());\n\n var customKey = new AuthenticatorWebauthnCustomAaguid(\"customKey\", AuthenticatorWebauthnCustomAaguidArgs.builder()\n .authenticatorId(webauthn.id())\n .aaguid(\"00000000-0000-0000-0000-000000000001\")\n .name(\"Custom Security Key\")\n .authenticatorCharacteristics(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.builder()\n .hardwareProtected(true)\n .platformAttached(false)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n customKey:\n type: okta:AuthenticatorWebauthnCustomAaguid\n name: custom_key\n properties:\n authenticatorId: ${webauthn.id}\n aaguid: 00000000-0000-0000-0000-000000000001\n name: Custom Security Key\n authenticatorCharacteristics:\n hardwareProtected: true\n platformAttached: false\nvariables:\n webauthn:\n fn::invoke:\n function: okta:getAuthenticator\n arguments:\n key: webauthn\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### With attestation certificates (MDS-registered AAGUID)\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as okta from \"@pulumi/okta\";\n\nconst webauthn = okta.getAuthenticator({\n key: \"webauthn\",\n});\nconst yubikey5 = new okta.AuthenticatorWebauthnCustomAaguid(\"yubikey5\", {\n authenticatorId: webauthn.then(webauthn =\u003e webauthn.id),\n aaguid: \"cb69481e-8ff7-4039-93ec-0a2729a154a8\",\n name: \"YubiKey 5 Series\",\n authenticatorCharacteristics: {\n fipsCompliant: true,\n hardwareProtected: true,\n platformAttached: false,\n },\n attestationRootCertificates: [{\n x5c: \"\u003cbase64-encoded-attestation-root-certificate\u003e\",\n }],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nwebauthn = okta.get_authenticator(key=\"webauthn\")\nyubikey5 = okta.AuthenticatorWebauthnCustomAaguid(\"yubikey5\",\n authenticator_id=webauthn.id,\n aaguid=\"cb69481e-8ff7-4039-93ec-0a2729a154a8\",\n name=\"YubiKey 5 Series\",\n authenticator_characteristics={\n \"fips_compliant\": True,\n \"hardware_protected\": True,\n \"platform_attached\": False,\n },\n attestation_root_certificates=[{\n \"x5c\": \"\u003cbase64-encoded-attestation-root-certificate\u003e\",\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 webauthn = Okta.GetAuthenticator.Invoke(new()\n {\n Key = \"webauthn\",\n });\n\n var yubikey5 = new Okta.AuthenticatorWebauthnCustomAaguid(\"yubikey5\", new()\n {\n AuthenticatorId = webauthn.Apply(getAuthenticatorResult =\u003e getAuthenticatorResult.Id),\n Aaguid = \"cb69481e-8ff7-4039-93ec-0a2729a154a8\",\n Name = \"YubiKey 5 Series\",\n AuthenticatorCharacteristics = new Okta.Inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs\n {\n FipsCompliant = true,\n HardwareProtected = true,\n PlatformAttached = false,\n },\n AttestationRootCertificates = new[]\n {\n new Okta.Inputs.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs\n {\n X5c = \"\u003cbase64-encoded-attestation-root-certificate\u003e\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\twebauthn, err := okta.GetAuthenticator(ctx, \u0026okta.LookupAuthenticatorArgs{\n\t\t\tKey: pulumi.StringRef(\"webauthn\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewAuthenticatorWebauthnCustomAaguid(ctx, \"yubikey5\", \u0026okta.AuthenticatorWebauthnCustomAaguidArgs{\n\t\t\tAuthenticatorId: pulumi.String(webauthn.Id),\n\t\t\tAaguid: pulumi.String(\"cb69481e-8ff7-4039-93ec-0a2729a154a8\"),\n\t\t\tName: pulumi.String(\"YubiKey 5 Series\"),\n\t\t\tAuthenticatorCharacteristics: \u0026okta.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs{\n\t\t\t\tFipsCompliant: pulumi.Bool(true),\n\t\t\t\tHardwareProtected: pulumi.Bool(true),\n\t\t\t\tPlatformAttached: pulumi.Bool(false),\n\t\t\t},\n\t\t\tAttestationRootCertificates: okta.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArray{\n\t\t\t\t\u0026okta.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs{\n\t\t\t\t\tX5c: pulumi.String(\"\u003cbase64-encoded-attestation-root-certificate\u003e\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getauthenticator\" \"webauthn\" {\n key = \"webauthn\"\n}\n\nresource \"okta_authenticatorwebauthncustomaaguid\" \"yubikey5\" {\n authenticator_id = data.okta_getauthenticator.webauthn.id\n aaguid = \"cb69481e-8ff7-4039-93ec-0a2729a154a8\"\n name = \"YubiKey 5 Series\"\n authenticator_characteristics = {\n fips_compliant = true\n hardware_protected = true\n platform_attached = false\n }\n attestation_root_certificates {\n x5c = \"\u003cbase64-encoded-attestation-root-certificate\u003e\"\n }\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 com.pulumi.okta.AuthenticatorWebauthnCustomAaguid;\nimport com.pulumi.okta.AuthenticatorWebauthnCustomAaguidArgs;\nimport com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs;\nimport com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()\n .key(\"webauthn\")\n .build());\n\n var yubikey5 = new AuthenticatorWebauthnCustomAaguid(\"yubikey5\", AuthenticatorWebauthnCustomAaguidArgs.builder()\n .authenticatorId(webauthn.id())\n .aaguid(\"cb69481e-8ff7-4039-93ec-0a2729a154a8\")\n .name(\"YubiKey 5 Series\")\n .authenticatorCharacteristics(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.builder()\n .fipsCompliant(true)\n .hardwareProtected(true)\n .platformAttached(false)\n .build())\n .attestationRootCertificates(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.builder()\n .x5c(\"\u003cbase64-encoded-attestation-root-certificate\u003e\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n yubikey5:\n type: okta:AuthenticatorWebauthnCustomAaguid\n properties:\n authenticatorId: ${webauthn.id}\n aaguid: cb69481e-8ff7-4039-93ec-0a2729a154a8\n name: YubiKey 5 Series\n authenticatorCharacteristics:\n fipsCompliant: true\n hardwareProtected: true\n platformAttached: false\n attestationRootCertificates:\n - x5c: \u003cbase64-encoded-attestation-root-certificate\u003e\nvariables:\n webauthn:\n fn::invoke:\n function: okta:getAuthenticator\n arguments:\n key: webauthn\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nA custom AAGUID can be imported using the format `authenticator_id/aaguid`:\n\n```sh\n$ pulumi import okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid example aut1234567890/cb69481e-8ff7-4039-93ec-0a2729a154a8\n```\n\n", + "properties": { + "aaguid": { + "type": "string", + "description": "The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model.\n" + }, + "attestationRootCertificates": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate:AuthenticatorWebauthnCustomAaguidAttestationRootCertificate" + }, + "description": "List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates.\n" + }, + "authenticatorCharacteristics": { + "$ref": "#/types/okta:index/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics:AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics", + "description": "Properties of the custom AAGUID authenticator.\n" + }, + "authenticatorId": { + "type": "string", + "description": "The ID of the WebAuthn authenticator.\n" + }, + "name": { + "type": "string", + "description": "The product name associated with this AAGUID.\n" + } + }, + "required": [ + "aaguid", + "authenticatorId", + "name" + ], + "inputProperties": { + "aaguid": { + "type": "string", + "description": "The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model.\n" + }, + "attestationRootCertificates": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate:AuthenticatorWebauthnCustomAaguidAttestationRootCertificate" + }, + "description": "List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates.\n" + }, + "authenticatorCharacteristics": { + "$ref": "#/types/okta:index/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics:AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics", + "description": "Properties of the custom AAGUID authenticator.\n" + }, + "authenticatorId": { + "type": "string", + "description": "The ID of the WebAuthn authenticator.\n" + }, + "name": { + "type": "string", + "description": "The product name associated with this AAGUID.\n" + } + }, + "requiredInputs": [ + "aaguid", + "authenticatorId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering AuthenticatorWebauthnCustomAaguid resources.\n", + "properties": { + "aaguid": { + "type": "string", + "description": "The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model.\n" + }, + "attestationRootCertificates": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate:AuthenticatorWebauthnCustomAaguidAttestationRootCertificate" + }, + "description": "List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates.\n" + }, + "authenticatorCharacteristics": { + "$ref": "#/types/okta:index/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics:AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics", + "description": "Properties of the custom AAGUID authenticator.\n" + }, + "authenticatorId": { + "type": "string", + "description": "The ID of the WebAuthn authenticator.\n" + }, + "name": { + "type": "string", + "description": "The product name associated with this AAGUID.\n" + } + }, + "type": "object" + } + }, "okta:index/behaviour:Behaviour": { "description": "This resource allows you to create and configure a behavior.\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 myLocation = new okta.Behaviour(\"my_location\", {\n name: \"My Location\",\n type: \"ANOMALOUS_LOCATION\",\n numberOfAuthentications: 50,\n locationGranularityType: \"LAT_LONG\",\n radiusFromLocation: 20,\n});\nconst myCity = new okta.Behaviour(\"my_city\", {\n name: \"My City\",\n type: \"ANOMALOUS_LOCATION\",\n numberOfAuthentications: 50,\n locationGranularityType: \"CITY\",\n});\nconst myDevice = new okta.Behaviour(\"my_device\", {\n name: \"My Device\",\n type: \"ANOMALOUS_DEVICE\",\n numberOfAuthentications: 50,\n});\nconst myIp = new okta.Behaviour(\"my_ip\", {\n name: \"My IP\",\n type: \"ANOMALOUS_IP\",\n numberOfAuthentications: 50,\n});\nconst myVelocity = new okta.Behaviour(\"my_velocity\", {\n name: \"My Velocity\",\n type: \"VELOCITY\",\n velocity: 25,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nmy_location = okta.Behaviour(\"my_location\",\n name=\"My Location\",\n type=\"ANOMALOUS_LOCATION\",\n number_of_authentications=50,\n location_granularity_type=\"LAT_LONG\",\n radius_from_location=20)\nmy_city = okta.Behaviour(\"my_city\",\n name=\"My City\",\n type=\"ANOMALOUS_LOCATION\",\n number_of_authentications=50,\n location_granularity_type=\"CITY\")\nmy_device = okta.Behaviour(\"my_device\",\n name=\"My Device\",\n type=\"ANOMALOUS_DEVICE\",\n number_of_authentications=50)\nmy_ip = okta.Behaviour(\"my_ip\",\n name=\"My IP\",\n type=\"ANOMALOUS_IP\",\n number_of_authentications=50)\nmy_velocity = okta.Behaviour(\"my_velocity\",\n name=\"My Velocity\",\n type=\"VELOCITY\",\n velocity=25)\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 myLocation = new Okta.Behaviour(\"my_location\", new()\n {\n Name = \"My Location\",\n Type = \"ANOMALOUS_LOCATION\",\n NumberOfAuthentications = 50,\n LocationGranularityType = \"LAT_LONG\",\n RadiusFromLocation = 20,\n });\n\n var myCity = new Okta.Behaviour(\"my_city\", new()\n {\n Name = \"My City\",\n Type = \"ANOMALOUS_LOCATION\",\n NumberOfAuthentications = 50,\n LocationGranularityType = \"CITY\",\n });\n\n var myDevice = new Okta.Behaviour(\"my_device\", new()\n {\n Name = \"My Device\",\n Type = \"ANOMALOUS_DEVICE\",\n NumberOfAuthentications = 50,\n });\n\n var myIp = new Okta.Behaviour(\"my_ip\", new()\n {\n Name = \"My IP\",\n Type = \"ANOMALOUS_IP\",\n NumberOfAuthentications = 50,\n });\n\n var myVelocity = new Okta.Behaviour(\"my_velocity\", new()\n {\n Name = \"My Velocity\",\n Type = \"VELOCITY\",\n Velocity = 25,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewBehaviour(ctx, \"my_location\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My Location\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_LOCATION\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t\tLocationGranularityType: pulumi.String(\"LAT_LONG\"),\n\t\t\tRadiusFromLocation: pulumi.Int(20),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_city\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My City\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_LOCATION\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t\tLocationGranularityType: pulumi.String(\"CITY\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_device\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My Device\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_DEVICE\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_ip\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My IP\"),\n\t\t\tType: pulumi.String(\"ANOMALOUS_IP\"),\n\t\t\tNumberOfAuthentications: pulumi.Int(50),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewBehaviour(ctx, \"my_velocity\", \u0026okta.BehaviourArgs{\n\t\t\tName: pulumi.String(\"My Velocity\"),\n\t\t\tType: pulumi.String(\"VELOCITY\"),\n\t\t\tVelocity: pulumi.Int(25),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_behaviour\" \"my_location\" {\n name = \"My Location\"\n type = \"ANOMALOUS_LOCATION\"\n number_of_authentications = 50\n location_granularity_type = \"LAT_LONG\"\n radius_from_location = 20\n}\nresource \"okta_behaviour\" \"my_city\" {\n name = \"My City\"\n type = \"ANOMALOUS_LOCATION\"\n number_of_authentications = 50\n location_granularity_type = \"CITY\"\n}\nresource \"okta_behaviour\" \"my_device\" {\n name = \"My Device\"\n type = \"ANOMALOUS_DEVICE\"\n number_of_authentications = 50\n}\nresource \"okta_behaviour\" \"my_ip\" {\n name = \"My IP\"\n type = \"ANOMALOUS_IP\"\n number_of_authentications = 50\n}\nresource \"okta_behaviour\" \"my_velocity\" {\n name = \"My Velocity\"\n type = \"VELOCITY\"\n velocity = 25\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.Behaviour;\nimport com.pulumi.okta.BehaviourArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 myLocation = new Behaviour(\"myLocation\", BehaviourArgs.builder()\n .name(\"My Location\")\n .type(\"ANOMALOUS_LOCATION\")\n .numberOfAuthentications(50)\n .locationGranularityType(\"LAT_LONG\")\n .radiusFromLocation(20)\n .build());\n\n var myCity = new Behaviour(\"myCity\", BehaviourArgs.builder()\n .name(\"My City\")\n .type(\"ANOMALOUS_LOCATION\")\n .numberOfAuthentications(50)\n .locationGranularityType(\"CITY\")\n .build());\n\n var myDevice = new Behaviour(\"myDevice\", BehaviourArgs.builder()\n .name(\"My Device\")\n .type(\"ANOMALOUS_DEVICE\")\n .numberOfAuthentications(50)\n .build());\n\n var myIp = new Behaviour(\"myIp\", BehaviourArgs.builder()\n .name(\"My IP\")\n .type(\"ANOMALOUS_IP\")\n .numberOfAuthentications(50)\n .build());\n\n var myVelocity = new Behaviour(\"myVelocity\", BehaviourArgs.builder()\n .name(\"My Velocity\")\n .type(\"VELOCITY\")\n .velocity(25)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myLocation:\n type: okta:Behaviour\n name: my_location\n properties:\n name: My Location\n type: ANOMALOUS_LOCATION\n numberOfAuthentications: 50\n locationGranularityType: LAT_LONG\n radiusFromLocation: 20\n myCity:\n type: okta:Behaviour\n name: my_city\n properties:\n name: My City\n type: ANOMALOUS_LOCATION\n numberOfAuthentications: 50\n locationGranularityType: CITY\n myDevice:\n type: okta:Behaviour\n name: my_device\n properties:\n name: My Device\n type: ANOMALOUS_DEVICE\n numberOfAuthentications: 50\n myIp:\n type: okta:Behaviour\n name: my_ip\n properties:\n name: My IP\n type: ANOMALOUS_IP\n numberOfAuthentications: 50\n myVelocity:\n type: okta:Behaviour\n name: my_velocity\n properties:\n name: My Velocity\n type: VELOCITY\n velocity: 25\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/behaviour:Behaviour example \u003cbehavior_id\u003e\n```\n\n", "properties": { @@ -19490,6 +21083,333 @@ "type": "object" } }, + "okta:index/identitySourceGroup:IdentitySourceGroup": { + "description": "Manages a group within an Okta Identity Source. Groups created here are staged for import via a session; use \u003cspan pulumi-lang-nodejs=\"`okta.IdentitySourceImport`\" pulumi-lang-dotnet=\"`okta.IdentitySourceImport`\" pulumi-lang-go=\"`IdentitySourceImport`\" pulumi-lang-python=\"`IdentitySourceImport`\" pulumi-lang-yaml=\"`okta.IdentitySourceImport`\" pulumi-lang-java=\"`okta.IdentitySourceImport`\" pulumi-lang-hcl=\"`okta_identity_source_import`\"\u003e`okta.IdentitySourceImport`\u003c/span\u003e to trigger the actual sync into 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.IdentitySourceGroup(\"example\", {\n identitySourceId: \"\u003cidentity-source-id\u003e\",\n externalId: \"GRPEXT123456EXAMPLE\",\n profile: {\n displayName: \"Engineering\",\n description: \"Engineering team group\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.IdentitySourceGroup(\"example\",\n identity_source_id=\"\u003cidentity-source-id\u003e\",\n external_id=\"GRPEXT123456EXAMPLE\",\n profile={\n \"display_name\": \"Engineering\",\n \"description\": \"Engineering team group\",\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.IdentitySourceGroup(\"example\", new()\n {\n IdentitySourceId = \"\u003cidentity-source-id\u003e\",\n ExternalId = \"GRPEXT123456EXAMPLE\",\n Profile = new Okta.Inputs.IdentitySourceGroupProfileArgs\n {\n DisplayName = \"Engineering\",\n Description = \"Engineering team group\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewIdentitySourceGroup(ctx, \"example\", \u0026okta.IdentitySourceGroupArgs{\n\t\t\tIdentitySourceId: pulumi.String(\"\u003cidentity-source-id\u003e\"),\n\t\t\tExternalId: pulumi.String(\"GRPEXT123456EXAMPLE\"),\n\t\t\tProfile: \u0026okta.IdentitySourceGroupProfileArgs{\n\t\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t\t\tDescription: pulumi.String(\"Engineering team group\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_identitysourcegroup\" \"example\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n external_id = \"GRPEXT123456EXAMPLE\"\n profile = {\n display_name = \"Engineering\"\n description = \"Engineering team group\"\n }\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.IdentitySourceGroup;\nimport com.pulumi.okta.IdentitySourceGroupArgs;\nimport com.pulumi.okta.inputs.IdentitySourceGroupProfileArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 IdentitySourceGroup(\"example\", IdentitySourceGroupArgs.builder()\n .identitySourceId(\"\u003cidentity-source-id\u003e\")\n .externalId(\"GRPEXT123456EXAMPLE\")\n .profile(IdentitySourceGroupProfileArgs.builder()\n .displayName(\"Engineering\")\n .description(\"Engineering team group\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:IdentitySourceGroup\n properties:\n identitySourceId: \u003cidentity-source-id\u003e\n externalId: GRPEXT123456EXAMPLE\n profile:\n displayName: Engineering\n description: Engineering team group\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport using `{identity_source_id}/{id}`:\n\n```sh\n$ pulumi import okta:index/identitySourceGroup:IdentitySourceGroup example \u003cidentity-source-id\u003e/\u003cgroup-id\u003e\n```\n\n", + "properties": { + "externalId": { + "type": "string", + "description": "The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed.\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "profile": { + "$ref": "#/types/okta:index/IdentitySourceGroupProfile:IdentitySourceGroupProfile", + "description": "Display attributes for the group.\n" + } + }, + "required": [ + "externalId", + "identitySourceId" + ], + "inputProperties": { + "externalId": { + "type": "string", + "description": "The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed.\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "profile": { + "$ref": "#/types/okta:index/IdentitySourceGroupProfile:IdentitySourceGroupProfile", + "description": "Display attributes for the group.\n" + } + }, + "requiredInputs": [ + "externalId", + "identitySourceId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering IdentitySourceGroup resources.\n", + "properties": { + "externalId": { + "type": "string", + "description": "The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed.\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "profile": { + "$ref": "#/types/okta:index/IdentitySourceGroupProfile:IdentitySourceGroupProfile", + "description": "Display attributes for the group.\n" + } + }, + "type": "object" + } + }, + "okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership": { + "description": "Manages a single member association between a user and a group in an Okta Identity Source. Each resource instance adds one user (identified by \u003cspan pulumi-lang-nodejs=\"`memberExternalId`\" pulumi-lang-dotnet=\"`MemberExternalId`\" pulumi-lang-go=\"`memberExternalId`\" pulumi-lang-python=\"`member_external_id`\" pulumi-lang-yaml=\"`memberExternalId`\" pulumi-lang-java=\"`memberExternalId`\" pulumi-lang-hcl=\"`member_external_id`\"\u003e`memberExternalId`\u003c/span\u003e) to the specified identity source group. All three key attributes force resource replacement when changed.\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.IdentitySourceGroupMembership(\"example\", {\n identitySourceId: \"\u003cidentity-source-id\u003e\",\n groupOrExternalId: \"GRPEXT123456EXAMPLE\",\n memberExternalId: \"USEREXT123456EXAMPLE\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.IdentitySourceGroupMembership(\"example\",\n identity_source_id=\"\u003cidentity-source-id\u003e\",\n group_or_external_id=\"GRPEXT123456EXAMPLE\",\n member_external_id=\"USEREXT123456EXAMPLE\")\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.IdentitySourceGroupMembership(\"example\", new()\n {\n IdentitySourceId = \"\u003cidentity-source-id\u003e\",\n GroupOrExternalId = \"GRPEXT123456EXAMPLE\",\n MemberExternalId = \"USEREXT123456EXAMPLE\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewIdentitySourceGroupMembership(ctx, \"example\", \u0026okta.IdentitySourceGroupMembershipArgs{\n\t\t\tIdentitySourceId: pulumi.String(\"\u003cidentity-source-id\u003e\"),\n\t\t\tGroupOrExternalId: pulumi.String(\"GRPEXT123456EXAMPLE\"),\n\t\t\tMemberExternalId: pulumi.String(\"USEREXT123456EXAMPLE\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_identitysourcegroupmembership\" \"example\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n group_or_external_id = \"GRPEXT123456EXAMPLE\"\n member_external_id = \"USEREXT123456EXAMPLE\"\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.IdentitySourceGroupMembership;\nimport com.pulumi.okta.IdentitySourceGroupMembershipArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 IdentitySourceGroupMembership(\"example\", IdentitySourceGroupMembershipArgs.builder()\n .identitySourceId(\"\u003cidentity-source-id\u003e\")\n .groupOrExternalId(\"GRPEXT123456EXAMPLE\")\n .memberExternalId(\"USEREXT123456EXAMPLE\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:IdentitySourceGroupMembership\n properties:\n identitySourceId: \u003cidentity-source-id\u003e\n groupOrExternalId: GRPEXT123456EXAMPLE\n memberExternalId: USEREXT123456EXAMPLE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport using `{identity_source_id}/{group_or_external_id}/{id}`:\n\n```sh\n$ pulumi import okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership example \u003cidentity-source-id\u003e/\u003cgroup-external-id\u003e/\u003cmember-external-id\u003e\n```\n\n", + "properties": { + "groupOrExternalId": { + "type": "string", + "description": "External ID of the identity source group. Forces replacement when changed.\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "memberExternalId": { + "type": "string", + "description": "The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed.\n" + }, + "memberExternalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of all member external IDs currently in the group (populated after creation).\n" + } + }, + "required": [ + "groupOrExternalId", + "identitySourceId", + "memberExternalId", + "memberExternalIds" + ], + "inputProperties": { + "groupOrExternalId": { + "type": "string", + "description": "External ID of the identity source group. Forces replacement when changed.\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "memberExternalId": { + "type": "string", + "description": "The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed.\n" + } + }, + "requiredInputs": [ + "groupOrExternalId", + "identitySourceId", + "memberExternalId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering IdentitySourceGroupMembership resources.\n", + "properties": { + "groupOrExternalId": { + "type": "string", + "description": "External ID of the identity source group. Forces replacement when changed.\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "memberExternalId": { + "type": "string", + "description": "The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed.\n" + }, + "memberExternalIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of all member external IDs currently in the group (populated after creation).\n" + } + }, + "type": "object" + } + }, + "okta:index/identitySourceImport:IdentitySourceImport": { + "description": "Orchestrates a full Okta Identity Source import job in one resource. On each apply it:\n\n1. Creates a new import session.\n2. Uploads any combination of staged data (upsert/delete for users, groups, and group memberships).\n3. Triggers the import via `startImportFromIdentitySource`.\n\nIf any upload step fails the session is automatically deleted so a corrected re-apply is not blocked by Okta's rate limit (*\"Only one active import session per identity source is allowed to be created every 5 minutes\"*).\n\n\u003e **Note:** This resource does not support deletion. Removing it from configuration will emit a warning but does not undo the import in Okta. To re-run the import, change at least one attribute so Terraform creates a new resource.\n\n## Example Usage\n\n### Upsert users and group memberships\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.IdentitySourceImport(\"example\", {\n identitySourceId: \"\u003cidentity-source-id\u003e\",\n upsertUsers: {\n entityType: \"USERS\",\n profiles: [{\n externalId: \"USEREXT001\",\n profile: {\n userName: \"jdoe@example.com\",\n email: \"jdoe@example.com\",\n firstName: \"Jane\",\n lastName: \"Doe\",\n },\n }],\n },\n upsertGroupMemberships: {\n memberships: [{\n groupExternalId: \"GROUPEXT001\",\n memberExternalIds: [\"USEREXT001\"],\n }],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.IdentitySourceImport(\"example\",\n identity_source_id=\"\u003cidentity-source-id\u003e\",\n upsert_users={\n \"entity_type\": \"USERS\",\n \"profiles\": [{\n \"external_id\": \"USEREXT001\",\n \"profile\": {\n \"user_name\": \"jdoe@example.com\",\n \"email\": \"jdoe@example.com\",\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\n },\n }],\n },\n upsert_group_memberships={\n \"memberships\": [{\n \"group_external_id\": \"GROUPEXT001\",\n \"member_external_ids\": [\"USEREXT001\"],\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.IdentitySourceImport(\"example\", new()\n {\n IdentitySourceId = \"\u003cidentity-source-id\u003e\",\n UpsertUsers = new Okta.Inputs.IdentitySourceImportUpsertUsersArgs\n {\n EntityType = \"USERS\",\n Profiles = new[]\n {\n new Okta.Inputs.IdentitySourceImportUpsertUsersProfileArgs\n {\n ExternalId = \"USEREXT001\",\n Profile = new Okta.Inputs.IdentitySourceImportUpsertUsersProfileProfileArgs\n {\n UserName = \"jdoe@example.com\",\n Email = \"jdoe@example.com\",\n FirstName = \"Jane\",\n LastName = \"Doe\",\n },\n },\n },\n },\n UpsertGroupMemberships = new Okta.Inputs.IdentitySourceImportUpsertGroupMembershipsArgs\n {\n Memberships = new[]\n {\n new Okta.Inputs.IdentitySourceImportUpsertGroupMembershipsMembershipArgs\n {\n GroupExternalId = \"GROUPEXT001\",\n MemberExternalIds = new[]\n {\n \"USEREXT001\",\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewIdentitySourceImport(ctx, \"example\", \u0026okta.IdentitySourceImportArgs{\n\t\t\tIdentitySourceId: pulumi.String(\"\u003cidentity-source-id\u003e\"),\n\t\t\tUpsertUsers: \u0026okta.IdentitySourceImportUpsertUsersArgs{\n\t\t\t\tEntityType: pulumi.String(\"USERS\"),\n\t\t\t\tProfiles: okta.IdentitySourceImportUpsertUsersProfileArray{\n\t\t\t\t\t\u0026okta.IdentitySourceImportUpsertUsersProfileArgs{\n\t\t\t\t\t\tExternalId: pulumi.String(\"USEREXT001\"),\n\t\t\t\t\t\tProfile: \u0026okta.IdentitySourceImportUpsertUsersProfileProfileArgs{\n\t\t\t\t\t\t\tUserName: pulumi.String(\"jdoe@example.com\"),\n\t\t\t\t\t\t\tEmail: pulumi.String(\"jdoe@example.com\"),\n\t\t\t\t\t\t\tFirstName: pulumi.String(\"Jane\"),\n\t\t\t\t\t\t\tLastName: pulumi.String(\"Doe\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tUpsertGroupMemberships: \u0026okta.IdentitySourceImportUpsertGroupMembershipsArgs{\n\t\t\t\tMemberships: okta.IdentitySourceImportUpsertGroupMembershipsMembershipArray{\n\t\t\t\t\t\u0026okta.IdentitySourceImportUpsertGroupMembershipsMembershipArgs{\n\t\t\t\t\t\tGroupExternalId: pulumi.String(\"GROUPEXT001\"),\n\t\t\t\t\t\tMemberExternalIds: pulumi.StringArray{\n\t\t\t\t\t\t\tpulumi.String(\"USEREXT001\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_identitysourceimport\" \"example\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n upsert_users = {\n entity_type = \"USERS\"\n profiles = [{\n \"externalId\" = \"USEREXT001\"\n \"profile\" = {\n \"userName\" = \"jdoe@example.com\"\n \"email\" = \"jdoe@example.com\"\n \"firstName\" = \"Jane\"\n \"lastName\" = \"Doe\"\n }\n }]\n }\n upsert_group_memberships = {\n memberships = [{\n \"groupExternalId\" = \"GROUPEXT001\"\n \"memberExternalIds\" = [\"USEREXT001\"]\n }]\n }\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.IdentitySourceImport;\nimport com.pulumi.okta.IdentitySourceImportArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileProfileArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupMembershipsArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupMembershipsMembershipArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 IdentitySourceImport(\"example\", IdentitySourceImportArgs.builder()\n .identitySourceId(\"\u003cidentity-source-id\u003e\")\n .upsertUsers(IdentitySourceImportUpsertUsersArgs.builder()\n .entityType(\"USERS\")\n .profiles(IdentitySourceImportUpsertUsersProfileArgs.builder()\n .externalId(\"USEREXT001\")\n .profile(IdentitySourceImportUpsertUsersProfileProfileArgs.builder()\n .userName(\"jdoe@example.com\")\n .email(\"jdoe@example.com\")\n .firstName(\"Jane\")\n .lastName(\"Doe\")\n .build())\n .build())\n .build())\n .upsertGroupMemberships(IdentitySourceImportUpsertGroupMembershipsArgs.builder()\n .memberships(IdentitySourceImportUpsertGroupMembershipsMembershipArgs.builder()\n .groupExternalId(\"GROUPEXT001\")\n .memberExternalIds(\"USEREXT001\")\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:IdentitySourceImport\n properties:\n identitySourceId: \u003cidentity-source-id\u003e\n upsertUsers:\n entityType: USERS\n profiles:\n - externalId: USEREXT001\n profile:\n userName: jdoe@example.com\n email: jdoe@example.com\n firstName: Jane\n lastName: Doe\n upsertGroupMemberships:\n memberships:\n - groupExternalId: GROUPEXT001\n memberExternalIds:\n - USEREXT001\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Upsert and delete in the same job\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.IdentitySourceImport(\"example\", {\n identitySourceId: \"\u003cidentity-source-id\u003e\",\n upsertUsers: {\n entityType: \"USERS\",\n profiles: [{\n externalId: \"USEREXT_NEW\",\n profile: {\n userName: \"new.user@example.com\",\n email: \"new.user@example.com\",\n firstName: \"New\",\n lastName: \"User\",\n },\n }],\n },\n deleteUsers: {\n entityType: \"USERS\",\n profiles: [{\n externalId: \"USEREXT_OLD\",\n }],\n },\n upsertGroups: {\n profiles: [{\n externalId: \"GROUPEXT001\",\n groupProfile: {\n displayName: \"Engineering\",\n description: \"Engineering team\",\n },\n }],\n },\n deleteGroups: {\n externalIds: [\"GROUPEXT_DEPRECATED\"],\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.IdentitySourceImport(\"example\",\n identity_source_id=\"\u003cidentity-source-id\u003e\",\n upsert_users={\n \"entity_type\": \"USERS\",\n \"profiles\": [{\n \"external_id\": \"USEREXT_NEW\",\n \"profile\": {\n \"user_name\": \"new.user@example.com\",\n \"email\": \"new.user@example.com\",\n \"first_name\": \"New\",\n \"last_name\": \"User\",\n },\n }],\n },\n delete_users={\n \"entity_type\": \"USERS\",\n \"profiles\": [{\n \"external_id\": \"USEREXT_OLD\",\n }],\n },\n upsert_groups={\n \"profiles\": [{\n \"external_id\": \"GROUPEXT001\",\n \"group_profile\": {\n \"display_name\": \"Engineering\",\n \"description\": \"Engineering team\",\n },\n }],\n },\n delete_groups={\n \"external_ids\": [\"GROUPEXT_DEPRECATED\"],\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.IdentitySourceImport(\"example\", new()\n {\n IdentitySourceId = \"\u003cidentity-source-id\u003e\",\n UpsertUsers = new Okta.Inputs.IdentitySourceImportUpsertUsersArgs\n {\n EntityType = \"USERS\",\n Profiles = new[]\n {\n new Okta.Inputs.IdentitySourceImportUpsertUsersProfileArgs\n {\n ExternalId = \"USEREXT_NEW\",\n Profile = new Okta.Inputs.IdentitySourceImportUpsertUsersProfileProfileArgs\n {\n UserName = \"new.user@example.com\",\n Email = \"new.user@example.com\",\n FirstName = \"New\",\n LastName = \"User\",\n },\n },\n },\n },\n DeleteUsers = new Okta.Inputs.IdentitySourceImportDeleteUsersArgs\n {\n EntityType = \"USERS\",\n Profiles = new[]\n {\n new Okta.Inputs.IdentitySourceImportDeleteUsersProfileArgs\n {\n ExternalId = \"USEREXT_OLD\",\n },\n },\n },\n UpsertGroups = new Okta.Inputs.IdentitySourceImportUpsertGroupsArgs\n {\n Profiles = new[]\n {\n new Okta.Inputs.IdentitySourceImportUpsertGroupsProfileArgs\n {\n ExternalId = \"GROUPEXT001\",\n GroupProfile = new Okta.Inputs.IdentitySourceImportUpsertGroupsProfileGroupProfileArgs\n {\n DisplayName = \"Engineering\",\n Description = \"Engineering team\",\n },\n },\n },\n },\n DeleteGroups = new Okta.Inputs.IdentitySourceImportDeleteGroupsArgs\n {\n ExternalIds = new[]\n {\n \"GROUPEXT_DEPRECATED\",\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewIdentitySourceImport(ctx, \"example\", \u0026okta.IdentitySourceImportArgs{\n\t\t\tIdentitySourceId: pulumi.String(\"\u003cidentity-source-id\u003e\"),\n\t\t\tUpsertUsers: \u0026okta.IdentitySourceImportUpsertUsersArgs{\n\t\t\t\tEntityType: pulumi.String(\"USERS\"),\n\t\t\t\tProfiles: okta.IdentitySourceImportUpsertUsersProfileArray{\n\t\t\t\t\t\u0026okta.IdentitySourceImportUpsertUsersProfileArgs{\n\t\t\t\t\t\tExternalId: pulumi.String(\"USEREXT_NEW\"),\n\t\t\t\t\t\tProfile: \u0026okta.IdentitySourceImportUpsertUsersProfileProfileArgs{\n\t\t\t\t\t\t\tUserName: pulumi.String(\"new.user@example.com\"),\n\t\t\t\t\t\t\tEmail: pulumi.String(\"new.user@example.com\"),\n\t\t\t\t\t\t\tFirstName: pulumi.String(\"New\"),\n\t\t\t\t\t\t\tLastName: pulumi.String(\"User\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tDeleteUsers: \u0026okta.IdentitySourceImportDeleteUsersArgs{\n\t\t\t\tEntityType: pulumi.String(\"USERS\"),\n\t\t\t\tProfiles: okta.IdentitySourceImportDeleteUsersProfileArray{\n\t\t\t\t\t\u0026okta.IdentitySourceImportDeleteUsersProfileArgs{\n\t\t\t\t\t\tExternalId: pulumi.String(\"USEREXT_OLD\"),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tUpsertGroups: \u0026okta.IdentitySourceImportUpsertGroupsArgs{\n\t\t\t\tProfiles: okta.IdentitySourceImportUpsertGroupsProfileArray{\n\t\t\t\t\t\u0026okta.IdentitySourceImportUpsertGroupsProfileArgs{\n\t\t\t\t\t\tExternalId: pulumi.String(\"GROUPEXT001\"),\n\t\t\t\t\t\tGroupProfile: \u0026okta.IdentitySourceImportUpsertGroupsProfileGroupProfileArgs{\n\t\t\t\t\t\t\tDisplayName: pulumi.String(\"Engineering\"),\n\t\t\t\t\t\t\tDescription: pulumi.String(\"Engineering team\"),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tDeleteGroups: \u0026okta.IdentitySourceImportDeleteGroupsArgs{\n\t\t\t\tExternalIds: pulumi.StringArray{\n\t\t\t\t\tpulumi.String(\"GROUPEXT_DEPRECATED\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_identitysourceimport\" \"example\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n upsert_users = {\n entity_type = \"USERS\"\n profiles = [{\n \"externalId\" = \"USEREXT_NEW\"\n \"profile\" = {\n \"userName\" = \"new.user@example.com\"\n \"email\" = \"new.user@example.com\"\n \"firstName\" = \"New\"\n \"lastName\" = \"User\"\n }\n }]\n }\n delete_users = {\n entity_type = \"USERS\"\n profiles = [{\n \"externalId\" = \"USEREXT_OLD\"\n }]\n }\n upsert_groups = {\n profiles = [{\n \"externalId\" = \"GROUPEXT001\"\n \"groupProfile\" = {\n \"displayName\" = \"Engineering\"\n \"description\" = \"Engineering team\"\n }\n }]\n }\n delete_groups = {\n external_ids = [\"GROUPEXT_DEPRECATED\"]\n }\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.IdentitySourceImport;\nimport com.pulumi.okta.IdentitySourceImportArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileProfileArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportDeleteUsersArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportDeleteUsersProfileArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsProfileArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsProfileGroupProfileArgs;\nimport com.pulumi.okta.inputs.IdentitySourceImportDeleteGroupsArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 IdentitySourceImport(\"example\", IdentitySourceImportArgs.builder()\n .identitySourceId(\"\u003cidentity-source-id\u003e\")\n .upsertUsers(IdentitySourceImportUpsertUsersArgs.builder()\n .entityType(\"USERS\")\n .profiles(IdentitySourceImportUpsertUsersProfileArgs.builder()\n .externalId(\"USEREXT_NEW\")\n .profile(IdentitySourceImportUpsertUsersProfileProfileArgs.builder()\n .userName(\"new.user@example.com\")\n .email(\"new.user@example.com\")\n .firstName(\"New\")\n .lastName(\"User\")\n .build())\n .build())\n .build())\n .deleteUsers(IdentitySourceImportDeleteUsersArgs.builder()\n .entityType(\"USERS\")\n .profiles(IdentitySourceImportDeleteUsersProfileArgs.builder()\n .externalId(\"USEREXT_OLD\")\n .build())\n .build())\n .upsertGroups(IdentitySourceImportUpsertGroupsArgs.builder()\n .profiles(IdentitySourceImportUpsertGroupsProfileArgs.builder()\n .externalId(\"GROUPEXT001\")\n .groupProfile(IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.builder()\n .displayName(\"Engineering\")\n .description(\"Engineering team\")\n .build())\n .build())\n .build())\n .deleteGroups(IdentitySourceImportDeleteGroupsArgs.builder()\n .externalIds(\"GROUPEXT_DEPRECATED\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:IdentitySourceImport\n properties:\n identitySourceId: \u003cidentity-source-id\u003e\n upsertUsers:\n entityType: USERS\n profiles:\n - externalId: USEREXT_NEW\n profile:\n userName: new.user@example.com\n email: new.user@example.com\n firstName: New\n lastName: User\n deleteUsers:\n entityType: USERS\n profiles:\n - externalId: USEREXT_OLD\n upsertGroups:\n profiles:\n - externalId: GROUPEXT001\n groupProfile:\n displayName: Engineering\n description: Engineering team\n deleteGroups:\n externalIds:\n - GROUPEXT_DEPRECATED\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "properties": { + "deleteGroupMemberships": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteGroupMemberships:IdentitySourceImportDeleteGroupMemberships", + "description": "Group memberships to delete in Okta." + }, + "deleteGroups": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteGroups:IdentitySourceImportDeleteGroups", + "description": "Groups to delete from Okta." + }, + "deleteUsers": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteUsers:IdentitySourceImportDeleteUsers", + "description": "Users to delete from Okta." + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "sessionId": { + "type": "string", + "description": "Session ID created for this import job.\n" + }, + "sessionStatus": { + "type": "string", + "description": "Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`).\n" + }, + "upsertGroupMemberships": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertGroupMemberships:IdentitySourceImportUpsertGroupMemberships", + "description": "Group memberships to create or update in Okta." + }, + "upsertGroups": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertGroups:IdentitySourceImportUpsertGroups", + "description": "Groups to create or update in Okta." + }, + "upsertUsers": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertUsers:IdentitySourceImportUpsertUsers", + "description": "Users to create or update in Okta." + } + }, + "required": [ + "identitySourceId", + "sessionId", + "sessionStatus" + ], + "inputProperties": { + "deleteGroupMemberships": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteGroupMemberships:IdentitySourceImportDeleteGroupMemberships", + "description": "Group memberships to delete in Okta." + }, + "deleteGroups": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteGroups:IdentitySourceImportDeleteGroups", + "description": "Groups to delete from Okta." + }, + "deleteUsers": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteUsers:IdentitySourceImportDeleteUsers", + "description": "Users to delete from Okta." + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "upsertGroupMemberships": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertGroupMemberships:IdentitySourceImportUpsertGroupMemberships", + "description": "Group memberships to create or update in Okta." + }, + "upsertGroups": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertGroups:IdentitySourceImportUpsertGroups", + "description": "Groups to create or update in Okta." + }, + "upsertUsers": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertUsers:IdentitySourceImportUpsertUsers", + "description": "Users to create or update in Okta." + } + }, + "requiredInputs": [ + "identitySourceId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering IdentitySourceImport resources.\n", + "properties": { + "deleteGroupMemberships": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteGroupMemberships:IdentitySourceImportDeleteGroupMemberships", + "description": "Group memberships to delete in Okta." + }, + "deleteGroups": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteGroups:IdentitySourceImportDeleteGroups", + "description": "Groups to delete from Okta." + }, + "deleteUsers": { + "$ref": "#/types/okta:index/IdentitySourceImportDeleteUsers:IdentitySourceImportDeleteUsers", + "description": "Users to delete from Okta." + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "sessionId": { + "type": "string", + "description": "Session ID created for this import job.\n" + }, + "sessionStatus": { + "type": "string", + "description": "Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`).\n" + }, + "upsertGroupMemberships": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertGroupMemberships:IdentitySourceImportUpsertGroupMemberships", + "description": "Group memberships to create or update in Okta." + }, + "upsertGroups": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertGroups:IdentitySourceImportUpsertGroups", + "description": "Groups to create or update in Okta." + }, + "upsertUsers": { + "$ref": "#/types/okta:index/IdentitySourceImportUpsertUsers:IdentitySourceImportUpsertUsers", + "description": "Users to create or update in Okta." + } + }, + "type": "object" + } + }, + "okta:index/identitySourceUser:IdentitySourceUser": { + "description": "Manages an individual user in an Okta Identity Source. This resource creates or updates a single user record directly in the identity source (without requiring a session), using the external ID as the unique key.\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.IdentitySourceUser(\"example\", {\n identitySourceId: \"\u003cidentity-source-id\u003e\",\n identitySourceUserId: \"USEREXT123456EXAMPLE\",\n profile: {\n userName: \"jdoe@example.com\",\n email: \"jdoe@example.com\",\n firstName: \"Jane\",\n lastName: \"Doe\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.IdentitySourceUser(\"example\",\n identity_source_id=\"\u003cidentity-source-id\u003e\",\n identity_source_user_id=\"USEREXT123456EXAMPLE\",\n profile={\n \"user_name\": \"jdoe@example.com\",\n \"email\": \"jdoe@example.com\",\n \"first_name\": \"Jane\",\n \"last_name\": \"Doe\",\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.IdentitySourceUser(\"example\", new()\n {\n IdentitySourceId = \"\u003cidentity-source-id\u003e\",\n IdentitySourceUserId = \"USEREXT123456EXAMPLE\",\n Profile = new Okta.Inputs.IdentitySourceUserProfileArgs\n {\n UserName = \"jdoe@example.com\",\n Email = \"jdoe@example.com\",\n FirstName = \"Jane\",\n LastName = \"Doe\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewIdentitySourceUser(ctx, \"example\", \u0026okta.IdentitySourceUserArgs{\n\t\t\tIdentitySourceId: pulumi.String(\"\u003cidentity-source-id\u003e\"),\n\t\t\tIdentitySourceUserId: pulumi.String(\"USEREXT123456EXAMPLE\"),\n\t\t\tProfile: \u0026okta.IdentitySourceUserProfileArgs{\n\t\t\t\tUserName: pulumi.String(\"jdoe@example.com\"),\n\t\t\t\tEmail: pulumi.String(\"jdoe@example.com\"),\n\t\t\t\tFirstName: pulumi.String(\"Jane\"),\n\t\t\t\tLastName: pulumi.String(\"Doe\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_identitysourceuser\" \"example\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n identity_source_user_id = \"USEREXT123456EXAMPLE\"\n profile = {\n user_name = \"jdoe@example.com\"\n email = \"jdoe@example.com\"\n first_name = \"Jane\"\n last_name = \"Doe\"\n }\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.IdentitySourceUser;\nimport com.pulumi.okta.IdentitySourceUserArgs;\nimport com.pulumi.okta.inputs.IdentitySourceUserProfileArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 IdentitySourceUser(\"example\", IdentitySourceUserArgs.builder()\n .identitySourceId(\"\u003cidentity-source-id\u003e\")\n .identitySourceUserId(\"USEREXT123456EXAMPLE\")\n .profile(IdentitySourceUserProfileArgs.builder()\n .userName(\"jdoe@example.com\")\n .email(\"jdoe@example.com\")\n .firstName(\"Jane\")\n .lastName(\"Doe\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:IdentitySourceUser\n properties:\n identitySourceId: \u003cidentity-source-id\u003e\n identitySourceUserId: USEREXT123456EXAMPLE\n profile:\n userName: jdoe@example.com\n email: jdoe@example.com\n firstName: Jane\n lastName: Doe\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport using `{identity_source_id}/{id}`:\n\n```sh\n$ pulumi import okta:index/identitySourceUser:IdentitySourceUser example \u003cidentity-source-id\u003e/\u003cexternal-id\u003e\n```\n\n", + "properties": { + "created": { + "type": "string", + "description": "Timestamp when the user was created in the identity source (RFC3339).\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "identitySourceUserId": { + "type": "string", + "description": "The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed.\n" + }, + "lastUpdated": { + "type": "string", + "description": "Timestamp when the user was last updated in the identity source (RFC3339).\n" + }, + "profile": { + "$ref": "#/types/okta:index/IdentitySourceUserProfile:IdentitySourceUserProfile", + "description": "User profile attributes.\n" + } + }, + "required": [ + "created", + "identitySourceUserId", + "identitySourceId", + "lastUpdated" + ], + "inputProperties": { + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "identitySourceUserId": { + "type": "string", + "description": "The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed.\n" + }, + "profile": { + "$ref": "#/types/okta:index/IdentitySourceUserProfile:IdentitySourceUserProfile", + "description": "User profile attributes.\n" + } + }, + "requiredInputs": [ + "identitySourceUserId", + "identitySourceId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering IdentitySourceUser resources.\n", + "properties": { + "created": { + "type": "string", + "description": "Timestamp when the user was created in the identity source (RFC3339).\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source. Forces replacement when changed.\n" + }, + "identitySourceUserId": { + "type": "string", + "description": "The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed.\n" + }, + "lastUpdated": { + "type": "string", + "description": "Timestamp when the user was last updated in the identity source (RFC3339).\n" + }, + "profile": { + "$ref": "#/types/okta:index/IdentitySourceUserProfile:IdentitySourceUserProfile", + "description": "User profile attributes.\n" + } + }, + "type": "object" + } + }, "okta:index/linkDefinition:LinkDefinition": { "description": "Manages the creation and removal of the link definitions.\n\t\t\nLink definition operations allow you to manage the creation and removal of the link definitions. If you remove a link \ndefinition, links based on that definition are unavailable. Note that this resource is immutable, thus can not be modified.\n\u003e **NOTE:** Links reappear if you recreate the definition. However, Okta is likely to change this behavior so that links don't reappear. Don't rely on this behavior in production environments.\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.LinkDefinition(\"example\", {\n primaryName: \"emperor\",\n primaryTitle: \"Emperor\",\n primaryDescription: \"Hereditary ruler of the Imperium and the Known Universe\",\n associatedName: \"sardaukar\",\n associatedTitle: \"Sardaukar\",\n associatedDescription: \"Elite military force member\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.LinkDefinition(\"example\",\n primary_name=\"emperor\",\n primary_title=\"Emperor\",\n primary_description=\"Hereditary ruler of the Imperium and the Known Universe\",\n associated_name=\"sardaukar\",\n associated_title=\"Sardaukar\",\n associated_description=\"Elite military force member\")\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.LinkDefinition(\"example\", new()\n {\n PrimaryName = \"emperor\",\n PrimaryTitle = \"Emperor\",\n PrimaryDescription = \"Hereditary ruler of the Imperium and the Known Universe\",\n AssociatedName = \"sardaukar\",\n AssociatedTitle = \"Sardaukar\",\n AssociatedDescription = \"Elite military force member\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewLinkDefinition(ctx, \"example\", \u0026okta.LinkDefinitionArgs{\n\t\t\tPrimaryName: pulumi.String(\"emperor\"),\n\t\t\tPrimaryTitle: pulumi.String(\"Emperor\"),\n\t\t\tPrimaryDescription: pulumi.String(\"Hereditary ruler of the Imperium and the Known Universe\"),\n\t\t\tAssociatedName: pulumi.String(\"sardaukar\"),\n\t\t\tAssociatedTitle: pulumi.String(\"Sardaukar\"),\n\t\t\tAssociatedDescription: pulumi.String(\"Elite military force member\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_linkdefinition\" \"example\" {\n primary_name = \"emperor\"\n primary_title = \"Emperor\"\n primary_description = \"Hereditary ruler of the Imperium and the Known Universe\"\n associated_name = \"sardaukar\"\n associated_title = \"Sardaukar\"\n associated_description = \"Elite military force member\"\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.LinkDefinition;\nimport com.pulumi.okta.LinkDefinitionArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 LinkDefinition(\"example\", LinkDefinitionArgs.builder()\n .primaryName(\"emperor\")\n .primaryTitle(\"Emperor\")\n .primaryDescription(\"Hereditary ruler of the Imperium and the Known Universe\")\n .associatedName(\"sardaukar\")\n .associatedTitle(\"Sardaukar\")\n .associatedDescription(\"Elite military force member\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:LinkDefinition\n properties:\n primaryName: emperor\n primaryTitle: Emperor\n primaryDescription: Hereditary ruler of the Imperium and the Known Universe\n associatedName: sardaukar\n associatedTitle: Sardaukar\n associatedDescription: Elite military force member\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/linkDefinition:LinkDefinition example \u003cprimary_name\u003e\n```\n\n", "properties": { @@ -20531,8 +22451,20 @@ } }, "okta:index/policyPasswordDefault:PolicyPasswordDefault": { - "description": "Configures default password policy. This resource allows you to configure default password policy.\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 _default = new okta.PolicyPasswordDefault(\"default\", {});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ndefault = okta.PolicyPasswordDefault(\"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 @default = new Okta.PolicyPasswordDefault(\"default\");\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewPolicyPasswordDefault(ctx, \"default\", nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_policypassworddefault\" \"default\" {\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.PolicyPasswordDefault;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 default_ = new PolicyPasswordDefault(\"default\");\n\n }\n}\n```\n```yaml\nresources:\n default:\n type: okta:PolicyPasswordDefault\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyPasswordDefault:PolicyPasswordDefault example .\n```\n\n", + "description": "Configures the default password policy. This resource allows you to configure the default password policy.\n\n\u003e **Note:** If your configuration also manages other \u003cspan pulumi-lang-nodejs=\"`okta.policy.Password`\" pulumi-lang-dotnet=\"`okta.policy.Password`\" pulumi-lang-go=\"`policy.Password`\" pulumi-lang-python=\"`policy.Password`\" pulumi-lang-yaml=\"`okta.policy.Password`\" pulumi-lang-java=\"`okta.policy.Password`\" pulumi-lang-hcl=\"`okta_policy_password`\"\u003e`okta.policy.Password`\u003c/span\u003e resources, add\n\u003cspan pulumi-lang-nodejs=\"`dependsOn \" pulumi-lang-dotnet=\"`DependsOn \" pulumi-lang-go=\"`dependsOn \" pulumi-lang-python=\"`depends_on \" pulumi-lang-yaml=\"`dependsOn \" pulumi-lang-java=\"`dependsOn \" pulumi-lang-hcl=\"`depends_on \"\u003e`dependsOn \u003c/span\u003e= [okta_policy_password.\u003clast_policy\u003e]` pointing to the last non-default policy in your\ndependency chain. The default policy's \u003cspan pulumi-lang-nodejs=\"`priority`\" pulumi-lang-dotnet=\"`Priority`\" pulumi-lang-go=\"`priority`\" pulumi-lang-python=\"`priority`\" pulumi-lang-yaml=\"`priority`\" pulumi-lang-java=\"`priority`\" pulumi-lang-hcl=\"`priority`\"\u003e`priority`\u003c/span\u003e is read-only and shifts whenever other password policies\nare created or deleted. Using \u003cspan pulumi-lang-nodejs=\"`dependsOn`\" pulumi-lang-dotnet=\"`DependsOn`\" pulumi-lang-go=\"`dependsOn`\" pulumi-lang-python=\"`depends_on`\" pulumi-lang-yaml=\"`dependsOn`\" pulumi-lang-java=\"`dependsOn`\" pulumi-lang-hcl=\"`depends_on`\"\u003e`dependsOn`\u003c/span\u003e ensures all sibling policies are fully created before this\nresource is read or updated, so the provider sees the correct priority value and the Okta API does not\nreject the request with E0000077.\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 custom = new okta.policy.Password(\"custom\", {\n name: \"Custom Password Policy\",\n groupsIncludeds: [example.id],\n status: \"ACTIVE\",\n priority: 1,\n});\nconst _default = new okta.PolicyPasswordDefault(\"default\", {passwordHistoryCount: 5}, {\n dependsOn: [custom],\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ncustom = okta.policy.Password(\"custom\",\n name=\"Custom Password Policy\",\n groups_includeds=[example[\"id\"]],\n status=\"ACTIVE\",\n priority=1)\ndefault = okta.PolicyPasswordDefault(\"default\", password_history_count=5,\nopts = pulumi.ResourceOptions(depends_on=[custom]))\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 custom = new Okta.Policy.Password(\"custom\", new()\n {\n Name = \"Custom Password Policy\",\n GroupsIncludeds = new[]\n {\n example.Id,\n },\n Status = \"ACTIVE\",\n Priority = 1,\n });\n\n var @default = new Okta.PolicyPasswordDefault(\"default\", new()\n {\n PasswordHistoryCount = 5,\n }, new CustomResourceOptions\n {\n DependsOn =\n {\n custom,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\tcustom, err := policy.NewPassword(ctx, \"custom\", \u0026policy.PasswordArgs{\n\t\t\tName: pulumi.String(\"Custom Password Policy\"),\n\t\t\tGroupsIncludeds: pulumi.StringArray{\n\t\t\t\texample.Id,\n\t\t\t},\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tPriority: pulumi.Int(1),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPolicyPasswordDefault(ctx, \"default\", \u0026okta.PolicyPasswordDefaultArgs{\n\t\t\tPasswordHistoryCount: pulumi.Int(5),\n\t\t}, pulumi.DependsOn([]pulumi.Resource{\n\t\t\tcustom,\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_policy_password\" \"custom\" {\n name = \"Custom Password Policy\"\n groups_includeds = [example.id]\n status = \"ACTIVE\"\n priority = 1\n}\nresource \"okta_policypassworddefault\" \"default\" {\n depends_on = [okta_policy_password.custom]\n password_history_count = 5\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.Password;\nimport com.pulumi.okta.policy.PasswordArgs;\nimport com.pulumi.okta.PolicyPasswordDefault;\nimport com.pulumi.okta.PolicyPasswordDefaultArgs;\nimport com.pulumi.resources.CustomResourceOptions;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 custom = new Password(\"custom\", PasswordArgs.builder()\n .name(\"Custom Password Policy\")\n .groupsIncludeds(example.id())\n .status(\"ACTIVE\")\n .priority(1)\n .build());\n\n var default_ = new PolicyPasswordDefault(\"default\", PolicyPasswordDefaultArgs.builder()\n .passwordHistoryCount(5)\n .build(), CustomResourceOptions.builder()\n .dependsOn(custom)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n custom:\n type: okta:policy:Password\n properties:\n name: Custom Password Policy\n groupsIncludeds:\n - ${example.id}\n status: ACTIVE\n priority: 1\n default:\n type: okta:PolicyPasswordDefault\n properties:\n passwordHistoryCount: 5\n options:\n dependsOn:\n - ${custom}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/policyPasswordDefault:PolicyPasswordDefault example .\n```\n\n", "properties": { + "breachedPasswordDelegatedWorkflowId": { + "type": "string", + "description": "The ID of the workflow to run when a breached password is found during a sign-in attempt.\n" + }, + "breachedPasswordExpireAfterDays": { + "type": "integer", + "description": "Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when \u003cspan pulumi-lang-nodejs=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-dotnet=\"`BreachedPasswordLogoutEnabled`\" pulumi-lang-go=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-python=\"`breached_password_logout_enabled`\" pulumi-lang-yaml=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-java=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-hcl=\"`breached_password_logout_enabled`\"\u003e`breachedPasswordLogoutEnabled`\u003c/span\u003e is \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e.\n" + }, + "breachedPasswordLogoutEnabled": { + "type": "boolean", + "description": "If \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires \u003cspan pulumi-lang-nodejs=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-dotnet=\"`BreachedPasswordExpireAfterDays`\" pulumi-lang-go=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-python=\"`breached_password_expire_after_days`\" pulumi-lang-yaml=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-java=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-hcl=\"`breached_password_expire_after_days`\"\u003e`breachedPasswordExpireAfterDays`\u003c/span\u003e to also be configured. Default: \u003cspan pulumi-lang-nodejs=\"`false`\" pulumi-lang-dotnet=\"`False`\" pulumi-lang-go=\"`false`\" pulumi-lang-python=\"`false`\" pulumi-lang-yaml=\"`false`\" pulumi-lang-java=\"`false`\" pulumi-lang-hcl=\"`false`\"\u003e`false`\u003c/span\u003e\n" + }, "callRecovery": { "type": "string", "description": "Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE`\n" @@ -20666,6 +22598,18 @@ "status" ], "inputProperties": { + "breachedPasswordDelegatedWorkflowId": { + "type": "string", + "description": "The ID of the workflow to run when a breached password is found during a sign-in attempt.\n" + }, + "breachedPasswordExpireAfterDays": { + "type": "integer", + "description": "Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when \u003cspan pulumi-lang-nodejs=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-dotnet=\"`BreachedPasswordLogoutEnabled`\" pulumi-lang-go=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-python=\"`breached_password_logout_enabled`\" pulumi-lang-yaml=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-java=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-hcl=\"`breached_password_logout_enabled`\"\u003e`breachedPasswordLogoutEnabled`\u003c/span\u003e is \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e.\n" + }, + "breachedPasswordLogoutEnabled": { + "type": "boolean", + "description": "If \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires \u003cspan pulumi-lang-nodejs=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-dotnet=\"`BreachedPasswordExpireAfterDays`\" pulumi-lang-go=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-python=\"`breached_password_expire_after_days`\" pulumi-lang-yaml=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-java=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-hcl=\"`breached_password_expire_after_days`\"\u003e`breachedPasswordExpireAfterDays`\u003c/span\u003e to also be configured. Default: \u003cspan pulumi-lang-nodejs=\"`false`\" pulumi-lang-dotnet=\"`False`\" pulumi-lang-go=\"`false`\" pulumi-lang-python=\"`false`\" pulumi-lang-yaml=\"`false`\" pulumi-lang-java=\"`false`\" pulumi-lang-hcl=\"`false`\"\u003e`false`\u003c/span\u003e\n" + }, "callRecovery": { "type": "string", "description": "Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE`\n" @@ -20769,6 +22713,18 @@ "stateInputs": { "description": "Input properties used for looking up and filtering PolicyPasswordDefault resources.\n", "properties": { + "breachedPasswordDelegatedWorkflowId": { + "type": "string", + "description": "The ID of the workflow to run when a breached password is found during a sign-in attempt.\n" + }, + "breachedPasswordExpireAfterDays": { + "type": "integer", + "description": "Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when \u003cspan pulumi-lang-nodejs=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-dotnet=\"`BreachedPasswordLogoutEnabled`\" pulumi-lang-go=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-python=\"`breached_password_logout_enabled`\" pulumi-lang-yaml=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-java=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-hcl=\"`breached_password_logout_enabled`\"\u003e`breachedPasswordLogoutEnabled`\u003c/span\u003e is \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e.\n" + }, + "breachedPasswordLogoutEnabled": { + "type": "boolean", + "description": "If \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires \u003cspan pulumi-lang-nodejs=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-dotnet=\"`BreachedPasswordExpireAfterDays`\" pulumi-lang-go=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-python=\"`breached_password_expire_after_days`\" pulumi-lang-yaml=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-java=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-hcl=\"`breached_password_expire_after_days`\"\u003e`breachedPasswordExpireAfterDays`\u003c/span\u003e to also be configured. Default: \u003cspan pulumi-lang-nodejs=\"`false`\" pulumi-lang-dotnet=\"`False`\" pulumi-lang-go=\"`false`\" pulumi-lang-python=\"`false`\" pulumi-lang-yaml=\"`false`\" pulumi-lang-java=\"`false`\" pulumi-lang-hcl=\"`false`\"\u003e`false`\u003c/span\u003e\n" + }, "callRecovery": { "type": "string", "description": "Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE`\n" @@ -21529,7 +23485,7 @@ } }, "okta:index/pushGroup:PushGroup": { - "description": "Creates a Push Group assignment for an Application in 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 = new okta.app.Swa(\"test\", {\n appLinksJson: JSON.stringify({\n deelhr_link: true,\n }),\n label: \"Deel HR\",\n preconfiguredApp: \"deelhr\",\n status: \"ACTIVE\",\n userNameTemplateType: \"BUILT_IN\",\n});\nconst testGroup = new okta.group.Group(\"test\", {name: \"Some Test Push Group\"});\nconst sample = new okta.PushGroup(\"sample\", {\n appId: test.id,\n sourceGroupId: testGroup.id,\n status: \"ACTIVE\",\n deleteTargetGroupOnDestroy: true,\n});\nconst adSample = new okta.PushGroup(\"ad_sample\", {\n appId: test.id,\n sourceGroupId: testGroup.id,\n status: \"ACTIVE\",\n appConfig: {\n distinguishedName: \"CN=Test,OU=Groups,DC=example,DC=com\",\n groupScope: \"DOMAIN_LOCAL\",\n groupType: \"SECURITY\",\n samAccountName: \"something\",\n },\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\ntest = okta.app.Swa(\"test\",\n app_links_json=json.dumps({\n \"deelhr_link\": True,\n }),\n label=\"Deel HR\",\n preconfigured_app=\"deelhr\",\n status=\"ACTIVE\",\n user_name_template_type=\"BUILT_IN\")\ntest_group = okta.group.Group(\"test\", name=\"Some Test Push Group\")\nsample = okta.PushGroup(\"sample\",\n app_id=test.id,\n source_group_id=test_group.id,\n status=\"ACTIVE\",\n delete_target_group_on_destroy=True)\nad_sample = okta.PushGroup(\"ad_sample\",\n app_id=test.id,\n source_group_id=test_group.id,\n status=\"ACTIVE\",\n app_config={\n \"distinguished_name\": \"CN=Test,OU=Groups,DC=example,DC=com\",\n \"group_scope\": \"DOMAIN_LOCAL\",\n \"group_type\": \"SECURITY\",\n \"sam_account_name\": \"something\",\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.Swa(\"test\", new()\n {\n AppLinksJson = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"deelhr_link\"] = true,\n }),\n Label = \"Deel HR\",\n PreconfiguredApp = \"deelhr\",\n Status = \"ACTIVE\",\n UserNameTemplateType = \"BUILT_IN\",\n });\n\n var testGroup = new Okta.Group.Group(\"test\", new()\n {\n Name = \"Some Test Push Group\",\n });\n\n var sample = new Okta.PushGroup(\"sample\", new()\n {\n AppId = test.Id,\n SourceGroupId = testGroup.Id,\n Status = \"ACTIVE\",\n DeleteTargetGroupOnDestroy = true,\n });\n\n var adSample = new Okta.PushGroup(\"ad_sample\", new()\n {\n AppId = test.Id,\n SourceGroupId = testGroup.Id,\n Status = \"ACTIVE\",\n AppConfig = new Okta.Inputs.PushGroupAppConfigArgs\n {\n DistinguishedName = \"CN=Test,OU=Groups,DC=example,DC=com\",\n GroupScope = \"DOMAIN_LOCAL\",\n GroupType = \"SECURITY\",\n SamAccountName = \"something\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"deelhr_link\": true,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\ttest, err := app.NewSwa(ctx, \"test\", \u0026app.SwaArgs{\n\t\t\tAppLinksJson: pulumi.String(json0),\n\t\t\tLabel: pulumi.String(\"Deel HR\"),\n\t\t\tPreconfiguredApp: pulumi.String(\"deelhr\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tUserNameTemplateType: pulumi.String(\"BUILT_IN\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttestGroup, err := group.NewGroup(ctx, \"test\", \u0026group.GroupArgs{\n\t\t\tName: pulumi.String(\"Some Test Push Group\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPushGroup(ctx, \"sample\", \u0026okta.PushGroupArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tSourceGroupId: testGroup.ID(),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDeleteTargetGroupOnDestroy: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPushGroup(ctx, \"ad_sample\", \u0026okta.PushGroupArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tSourceGroupId: testGroup.ID(),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tAppConfig: \u0026okta.PushGroupAppConfigArgs{\n\t\t\t\tDistinguishedName: pulumi.String(\"CN=Test,OU=Groups,DC=example,DC=com\"),\n\t\t\t\tGroupScope: pulumi.String(\"DOMAIN_LOCAL\"),\n\t\t\t\tGroupType: pulumi.String(\"SECURITY\"),\n\t\t\t\tSamAccountName: pulumi.String(\"something\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_app_swa\" \"test\" {\n app_links_json = jsonencode({\n \"deelhr_link\" = true\n })\n label = \"Deel HR\"\n preconfigured_app = \"deelhr\"\n status = \"ACTIVE\"\n user_name_template_type = \"BUILT_IN\"\n}\nresource \"okta_group_group\" \"test\" {\n name = \"Some Test Push Group\"\n}\nresource \"okta_pushgroup\" \"sample\" {\n app_id = okta_app_swa.test.id\n source_group_id = okta_group_group.test.id\n status = \"ACTIVE\"\n delete_target_group_on_destroy = true\n}\nresource \"okta_pushgroup\" \"ad_sample\" {\n app_id = okta_app_swa.test.id\n source_group_id = okta_group_group.test.id\n status = \"ACTIVE\"\n app_config = {\n distinguished_name = \"CN=Test,OU=Groups,DC=example,DC=com\"\n group_scope = \"DOMAIN_LOCAL\"\n group_type = \"SECURITY\"\n sam_account_name = \"something\"\n }\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.Swa;\nimport com.pulumi.okta.app.SwaArgs;\nimport com.pulumi.okta.group.Group;\nimport com.pulumi.okta.group.GroupArgs;\nimport com.pulumi.okta.PushGroup;\nimport com.pulumi.okta.PushGroupArgs;\nimport com.pulumi.okta.inputs.PushGroupAppConfigArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 Swa(\"test\", SwaArgs.builder()\n .appLinksJson(serializeJson(\n jsonObject(\n jsonProperty(\"deelhr_link\", true)\n )))\n .label(\"Deel HR\")\n .preconfiguredApp(\"deelhr\")\n .status(\"ACTIVE\")\n .userNameTemplateType(\"BUILT_IN\")\n .build());\n\n var testGroup = new Group(\"testGroup\", GroupArgs.builder()\n .name(\"Some Test Push Group\")\n .build());\n\n var sample = new PushGroup(\"sample\", PushGroupArgs.builder()\n .appId(test.id())\n .sourceGroupId(testGroup.id())\n .status(\"ACTIVE\")\n .deleteTargetGroupOnDestroy(true)\n .build());\n\n var adSample = new PushGroup(\"adSample\", PushGroupArgs.builder()\n .appId(test.id())\n .sourceGroupId(testGroup.id())\n .status(\"ACTIVE\")\n .appConfig(PushGroupAppConfigArgs.builder()\n .distinguishedName(\"CN=Test,OU=Groups,DC=example,DC=com\")\n .groupScope(\"DOMAIN_LOCAL\")\n .groupType(\"SECURITY\")\n .samAccountName(\"something\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:Swa\n properties:\n appLinksJson:\n fn::toJSON:\n deelhr_link: true\n label: Deel HR\n preconfiguredApp: deelhr\n status: ACTIVE\n userNameTemplateType: BUILT_IN\n testGroup:\n type: okta:group:Group\n name: test\n properties:\n name: Some Test Push Group\n sample:\n type: okta:PushGroup\n properties:\n appId: ${test.id}\n sourceGroupId: ${testGroup.id}\n status: ACTIVE\n deleteTargetGroupOnDestroy: true\n adSample:\n type: okta:PushGroup\n name: ad_sample\n properties:\n appId: ${test.id}\n sourceGroupId: ${testGroup.id}\n status: ACTIVE\n appConfig:\n distinguishedName: CN=Test,OU=Groups,DC=example,DC=com\n groupScope: DOMAIN_LOCAL\n groupType: SECURITY\n samAccountName: something\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/pushGroup:PushGroup example \u003capp_id\u003e/\u003cpush_group_mapping_id\u003e\n```\n\n", + "description": "Creates a Push Group assignment for an Application in 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 = new okta.app.Swa(\"test\", {\n appLinksJson: JSON.stringify({\n deelhr_link: true,\n }),\n label: \"Deel HR\",\n preconfiguredApp: \"deelhr\",\n status: \"ACTIVE\",\n userNameTemplateType: \"BUILT_IN\",\n});\nconst testGroup = new okta.group.Group(\"test\", {name: \"Some Test Push Group\"});\nconst sample = new okta.PushGroup(\"sample\", {\n appId: test.id,\n sourceGroupId: testGroup.id,\n status: \"ACTIVE\",\n deleteTargetGroupOnDestroy: true,\n});\nconst adSample = new okta.PushGroup(\"ad_sample\", {\n appId: test.id,\n sourceGroupId: testGroup.id,\n status: \"ACTIVE\",\n appConfig: {\n type: \"ACTIVE_DIRECTORY\",\n distinguishedName: \"CN=Test,OU=Groups,DC=example,DC=com\",\n groupScope: \"DOMAIN_LOCAL\",\n groupType: \"SECURITY\",\n samAccountName: \"something\",\n },\n});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_okta as okta\n\ntest = okta.app.Swa(\"test\",\n app_links_json=json.dumps({\n \"deelhr_link\": True,\n }),\n label=\"Deel HR\",\n preconfigured_app=\"deelhr\",\n status=\"ACTIVE\",\n user_name_template_type=\"BUILT_IN\")\ntest_group = okta.group.Group(\"test\", name=\"Some Test Push Group\")\nsample = okta.PushGroup(\"sample\",\n app_id=test.id,\n source_group_id=test_group.id,\n status=\"ACTIVE\",\n delete_target_group_on_destroy=True)\nad_sample = okta.PushGroup(\"ad_sample\",\n app_id=test.id,\n source_group_id=test_group.id,\n status=\"ACTIVE\",\n app_config={\n \"type\": \"ACTIVE_DIRECTORY\",\n \"distinguished_name\": \"CN=Test,OU=Groups,DC=example,DC=com\",\n \"group_scope\": \"DOMAIN_LOCAL\",\n \"group_type\": \"SECURITY\",\n \"sam_account_name\": \"something\",\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.Swa(\"test\", new()\n {\n AppLinksJson = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"deelhr_link\"] = true,\n }),\n Label = \"Deel HR\",\n PreconfiguredApp = \"deelhr\",\n Status = \"ACTIVE\",\n UserNameTemplateType = \"BUILT_IN\",\n });\n\n var testGroup = new Okta.Group.Group(\"test\", new()\n {\n Name = \"Some Test Push Group\",\n });\n\n var sample = new Okta.PushGroup(\"sample\", new()\n {\n AppId = test.Id,\n SourceGroupId = testGroup.Id,\n Status = \"ACTIVE\",\n DeleteTargetGroupOnDestroy = true,\n });\n\n var adSample = new Okta.PushGroup(\"ad_sample\", new()\n {\n AppId = test.Id,\n SourceGroupId = testGroup.Id,\n Status = \"ACTIVE\",\n AppConfig = new Okta.Inputs.PushGroupAppConfigArgs\n {\n Type = \"ACTIVE_DIRECTORY\",\n DistinguishedName = \"CN=Test,OU=Groups,DC=example,DC=com\",\n GroupScope = \"DOMAIN_LOCAL\",\n GroupType = \"SECURITY\",\n SamAccountName = \"something\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/go/okta/app\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"deelhr_link\": true,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\ttest, err := app.NewSwa(ctx, \"test\", \u0026app.SwaArgs{\n\t\t\tAppLinksJson: pulumi.String(json0),\n\t\t\tLabel: pulumi.String(\"Deel HR\"),\n\t\t\tPreconfiguredApp: pulumi.String(\"deelhr\"),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tUserNameTemplateType: pulumi.String(\"BUILT_IN\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\ttestGroup, err := group.NewGroup(ctx, \"test\", \u0026group.GroupArgs{\n\t\t\tName: pulumi.String(\"Some Test Push Group\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPushGroup(ctx, \"sample\", \u0026okta.PushGroupArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tSourceGroupId: testGroup.ID(),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tDeleteTargetGroupOnDestroy: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.NewPushGroup(ctx, \"ad_sample\", \u0026okta.PushGroupArgs{\n\t\t\tAppId: test.ID(),\n\t\t\tSourceGroupId: testGroup.ID(),\n\t\t\tStatus: pulumi.String(\"ACTIVE\"),\n\t\t\tAppConfig: \u0026okta.PushGroupAppConfigArgs{\n\t\t\t\tType: pulumi.String(\"ACTIVE_DIRECTORY\"),\n\t\t\t\tDistinguishedName: pulumi.String(\"CN=Test,OU=Groups,DC=example,DC=com\"),\n\t\t\t\tGroupScope: pulumi.String(\"DOMAIN_LOCAL\"),\n\t\t\t\tGroupType: pulumi.String(\"SECURITY\"),\n\t\t\t\tSamAccountName: pulumi.String(\"something\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_app_swa\" \"test\" {\n app_links_json = jsonencode({\n \"deelhr_link\" = true\n })\n label = \"Deel HR\"\n preconfigured_app = \"deelhr\"\n status = \"ACTIVE\"\n user_name_template_type = \"BUILT_IN\"\n}\nresource \"okta_group_group\" \"test\" {\n name = \"Some Test Push Group\"\n}\nresource \"okta_pushgroup\" \"sample\" {\n app_id = okta_app_swa.test.id\n source_group_id = okta_group_group.test.id\n status = \"ACTIVE\"\n delete_target_group_on_destroy = true\n}\nresource \"okta_pushgroup\" \"ad_sample\" {\n app_id = okta_app_swa.test.id\n source_group_id = okta_group_group.test.id\n status = \"ACTIVE\"\n app_config = {\n type = \"ACTIVE_DIRECTORY\"\n distinguished_name = \"CN=Test,OU=Groups,DC=example,DC=com\"\n group_scope = \"DOMAIN_LOCAL\"\n group_type = \"SECURITY\"\n sam_account_name = \"something\"\n }\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.Swa;\nimport com.pulumi.okta.app.SwaArgs;\nimport com.pulumi.okta.group.Group;\nimport com.pulumi.okta.group.GroupArgs;\nimport com.pulumi.okta.PushGroup;\nimport com.pulumi.okta.PushGroupArgs;\nimport com.pulumi.okta.inputs.PushGroupAppConfigArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 Swa(\"test\", SwaArgs.builder()\n .appLinksJson(serializeJson(\n jsonObject(\n jsonProperty(\"deelhr_link\", true)\n )))\n .label(\"Deel HR\")\n .preconfiguredApp(\"deelhr\")\n .status(\"ACTIVE\")\n .userNameTemplateType(\"BUILT_IN\")\n .build());\n\n var testGroup = new Group(\"testGroup\", GroupArgs.builder()\n .name(\"Some Test Push Group\")\n .build());\n\n var sample = new PushGroup(\"sample\", PushGroupArgs.builder()\n .appId(test.id())\n .sourceGroupId(testGroup.id())\n .status(\"ACTIVE\")\n .deleteTargetGroupOnDestroy(true)\n .build());\n\n var adSample = new PushGroup(\"adSample\", PushGroupArgs.builder()\n .appId(test.id())\n .sourceGroupId(testGroup.id())\n .status(\"ACTIVE\")\n .appConfig(PushGroupAppConfigArgs.builder()\n .type(\"ACTIVE_DIRECTORY\")\n .distinguishedName(\"CN=Test,OU=Groups,DC=example,DC=com\")\n .groupScope(\"DOMAIN_LOCAL\")\n .groupType(\"SECURITY\")\n .samAccountName(\"something\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:app:Swa\n properties:\n appLinksJson:\n fn::toJSON:\n deelhr_link: true\n label: Deel HR\n preconfiguredApp: deelhr\n status: ACTIVE\n userNameTemplateType: BUILT_IN\n testGroup:\n type: okta:group:Group\n name: test\n properties:\n name: Some Test Push Group\n sample:\n type: okta:PushGroup\n properties:\n appId: ${test.id}\n sourceGroupId: ${testGroup.id}\n status: ACTIVE\n deleteTargetGroupOnDestroy: true\n adSample:\n type: okta:PushGroup\n name: ad_sample\n properties:\n appId: ${test.id}\n sourceGroupId: ${testGroup.id}\n status: ACTIVE\n appConfig:\n type: ACTIVE_DIRECTORY\n distinguishedName: CN=Test,OU=Groups,DC=example,DC=com\n groupScope: DOMAIN_LOCAL\n groupType: SECURITY\n samAccountName: something\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/pushGroup:PushGroup example \u003capp_id\u003e/\u003cpush_group_mapping_id\u003e\n```\n\n", "properties": { "appConfig": { "$ref": "#/types/okta:index/PushGroupAppConfig:PushGroupAppConfig", @@ -22207,11 +24163,11 @@ } }, "okta:index/requestSettingOrganization:RequestSettingOrganization": { - "description": "Manages request settings. This resource allows you to read and configure an Okta [request-setting](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Settings/#tag/Request-Settings/operation/updateOrgRequestSettingsV2).\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.RequestCondition(\"example\", {\n resourceId: \"\u003cresource_id\u003e\",\n approvalSequenceId: \"\u003capproval_sequence_id\u003e\",\n name: \"\u003cname\u003e\",\n accessScopeSettings: {\n type: \"RESOURCE_DEFAULT\",\n },\n requesterSettings: {\n type: \"EVERYONE\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.RequestCondition(\"example\",\n resource_id=\"\u003cresource_id\u003e\",\n approval_sequence_id=\"\u003capproval_sequence_id\u003e\",\n name=\"\u003cname\u003e\",\n access_scope_settings={\n \"type\": \"RESOURCE_DEFAULT\",\n },\n requester_settings={\n \"type\": \"EVERYONE\",\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.RequestCondition(\"example\", new()\n {\n ResourceId = \"\u003cresource_id\u003e\",\n ApprovalSequenceId = \"\u003capproval_sequence_id\u003e\",\n Name = \"\u003cname\u003e\",\n AccessScopeSettings = new Okta.Inputs.RequestConditionAccessScopeSettingsArgs\n {\n Type = \"RESOURCE_DEFAULT\",\n },\n RequesterSettings = new Okta.Inputs.RequestConditionRequesterSettingsArgs\n {\n Type = \"EVERYONE\",\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewRequestCondition(ctx, \"example\", \u0026okta.RequestConditionArgs{\n\t\t\tResourceId: pulumi.String(\"\u003cresource_id\u003e\"),\n\t\t\tApprovalSequenceId: pulumi.String(\"\u003capproval_sequence_id\u003e\"),\n\t\t\tName: pulumi.String(\"\u003cname\u003e\"),\n\t\t\tAccessScopeSettings: \u0026okta.RequestConditionAccessScopeSettingsArgs{\n\t\t\t\tType: pulumi.String(\"RESOURCE_DEFAULT\"),\n\t\t\t},\n\t\t\tRequesterSettings: \u0026okta.RequestConditionRequesterSettingsArgs{\n\t\t\t\tType: pulumi.String(\"EVERYONE\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_requestcondition\" \"example\" {\n resource_id = \"\u003cresource_id\u003e\"\n approval_sequence_id = \"\u003capproval_sequence_id\u003e\"\n name = \"\u003cname\u003e\"\n access_scope_settings = {\n type = \"RESOURCE_DEFAULT\"\n }\n requester_settings = {\n type = \"EVERYONE\"\n }\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.RequestCondition;\nimport com.pulumi.okta.RequestConditionArgs;\nimport com.pulumi.okta.inputs.RequestConditionAccessScopeSettingsArgs;\nimport com.pulumi.okta.inputs.RequestConditionRequesterSettingsArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 RequestCondition(\"example\", RequestConditionArgs.builder()\n .resourceId(\"\u003cresource_id\u003e\")\n .approvalSequenceId(\"\u003capproval_sequence_id\u003e\")\n .name(\"\u003cname\u003e\")\n .accessScopeSettings(RequestConditionAccessScopeSettingsArgs.builder()\n .type(\"RESOURCE_DEFAULT\")\n .build())\n .requesterSettings(RequestConditionRequesterSettingsArgs.builder()\n .type(\"EVERYONE\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:RequestCondition\n properties:\n resourceId: \u003cresource_id\u003e\n approvalSequenceId: \u003capproval_sequence_id\u003e\n name: \u003cname\u003e\n accessScopeSettings:\n type: RESOURCE_DEFAULT\n requesterSettings:\n type: EVERYONE\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/requestSettingOrganization:RequestSettingOrganization example \"default\"\n```\n\n", + "description": "Manages request settings. This resource allows you to read and configure an Okta [request-setting](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Settings/#tag/Request-Settings/operation/updateOrgRequestSettingsV2).\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.RequestSettingOrganization(\"example\", {\n idProperty: \"default\",\n subprocessorsAcknowledged: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.RequestSettingOrganization(\"example\",\n id_property=\"default\",\n subprocessors_acknowledged=True)\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.RequestSettingOrganization(\"example\", new()\n {\n IdProperty = \"default\",\n SubprocessorsAcknowledged = true,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewRequestSettingOrganization(ctx, \"example\", \u0026okta.RequestSettingOrganizationArgs{\n\t\t\tIdProperty: pulumi.String(\"default\"),\n\t\t\tSubprocessorsAcknowledged: pulumi.Bool(true),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_requestsettingorganization\" \"example\" {\n id_property = \"default\"\n subprocessors_acknowledged = true\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.RequestSettingOrganization;\nimport com.pulumi.okta.RequestSettingOrganizationArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 RequestSettingOrganization(\"example\", RequestSettingOrganizationArgs.builder()\n .idProperty(\"default\")\n .subprocessorsAcknowledged(true)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n example:\n type: okta:RequestSettingOrganization\n properties:\n idProperty: default\n subprocessorsAcknowledged: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/requestSettingOrganization:RequestSettingOrganization example \"default\"\n```\n\n", "properties": { "idProperty": { "type": "string", - "description": "Request condition id.\n" + "description": "The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response.\n" }, "subprocessorsAcknowledged": { "type": "boolean", @@ -22225,7 +24181,7 @@ "inputProperties": { "idProperty": { "type": "string", - "description": "Request condition id.\n" + "description": "The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response.\n" }, "subprocessorsAcknowledged": { "type": "boolean", @@ -22240,7 +24196,7 @@ "properties": { "idProperty": { "type": "string", - "description": "Request condition id.\n" + "description": "The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response.\n" }, "subprocessorsAcknowledged": { "type": "boolean", @@ -22251,7 +24207,7 @@ } }, "okta:index/requestSettingResource:RequestSettingResource": { - "description": "Manages request settings. This resource allows you to read and configure an Okta [request-setting](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Settings/#tag/Request-Settings/operation/getRequestSettingsV2).\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.RequestSettingResource(\"test\", {\n resourceId: \"\u003cresource_id\u003e\",\n riskSettings: {\n defaultSetting: {\n requestSubmissionType: \"ALLOWED_WITH_OVERRIDES\",\n approvalSequenceId: \"\u003capproval_sequence_id\u003e\",\n },\n },\n requestOnBehalfOfSettings: {\n allowed: true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.RequestSettingResource(\"test\",\n resource_id=\"\u003cresource_id\u003e\",\n risk_settings={\n \"default_setting\": {\n \"request_submission_type\": \"ALLOWED_WITH_OVERRIDES\",\n \"approval_sequence_id\": \"\u003capproval_sequence_id\u003e\",\n },\n },\n request_on_behalf_of_settings={\n \"allowed\": True,\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.RequestSettingResource(\"test\", new()\n {\n ResourceId = \"\u003cresource_id\u003e\",\n RiskSettings = new Okta.Inputs.RequestSettingResourceRiskSettingsArgs\n {\n DefaultSetting = new Okta.Inputs.RequestSettingResourceRiskSettingsDefaultSettingArgs\n {\n RequestSubmissionType = \"ALLOWED_WITH_OVERRIDES\",\n ApprovalSequenceId = \"\u003capproval_sequence_id\u003e\",\n },\n },\n RequestOnBehalfOfSettings = new Okta.Inputs.RequestSettingResourceRequestOnBehalfOfSettingsArgs\n {\n Allowed = true,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewRequestSettingResource(ctx, \"test\", \u0026okta.RequestSettingResourceArgs{\n\t\t\tResourceId: \"\u003cresource_id\u003e\",\n\t\t\tRiskSettings: \u0026okta.RequestSettingResourceRiskSettingsArgs{\n\t\t\t\tDefaultSetting: \u0026okta.RequestSettingResourceRiskSettingsDefaultSettingArgs{\n\t\t\t\t\tRequestSubmissionType: pulumi.String(\"ALLOWED_WITH_OVERRIDES\"),\n\t\t\t\t\tApprovalSequenceId: pulumi.String(\"\u003capproval_sequence_id\u003e\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRequestOnBehalfOfSettings: \u0026okta.RequestSettingResourceRequestOnBehalfOfSettingsArgs{\n\t\t\t\tAllowed: pulumi.Bool(true),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_requestsettingresource\" \"test\" {\n resource_id = \"\u003cresource_id\u003e\"\n risk_settings = {\n default_setting = {\n request_submission_type = \"ALLOWED_WITH_OVERRIDES\"\n approval_sequence_id = \"\u003capproval_sequence_id\u003e\"\n }\n }\n request_on_behalf_of_settings = {\n allowed = true\n }\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.RequestSettingResource;\nimport com.pulumi.okta.RequestSettingResourceArgs;\nimport com.pulumi.okta.inputs.RequestSettingResourceRiskSettingsArgs;\nimport com.pulumi.okta.inputs.RequestSettingResourceRiskSettingsDefaultSettingArgs;\nimport com.pulumi.okta.inputs.RequestSettingResourceRequestOnBehalfOfSettingsArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 RequestSettingResource(\"test\", RequestSettingResourceArgs.builder()\n .resourceId(\"\u003cresource_id\u003e\")\n .riskSettings(RequestSettingResourceRiskSettingsArgs.builder()\n .defaultSetting(RequestSettingResourceRiskSettingsDefaultSettingArgs.builder()\n .requestSubmissionType(\"ALLOWED_WITH_OVERRIDES\")\n .approvalSequenceId(\"\u003capproval_sequence_id\u003e\")\n .build())\n .build())\n .requestOnBehalfOfSettings(RequestSettingResourceRequestOnBehalfOfSettingsArgs.builder()\n .allowed(true)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:RequestSettingResource\n properties:\n resourceId: \u003cresource_id\u003e\n riskSettings:\n defaultSetting:\n requestSubmissionType: ALLOWED_WITH_OVERRIDES\n approvalSequenceId: \u003capproval_sequence_id\u003e\n requestOnBehalfOfSettings:\n allowed: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/requestSettingResource:RequestSettingResource example \"\u003cresource_id\u003e\"\n```\n\n", + "description": "Manages request settings. This resource allows you to read and configure an Okta [request-setting](https://developer.okta.com/docs/api/iga/openapi/governance.requests.admin.v2/tag/Request-Settings/#tag/Request-Settings/operation/getRequestSettingsV2).\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.RequestSettingResource(\"test\", {\n idProperty: \"\u003cresource_id\u003e\",\n riskSettings: {\n defaultSetting: {\n requestSubmissionType: \"ALLOWED_WITH_OVERRIDES\",\n approvalSequenceId: \"\u003capproval_sequence_id\u003e\",\n },\n },\n requestOnBehalfOfSettings: {\n allowed: true,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.RequestSettingResource(\"test\",\n id_property=\"\u003cresource_id\u003e\",\n risk_settings={\n \"default_setting\": {\n \"request_submission_type\": \"ALLOWED_WITH_OVERRIDES\",\n \"approval_sequence_id\": \"\u003capproval_sequence_id\u003e\",\n },\n },\n request_on_behalf_of_settings={\n \"allowed\": True,\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.RequestSettingResource(\"test\", new()\n {\n IdProperty = \"\u003cresource_id\u003e\",\n RiskSettings = new Okta.Inputs.RequestSettingResourceRiskSettingsArgs\n {\n DefaultSetting = new Okta.Inputs.RequestSettingResourceRiskSettingsDefaultSettingArgs\n {\n RequestSubmissionType = \"ALLOWED_WITH_OVERRIDES\",\n ApprovalSequenceId = \"\u003capproval_sequence_id\u003e\",\n },\n },\n RequestOnBehalfOfSettings = new Okta.Inputs.RequestSettingResourceRequestOnBehalfOfSettingsArgs\n {\n Allowed = true,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.NewRequestSettingResource(ctx, \"test\", \u0026okta.RequestSettingResourceArgs{\n\t\t\tIdProperty: pulumi.String(\"\u003cresource_id\u003e\"),\n\t\t\tRiskSettings: \u0026okta.RequestSettingResourceRiskSettingsArgs{\n\t\t\t\tDefaultSetting: \u0026okta.RequestSettingResourceRiskSettingsDefaultSettingArgs{\n\t\t\t\t\tRequestSubmissionType: pulumi.String(\"ALLOWED_WITH_OVERRIDES\"),\n\t\t\t\t\tApprovalSequenceId: pulumi.String(\"\u003capproval_sequence_id\u003e\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tRequestOnBehalfOfSettings: \u0026okta.RequestSettingResourceRequestOnBehalfOfSettingsArgs{\n\t\t\t\tAllowed: pulumi.Bool(true),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\nresource \"okta_requestsettingresource\" \"test\" {\n id_property = \"\u003cresource_id\u003e\"\n risk_settings = {\n default_setting = {\n request_submission_type = \"ALLOWED_WITH_OVERRIDES\"\n approval_sequence_id = \"\u003capproval_sequence_id\u003e\"\n }\n }\n request_on_behalf_of_settings = {\n allowed = true\n }\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.RequestSettingResource;\nimport com.pulumi.okta.RequestSettingResourceArgs;\nimport com.pulumi.okta.inputs.RequestSettingResourceRiskSettingsArgs;\nimport com.pulumi.okta.inputs.RequestSettingResourceRiskSettingsDefaultSettingArgs;\nimport com.pulumi.okta.inputs.RequestSettingResourceRequestOnBehalfOfSettingsArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 RequestSettingResource(\"test\", RequestSettingResourceArgs.builder()\n .idProperty(\"\u003cresource_id\u003e\")\n .riskSettings(RequestSettingResourceRiskSettingsArgs.builder()\n .defaultSetting(RequestSettingResourceRiskSettingsDefaultSettingArgs.builder()\n .requestSubmissionType(\"ALLOWED_WITH_OVERRIDES\")\n .approvalSequenceId(\"\u003capproval_sequence_id\u003e\")\n .build())\n .build())\n .requestOnBehalfOfSettings(RequestSettingResourceRequestOnBehalfOfSettingsArgs.builder()\n .allowed(true)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n test:\n type: okta:RequestSettingResource\n properties:\n idProperty: \u003cresource_id\u003e\n riskSettings:\n defaultSetting:\n requestSubmissionType: ALLOWED_WITH_OVERRIDES\n approvalSequenceId: \u003capproval_sequence_id\u003e\n requestOnBehalfOfSettings:\n allowed: true\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:index/requestSettingResource:RequestSettingResource example \"\u003cresource_id\u003e\"\n```\n\n", "properties": { "idProperty": { "type": "string", @@ -26309,6 +28265,18 @@ "type": "string", "description": "Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA`\n" }, + "breachedPasswordDelegatedWorkflowId": { + "type": "string", + "description": "The ID of the workflow to run when a breached password is found during a sign-in attempt.\n" + }, + "breachedPasswordExpireAfterDays": { + "type": "integer", + "description": "Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when \u003cspan pulumi-lang-nodejs=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-dotnet=\"`BreachedPasswordLogoutEnabled`\" pulumi-lang-go=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-python=\"`breached_password_logout_enabled`\" pulumi-lang-yaml=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-java=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-hcl=\"`breached_password_logout_enabled`\"\u003e`breachedPasswordLogoutEnabled`\u003c/span\u003e is \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e.\n" + }, + "breachedPasswordLogoutEnabled": { + "type": "boolean", + "description": "If \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires \u003cspan pulumi-lang-nodejs=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-dotnet=\"`BreachedPasswordExpireAfterDays`\" pulumi-lang-go=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-python=\"`breached_password_expire_after_days`\" pulumi-lang-yaml=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-java=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-hcl=\"`breached_password_expire_after_days`\"\u003e`breachedPasswordExpireAfterDays`\u003c/span\u003e to also be configured. Default: \u003cspan pulumi-lang-nodejs=\"`false`\" pulumi-lang-dotnet=\"`False`\" pulumi-lang-go=\"`false`\" pulumi-lang-python=\"`false`\" pulumi-lang-yaml=\"`false`\" pulumi-lang-java=\"`false`\" pulumi-lang-hcl=\"`false`\"\u003e`false`\u003c/span\u003e\n" + }, "callRecovery": { "type": "string", "description": "Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE`\n" @@ -26440,6 +28408,18 @@ "type": "string", "description": "Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA`\n" }, + "breachedPasswordDelegatedWorkflowId": { + "type": "string", + "description": "The ID of the workflow to run when a breached password is found during a sign-in attempt.\n" + }, + "breachedPasswordExpireAfterDays": { + "type": "integer", + "description": "Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when \u003cspan pulumi-lang-nodejs=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-dotnet=\"`BreachedPasswordLogoutEnabled`\" pulumi-lang-go=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-python=\"`breached_password_logout_enabled`\" pulumi-lang-yaml=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-java=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-hcl=\"`breached_password_logout_enabled`\"\u003e`breachedPasswordLogoutEnabled`\u003c/span\u003e is \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e.\n" + }, + "breachedPasswordLogoutEnabled": { + "type": "boolean", + "description": "If \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires \u003cspan pulumi-lang-nodejs=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-dotnet=\"`BreachedPasswordExpireAfterDays`\" pulumi-lang-go=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-python=\"`breached_password_expire_after_days`\" pulumi-lang-yaml=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-java=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-hcl=\"`breached_password_expire_after_days`\"\u003e`breachedPasswordExpireAfterDays`\u003c/span\u003e to also be configured. Default: \u003cspan pulumi-lang-nodejs=\"`false`\" pulumi-lang-dotnet=\"`False`\" pulumi-lang-go=\"`false`\" pulumi-lang-python=\"`false`\" pulumi-lang-yaml=\"`false`\" pulumi-lang-java=\"`false`\" pulumi-lang-hcl=\"`false`\"\u003e`false`\u003c/span\u003e\n" + }, "callRecovery": { "type": "string", "description": "Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE`\n" @@ -26570,6 +28550,18 @@ "type": "string", "description": "Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA`\n" }, + "breachedPasswordDelegatedWorkflowId": { + "type": "string", + "description": "The ID of the workflow to run when a breached password is found during a sign-in attempt.\n" + }, + "breachedPasswordExpireAfterDays": { + "type": "integer", + "description": "Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when \u003cspan pulumi-lang-nodejs=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-dotnet=\"`BreachedPasswordLogoutEnabled`\" pulumi-lang-go=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-python=\"`breached_password_logout_enabled`\" pulumi-lang-yaml=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-java=\"`breachedPasswordLogoutEnabled`\" pulumi-lang-hcl=\"`breached_password_logout_enabled`\"\u003e`breachedPasswordLogoutEnabled`\u003c/span\u003e is \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e.\n" + }, + "breachedPasswordLogoutEnabled": { + "type": "boolean", + "description": "If \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires \u003cspan pulumi-lang-nodejs=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-dotnet=\"`BreachedPasswordExpireAfterDays`\" pulumi-lang-go=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-python=\"`breached_password_expire_after_days`\" pulumi-lang-yaml=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-java=\"`breachedPasswordExpireAfterDays`\" pulumi-lang-hcl=\"`breached_password_expire_after_days`\"\u003e`breachedPasswordExpireAfterDays`\u003c/span\u003e to also be configured. Default: \u003cspan pulumi-lang-nodejs=\"`false`\" pulumi-lang-dotnet=\"`False`\" pulumi-lang-go=\"`false`\" pulumi-lang-python=\"`false`\" pulumi-lang-yaml=\"`false`\" pulumi-lang-java=\"`false`\" pulumi-lang-hcl=\"`false`\"\u003e`false`\u003c/span\u003e\n" + }, "callRecovery": { "type": "string", "description": "Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE`\n" @@ -28173,6 +30165,10 @@ "okta:user/user:User": { "description": "Creates an Okta User. This resource allows you to create and configure an Okta 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\n//## Full profile:\nconst example = new okta.user.User(\"example\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"john.smith@example.com\",\n email: \"john.smith@example.com\",\n city: \"New York\",\n costCenter: \"10\",\n countryCode: \"US\",\n department: \"IT\",\n displayName: \"Dr. John Smith\",\n division: \"Acquisitions\",\n employeeNumber: \"111111\",\n honorificPrefix: \"Dr.\",\n honorificSuffix: \"Jr.\",\n locale: \"en_US\",\n manager: \"Jimbo\",\n managerId: \"222222\",\n middleName: \"John\",\n mobilePhone: \"1112223333\",\n nickName: \"Johnny\",\n organization: \"Testing Inc.\",\n postalAddress: \"1234 Testing St.\",\n preferredLanguage: \"en-us\",\n primaryPhone: \"4445556666\",\n profileUrl: \"https://www.example.com/profile\",\n secondEmail: \"john.smith.fun@example.com\",\n state: \"NY\",\n streetAddress: \"5678 Testing Ave.\",\n timezone: \"America/New_York\",\n title: \"Director\",\n userType: \"Employee\",\n zipCode: \"11111\",\n});\n//## With Password Inline Hook:\nconst test2 = new okta.user.User(\"test2\", {\n firstName: \"John\",\n lastName: \"Smith\",\n login: \"example@example.com\",\n email: \"example@example.com\",\n passwordInlineHook: \"default\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\n### Full profile:\nexample = okta.user.User(\"example\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"john.smith@example.com\",\n email=\"john.smith@example.com\",\n city=\"New York\",\n cost_center=\"10\",\n country_code=\"US\",\n department=\"IT\",\n display_name=\"Dr. John Smith\",\n division=\"Acquisitions\",\n employee_number=\"111111\",\n honorific_prefix=\"Dr.\",\n honorific_suffix=\"Jr.\",\n locale=\"en_US\",\n manager=\"Jimbo\",\n manager_id=\"222222\",\n middle_name=\"John\",\n mobile_phone=\"1112223333\",\n nick_name=\"Johnny\",\n organization=\"Testing Inc.\",\n postal_address=\"1234 Testing St.\",\n preferred_language=\"en-us\",\n primary_phone=\"4445556666\",\n profile_url=\"https://www.example.com/profile\",\n second_email=\"john.smith.fun@example.com\",\n state=\"NY\",\n street_address=\"5678 Testing Ave.\",\n timezone=\"America/New_York\",\n title=\"Director\",\n user_type=\"Employee\",\n zip_code=\"11111\")\n### With Password Inline Hook:\ntest2 = okta.user.User(\"test2\",\n first_name=\"John\",\n last_name=\"Smith\",\n login=\"example@example.com\",\n email=\"example@example.com\",\n password_inline_hook=\"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 //## Full profile:\n var example = 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 City = \"New York\",\n CostCenter = \"10\",\n CountryCode = \"US\",\n Department = \"IT\",\n DisplayName = \"Dr. John Smith\",\n Division = \"Acquisitions\",\n EmployeeNumber = \"111111\",\n HonorificPrefix = \"Dr.\",\n HonorificSuffix = \"Jr.\",\n Locale = \"en_US\",\n Manager = \"Jimbo\",\n ManagerId = \"222222\",\n MiddleName = \"John\",\n MobilePhone = \"1112223333\",\n NickName = \"Johnny\",\n Organization = \"Testing Inc.\",\n PostalAddress = \"1234 Testing St.\",\n PreferredLanguage = \"en-us\",\n PrimaryPhone = \"4445556666\",\n ProfileUrl = \"https://www.example.com/profile\",\n SecondEmail = \"john.smith.fun@example.com\",\n State = \"NY\",\n StreetAddress = \"5678 Testing Ave.\",\n Timezone = \"America/New_York\",\n Title = \"Director\",\n UserType = \"Employee\",\n ZipCode = \"11111\",\n });\n\n //## With Password Inline Hook:\n var test2 = new Okta.User.User(\"test2\", new()\n {\n FirstName = \"John\",\n LastName = \"Smith\",\n Login = \"example@example.com\",\n Email = \"example@example.com\",\n PasswordInlineHook = \"default\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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// ## Full profile:\n\t\t_, 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\tCity: pulumi.String(\"New York\"),\n\t\t\tCostCenter: pulumi.String(\"10\"),\n\t\t\tCountryCode: pulumi.String(\"US\"),\n\t\t\tDepartment: pulumi.String(\"IT\"),\n\t\t\tDisplayName: pulumi.String(\"Dr. John Smith\"),\n\t\t\tDivision: pulumi.String(\"Acquisitions\"),\n\t\t\tEmployeeNumber: pulumi.String(\"111111\"),\n\t\t\tHonorificPrefix: pulumi.String(\"Dr.\"),\n\t\t\tHonorificSuffix: pulumi.String(\"Jr.\"),\n\t\t\tLocale: pulumi.String(\"en_US\"),\n\t\t\tManager: pulumi.String(\"Jimbo\"),\n\t\t\tManagerId: pulumi.String(\"222222\"),\n\t\t\tMiddleName: pulumi.String(\"John\"),\n\t\t\tMobilePhone: pulumi.String(\"1112223333\"),\n\t\t\tNickName: pulumi.String(\"Johnny\"),\n\t\t\tOrganization: pulumi.String(\"Testing Inc.\"),\n\t\t\tPostalAddress: pulumi.String(\"1234 Testing St.\"),\n\t\t\tPreferredLanguage: pulumi.String(\"en-us\"),\n\t\t\tPrimaryPhone: pulumi.String(\"4445556666\"),\n\t\t\tProfileUrl: pulumi.String(\"https://www.example.com/profile\"),\n\t\t\tSecondEmail: pulumi.String(\"john.smith.fun@example.com\"),\n\t\t\tState: pulumi.String(\"NY\"),\n\t\t\tStreetAddress: pulumi.String(\"5678 Testing Ave.\"),\n\t\t\tTimezone: pulumi.String(\"America/New_York\"),\n\t\t\tTitle: pulumi.String(\"Director\"),\n\t\t\tUserType: pulumi.String(\"Employee\"),\n\t\t\tZipCode: pulumi.String(\"11111\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t// ## With Password Inline Hook:\n\t\t_, err = user.NewUser(ctx, \"test2\", \u0026user.UserArgs{\n\t\t\tFirstName: pulumi.String(\"John\"),\n\t\t\tLastName: pulumi.String(\"Smith\"),\n\t\t\tLogin: pulumi.String(\"example@example.com\"),\n\t\t\tEmail: pulumi.String(\"example@example.com\"),\n\t\t\tPasswordInlineHook: pulumi.String(\"default\"),\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\n### Full profile:\nresource \"okta_user_user\" \"example\" {\n first_name = \"John\"\n last_name = \"Smith\"\n login = \"john.smith@example.com\"\n email = \"john.smith@example.com\"\n city = \"New York\"\n cost_center = \"10\"\n country_code = \"US\"\n department = \"IT\"\n display_name = \"Dr. John Smith\"\n division = \"Acquisitions\"\n employee_number = \"111111\"\n honorific_prefix = \"Dr.\"\n honorific_suffix = \"Jr.\"\n locale = \"en_US\"\n manager = \"Jimbo\"\n manager_id = \"222222\"\n middle_name = \"John\"\n mobile_phone = \"1112223333\"\n nick_name = \"Johnny\"\n organization = \"Testing Inc.\"\n postal_address = \"1234 Testing St.\"\n preferred_language = \"en-us\"\n primary_phone = \"4445556666\"\n profile_url = \"https://www.example.com/profile\"\n second_email = \"john.smith.fun@example.com\"\n state = \"NY\"\n street_address = \"5678 Testing Ave.\"\n timezone = \"America/New_York\"\n title = \"Director\"\n user_type = \"Employee\"\n zip_code = \"11111\"\n}\n### With Password Inline Hook:\nresource \"okta_user_user\" \"test2\" {\n first_name = \"John\"\n last_name = \"Smith\"\n login = \"example@example.com\"\n email = \"example@example.com\"\n password_inline_hook = \"default\"\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 java.util.ArrayList;\nimport java.util.Arrays;\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 //## Full profile:\n var example = new User(\"example\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"john.smith@example.com\")\n .email(\"john.smith@example.com\")\n .city(\"New York\")\n .costCenter(\"10\")\n .countryCode(\"US\")\n .department(\"IT\")\n .displayName(\"Dr. John Smith\")\n .division(\"Acquisitions\")\n .employeeNumber(\"111111\")\n .honorificPrefix(\"Dr.\")\n .honorificSuffix(\"Jr.\")\n .locale(\"en_US\")\n .manager(\"Jimbo\")\n .managerId(\"222222\")\n .middleName(\"John\")\n .mobilePhone(\"1112223333\")\n .nickName(\"Johnny\")\n .organization(\"Testing Inc.\")\n .postalAddress(\"1234 Testing St.\")\n .preferredLanguage(\"en-us\")\n .primaryPhone(\"4445556666\")\n .profileUrl(\"https://www.example.com/profile\")\n .secondEmail(\"john.smith.fun@example.com\")\n .state(\"NY\")\n .streetAddress(\"5678 Testing Ave.\")\n .timezone(\"America/New_York\")\n .title(\"Director\")\n .userType(\"Employee\")\n .zipCode(\"11111\")\n .build());\n\n //## With Password Inline Hook:\n var test2 = new User(\"test2\", UserArgs.builder()\n .firstName(\"John\")\n .lastName(\"Smith\")\n .login(\"example@example.com\")\n .email(\"example@example.com\")\n .passwordInlineHook(\"default\")\n .build());\n\n }\n}\n```\n```yaml\nresources:\n ### Full profile:\n example:\n type: okta:user:User\n properties:\n firstName: John\n lastName: Smith\n login: john.smith@example.com\n email: john.smith@example.com\n city: New York\n costCenter: '10'\n countryCode: US\n department: IT\n displayName: Dr. John Smith\n division: Acquisitions\n employeeNumber: '111111'\n honorificPrefix: Dr.\n honorificSuffix: Jr.\n locale: en_US\n manager: Jimbo\n managerId: '222222'\n middleName: John\n mobilePhone: '1112223333'\n nickName: Johnny\n organization: Testing Inc.\n postalAddress: 1234 Testing St.\n preferredLanguage: en-us\n primaryPhone: '4445556666'\n profileUrl: https://www.example.com/profile\n secondEmail: john.smith.fun@example.com\n state: NY\n streetAddress: 5678 Testing Ave.\n timezone: America/New_York\n title: Director\n userType: Employee\n zipCode: '11111'\n ### With Password Inline Hook:\n test2:\n type: okta:user:User\n properties:\n firstName: John\n lastName: Smith\n login: example@example.com\n email: example@example.com\n passwordInlineHook: default\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\n```sh\n$ pulumi import okta:user/user:User example \u003cuser_id\u003e\n```\n\n", "properties": { + "activated": { + "type": "string", + "description": "The timestamp when the user status transitioned to ACTIVE" + }, "city": { "type": "string", "description": "User city\n" @@ -28185,6 +30181,10 @@ "type": "string", "description": "User country code\n" }, + "created": { + "type": "string", + "description": "The timestamp when the user was created" + }, "customProfileAttributes": { "type": "string", "description": "JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions.\n" @@ -28232,10 +30232,18 @@ "type": "string", "description": "User honorific suffix\n" }, + "lastLogin": { + "type": "string", + "description": "The timestamp of the user's last login" + }, "lastName": { "type": "string", "description": "User last name\n" }, + "lastUpdated": { + "type": "string", + "description": "The timestamp when the user was last updated" + }, "locale": { "type": "string", "description": "User default location\n" @@ -28278,6 +30286,10 @@ "description": "User Password\n", "secret": true }, + "passwordChanged": { + "type": "string", + "description": "The timestamp when the user's password was last changed" + }, "passwordHash": { "$ref": "#/types/okta:user/UserPasswordHash:UserPasswordHash", "description": "Specifies a hashed password to import into Okta.\n" @@ -28336,6 +30348,10 @@ "type": "string", "description": "User profile property. Valid values are `ACTIVE`, `DEPROVISIONED`, `STAGED`, `SUSPENDED`. Default: `ACTIVE`\n" }, + "statusChanged": { + "type": "string", + "description": "The timestamp when the user's status last changed" + }, "streetAddress": { "type": "string", "description": "User street address\n" @@ -28362,13 +30378,19 @@ } }, "required": [ + "activated", + "created", "customProfileAttributes", "email", "firstName", + "lastLogin", "lastName", + "lastUpdated", "login", + "passwordChanged", "rawStatus", "realmId", + "statusChanged", "type" ], "inputProperties": { @@ -28565,6 +30587,10 @@ "stateInputs": { "description": "Input properties used for looking up and filtering User resources.\n", "properties": { + "activated": { + "type": "string", + "description": "The timestamp when the user status transitioned to ACTIVE" + }, "city": { "type": "string", "description": "User city\n" @@ -28577,6 +30603,10 @@ "type": "string", "description": "User country code\n" }, + "created": { + "type": "string", + "description": "The timestamp when the user was created" + }, "customProfileAttributes": { "type": "string", "description": "JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions.\n" @@ -28624,10 +30654,18 @@ "type": "string", "description": "User honorific suffix\n" }, + "lastLogin": { + "type": "string", + "description": "The timestamp of the user's last login" + }, "lastName": { "type": "string", "description": "User last name\n" }, + "lastUpdated": { + "type": "string", + "description": "The timestamp when the user was last updated" + }, "locale": { "type": "string", "description": "User default location\n" @@ -28670,6 +30708,10 @@ "description": "User Password\n", "secret": true }, + "passwordChanged": { + "type": "string", + "description": "The timestamp when the user's password was last changed" + }, "passwordHash": { "$ref": "#/types/okta:user/UserPasswordHash:UserPasswordHash", "description": "Specifies a hashed password to import into Okta.\n" @@ -28728,6 +30770,10 @@ "type": "string", "description": "User profile property. Valid values are `ACTIVE`, `DEPROVISIONED`, `STAGED`, `SUSPENDED`. Default: `ACTIVE`\n" }, + "statusChanged": { + "type": "string", + "description": "The timestamp when the user's status last changed" + }, "streetAddress": { "type": "string", "description": "User street address\n" @@ -29645,6 +31691,87 @@ "type": "object" } }, + "okta:app/getSignOnPolicyRule:getSignOnPolicyRule": { + "description": "Retrieves an app sign-on (access) policy rule by `ruleId` from Okta.\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 rule is referenced as an _authentication\npolicy rule_, in the public API the parent 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: \"\u003capp id\u003e\",\n});\nconst exampleGetSignOnPolicyRule = example.then(example =\u003e okta.app.getSignOnPolicyRule({\n id: \"\u003crule id\u003e\",\n policyId: example.id,\n}));\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_app_signon_policy(app_id=\"\u003capp id\u003e\")\nexample_get_sign_on_policy_rule = okta.app.get_sign_on_policy_rule(id=\"\u003crule id\u003e\",\n policy_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 example = Okta.GetAppSignonPolicy.Invoke(new()\n {\n AppId = \"\u003capp id\u003e\",\n });\n\n var exampleGetSignOnPolicyRule = Okta.App.GetSignOnPolicyRule.Invoke(new()\n {\n Id = \"\u003crule id\u003e\",\n PolicyId = example.Apply(getAppSignonPolicyResult =\u003e getAppSignonPolicyResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/go/okta\"\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\texample, err := okta.GetAppSignonPolicy(ctx, \u0026okta.LookupAppSignonPolicyArgs{\n\t\t\tAppId: \"\u003capp id\u003e\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = app.GetSignOnPolicyRule(ctx, \u0026app.GetSignOnPolicyRuleArgs{\n\t\t\tId: \"\u003crule id\u003e\",\n\t\t\tPolicyId: 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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getappsignonpolicy\" \"example\" {\n app_id = \"\u003capp id\u003e\"\n}\ndata \"okta_app_getsignonpolicyrule\" \"exampleGetSignOnPolicyRule\" {\n id = \"\u003crule id\u003e\"\n policy_id = data.okta_getappsignonpolicy.example.id\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 com.pulumi.okta.app.AppFunctions;\nimport com.pulumi.okta.app.inputs.GetSignOnPolicyRuleArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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(\"\u003capp id\u003e\")\n .build());\n\n final var exampleGetSignOnPolicyRule = AppFunctions.getSignOnPolicyRule(GetSignOnPolicyRuleArgs.builder()\n .id(\"\u003crule id\u003e\")\n .policyId(example.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getAppSignonPolicy\n arguments:\n appId: \u003capp id\u003e\n exampleGetSignOnPolicyRule:\n fn::invoke:\n function: okta:app:getSignOnPolicyRule\n arguments:\n id: \u003crule id\u003e\n policyId: ${example.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getSignOnPolicyRule.\n", + "properties": { + "actions": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleActions:getSignOnPolicyRuleActions" + }, + "conditions": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditions:getSignOnPolicyRuleConditions" + }, + "id": { + "type": "string", + "description": "Unique identifier of the access policy rule.\n" + }, + "policyId": { + "type": "string", + "description": "\u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e of the policy\n" + } + }, + "type": "object", + "required": [ + "id", + "policyId" + ] + }, + "outputs": { + "description": "A collection of values returned by getSignOnPolicyRule.\n", + "properties": { + "actions": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleActions:getSignOnPolicyRuleActions" + }, + "conditions": { + "$ref": "#/types/okta:app/getSignOnPolicyRuleConditions:getSignOnPolicyRuleConditions" + }, + "created": { + "description": "Timestamp when the rule was created\n", + "type": "string" + }, + "id": { + "description": "Unique identifier of the access policy rule.\n", + "type": "string" + }, + "lastUpdated": { + "description": "Timestamp when the rule was last modified\n", + "type": "string" + }, + "name": { + "description": "Name of the rule\n", + "type": "string" + }, + "policyId": { + "description": "\u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e of the policy\n", + "type": "string" + }, + "priority": { + "description": "Priority of the rule\n", + "type": "integer" + }, + "status": { + "description": "Whether or not the rule is active.\n", + "type": "string" + }, + "system": { + "description": "Specifies whether Okta created the policy rule (`system=true`).\n", + "type": "boolean" + } + }, + "required": [ + "created", + "id", + "lastUpdated", + "name", + "policyId", + "priority", + "status", + "system" + ], + "type": "object" + } + }, "okta:app/getToken:getToken": { "description": "Retrieves a refresh token for the specified app.\n\n## Example Usage\n\n### Basic Token Information\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.getToken({\n clientId: \"0oardd5r32PWsF4421d7\",\n id: \"oar1godmqw4QUiX4C1d7\",\n});\nexport const tokenStatus = example.then(example =\u003e example.status);\nexport const tokenUser = example.then(example =\u003e example.userId);\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.app.get_token(client_id=\"0oardd5r32PWsF4421d7\",\n id=\"oar1godmqw4QUiX4C1d7\")\npulumi.export(\"tokenStatus\", example.status)\npulumi.export(\"tokenUser\", 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 example = Okta.App.GetToken.Invoke(new()\n {\n ClientId = \"0oardd5r32PWsF4421d7\",\n Id = \"oar1godmqw4QUiX4C1d7\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"tokenStatus\"] = example.Apply(getTokenResult =\u003e getTokenResult.Status),\n [\"tokenUser\"] = example.Apply(getTokenResult =\u003e getTokenResult.UserId),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\texample, err := app.LookupToken(ctx, \u0026app.LookupTokenArgs{\n\t\t\tClientId: \"0oardd5r32PWsF4421d7\",\n\t\t\tId: \"oar1godmqw4QUiX4C1d7\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"tokenStatus\", example.Status)\n\t\tctx.Export(\"tokenUser\", example.UserId)\n\t\treturn nil\n\t})\n}\n```\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_app_gettoken\" \"example\" {\n client_id = \"0oardd5r32PWsF4421d7\"\n id = \"oar1godmqw4QUiX4C1d7\"\n}\n\noutput \"tokenStatus\" {\n value = data.okta_app_gettoken.example.status\n}\noutput \"tokenUser\" {\n value = data.okta_app_gettoken.example.user_id\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.GetTokenArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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.getToken(GetTokenArgs.builder()\n .clientId(\"0oardd5r32PWsF4421d7\")\n .id(\"oar1godmqw4QUiX4C1d7\")\n .build());\n\n ctx.export(\"tokenStatus\", example.status());\n ctx.export(\"tokenUser\", example.userId());\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:app:getToken\n arguments:\n clientId: 0oardd5r32PWsF4421d7\n id: oar1godmqw4QUiX4C1d7\noutputs:\n tokenStatus: ${example.status}\n tokenUser: ${example.userId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -31375,6 +33502,257 @@ "type": "object" } }, + "okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn": { + "description": "\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\n\nReads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration.\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 webauthn = okta.getAuthenticator({\n key: \"webauthn\",\n});\nconst example = webauthn.then(webauthn =\u003e okta.getAuthenticatorMethodWebauthn({\n authenticatorId: webauthn.id,\n}));\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nwebauthn = okta.get_authenticator(key=\"webauthn\")\nexample = okta.get_authenticator_method_webauthn(authenticator_id=webauthn.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 webauthn = Okta.GetAuthenticator.Invoke(new()\n {\n Key = \"webauthn\",\n });\n\n var example = Okta.GetAuthenticatorMethodWebauthn.Invoke(new()\n {\n AuthenticatorId = webauthn.Apply(getAuthenticatorResult =\u003e getAuthenticatorResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\twebauthn, err := okta.GetAuthenticator(ctx, \u0026okta.LookupAuthenticatorArgs{\n\t\t\tKey: pulumi.StringRef(\"webauthn\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.GetAuthenticatorMethodWebauthn(ctx, \u0026okta.LookupAuthenticatorMethodWebauthnArgs{\n\t\t\tAuthenticatorId: webauthn.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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getauthenticator\" \"webauthn\" {\n key = \"webauthn\"\n}\ndata \"okta_getauthenticatormethodwebauthn\" \"example\" {\n authenticator_id = data.okta_getauthenticator.webauthn.id\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 com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()\n .key(\"webauthn\")\n .build());\n\n final var example = OktaFunctions.getAuthenticatorMethodWebauthn(GetAuthenticatorMethodWebauthnArgs.builder()\n .authenticatorId(webauthn.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n webauthn:\n fn::invoke:\n function: okta:getAuthenticator\n arguments:\n key: webauthn\n example:\n fn::invoke:\n function: okta:getAuthenticatorMethodWebauthn\n arguments:\n authenticatorId: ${webauthn.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getAuthenticatorMethodWebauthn.\n", + "properties": { + "aaguidGroups": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/getAuthenticatorMethodWebauthnAaguidGroup:getAuthenticatorMethodWebauthnAaguidGroup" + }, + "description": "The FIDO2 AAGUID groups. Each element contains:\n" + }, + "authenticatorId": { + "type": "string", + "description": "The ID of the WebAuthn authenticator.\n" + }, + "rpId": { + "$ref": "#/types/okta:index/getAuthenticatorMethodWebauthnRpId:getAuthenticatorMethodWebauthnRpId", + "description": "The Relying Party (RP) ID configuration for WebAuthn. Contains:\n" + } + }, + "type": "object", + "required": [ + "authenticatorId" + ] + }, + "outputs": { + "description": "A collection of values returned by getAuthenticatorMethodWebauthn.\n", + "properties": { + "aaguidGroups": { + "description": "The FIDO2 AAGUID groups. Each element contains:\n", + "items": { + "$ref": "#/types/okta:index/getAuthenticatorMethodWebauthnAaguidGroup:getAuthenticatorMethodWebauthnAaguidGroup" + }, + "type": "array" + }, + "allowSyncablePasskeys": { + "description": "Whether syncable passkeys are allowed.\n", + "type": "boolean" + }, + "attachment": { + "description": "Method attachment setting.\n", + "type": "string" + }, + "authenticatorId": { + "type": "string" + }, + "certBasedAttestationValidation": { + "description": "Whether certificate-based attestation validation is enabled.\n", + "type": "boolean" + }, + "enableAutofillUi": { + "description": "Whether the passkeys autofill UI is enabled.\n", + "type": "boolean" + }, + "fipsCompliant": { + "description": "Whether the authenticator must be FIPS compliant.\n", + "type": "boolean" + }, + "hardwareProtected": { + "description": "Whether the authenticator must store the private key on hardware.\n", + "type": "boolean" + }, + "id": { + "type": "string" + }, + "residentKeyRequirement": { + "description": "Resident key requirement setting.\n", + "type": "string" + }, + "rpId": { + "$ref": "#/types/okta:index/getAuthenticatorMethodWebauthnRpId:getAuthenticatorMethodWebauthnRpId", + "description": "The Relying Party (RP) ID configuration for WebAuthn. Contains:\n" + }, + "showSignInWithAPasskeyButton": { + "description": "Whether the \"Sign in with a Passkey\" button is shown.\n", + "type": "boolean" + }, + "status": { + "description": "The status of the WebAuthn method (`ACTIVE` or `INACTIVE`).\n", + "type": "string" + }, + "userVerification": { + "description": "User verification setting for enrollment.\n", + "type": "string" + }, + "userVerificationForVerify": { + "description": "User verification setting for authentication.\n", + "type": "string" + } + }, + "required": [ + "allowSyncablePasskeys", + "attachment", + "authenticatorId", + "certBasedAttestationValidation", + "enableAutofillUi", + "fipsCompliant", + "hardwareProtected", + "id", + "residentKeyRequirement", + "showSignInWithAPasskeyButton", + "status", + "userVerification", + "userVerificationForVerify" + ], + "type": "object" + } + }, + "okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids": { + "description": "\u003e **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information.\n\nLists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned.\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 webauthn = okta.getAuthenticator({\n key: \"webauthn\",\n});\nconst all = webauthn.then(webauthn =\u003e okta.getAuthenticatorWebauthnCustomAaguids({\n authenticatorId: webauthn.id,\n}));\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nwebauthn = okta.get_authenticator(key=\"webauthn\")\nall = okta.get_authenticator_webauthn_custom_aaguids(authenticator_id=webauthn.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 webauthn = Okta.GetAuthenticator.Invoke(new()\n {\n Key = \"webauthn\",\n });\n\n var all = Okta.GetAuthenticatorWebauthnCustomAaguids.Invoke(new()\n {\n AuthenticatorId = webauthn.Apply(getAuthenticatorResult =\u003e getAuthenticatorResult.Id),\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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\twebauthn, err := okta.GetAuthenticator(ctx, \u0026okta.LookupAuthenticatorArgs{\n\t\t\tKey: pulumi.StringRef(\"webauthn\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = okta.GetAuthenticatorWebauthnCustomAaguids(ctx, \u0026okta.GetAuthenticatorWebauthnCustomAaguidsArgs{\n\t\t\tAuthenticatorId: webauthn.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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getauthenticator\" \"webauthn\" {\n key = \"webauthn\"\n}\ndata \"okta_getauthenticatorwebauthncustomaaguids\" \"all\" {\n authenticator_id = data.okta_getauthenticator.webauthn.id\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 com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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 webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()\n .key(\"webauthn\")\n .build());\n\n final var all = OktaFunctions.getAuthenticatorWebauthnCustomAaguids(GetAuthenticatorWebauthnCustomAaguidsArgs.builder()\n .authenticatorId(webauthn.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n webauthn:\n fn::invoke:\n function: okta:getAuthenticator\n arguments:\n key: webauthn\n all:\n fn::invoke:\n function: okta:getAuthenticatorWebauthnCustomAaguids\n arguments:\n authenticatorId: ${webauthn.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getAuthenticatorWebauthnCustomAaguids.\n", + "properties": { + "authenticatorId": { + "type": "string", + "description": "The ID of the WebAuthn authenticator.\n" + }, + "customAaguids": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/getAuthenticatorWebauthnCustomAaguidsCustomAaguid:getAuthenticatorWebauthnCustomAaguidsCustomAaguid" + }, + "description": "List of custom AAGUIDs configured for this authenticator. Each element contains:\n" + } + }, + "type": "object", + "required": [ + "authenticatorId" + ] + }, + "outputs": { + "description": "A collection of values returned by getAuthenticatorWebauthnCustomAaguids.\n", + "properties": { + "authenticatorId": { + "type": "string" + }, + "customAaguids": { + "description": "List of custom AAGUIDs configured for this authenticator. Each element contains:\n", + "items": { + "$ref": "#/types/okta:index/getAuthenticatorWebauthnCustomAaguidsCustomAaguid:getAuthenticatorWebauthnCustomAaguidsCustomAaguid" + }, + "type": "array" + }, + "id": { + "type": "string" + } + }, + "required": [ + "authenticatorId", + "id" + ], + "type": "object" + } + }, + "okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule": { + "description": "Retrieves an authorization server policy rule by `ruleId` 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.getAuthorizationServersPoliciesRule({\n id: \"\u003crule id\u003e\",\n authServerId: \"\u003cauth server id\u003e\",\n policyId: \"\u003cpolicy id\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_authorization_servers_policies_rule(id=\"\u003crule id\u003e\",\n auth_server_id=\"\u003cauth server id\u003e\",\n policy_id=\"\u003cpolicy 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.GetAuthorizationServersPoliciesRule.Invoke(new()\n {\n Id = \"\u003crule id\u003e\",\n AuthServerId = \"\u003cauth server id\u003e\",\n PolicyId = \"\u003cpolicy id\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.GetAuthorizationServersPoliciesRule(ctx, \u0026okta.GetAuthorizationServersPoliciesRuleArgs{\n\t\t\tId: \"\u003crule id\u003e\",\n\t\t\tAuthServerId: \"\u003cauth server id\u003e\",\n\t\t\tPolicyId: \"\u003cpolicy 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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getauthorizationserverspoliciesrule\" \"example\" {\n id = \"\u003crule id\u003e\"\n auth_server_id = \"\u003cauth server id\u003e\"\n policy_id = \"\u003cpolicy id\u003e\"\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.GetAuthorizationServersPoliciesRuleArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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.getAuthorizationServersPoliciesRule(GetAuthorizationServersPoliciesRuleArgs.builder()\n .id(\"\u003crule id\u003e\")\n .authServerId(\"\u003cauth server id\u003e\")\n .policyId(\"\u003cpolicy id\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getAuthorizationServersPoliciesRule\n arguments:\n id: \u003crule id\u003e\n authServerId: \u003cauth server id\u003e\n policyId: \u003cpolicy id\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getAuthorizationServersPoliciesRule.\n", + "properties": { + "actions": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleActions:getAuthorizationServersPoliciesRuleActions" + }, + "authServerId": { + "type": "string", + "description": "\u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e of the Authorization Server\n" + }, + "conditions": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleConditions:getAuthorizationServersPoliciesRuleConditions" + }, + "id": { + "type": "string", + "description": "Unique identifier of the authorization server policy rule.\n" + }, + "policyId": { + "type": "string", + "description": "\u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e of the policy\n" + } + }, + "type": "object", + "required": [ + "authServerId", + "id", + "policyId" + ] + }, + "outputs": { + "description": "A collection of values returned by getAuthorizationServersPoliciesRule.\n", + "properties": { + "actions": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleActions:getAuthorizationServersPoliciesRuleActions" + }, + "authServerId": { + "description": "\u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e of the Authorization Server\n", + "type": "string" + }, + "conditions": { + "$ref": "#/types/okta:index/getAuthorizationServersPoliciesRuleConditions:getAuthorizationServersPoliciesRuleConditions" + }, + "created": { + "description": "Timestamp when the rule was created\n", + "type": "string" + }, + "id": { + "description": "Unique identifier of the authorization server policy rule.\n", + "type": "string" + }, + "lastUpdated": { + "description": "Timestamp when the rule was last modified\n", + "type": "string" + }, + "name": { + "description": "Name of the rule\n", + "type": "string" + }, + "policyId": { + "description": "\u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e of the policy\n", + "type": "string" + }, + "priority": { + "description": "Priority of the rule\n", + "type": "integer" + }, + "status": { + "description": "Status of the rule\n", + "type": "string" + }, + "system": { + "description": "Set to \u003cspan pulumi-lang-nodejs=\"`true`\" pulumi-lang-dotnet=\"`True`\" pulumi-lang-go=\"`true`\" pulumi-lang-python=\"`true`\" pulumi-lang-yaml=\"`true`\" pulumi-lang-java=\"`true`\" pulumi-lang-hcl=\"`true`\"\u003e`true`\u003c/span\u003e for system rules.\n", + "type": "boolean" + }, + "type": { + "description": "Rule type\n", + "type": "string" + } + }, + "required": [ + "authServerId", + "created", + "id", + "lastUpdated", + "name", + "policyId", + "priority", + "status", + "system", + "type" + ], + "type": "object" + } + }, "okta:index/getBehaviour:getBehaviour": { "description": "Get a behavior by name or ID.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getbehaviour\" \"example\" {\n label = \"New City\"\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": { @@ -32700,6 +35078,264 @@ "type": "object" } }, + "okta:index/getIamAssigneesUser:getIamAssigneesUser": { + "description": "Use this data source to list all Okta users that have IAM role assignments.\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.getIamAssigneesUser({});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_iam_assignees_user()\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.GetIamAssigneesUser.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.GetIamAssigneesUser(ctx, \u0026okta.GetIamAssigneesUserArgs{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getiamassigneesuser\" \"example\" {\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.GetIamAssigneesUserArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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.getIamAssigneesUser(GetIamAssigneesUserArgs.builder()\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getIamAssigneesUser\n arguments: {}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getIamAssigneesUser.\n", + "properties": { + "id": { + "type": "string" + }, + "items": { + "type": "array", + "items": { + "$ref": "#/types/okta:index/getIamAssigneesUserItem:getIamAssigneesUserItem" + } + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getIamAssigneesUser.\n", + "properties": { + "id": { + "type": "string" + }, + "items": { + "items": { + "$ref": "#/types/okta:index/getIamAssigneesUserItem:getIamAssigneesUserItem" + }, + "type": "array" + } + }, + "required": [ + "id" + ], + "type": "object" + } + }, + "okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships": { + "description": "Retrieves the list of member external IDs for a group in an Okta Identity Source.\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.getIdentitySourceGroupMemberships({\n identitySourceId: \"\u003cidentity-source-id\u003e\",\n groupExternalId: \"GROUPEXT123456EXAMPLE\",\n});\nexport const memberIds = example.then(example =\u003e example.memberExternalIds);\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_identity_source_group_memberships(identity_source_id=\"\u003cidentity-source-id\u003e\",\n group_external_id=\"GROUPEXT123456EXAMPLE\")\npulumi.export(\"memberIds\", example.member_external_ids)\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.GetIdentitySourceGroupMemberships.Invoke(new()\n {\n IdentitySourceId = \"\u003cidentity-source-id\u003e\",\n GroupExternalId = \"GROUPEXT123456EXAMPLE\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"memberIds\"] = example.Apply(getIdentitySourceGroupMembershipsResult =\u003e getIdentitySourceGroupMembershipsResult.MemberExternalIds),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.GetIdentitySourceGroupMemberships(ctx, \u0026okta.GetIdentitySourceGroupMembershipsArgs{\n\t\t\tIdentitySourceId: \"\u003cidentity-source-id\u003e\",\n\t\t\tGroupExternalId: \"GROUPEXT123456EXAMPLE\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"memberIds\", example.MemberExternalIds)\n\t\treturn nil\n\t})\n}\n```\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getidentitysourcegroupmemberships\" \"example\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n group_external_id = \"GROUPEXT123456EXAMPLE\"\n}\n\noutput \"memberIds\" {\n value = data.okta_getidentitysourcegroupmemberships.example.member_external_ids\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.GetIdentitySourceGroupMembershipsArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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.getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs.builder()\n .identitySourceId(\"\u003cidentity-source-id\u003e\")\n .groupExternalId(\"GROUPEXT123456EXAMPLE\")\n .build());\n\n ctx.export(\"memberIds\", example.memberExternalIds());\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getIdentitySourceGroupMemberships\n arguments:\n identitySourceId: \u003cidentity-source-id\u003e\n groupExternalId: GROUPEXT123456EXAMPLE\noutputs:\n memberIds: ${example.memberExternalIds}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getIdentitySourceGroupMemberships.\n", + "properties": { + "groupExternalId": { + "type": "string", + "description": "The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source.\n" + } + }, + "type": "object", + "required": [ + "groupExternalId", + "identitySourceId" + ] + }, + "outputs": { + "description": "A collection of values returned by getIdentitySourceGroupMemberships.\n", + "properties": { + "groupExternalId": { + "description": "The external ID (or Okta-assigned ID) of the group whose memberships to retrieve.\n", + "type": "string" + }, + "id": { + "description": "Composite identifier (`{identity_source_id}/{group_external_id}`).\n", + "type": "string" + }, + "identitySourceId": { + "description": "ID of the identity source.\n", + "type": "string" + }, + "memberExternalIds": { + "description": "External IDs of members belonging to the group in the identity source.\n", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "groupExternalId", + "id", + "identitySourceId", + "memberExternalIds" + ], + "type": "object" + } + }, + "okta:index/getIdentitySourceGroups:getIdentitySourceGroups": { + "description": "Retrieves a group record from an Okta Identity Source by external ID.\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.getIdentitySourceGroups({\n identitySourceId: \"\u003cidentity-source-id\u003e\",\n externalId: \"GROUPEXT123456EXAMPLE\",\n});\nexport const groupOktaId = example.then(example =\u003e example.id);\nexport const groupDisplayName = example.then(example =\u003e example.profile?.displayName);\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_identity_source_groups(identity_source_id=\"\u003cidentity-source-id\u003e\",\n external_id=\"GROUPEXT123456EXAMPLE\")\npulumi.export(\"groupOktaId\", example.id)\npulumi.export(\"groupDisplayName\", example.profile.display_name)\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.GetIdentitySourceGroups.Invoke(new()\n {\n IdentitySourceId = \"\u003cidentity-source-id\u003e\",\n ExternalId = \"GROUPEXT123456EXAMPLE\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"groupOktaId\"] = example.Apply(getIdentitySourceGroupsResult =\u003e getIdentitySourceGroupsResult.Id),\n [\"groupDisplayName\"] = example.Apply(getIdentitySourceGroupsResult =\u003e getIdentitySourceGroupsResult.Profile?.DisplayName),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.GetIdentitySourceGroups(ctx, \u0026okta.GetIdentitySourceGroupsArgs{\n\t\t\tIdentitySourceId: \"\u003cidentity-source-id\u003e\",\n\t\t\tExternalId: \"GROUPEXT123456EXAMPLE\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"groupOktaId\", example.Id)\n\t\tctx.Export(\"groupDisplayName\", example.Profile.DisplayName)\n\t\treturn nil\n\t})\n}\n```\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getidentitysourcegroups\" \"example\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n external_id = \"GROUPEXT123456EXAMPLE\"\n}\n\noutput \"groupOktaId\" {\n value = data.okta_getidentitysourcegroups.example.id\n}\noutput \"groupDisplayName\" {\n value = data.okta_getidentitysourcegroups.example.profile.display_name\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.GetIdentitySourceGroupsArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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.getIdentitySourceGroups(GetIdentitySourceGroupsArgs.builder()\n .identitySourceId(\"\u003cidentity-source-id\u003e\")\n .externalId(\"GROUPEXT123456EXAMPLE\")\n .build());\n\n ctx.export(\"groupOktaId\", example.id());\n ctx.export(\"groupDisplayName\", example.profile().displayName());\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getIdentitySourceGroups\n arguments:\n identitySourceId: \u003cidentity-source-id\u003e\n externalId: GROUPEXT123456EXAMPLE\noutputs:\n groupOktaId: ${example.id}\n groupDisplayName: ${example.profile.displayName}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getIdentitySourceGroups.\n", + "properties": { + "externalId": { + "type": "string", + "description": "The external ID of the group in the identity source.\n" + }, + "id": { + "type": "string", + "description": "Okta-assigned ID of the group (populated after read).\n" + }, + "identitySourceId": { + "type": "string", + "description": "ID of the identity source.\n" + }, + "profile": { + "$ref": "#/types/okta:index/getIdentitySourceGroupsProfile:getIdentitySourceGroupsProfile" + } + }, + "type": "object", + "required": [ + "externalId", + "identitySourceId" + ] + }, + "outputs": { + "description": "A collection of values returned by getIdentitySourceGroups.\n", + "properties": { + "externalId": { + "description": "The external ID of the group in the identity source.\n", + "type": "string" + }, + "id": { + "description": "Okta-assigned ID of the group (populated after read).\n", + "type": "string" + }, + "identitySourceId": { + "description": "ID of the identity source.\n", + "type": "string" + }, + "profile": { + "$ref": "#/types/okta:index/getIdentitySourceGroupsProfile:getIdentitySourceGroupsProfile" + } + }, + "required": [ + "externalId", + "id", + "identitySourceId" + ], + "type": "object" + } + }, + "okta:index/getIdentitySourceSessions:getIdentitySourceSessions": { + "description": "Retrieves an identity source session by ID, or the most recently created session for the given identity source if no \u003cspan pulumi-lang-nodejs=\"`id`\" pulumi-lang-dotnet=\"`Id`\" pulumi-lang-go=\"`id`\" pulumi-lang-python=\"`id`\" pulumi-lang-yaml=\"`id`\" pulumi-lang-java=\"`id`\" pulumi-lang-hcl=\"`id`\"\u003e`id`\u003c/span\u003e is specified.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getidentitysourcesessions\" \"latest\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n}\ndata \"okta_getidentitysourcesessions\" \"byId\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n id = \"\u003csession-id\u003e\"\n}\n\n# Look up the most recent session\n# Look up a specific session by ID\n```\n```yaml\nvariables:\n # Look up the most recent session\n latest:\n fn::invoke:\n function: okta:getIdentitySourceSessions\n arguments:\n identitySourceId: \u003cidentity-source-id\u003e\n # Look up a specific session by ID\n byId:\n fn::invoke:\n function: okta:getIdentitySourceSessions\n arguments:\n identitySourceId: \u003cidentity-source-id\u003e\n id: \u003csession-id\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getIdentitySourceSessions.\n", + "properties": { + "identitySourceId": { + "type": "string", + "description": "ID of the identity source.\n" + }, + "sessionId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "identitySourceId", + "sessionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getIdentitySourceSessions.\n", + "properties": { + "created": { + "description": "Timestamp when the session was created (RFC3339).\n", + "type": "string" + }, + "id": { + "description": "Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned.\n", + "type": "string" + }, + "identitySourceId": { + "description": "ID of the identity source.\n", + "type": "string" + }, + "importType": { + "description": "The type of import. All imports are `INCREMENTAL`.\n", + "type": "string" + }, + "lastUpdated": { + "description": "The timestamp when the identity source session was created (RFC3339).\n", + "type": "string" + }, + "sessionId": { + "type": "string" + }, + "status": { + "description": "The current status of the identity source session.\n", + "type": "string" + } + }, + "required": [ + "created", + "id", + "identitySourceId", + "importType", + "lastUpdated", + "sessionId", + "status" + ], + "type": "object" + } + }, + "okta:index/getIdentitySourceUsers:getIdentitySourceUsers": { + "description": "Retrieves a user record from an Okta Identity Source by external ID.\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.getIdentitySourceUsers({\n identitySourceId: \"\u003cidentity-source-id\u003e\",\n externalId: \"USEREXT123456EXAMPLE\",\n});\nexport const userEmail = example.then(example =\u003e example.profile?.email);\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\nexample = okta.get_identity_source_users(identity_source_id=\"\u003cidentity-source-id\u003e\",\n external_id=\"USEREXT123456EXAMPLE\")\npulumi.export(\"userEmail\", example.profile.email)\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.GetIdentitySourceUsers.Invoke(new()\n {\n IdentitySourceId = \"\u003cidentity-source-id\u003e\",\n ExternalId = \"USEREXT123456EXAMPLE\",\n });\n\n return new Dictionary\u003cstring, object?\u003e\n {\n [\"userEmail\"] = example.Apply(getIdentitySourceUsersResult =\u003e getIdentitySourceUsersResult.Profile?.Email),\n };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.GetIdentitySourceUsers(ctx, \u0026okta.GetIdentitySourceUsersArgs{\n\t\t\tIdentitySourceId: \"\u003cidentity-source-id\u003e\",\n\t\t\tExternalId: \"USEREXT123456EXAMPLE\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"userEmail\", example.Profile.Email)\n\t\treturn nil\n\t})\n}\n```\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getidentitysourceusers\" \"example\" {\n identity_source_id = \"\u003cidentity-source-id\u003e\"\n external_id = \"USEREXT123456EXAMPLE\"\n}\n\noutput \"userEmail\" {\n value = data.okta_getidentitysourceusers.example.profile.email\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.GetIdentitySourceUsersArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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.getIdentitySourceUsers(GetIdentitySourceUsersArgs.builder()\n .identitySourceId(\"\u003cidentity-source-id\u003e\")\n .externalId(\"USEREXT123456EXAMPLE\")\n .build());\n\n ctx.export(\"userEmail\", example.profile().email());\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n function: okta:getIdentitySourceUsers\n arguments:\n identitySourceId: \u003cidentity-source-id\u003e\n externalId: USEREXT123456EXAMPLE\noutputs:\n userEmail: ${example.profile.email}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getIdentitySourceUsers.\n", + "properties": { + "externalId": { + "type": "string" + }, + "id": { + "type": "string" + }, + "identitySourceId": { + "type": "string" + } + }, + "type": "object", + "required": [ + "externalId", + "identitySourceId" + ] + }, + "outputs": { + "description": "A collection of values returned by getIdentitySourceUsers.\n", + "properties": { + "created": { + "type": "string" + }, + "externalId": { + "type": "string" + }, + "id": { + "type": "string" + }, + "identitySourceId": { + "type": "string" + }, + "lastUpdated": { + "type": "string" + }, + "profile": { + "$ref": "#/types/okta:index/getIdentitySourceUsersProfile:getIdentitySourceUsersProfile" + } + }, + "required": [ + "created", + "externalId", + "id", + "identitySourceId", + "lastUpdated", + "profile" + ], + "type": "object" + } + }, "okta:index/getLogStream:getLogStream": { "description": "Log Streams\n", "inputs": { @@ -33737,7 +36373,7 @@ } }, "okta:index/getRequestSettingResource:getRequestSettingResource": { - "description": "Retrieves the request settings for a resource.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getrequestsettingresource\" \"test\" {\n resource_id = \"\u003cid\u003e\"\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:getRequestSettingResource\n arguments:\n resourceId: \u003cid\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "Retrieves the request settings for a resource.\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.getRequestSettingResource({\n id: \"\u003cid\u003e\",\n});\n```\n```python\nimport pulumi\nimport pulumi_okta as okta\n\ntest = okta.get_request_setting_resource(id=\"\u003cid\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 test = Okta.GetRequestSettingResource.Invoke(new()\n {\n Id = \"\u003cid\u003e\",\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-okta/sdk/v6/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.GetRequestSettingResource(ctx, \u0026okta.LookupRequestSettingResourceArgs{\n\t\t\tId: \"\u003cid\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```hcl\npulumi {\n required_providers {\n okta = {\n source = \"pulumi/okta\"\n }\n }\n}\n\ndata \"okta_getrequestsettingresource\" \"test\" {\n id = \"\u003cid\u003e\"\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.GetRequestSettingResourceArgs;\nimport java.util.ArrayList;\nimport java.util.Arrays;\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.getRequestSettingResource(GetRequestSettingResourceArgs.builder()\n .id(\"\u003cid\u003e\")\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n test:\n fn::invoke:\n function: okta:getRequestSettingResource\n arguments:\n id: \u003cid\u003e\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getRequestSettingResource.\n", "properties": { @@ -34842,6 +37478,9 @@ "outputs": { "description": "A collection of values returned by getUser.\n", "properties": { + "activated": { + "type": "string" + }, "adminRoles": { "items": { "type": "string" @@ -34861,6 +37500,9 @@ "countryCode": { "type": "string" }, + "created": { + "type": "string" + }, "customProfileAttributes": { "type": "string" }, @@ -34902,9 +37544,15 @@ "description": "The provider-assigned unique ID for this managed resource.", "type": "string" }, + "lastLogin": { + "type": "string" + }, "lastName": { "type": "string" }, + "lastUpdated": { + "type": "string" + }, "locale": { "type": "string" }, @@ -34929,6 +37577,9 @@ "organization": { "type": "string" }, + "passwordChanged": { + "type": "string" + }, "postalAddress": { "type": "string" }, @@ -34975,6 +37626,9 @@ "status": { "type": "string" }, + "statusChanged": { + "type": "string" + }, "streetAddress": { "type": "string" }, @@ -35002,10 +37656,12 @@ } }, "required": [ + "activated", "adminRoles", "city", "costCenter", "countryCode", + "created", "customProfileAttributes", "department", "displayName", @@ -35016,7 +37672,9 @@ "groupMemberships", "honorificPrefix", "honorificSuffix", + "lastLogin", "lastName", + "lastUpdated", "locale", "login", "manager", @@ -35025,6 +37683,7 @@ "mobilePhone", "nickName", "organization", + "passwordChanged", "postalAddress", "preferredLanguage", "primaryPhone", @@ -35034,6 +37693,7 @@ "secondEmail", "state", "status", + "statusChanged", "streetAddress", "timezone", "title", diff --git a/provider/go.mod b/provider/go.mod index 17070760c..fda1f747a 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -1,6 +1,6 @@ module github.com/pulumi/pulumi-okta/provider/v6 -go 1.25.9 +go 1.26.2 require ( github.com/okta/terraform-provider-okta v0.0.0 diff --git a/upstream b/upstream index 33f61ad39..e59c130b0 160000 --- a/upstream +++ b/upstream @@ -1 +1 @@ -Subproject commit 33f61ad39f196da55e6976843093d1f8a5395082 +Subproject commit e59c130b0b6e4b9f76aacbba437515cd5e95cc71 From 5684358566222d96a7f380d9773b3d1c4219ea8d Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Wed, 24 Jun 2026 04:30:07 +0000 Subject: [PATCH 2/2] make generate_sdks --- sdk/dotnet/App/GetSignOnPolicyRule.cs | 255 + .../App/Inputs/GetSignOnPolicyRuleActions.cs | 26 + .../GetSignOnPolicyRuleActionsAppSignOn.cs | 38 + ...GetSignOnPolicyRuleActionsAppSignOnArgs.cs | 38 + ...olicyRuleActionsAppSignOnKeepMeSignedIn.cs | 32 + ...yRuleActionsAppSignOnKeepMeSignedInArgs.cs | 32 + ...yRuleActionsAppSignOnVerificationMethod.cs | 26 + ...eActionsAppSignOnVerificationMethodArgs.cs | 26 + .../Inputs/GetSignOnPolicyRuleActionsArgs.cs | 26 + .../Inputs/GetSignOnPolicyRuleConditions.cs | 62 + .../GetSignOnPolicyRuleConditionsArgs.cs | 62 + .../GetSignOnPolicyRuleConditionsDevice.cs | 38 + ...GetSignOnPolicyRuleConditionsDeviceArgs.cs | 38 + ...gnOnPolicyRuleConditionsDeviceAssurance.cs | 32 + ...PolicyRuleConditionsDeviceAssuranceArgs.cs | 32 + ...etSignOnPolicyRuleConditionsElCondition.cs | 26 + ...gnOnPolicyRuleConditionsElConditionArgs.cs | 26 + .../GetSignOnPolicyRuleConditionsNetwork.cs | 50 + ...etSignOnPolicyRuleConditionsNetworkArgs.cs | 50 + .../GetSignOnPolicyRuleConditionsPeople.cs | 32 + ...GetSignOnPolicyRuleConditionsPeopleArgs.cs | 32 + ...tSignOnPolicyRuleConditionsPeopleGroups.cs | 44 + ...nOnPolicyRuleConditionsPeopleGroupsArgs.cs | 44 + ...etSignOnPolicyRuleConditionsPeopleUsers.cs | 44 + ...gnOnPolicyRuleConditionsPeopleUsersArgs.cs | 44 + .../GetSignOnPolicyRuleConditionsPlatform.cs | 44 + ...tSignOnPolicyRuleConditionsPlatformArgs.cs | 44 + ...gnOnPolicyRuleConditionsPlatformExclude.cs | 32 + ...PolicyRuleConditionsPlatformExcludeArgs.cs | 32 + ...OnPolicyRuleConditionsPlatformExcludeOs.cs | 38 + ...licyRuleConditionsPlatformExcludeOsArgs.cs | 38 + ...yRuleConditionsPlatformExcludeOsVersion.cs | 32 + ...eConditionsPlatformExcludeOsVersionArgs.cs | 32 + ...gnOnPolicyRuleConditionsPlatformInclude.cs | 32 + ...PolicyRuleConditionsPlatformIncludeArgs.cs | 32 + ...OnPolicyRuleConditionsPlatformIncludeOs.cs | 38 + ...licyRuleConditionsPlatformIncludeOsArgs.cs | 38 + ...yRuleConditionsPlatformIncludeOsVersion.cs | 32 + ...eConditionsPlatformIncludeOsVersionArgs.cs | 32 + .../GetSignOnPolicyRuleConditionsRiskScore.cs | 32 + ...SignOnPolicyRuleConditionsRiskScoreArgs.cs | 32 + .../GetSignOnPolicyRuleConditionsUserType.cs | 44 + ...tSignOnPolicyRuleConditionsUserTypeArgs.cs | 44 + .../App/Inputs/SignonPolicyRulesRuleArgs.cs | 8 +- .../Inputs/SignonPolicyRulesRuleGetArgs.cs | 8 +- ...SignonPolicyRulesRuleKeepMeSignedInArgs.cs | 32 + ...nonPolicyRulesRuleKeepMeSignedInGetArgs.cs | 32 + sdk/dotnet/App/OAuth.cs | 18 + ...uleActionsAppSignOnKeepMeSignedInResult.cs | 35 + ...tSignOnPolicyRuleActionsAppSignOnResult.cs | 42 + ...ctionsAppSignOnVerificationMethodResult.cs | 27 + .../GetSignOnPolicyRuleActionsResult.cs | 27 + ...licyRuleConditionsDeviceAssuranceResult.cs | 27 + ...tSignOnPolicyRuleConditionsDeviceResult.cs | 42 + ...OnPolicyRuleConditionsElConditionResult.cs | 27 + ...SignOnPolicyRuleConditionsNetworkResult.cs | 42 + ...nPolicyRuleConditionsPeopleGroupsResult.cs | 35 + ...tSignOnPolicyRuleConditionsPeopleResult.cs | 35 + ...OnPolicyRuleConditionsPeopleUsersResult.cs | 35 + ...cyRuleConditionsPlatformExcludeOsResult.cs | 42 + ...onditionsPlatformExcludeOsVersionResult.cs | 35 + ...licyRuleConditionsPlatformExcludeResult.cs | 35 + ...cyRuleConditionsPlatformIncludeOsResult.cs | 42 + ...onditionsPlatformIncludeOsVersionResult.cs | 35 + ...licyRuleConditionsPlatformIncludeResult.cs | 35 + ...ignOnPolicyRuleConditionsPlatformResult.cs | 35 + .../GetSignOnPolicyRuleConditionsResult.cs | 70 + ...gnOnPolicyRuleConditionsRiskScoreResult.cs | 35 + ...ignOnPolicyRuleConditionsUserTypeResult.cs | 35 + .../App/Outputs/SignonPolicyRulesRule.cs | 9 +- .../SignonPolicyRulesRuleKeepMeSignedIn.cs | 35 + sdk/dotnet/App/SignonPolicyRules.cs | 12 + sdk/dotnet/AppSignonPolicyRule.cs | 18 + sdk/dotnet/AuthenticatorMethodWebauthn.cs | 384 + .../AuthenticatorWebauthnCustomAaguid.cs | 261 + sdk/dotnet/GetAuthenticatorMethodWebauthn.cs | 281 + .../GetAuthenticatorWebauthnCustomAaguids.cs | 185 + .../GetAuthorizationServersPoliciesRule.cs | 245 + sdk/dotnet/GetIamAssigneesUser.cs | 134 + .../GetIdentitySourceGroupMemberships.cs | 180 + sdk/dotnet/GetIdentitySourceGroups.cs | 198 + sdk/dotnet/GetIdentitySourceSessions.cs | 129 + sdk/dotnet/GetIdentitySourceUsers.cs | 170 + sdk/dotnet/GetRequestSettingResource.cs | 48 + sdk/dotnet/IdentitySourceGroup.cs | 163 + sdk/dotnet/IdentitySourceGroupMembership.cs | 177 + sdk/dotnet/IdentitySourceImport.cs | 356 + sdk/dotnet/IdentitySourceUser.cs | 189 + .../AppSignonPolicyRuleKeepMeSignedInArgs.cs | 32 + ...ppSignonPolicyRuleKeepMeSignedInGetArgs.cs | 32 + ...henticatorMethodWebauthnAaguidGroupArgs.cs | 38 + ...ticatorMethodWebauthnAaguidGroupGetArgs.cs | 38 + .../AuthenticatorMethodWebauthnRpIdArgs.cs | 32 + ...thenticatorMethodWebauthnRpIdDomainArgs.cs | 32 + ...nticatorMethodWebauthnRpIdDomainGetArgs.cs | 32 + .../AuthenticatorMethodWebauthnRpIdGetArgs.cs | 32 + ...tomAaguidAttestationRootCertificateArgs.cs | 44 + ...AaguidAttestationRootCertificateGetArgs.cs | 44 + ...mAaguidAuthenticatorCharacteristicsArgs.cs | 38 + ...guidAuthenticatorCharacteristicsGetArgs.cs | 38 + ...tAuthenticatorMethodWebauthnAaguidGroup.cs | 38 + ...henticatorMethodWebauthnAaguidGroupArgs.cs | 38 + .../GetAuthenticatorMethodWebauthnRpId.cs | 32 + .../GetAuthenticatorMethodWebauthnRpIdArgs.cs | 32 + ...etAuthenticatorMethodWebauthnRpIdDomain.cs | 32 + ...thenticatorMethodWebauthnRpIdDomainArgs.cs | 32 + ...icatorWebauthnCustomAaguidsCustomAaguid.cs | 38 + ...orWebauthnCustomAaguidsCustomAaguidArgs.cs | 38 + ...ustomAaguidAuthenticatorCharacteristics.cs | 38 + ...mAaguidAuthenticatorCharacteristicsArgs.cs | 38 + ...AuthorizationServersPoliciesRuleActions.cs | 26 + ...orizationServersPoliciesRuleActionsArgs.cs | 26 + ...rizationServersPoliciesRuleActionsToken.cs | 44 + ...tionServersPoliciesRuleActionsTokenArgs.cs | 44 + ...rversPoliciesRuleActionsTokenInlineHook.cs | 26 + ...sPoliciesRuleActionsTokenInlineHookArgs.cs | 26 + ...horizationServersPoliciesRuleConditions.cs | 38 + ...zationServersPoliciesRuleConditionsArgs.cs | 38 + ...ServersPoliciesRuleConditionsGrantTypes.cs | 32 + ...ersPoliciesRuleConditionsGrantTypesArgs.cs | 32 + ...tionServersPoliciesRuleConditionsPeople.cs | 32 + ...ServersPoliciesRuleConditionsPeopleArgs.cs | 32 + ...rversPoliciesRuleConditionsPeopleGroups.cs | 32 + ...sPoliciesRuleConditionsPeopleGroupsArgs.cs | 32 + ...erversPoliciesRuleConditionsPeopleUsers.cs | 32 + ...rsPoliciesRuleConditionsPeopleUsersArgs.cs | 32 + ...tionServersPoliciesRuleConditionsScopes.cs | 32 + ...ServersPoliciesRuleConditionsScopesArgs.cs | 32 + sdk/dotnet/Inputs/GetIamAssigneesUserItem.cs | 29 + .../Inputs/GetIamAssigneesUserItemArgs.cs | 29 + .../Inputs/GetIdentitySourceGroupsProfile.cs | 32 + .../GetIdentitySourceGroupsProfileArgs.cs | 32 + .../Inputs/IdentitySourceGroupProfileArgs.cs | 32 + .../IdentitySourceGroupProfileGetArgs.cs | 32 + ...ySourceImportDeleteGroupMembershipsArgs.cs | 32 + ...urceImportDeleteGroupMembershipsGetArgs.cs | 32 + ...ortDeleteGroupMembershipsMembershipArgs.cs | 38 + ...DeleteGroupMembershipsMembershipGetArgs.cs | 38 + .../IdentitySourceImportDeleteGroupsArgs.cs | 32 + ...IdentitySourceImportDeleteGroupsGetArgs.cs | 32 + .../IdentitySourceImportDeleteUsersArgs.cs | 38 + .../IdentitySourceImportDeleteUsersGetArgs.cs | 38 + ...ntitySourceImportDeleteUsersProfileArgs.cs | 26 + ...tySourceImportDeleteUsersProfileGetArgs.cs | 26 + ...ySourceImportUpsertGroupMembershipsArgs.cs | 32 + ...urceImportUpsertGroupMembershipsGetArgs.cs | 32 + ...ortUpsertGroupMembershipsMembershipArgs.cs | 38 + ...UpsertGroupMembershipsMembershipGetArgs.cs | 38 + .../IdentitySourceImportUpsertGroupsArgs.cs | 32 + ...IdentitySourceImportUpsertGroupsGetArgs.cs | 32 + ...titySourceImportUpsertGroupsProfileArgs.cs | 32 + ...ySourceImportUpsertGroupsProfileGetArgs.cs | 32 + ...portUpsertGroupsProfileGroupProfileArgs.cs | 32 + ...tUpsertGroupsProfileGroupProfileGetArgs.cs | 32 + .../IdentitySourceImportUpsertUsersArgs.cs | 38 + .../IdentitySourceImportUpsertUsersGetArgs.cs | 38 + ...ntitySourceImportUpsertUsersProfileArgs.cs | 32 + ...tySourceImportUpsertUsersProfileGetArgs.cs | 32 + ...urceImportUpsertUsersProfileProfileArgs.cs | 62 + ...eImportUpsertUsersProfileProfileGetArgs.cs | 62 + .../Inputs/IdentitySourceUserProfileArgs.cs | 62 + .../IdentitySourceUserProfileGetArgs.cs | 62 + sdk/dotnet/Inputs/PushGroupAppConfigArgs.cs | 3 + .../Inputs/PushGroupAppConfigGetArgs.cs | 3 + .../AppSignonPolicyRuleKeepMeSignedIn.cs | 35 + .../AuthenticatorMethodWebauthnAaguidGroup.cs | 35 + .../AuthenticatorMethodWebauthnRpId.cs | 35 + .../AuthenticatorMethodWebauthnRpIdDomain.cs | 35 + ...nCustomAaguidAttestationRootCertificate.cs | 49 + ...ustomAaguidAuthenticatorCharacteristics.cs | 42 + ...nticatorMethodWebauthnAaguidGroupResult.cs | 35 + ...enticatorMethodWebauthnRpIdDomainResult.cs | 35 + ...etAuthenticatorMethodWebauthnRpIdResult.cs | 35 + ...aguidAuthenticatorCharacteristicsResult.cs | 42 + ...WebauthnCustomAaguidsCustomAaguidResult.cs | 42 + ...izationServersPoliciesRuleActionsResult.cs | 27 + ...oliciesRuleActionsTokenInlineHookResult.cs | 27 + ...onServersPoliciesRuleActionsTokenResult.cs | 49 + ...sPoliciesRuleConditionsGrantTypesResult.cs | 27 + ...oliciesRuleConditionsPeopleGroupsResult.cs | 27 + ...rversPoliciesRuleConditionsPeopleResult.cs | 35 + ...PoliciesRuleConditionsPeopleUsersResult.cs | 27 + ...tionServersPoliciesRuleConditionsResult.cs | 42 + ...rversPoliciesRuleConditionsScopesResult.cs | 27 + .../Outputs/GetIamAssigneesUserItemResult.cs | 32 + .../GetIdentitySourceGroupsProfileResult.cs | 35 + .../GetIdentitySourceUsersProfileResult.cs | 49 + .../Outputs/IdentitySourceGroupProfile.cs | 35 + ...ntitySourceImportDeleteGroupMemberships.cs | 27 + ...eImportDeleteGroupMembershipsMembership.cs | 35 + .../IdentitySourceImportDeleteGroups.cs | 27 + .../IdentitySourceImportDeleteUsers.cs | 35 + .../IdentitySourceImportDeleteUsersProfile.cs | 27 + ...ntitySourceImportUpsertGroupMemberships.cs | 27 + ...eImportUpsertGroupMembershipsMembership.cs | 35 + .../IdentitySourceImportUpsertGroups.cs | 27 + ...IdentitySourceImportUpsertGroupsProfile.cs | 35 + ...ceImportUpsertGroupsProfileGroupProfile.cs | 35 + .../IdentitySourceImportUpsertUsers.cs | 35 + .../IdentitySourceImportUpsertUsersProfile.cs | 35 + ...tySourceImportUpsertUsersProfileProfile.cs | 70 + .../Outputs/IdentitySourceUserProfile.cs | 70 + sdk/dotnet/Outputs/PushGroupAppConfig.cs | 6 +- sdk/dotnet/Policy/Password.cs | 54 + sdk/dotnet/PolicyPasswordDefault.cs | 85 +- sdk/dotnet/PushGroup.cs | 1 + sdk/dotnet/RequestSettingOrganization.cs | 21 +- sdk/dotnet/RequestSettingResource.cs | 2 +- sdk/dotnet/User/GetUser.cs | 24 + sdk/dotnet/User/Outputs/GetUsersUserResult.cs | 24 + sdk/dotnet/User/User.cs | 72 + sdk/go/okta/app/getSignOnPolicyRule.go | 187 + sdk/go/okta/app/oauth.go | 15 + sdk/go/okta/app/pulumiTypes.go | 3569 ++- sdk/go/okta/app/signonPolicyRules.go | 10 + sdk/go/okta/appSignonPolicyRule.go | 15 + sdk/go/okta/authenticatorMethodWebauthn.go | 467 + .../okta/authenticatorWebauthnCustomAaguid.go | 382 + sdk/go/okta/getAuthenticatorMethodWebauthn.go | 216 + .../getAuthenticatorWebauthnCustomAaguids.go | 128 + .../getAuthorizationServersPoliciesRule.go | 195 + sdk/go/okta/getIamAssigneesUser.go | 105 + .../okta/getIdentitySourceGroupMemberships.go | 131 + sdk/go/okta/getIdentitySourceGroups.go | 136 + sdk/go/okta/getIdentitySourceSessions.go | 122 + sdk/go/okta/getIdentitySourceUsers.go | 131 + sdk/go/okta/getRequestSettingResource.go | 24 + sdk/go/okta/identitySourceGroup.go | 291 + sdk/go/okta/identitySourceGroupMembership.go | 302 + sdk/go/okta/identitySourceImport.go | 459 + sdk/go/okta/identitySourceUser.go | 315 + sdk/go/okta/init.go | 42 + sdk/go/okta/policy/password.go | 45 + sdk/go/okta/policyPasswordDefault.go | 72 +- sdk/go/okta/pulumiTypes.go | 19050 ++++++++++------ sdk/go/okta/pushGroup.go | 1 + sdk/go/okta/requestSettingOrganization.go | 25 +- sdk/go/okta/requestSettingResource.go | 2 +- sdk/go/okta/user/getUser.go | 30 + sdk/go/okta/user/pulumiTypes.go | 36 + sdk/go/okta/user/user.go | 66 + .../com/pulumi/okta/AppSignonPolicyRule.java | 15 + .../pulumi/okta/AppSignonPolicyRuleArgs.java | 38 + .../okta/AuthenticatorMethodWebauthn.java | 338 + .../okta/AuthenticatorMethodWebauthnArgs.java | 545 + .../AuthenticatorWebauthnCustomAaguid.java | 263 + ...AuthenticatorWebauthnCustomAaguidArgs.java | 251 + .../com/pulumi/okta/IdentitySourceGroup.java | 169 + .../pulumi/okta/IdentitySourceGroupArgs.java | 165 + .../okta/IdentitySourceGroupMembership.java | 178 + .../IdentitySourceGroupMembershipArgs.java | 165 + .../com/pulumi/okta/IdentitySourceImport.java | 349 + .../pulumi/okta/IdentitySourceImportArgs.java | 315 + .../com/pulumi/okta/IdentitySourceUser.java | 199 + .../pulumi/okta/IdentitySourceUserArgs.java | 165 + .../java/com/pulumi/okta/OktaFunctions.java | 4174 +++- .../pulumi/okta/PolicyPasswordDefault.java | 68 +- .../okta/PolicyPasswordDefaultArgs.java | 111 + .../main/java/com/pulumi/okta/PushGroup.java | 1 + .../okta/RequestSettingOrganization.java | 23 +- .../okta/RequestSettingOrganizationArgs.java | 8 +- .../pulumi/okta/RequestSettingResource.java | 2 +- .../com/pulumi/okta/app/AppFunctions.java | 278 + .../main/java/com/pulumi/okta/app/OAuth.java | 14 + .../java/com/pulumi/okta/app/OAuthArgs.java | 37 + .../pulumi/okta/app/SignonPolicyRules.java | 11 + .../inputs/GetSignOnPolicyRuleActions.java | 72 + .../GetSignOnPolicyRuleActionsAppSignOn.java | 132 + ...tSignOnPolicyRuleActionsAppSignOnArgs.java | 163 + ...icyRuleActionsAppSignOnKeepMeSignedIn.java | 104 + ...uleActionsAppSignOnKeepMeSignedInArgs.java | 125 + ...uleActionsAppSignOnVerificationMethod.java | 74 + ...ctionsAppSignOnVerificationMethodArgs.java | 85 + .../GetSignOnPolicyRuleActionsArgs.java | 83 + .../app/inputs/GetSignOnPolicyRuleArgs.java | 163 + .../inputs/GetSignOnPolicyRuleConditions.java | 240 + .../GetSignOnPolicyRuleConditionsArgs.java | 311 + .../GetSignOnPolicyRuleConditionsDevice.java | 134 + ...tSignOnPolicyRuleConditionsDeviceArgs.java | 165 + ...OnPolicyRuleConditionsDeviceAssurance.java | 85 + ...licyRuleConditionsDeviceAssuranceArgs.java | 96 + ...SignOnPolicyRuleConditionsElCondition.java | 74 + ...OnPolicyRuleConditionsElConditionArgs.java | 85 + .../GetSignOnPolicyRuleConditionsNetwork.java | 155 + ...SignOnPolicyRuleConditionsNetworkArgs.java | 186 + .../GetSignOnPolicyRuleConditionsPeople.java | 100 + ...tSignOnPolicyRuleConditionsPeopleArgs.java | 121 + ...ignOnPolicyRuleConditionsPeopleGroups.java | 125 + ...nPolicyRuleConditionsPeopleGroupsArgs.java | 146 + ...SignOnPolicyRuleConditionsPeopleUsers.java | 125 + ...OnPolicyRuleConditionsPeopleUsersArgs.java | 146 + ...GetSignOnPolicyRuleConditionsPlatform.java | 121 + ...ignOnPolicyRuleConditionsPlatformArgs.java | 142 + ...OnPolicyRuleConditionsPlatformExclude.java | 104 + ...licyRuleConditionsPlatformExcludeArgs.java | 125 + ...PolicyRuleConditionsPlatformExcludeOs.java | 134 + ...cyRuleConditionsPlatformExcludeOsArgs.java | 165 + ...uleConditionsPlatformExcludeOsVersion.java | 104 + ...onditionsPlatformExcludeOsVersionArgs.java | 125 + ...OnPolicyRuleConditionsPlatformInclude.java | 104 + ...licyRuleConditionsPlatformIncludeArgs.java | 125 + ...PolicyRuleConditionsPlatformIncludeOs.java | 134 + ...cyRuleConditionsPlatformIncludeOsArgs.java | 165 + ...uleConditionsPlatformIncludeOsVersion.java | 104 + ...onditionsPlatformIncludeOsVersionArgs.java | 125 + ...etSignOnPolicyRuleConditionsRiskScore.java | 104 + ...gnOnPolicyRuleConditionsRiskScoreArgs.java | 125 + ...GetSignOnPolicyRuleConditionsUserType.java | 125 + ...ignOnPolicyRuleConditionsUserTypeArgs.java | 146 + .../inputs/GetSignOnPolicyRulePlainArgs.java | 134 + .../pulumi/okta/app/inputs/OAuthState.java | 37 + .../app/inputs/SignonPolicyRulesRuleArgs.java | 46 +- ...gnonPolicyRulesRuleKeepMeSignedInArgs.java | 120 + .../outputs/GetSignOnPolicyRuleActions.java | 57 + .../GetSignOnPolicyRuleActionsAppSignOn.java | 104 + ...icyRuleActionsAppSignOnKeepMeSignedIn.java | 81 + ...uleActionsAppSignOnVerificationMethod.java | 58 + .../GetSignOnPolicyRuleConditions.java | 189 + .../GetSignOnPolicyRuleConditionsDevice.java | 105 + ...OnPolicyRuleConditionsDeviceAssurance.java | 62 + ...SignOnPolicyRuleConditionsElCondition.java | 58 + .../GetSignOnPolicyRuleConditionsNetwork.java | 111 + .../GetSignOnPolicyRuleConditionsPeople.java | 79 + ...ignOnPolicyRuleConditionsPeopleGroups.java | 88 + ...SignOnPolicyRuleConditionsPeopleUsers.java | 88 + ...GetSignOnPolicyRuleConditionsPlatform.java | 85 + ...OnPolicyRuleConditionsPlatformExclude.java | 82 + ...PolicyRuleConditionsPlatformExcludeOs.java | 105 + ...uleConditionsPlatformExcludeOsVersion.java | 81 + ...OnPolicyRuleConditionsPlatformInclude.java | 82 + ...PolicyRuleConditionsPlatformIncludeOs.java | 105 + ...uleConditionsPlatformIncludeOsVersion.java | 81 + ...etSignOnPolicyRuleConditionsRiskScore.java | 81 + ...GetSignOnPolicyRuleConditionsUserType.java | 88 + .../outputs/GetSignOnPolicyRuleResult.java | 251 + .../app/outputs/SignonPolicyRulesRule.java | 26 +- .../SignonPolicyRulesRuleKeepMeSignedIn.java | 78 + ...AppSignonPolicyRuleKeepMeSignedInArgs.java | 120 + .../okta/inputs/AppSignonPolicyRuleState.java | 38 + ...nticatorMethodWebauthnAaguidGroupArgs.java | 136 + .../AuthenticatorMethodWebauthnRpIdArgs.java | 121 + ...enticatorMethodWebauthnRpIdDomainArgs.java | 120 + .../AuthenticatorMethodWebauthnState.java | 578 + ...mAaguidAttestationRootCertificateArgs.java | 198 + ...aguidAuthenticatorCharacteristicsArgs.java | 157 + ...uthenticatorWebauthnCustomAaguidState.java | 244 + ...uthenticatorMethodWebauthnAaguidGroup.java | 115 + ...nticatorMethodWebauthnAaguidGroupArgs.java | 136 + .../GetAuthenticatorMethodWebauthnArgs.java | 174 + ...tAuthenticatorMethodWebauthnPlainArgs.java | 143 + .../GetAuthenticatorMethodWebauthnRpId.java | 104 + ...etAuthenticatorMethodWebauthnRpIdArgs.java | 125 + ...AuthenticatorMethodWebauthnRpIdDomain.java | 104 + ...enticatorMethodWebauthnRpIdDomainArgs.java | 125 + ...uthenticatorWebauthnCustomAaguidsArgs.java | 136 + ...atorWebauthnCustomAaguidsCustomAaguid.java | 134 + ...WebauthnCustomAaguidsCustomAaguidArgs.java | 165 + ...tomAaguidAuthenticatorCharacteristics.java | 134 + ...aguidAuthenticatorCharacteristicsArgs.java | 165 + ...ticatorWebauthnCustomAaguidsPlainArgs.java | 115 + ...thorizationServersPoliciesRuleActions.java | 72 + ...izationServersPoliciesRuleActionsArgs.java | 83 + ...zationServersPoliciesRuleActionsToken.java | 164 + ...onServersPoliciesRuleActionsTokenArgs.java | 205 + ...ersPoliciesRuleActionsTokenInlineHook.java | 74 + ...oliciesRuleActionsTokenInlineHookArgs.java | 85 + ...tAuthorizationServersPoliciesRuleArgs.java | 203 + ...rizationServersPoliciesRuleConditions.java | 128 + ...tionServersPoliciesRuleConditionsArgs.java | 159 + ...rversPoliciesRuleConditionsGrantTypes.java | 85 + ...sPoliciesRuleConditionsGrantTypesArgs.java | 96 + ...onServersPoliciesRuleConditionsPeople.java | 100 + ...rversPoliciesRuleConditionsPeopleArgs.java | 121 + ...ersPoliciesRuleConditionsPeopleGroups.java | 85 + ...oliciesRuleConditionsPeopleGroupsArgs.java | 96 + ...versPoliciesRuleConditionsPeopleUsers.java | 85 + ...PoliciesRuleConditionsPeopleUsersArgs.java | 96 + ...onServersPoliciesRuleConditionsScopes.java | 85 + ...rversPoliciesRuleConditionsScopesArgs.java | 96 + ...orizationServersPoliciesRulePlainArgs.java | 164 + .../okta/inputs/GetIamAssigneesUserArgs.java | 86 + .../okta/inputs/GetIamAssigneesUserItem.java | 90 + .../inputs/GetIamAssigneesUserItemArgs.java | 105 + .../inputs/GetIamAssigneesUserPlainArgs.java | 77 + ...GetIdentitySourceGroupMembershipsArgs.java | 125 + ...entitySourceGroupMembershipsPlainArgs.java | 104 + .../inputs/GetIdentitySourceGroupsArgs.java | 182 + .../GetIdentitySourceGroupsPlainArgs.java | 147 + .../GetIdentitySourceGroupsProfile.java | 104 + .../GetIdentitySourceGroupsProfileArgs.java | 125 + .../inputs/GetIdentitySourceSessionsArgs.java | 105 + .../GetIdentitySourceSessionsPlainArgs.java | 90 + .../inputs/GetIdentitySourceUsersArgs.java | 104 + .../GetIdentitySourceUsersPlainArgs.java | 91 + .../IdentitySourceGroupMembershipState.java | 205 + .../IdentitySourceGroupProfileArgs.java | 120 + .../okta/inputs/IdentitySourceGroupState.java | 158 + ...ourceImportDeleteGroupMembershipsArgs.java | 94 + ...tDeleteGroupMembershipsMembershipArgs.java | 131 + .../IdentitySourceImportDeleteGroupsArgs.java | 94 + .../IdentitySourceImportDeleteUsersArgs.java | 132 + ...itySourceImportDeleteUsersProfileArgs.java | 83 + .../inputs/IdentitySourceImportState.java | 385 + ...ourceImportUpsertGroupMembershipsArgs.java | 94 + ...tUpsertGroupMembershipsMembershipArgs.java | 131 + .../IdentitySourceImportUpsertGroupsArgs.java | 94 + ...tySourceImportUpsertGroupsProfileArgs.java | 121 + ...rtUpsertGroupsProfileGroupProfileArgs.java | 120 + .../IdentitySourceImportUpsertUsersArgs.java | 132 + ...itySourceImportUpsertUsersProfileArgs.java | 121 + ...ceImportUpsertUsersProfileProfileArgs.java | 305 + .../inputs/IdentitySourceUserProfileArgs.java | 305 + .../okta/inputs/IdentitySourceUserState.java | 232 + .../inputs/PolicyPasswordDefaultState.java | 111 + .../okta/inputs/PushGroupAppConfigArgs.java | 20 + .../RequestSettingOrganizationState.java | 8 +- .../AppSignonPolicyRuleKeepMeSignedIn.java | 78 + ...uthenticatorMethodWebauthnAaguidGroup.java | 85 + .../AuthenticatorMethodWebauthnRpId.java | 79 + ...AuthenticatorMethodWebauthnRpIdDomain.java | 78 + ...ustomAaguidAttestationRootCertificate.java | 123 + ...tomAaguidAuthenticatorCharacteristics.java | 99 + ...uthenticatorMethodWebauthnAaguidGroup.java | 85 + .../GetAuthenticatorMethodWebauthnResult.java | 369 + .../GetAuthenticatorMethodWebauthnRpId.java | 82 + ...AuthenticatorMethodWebauthnRpIdDomain.java | 81 + ...atorWebauthnCustomAaguidsCustomAaguid.java | 105 + ...tomAaguidAuthenticatorCharacteristics.java | 104 + ...henticatorWebauthnCustomAaguidsResult.java | 92 + ...thorizationServersPoliciesRuleActions.java | 57 + ...zationServersPoliciesRuleActionsToken.java | 128 + ...ersPoliciesRuleActionsTokenInlineHook.java | 58 + ...rizationServersPoliciesRuleConditions.java | 101 + ...rversPoliciesRuleConditionsGrantTypes.java | 62 + ...onServersPoliciesRuleConditionsPeople.java | 79 + ...ersPoliciesRuleConditionsPeopleGroups.java | 62 + ...versPoliciesRuleConditionsPeopleUsers.java | 62 + ...onServersPoliciesRuleConditionsScopes.java | 62 + ...uthorizationServersPoliciesRuleResult.java | 297 + .../okta/outputs/GetIamAssigneesUserItem.java | 73 + .../outputs/GetIamAssigneesUserResult.java | 69 + ...tIdentitySourceGroupMembershipsResult.java | 131 + .../GetIdentitySourceGroupsProfile.java | 81 + .../GetIdentitySourceGroupsResult.java | 120 + .../GetIdentitySourceSessionsResult.java | 188 + .../GetIdentitySourceUsersProfile.java | 140 + .../outputs/GetIdentitySourceUsersResult.java | 126 + .../outputs/IdentitySourceGroupProfile.java | 78 + ...itySourceImportDeleteGroupMemberships.java | 60 + ...mportDeleteGroupMembershipsMembership.java | 82 + .../IdentitySourceImportDeleteGroups.java | 60 + .../IdentitySourceImportDeleteUsers.java | 83 + ...dentitySourceImportDeleteUsersProfile.java | 57 + ...itySourceImportUpsertGroupMemberships.java | 60 + ...mportUpsertGroupMembershipsMembership.java | 82 + .../IdentitySourceImportUpsertGroups.java | 60 + ...entitySourceImportUpsertGroupsProfile.java | 79 + ...ImportUpsertGroupsProfileGroupProfile.java | 78 + .../IdentitySourceImportUpsertUsers.java | 83 + ...dentitySourceImportUpsertUsersProfile.java | 79 + ...SourceImportUpsertUsersProfileProfile.java | 183 + .../outputs/IdentitySourceUserProfile.java | 183 + .../okta/outputs/PushGroupAppConfig.java | 15 + .../java/com/pulumi/okta/policy/Password.java | 42 + .../com/pulumi/okta/policy/PasswordArgs.java | 111 + .../okta/policy/inputs/PasswordState.java | 111 + .../main/java/com/pulumi/okta/user/User.java | 84 + .../pulumi/okta/user/inputs/UserState.java | 222 + .../okta/user/outputs/GetUserResult.java | 90 + .../okta/user/outputs/GetUsersUser.java | 90 + sdk/nodejs/app/getSignOnPolicyRule.ts | 150 + sdk/nodejs/app/index.ts | 5 + sdk/nodejs/app/oauth.ts | 14 + sdk/nodejs/app/signonPolicyRules.ts | 10 + sdk/nodejs/appSignonPolicyRule.ts | 14 + sdk/nodejs/authenticatorMethodWebauthn.ts | 300 + .../authenticatorWebauthnCustomAaguid.ts | 206 + sdk/nodejs/getAuthenticatorMethodWebauthn.ts | 158 + .../getAuthenticatorWebauthnCustomAaguids.ts | 100 + .../getAuthorizationServersPoliciesRule.ts | 148 + sdk/nodejs/getIamAssigneesUser.ts | 72 + .../getIdentitySourceGroupMemberships.ts | 102 + sdk/nodejs/getIdentitySourceGroups.ts | 117 + sdk/nodejs/getIdentitySourceSessions.ts | 83 + sdk/nodejs/getIdentitySourceUsers.ts | 86 + sdk/nodejs/getRequestSettingResource.ts | 18 + sdk/nodejs/identitySourceGroup.ts | 144 + sdk/nodejs/identitySourceGroupMembership.ts | 152 + sdk/nodejs/identitySourceImport.ts | 273 + sdk/nodejs/identitySourceUser.ts | 166 + sdk/nodejs/index.ts | 88 + sdk/nodejs/package.json | 2 +- sdk/nodejs/policy/password.ts | 42 + sdk/nodejs/policyPasswordDefault.ts | 61 +- sdk/nodejs/pushGroup.ts | 1 + sdk/nodejs/requestSettingOrganization.ts | 19 +- sdk/nodejs/requestSettingResource.ts | 2 +- sdk/nodejs/tsconfig.json | 15 + sdk/nodejs/types/input.ts | 1137 +- sdk/nodejs/types/output.ts | 721 +- sdk/nodejs/user/getUser.ts | 6 + sdk/nodejs/user/user.ts | 60 + sdk/python/pulumi_okta/__init__.py | 62 + sdk/python/pulumi_okta/_inputs.py | 5143 +++-- sdk/python/pulumi_okta/app/__init__.py | 1 + sdk/python/pulumi_okta/app/_inputs.py | 1239 +- .../app/get_sign_on_policy_rule.py | 254 + sdk/python/pulumi_okta/app/o_auth.py | 47 + sdk/python/pulumi_okta/app/outputs.py | 784 +- .../pulumi_okta/app/signon_policy_rules.py | 20 + .../pulumi_okta/app_signon_policy_rule.py | 47 + .../authenticator_method_webauthn.py | 810 + .../authenticator_webauthn_custom_aaguid.py | 451 + .../get_authenticator_method_webauthn.py | 308 + ...t_authenticator_webauthn_custom_aaguids.py | 134 + ...get_authorization_servers_policies_rule.py | 272 + .../pulumi_okta/get_iam_assignees_user.py | 106 + .../get_identity_source_group_memberships.py | 150 + .../pulumi_okta/get_identity_source_groups.py | 161 + .../get_identity_source_sessions.py | 169 + .../pulumi_okta/get_identity_source_users.py | 157 + .../get_request_setting_resource.py | 14 + .../pulumi_okta/identity_source_group.py | 299 + .../identity_source_group_membership.py | 320 + .../pulumi_okta/identity_source_import.py | 652 + .../pulumi_okta/identity_source_user.py | 359 + sdk/python/pulumi_okta/outputs.py | 4293 ++-- sdk/python/pulumi_okta/policy/password.py | 141 + .../pulumi_okta/policy_password_default.py | 175 +- sdk/python/pulumi_okta/push_group.py | 2 + .../request_setting_organization.py | 40 +- .../pulumi_okta/request_setting_resource.py | 4 +- sdk/python/pulumi_okta/user/get_user.py | 68 +- sdk/python/pulumi_okta/user/outputs.py | 42 + sdk/python/pulumi_okta/user/user.py | 168 + 535 files changed, 79188 insertions(+), 10925 deletions(-) create mode 100644 sdk/dotnet/App/GetSignOnPolicyRule.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActions.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOn.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditions.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDevice.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceAssurance.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceAssuranceArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsElCondition.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsElConditionArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsNetwork.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsNetworkArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeople.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleGroups.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleGroupsArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleUsers.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleUsersArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatform.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExclude.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformInclude.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsRiskScore.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsRiskScoreArgs.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsUserType.cs create mode 100644 sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsUserTypeArgs.cs create mode 100644 sdk/dotnet/App/Inputs/SignonPolicyRulesRuleKeepMeSignedInArgs.cs create mode 100644 sdk/dotnet/App/Inputs/SignonPolicyRulesRuleKeepMeSignedInGetArgs.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsDeviceAssuranceResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsDeviceResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsElConditionResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsNetworkResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleGroupsResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleUsersResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsRiskScoreResult.cs create mode 100644 sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsUserTypeResult.cs create mode 100644 sdk/dotnet/App/Outputs/SignonPolicyRulesRuleKeepMeSignedIn.cs create mode 100644 sdk/dotnet/AuthenticatorMethodWebauthn.cs create mode 100644 sdk/dotnet/AuthenticatorWebauthnCustomAaguid.cs create mode 100644 sdk/dotnet/GetAuthenticatorMethodWebauthn.cs create mode 100644 sdk/dotnet/GetAuthenticatorWebauthnCustomAaguids.cs create mode 100644 sdk/dotnet/GetAuthorizationServersPoliciesRule.cs create mode 100644 sdk/dotnet/GetIamAssigneesUser.cs create mode 100644 sdk/dotnet/GetIdentitySourceGroupMemberships.cs create mode 100644 sdk/dotnet/GetIdentitySourceGroups.cs create mode 100644 sdk/dotnet/GetIdentitySourceSessions.cs create mode 100644 sdk/dotnet/GetIdentitySourceUsers.cs create mode 100644 sdk/dotnet/IdentitySourceGroup.cs create mode 100644 sdk/dotnet/IdentitySourceGroupMembership.cs create mode 100644 sdk/dotnet/IdentitySourceImport.cs create mode 100644 sdk/dotnet/IdentitySourceUser.cs create mode 100644 sdk/dotnet/Inputs/AppSignonPolicyRuleKeepMeSignedInArgs.cs create mode 100644 sdk/dotnet/Inputs/AppSignonPolicyRuleKeepMeSignedInGetArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorMethodWebauthnAaguidGroupArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorMethodWebauthnAaguidGroupGetArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdDomainArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdDomainGetArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdGetArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateGetArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.cs create mode 100644 sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsGetArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnAaguidGroup.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnAaguidGroupArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpId.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdDomain.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdDomainArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.cs create mode 100644 sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActions.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsToken.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditions.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeople.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsScopes.cs create mode 100644 sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsScopesArgs.cs create mode 100644 sdk/dotnet/Inputs/GetIamAssigneesUserItem.cs create mode 100644 sdk/dotnet/Inputs/GetIamAssigneesUserItemArgs.cs create mode 100644 sdk/dotnet/Inputs/GetIdentitySourceGroupsProfile.cs create mode 100644 sdk/dotnet/Inputs/GetIdentitySourceGroupsProfileArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceGroupProfileArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceGroupProfileGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsMembershipArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsMembershipGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupsArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupsGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersProfileArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersProfileGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsMembershipArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsMembershipGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileProfileArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileProfileGetArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceUserProfileArgs.cs create mode 100644 sdk/dotnet/Inputs/IdentitySourceUserProfileGetArgs.cs create mode 100644 sdk/dotnet/Outputs/AppSignonPolicyRuleKeepMeSignedIn.cs create mode 100644 sdk/dotnet/Outputs/AuthenticatorMethodWebauthnAaguidGroup.cs create mode 100644 sdk/dotnet/Outputs/AuthenticatorMethodWebauthnRpId.cs create mode 100644 sdk/dotnet/Outputs/AuthenticatorMethodWebauthnRpIdDomain.cs create mode 100644 sdk/dotnet/Outputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.cs create mode 100644 sdk/dotnet/Outputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.cs create mode 100644 sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnAaguidGroupResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnRpIdDomainResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnRpIdResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsTokenResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsResult.cs create mode 100644 sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsScopesResult.cs create mode 100644 sdk/dotnet/Outputs/GetIamAssigneesUserItemResult.cs create mode 100644 sdk/dotnet/Outputs/GetIdentitySourceGroupsProfileResult.cs create mode 100644 sdk/dotnet/Outputs/GetIdentitySourceUsersProfileResult.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceGroupProfile.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportDeleteGroupMemberships.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportDeleteGroupMembershipsMembership.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportDeleteGroups.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportDeleteUsers.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportDeleteUsersProfile.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupMemberships.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupMembershipsMembership.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportUpsertGroups.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupsProfile.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupsProfileGroupProfile.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportUpsertUsers.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportUpsertUsersProfile.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceImportUpsertUsersProfileProfile.cs create mode 100644 sdk/dotnet/Outputs/IdentitySourceUserProfile.cs create mode 100644 sdk/go/okta/app/getSignOnPolicyRule.go create mode 100644 sdk/go/okta/authenticatorMethodWebauthn.go create mode 100644 sdk/go/okta/authenticatorWebauthnCustomAaguid.go create mode 100644 sdk/go/okta/getAuthenticatorMethodWebauthn.go create mode 100644 sdk/go/okta/getAuthenticatorWebauthnCustomAaguids.go create mode 100644 sdk/go/okta/getAuthorizationServersPoliciesRule.go create mode 100644 sdk/go/okta/getIamAssigneesUser.go create mode 100644 sdk/go/okta/getIdentitySourceGroupMemberships.go create mode 100644 sdk/go/okta/getIdentitySourceGroups.go create mode 100644 sdk/go/okta/getIdentitySourceSessions.go create mode 100644 sdk/go/okta/getIdentitySourceUsers.go create mode 100644 sdk/go/okta/identitySourceGroup.go create mode 100644 sdk/go/okta/identitySourceGroupMembership.go create mode 100644 sdk/go/okta/identitySourceImport.go create mode 100644 sdk/go/okta/identitySourceUser.go create mode 100644 sdk/java/src/main/java/com/pulumi/okta/AuthenticatorMethodWebauthn.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/AuthenticatorMethodWebauthnArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/AuthenticatorWebauthnCustomAaguid.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/AuthenticatorWebauthnCustomAaguidArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroup.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupMembership.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupMembershipArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/IdentitySourceImport.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/IdentitySourceImportArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/IdentitySourceUser.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/IdentitySourceUserArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActions.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOn.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditions.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDevice.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceAssurance.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceAssuranceArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsElCondition.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsElConditionArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsNetwork.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsNetworkArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeople.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleGroups.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleGroupsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleUsers.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleUsersArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatform.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExclude.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformInclude.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsRiskScore.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsRiskScoreArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsUserType.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsUserTypeArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRulePlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/inputs/SignonPolicyRulesRuleKeepMeSignedInArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActions.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOn.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditions.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsDevice.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsDeviceAssurance.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsElCondition.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsNetwork.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeople.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeopleGroups.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeopleUsers.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatform.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExclude.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformInclude.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsRiskScore.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsUserType.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/app/outputs/SignonPolicyRulesRuleKeepMeSignedIn.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/AppSignonPolicyRuleKeepMeSignedInArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnAaguidGroupArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnRpIdArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnRpIdDomainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnState.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidState.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnAaguidGroup.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnAaguidGroupArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpId.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdDomain.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdDomainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActions.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsToken.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditions.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeople.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsScopes.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsScopesArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRulePlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserItem.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserItemArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupMembershipsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupMembershipsPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsProfile.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsProfileArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceSessionsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceSessionsPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceUsersArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceUsersPlainArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupMembershipState.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupProfileArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupState.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupMembershipsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupMembershipsMembershipArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteUsersArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteUsersProfileArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportState.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupMembershipsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupMembershipsMembershipArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsProfileArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersProfileArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersProfileProfileArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceUserProfileArgs.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceUserState.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/AppSignonPolicyRuleKeepMeSignedIn.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnAaguidGroup.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnRpId.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnRpIdDomain.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnAaguidGroup.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnRpId.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnRpIdDomain.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActions.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActionsToken.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditions.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeople.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsScopes.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetIamAssigneesUserItem.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetIamAssigneesUserResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupMembershipsResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupsProfile.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupsResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceSessionsResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceUsersProfile.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceUsersResult.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceGroupProfile.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroupMemberships.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroupMembershipsMembership.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroups.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteUsers.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteUsersProfile.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupMemberships.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupMembershipsMembership.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroups.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupsProfile.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupsProfileGroupProfile.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsers.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsersProfile.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsersProfileProfile.java create mode 100644 sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceUserProfile.java create mode 100644 sdk/nodejs/app/getSignOnPolicyRule.ts create mode 100644 sdk/nodejs/authenticatorMethodWebauthn.ts create mode 100644 sdk/nodejs/authenticatorWebauthnCustomAaguid.ts create mode 100644 sdk/nodejs/getAuthenticatorMethodWebauthn.ts create mode 100644 sdk/nodejs/getAuthenticatorWebauthnCustomAaguids.ts create mode 100644 sdk/nodejs/getAuthorizationServersPoliciesRule.ts create mode 100644 sdk/nodejs/getIamAssigneesUser.ts create mode 100644 sdk/nodejs/getIdentitySourceGroupMemberships.ts create mode 100644 sdk/nodejs/getIdentitySourceGroups.ts create mode 100644 sdk/nodejs/getIdentitySourceSessions.ts create mode 100644 sdk/nodejs/getIdentitySourceUsers.ts create mode 100644 sdk/nodejs/identitySourceGroup.ts create mode 100644 sdk/nodejs/identitySourceGroupMembership.ts create mode 100644 sdk/nodejs/identitySourceImport.ts create mode 100644 sdk/nodejs/identitySourceUser.ts create mode 100644 sdk/python/pulumi_okta/app/get_sign_on_policy_rule.py create mode 100644 sdk/python/pulumi_okta/authenticator_method_webauthn.py create mode 100644 sdk/python/pulumi_okta/authenticator_webauthn_custom_aaguid.py create mode 100644 sdk/python/pulumi_okta/get_authenticator_method_webauthn.py create mode 100644 sdk/python/pulumi_okta/get_authenticator_webauthn_custom_aaguids.py create mode 100644 sdk/python/pulumi_okta/get_authorization_servers_policies_rule.py create mode 100644 sdk/python/pulumi_okta/get_iam_assignees_user.py create mode 100644 sdk/python/pulumi_okta/get_identity_source_group_memberships.py create mode 100644 sdk/python/pulumi_okta/get_identity_source_groups.py create mode 100644 sdk/python/pulumi_okta/get_identity_source_sessions.py create mode 100644 sdk/python/pulumi_okta/get_identity_source_users.py create mode 100644 sdk/python/pulumi_okta/identity_source_group.py create mode 100644 sdk/python/pulumi_okta/identity_source_group_membership.py create mode 100644 sdk/python/pulumi_okta/identity_source_import.py create mode 100644 sdk/python/pulumi_okta/identity_source_user.py diff --git a/sdk/dotnet/App/GetSignOnPolicyRule.cs b/sdk/dotnet/App/GetSignOnPolicyRule.cs new file mode 100644 index 000000000..a4bdb8b12 --- /dev/null +++ b/sdk/dotnet/App/GetSignOnPolicyRule.cs @@ -0,0 +1,255 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App +{ + public static class GetSignOnPolicyRule + { + /// + /// Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + /// + /// > **WARNING:** This feature is only available as a part of the + /// Identity Engine. Contact support + /// for further information. + /// + /// > Inside the product a sign-on policy rule is referenced as an _authentication + /// policy rule_, in the public API the parent policy is of type + /// [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetAppSignonPolicy.Invoke(new() + /// { + /// AppId = "<app id>", + /// }); + /// + /// var exampleGetSignOnPolicyRule = Okta.App.GetSignOnPolicyRule.Invoke(new() + /// { + /// Id = "<rule id>", + /// PolicyId = example.Apply(getAppSignonPolicyResult => getAppSignonPolicyResult.Id), + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetSignOnPolicyRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", args ?? new GetSignOnPolicyRuleArgs(), options.WithDefaults()); + + /// + /// Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + /// + /// > **WARNING:** This feature is only available as a part of the + /// Identity Engine. Contact support + /// for further information. + /// + /// > Inside the product a sign-on policy rule is referenced as an _authentication + /// policy rule_, in the public API the parent policy is of type + /// [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetAppSignonPolicy.Invoke(new() + /// { + /// AppId = "<app id>", + /// }); + /// + /// var exampleGetSignOnPolicyRule = Okta.App.GetSignOnPolicyRule.Invoke(new() + /// { + /// Id = "<rule id>", + /// PolicyId = example.Apply(getAppSignonPolicyResult => getAppSignonPolicyResult.Id), + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSignOnPolicyRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", args ?? new GetSignOnPolicyRuleInvokeArgs(), options.WithDefaults()); + + /// + /// Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + /// + /// > **WARNING:** This feature is only available as a part of the + /// Identity Engine. Contact support + /// for further information. + /// + /// > Inside the product a sign-on policy rule is referenced as an _authentication + /// policy rule_, in the public API the parent policy is of type + /// [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetAppSignonPolicy.Invoke(new() + /// { + /// AppId = "<app id>", + /// }); + /// + /// var exampleGetSignOnPolicyRule = Okta.App.GetSignOnPolicyRule.Invoke(new() + /// { + /// Id = "<rule id>", + /// PolicyId = example.Apply(getAppSignonPolicyResult => getAppSignonPolicyResult.Id), + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetSignOnPolicyRuleInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", args ?? new GetSignOnPolicyRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetSignOnPolicyRuleArgs : global::Pulumi.InvokeArgs + { + [Input("actions")] + public Inputs.GetSignOnPolicyRuleActionsArgs? Actions { get; set; } + + [Input("conditions")] + public Inputs.GetSignOnPolicyRuleConditionsArgs? Conditions { get; set; } + + /// + /// Unique identifier of the access policy rule. + /// + [Input("id", required: true)] + public string Id { get; set; } = null!; + + /// + /// `Id` of the policy + /// + [Input("policyId", required: true)] + public string PolicyId { get; set; } = null!; + + public GetSignOnPolicyRuleArgs() + { + } + public static new GetSignOnPolicyRuleArgs Empty => new GetSignOnPolicyRuleArgs(); + } + + public sealed class GetSignOnPolicyRuleInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("actions")] + public Input? Actions { get; set; } + + [Input("conditions")] + public Input? Conditions { get; set; } + + /// + /// Unique identifier of the access policy rule. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// `Id` of the policy + /// + [Input("policyId", required: true)] + public Input PolicyId { get; set; } = null!; + + public GetSignOnPolicyRuleInvokeArgs() + { + } + public static new GetSignOnPolicyRuleInvokeArgs Empty => new GetSignOnPolicyRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetSignOnPolicyRuleResult + { + public readonly Outputs.GetSignOnPolicyRuleActionsResult? Actions; + public readonly Outputs.GetSignOnPolicyRuleConditionsResult? Conditions; + /// + /// Timestamp when the rule was created + /// + public readonly string Created; + /// + /// Unique identifier of the access policy rule. + /// + public readonly string Id; + /// + /// Timestamp when the rule was last modified + /// + public readonly string LastUpdated; + /// + /// Name of the rule + /// + public readonly string Name; + /// + /// `Id` of the policy + /// + public readonly string PolicyId; + /// + /// Priority of the rule + /// + public readonly int Priority; + /// + /// Whether or not the rule is active. + /// + public readonly string Status; + /// + /// Specifies whether Okta created the policy rule (`system=true`). + /// + public readonly bool System; + + [OutputConstructor] + private GetSignOnPolicyRuleResult( + Outputs.GetSignOnPolicyRuleActionsResult? actions, + + Outputs.GetSignOnPolicyRuleConditionsResult? conditions, + + string created, + + string id, + + string lastUpdated, + + string name, + + string policyId, + + int priority, + + string status, + + bool system) + { + Actions = actions; + Conditions = conditions; + Created = created; + Id = id; + LastUpdated = lastUpdated; + Name = name; + PolicyId = policyId; + Priority = priority; + Status = status; + System = system; + } + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActions.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActions.cs new file mode 100644 index 000000000..5735b49d6 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActions.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleActionsArgs : global::Pulumi.InvokeArgs + { + /// + /// Specifies the results when a user attempts to sign in + /// + [Input("appSignOn")] + public Inputs.GetSignOnPolicyRuleActionsAppSignOnArgs? AppSignOn { get; set; } + + public GetSignOnPolicyRuleActionsArgs() + { + } + public static new GetSignOnPolicyRuleActionsArgs Empty => new GetSignOnPolicyRuleActionsArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOn.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOn.cs new file mode 100644 index 000000000..2b0f7732f --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOn.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleActionsAppSignOnArgs : global::Pulumi.InvokeArgs + { + /// + /// Access + /// + [Input("access", required: true)] + public string Access { get; set; } = null!; + + /// + /// Controls how often the post-authentication prompt is presented to users + /// + [Input("keepMeSignedIn")] + public Inputs.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs? KeepMeSignedIn { get; set; } + + /// + /// The method used to verify a user + /// + [Input("verificationMethod")] + public Inputs.GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs? VerificationMethod { get; set; } + + public GetSignOnPolicyRuleActionsAppSignOnArgs() + { + } + public static new GetSignOnPolicyRuleActionsAppSignOnArgs Empty => new GetSignOnPolicyRuleActionsAppSignOnArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnArgs.cs new file mode 100644 index 000000000..df6706277 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleActionsAppSignOnInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Access + /// + [Input("access", required: true)] + public Input Access { get; set; } = null!; + + /// + /// Controls how often the post-authentication prompt is presented to users + /// + [Input("keepMeSignedIn")] + public Input? KeepMeSignedIn { get; set; } + + /// + /// The method used to verify a user + /// + [Input("verificationMethod")] + public Input? VerificationMethod { get; set; } + + public GetSignOnPolicyRuleActionsAppSignOnInputArgs() + { + } + public static new GetSignOnPolicyRuleActionsAppSignOnInputArgs Empty => new GetSignOnPolicyRuleActionsAppSignOnInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.cs new file mode 100644 index 000000000..3ddeeb5d9 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs : global::Pulumi.InvokeArgs + { + /// + /// Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + /// + [Input("postAuth", required: true)] + public string PostAuth { get; set; } = null!; + + /// + /// A time duration specified as an ISO 8601 duration + /// + [Input("postAuthPromptFrequency", required: true)] + public string PostAuthPromptFrequency { get; set; } = null!; + + public GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs() + { + } + public static new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs Empty => new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs.cs new file mode 100644 index 000000000..6e1fa0db7 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + /// + [Input("postAuth", required: true)] + public Input PostAuth { get; set; } = null!; + + /// + /// A time duration specified as an ISO 8601 duration + /// + [Input("postAuthPromptFrequency", required: true)] + public Input PostAuthPromptFrequency { get; set; } = null!; + + public GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInInputArgs() + { + } + public static new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInInputArgs Empty => new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.cs new file mode 100644 index 000000000..f2379a0fd --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs : global::Pulumi.InvokeArgs + { + /// + /// Verification method type + /// + [Input("type", required: true)] + public string Type { get; set; } = null!; + + public GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs() + { + } + public static new GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs Empty => new GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs.cs new file mode 100644 index 000000000..51f964a05 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleActionsAppSignOnVerificationMethodInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Verification method type + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public GetSignOnPolicyRuleActionsAppSignOnVerificationMethodInputArgs() + { + } + public static new GetSignOnPolicyRuleActionsAppSignOnVerificationMethodInputArgs Empty => new GetSignOnPolicyRuleActionsAppSignOnVerificationMethodInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsArgs.cs new file mode 100644 index 000000000..7e094a611 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleActionsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleActionsInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the results when a user attempts to sign in + /// + [Input("appSignOn")] + public Input? AppSignOn { get; set; } + + public GetSignOnPolicyRuleActionsInputArgs() + { + } + public static new GetSignOnPolicyRuleActionsInputArgs Empty => new GetSignOnPolicyRuleActionsInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditions.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditions.cs new file mode 100644 index 000000000..ca457dad7 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditions.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsArgs : global::Pulumi.InvokeArgs + { + /// + /// Specifies the device condition to match on + /// + [Input("device")] + public Inputs.GetSignOnPolicyRuleConditionsDeviceArgs? Device { get; set; } + + /// + /// Specifies Okta Expression Language expressions + /// + [Input("elCondition")] + public Inputs.GetSignOnPolicyRuleConditionsElConditionArgs? ElCondition { get; set; } + + /// + /// Specifies a network selection mode and a set of network zones to be included or excluded. + /// + [Input("network")] + public Inputs.GetSignOnPolicyRuleConditionsNetworkArgs? Network { get; set; } + + /// + /// Specifies the users and groups that are included or excluded by the policy rule + /// + [Input("people")] + public Inputs.GetSignOnPolicyRuleConditionsPeopleArgs? People { get; set; } + + /// + /// Specifies a particular platform or device to match on + /// + [Input("platform")] + public Inputs.GetSignOnPolicyRuleConditionsPlatformArgs? Platform { get; set; } + + /// + /// Specifies a particular level of risk to match on + /// + [Input("riskScore")] + public Inputs.GetSignOnPolicyRuleConditionsRiskScoreArgs? RiskScore { get; set; } + + /// + /// Specifies which user types to include and/or exclude + /// + [Input("userType")] + public Inputs.GetSignOnPolicyRuleConditionsUserTypeArgs? UserType { get; set; } + + public GetSignOnPolicyRuleConditionsArgs() + { + } + public static new GetSignOnPolicyRuleConditionsArgs Empty => new GetSignOnPolicyRuleConditionsArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsArgs.cs new file mode 100644 index 000000000..1cf7cd4a9 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsArgs.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies the device condition to match on + /// + [Input("device")] + public Input? Device { get; set; } + + /// + /// Specifies Okta Expression Language expressions + /// + [Input("elCondition")] + public Input? ElCondition { get; set; } + + /// + /// Specifies a network selection mode and a set of network zones to be included or excluded. + /// + [Input("network")] + public Input? Network { get; set; } + + /// + /// Specifies the users and groups that are included or excluded by the policy rule + /// + [Input("people")] + public Input? People { get; set; } + + /// + /// Specifies a particular platform or device to match on + /// + [Input("platform")] + public Input? Platform { get; set; } + + /// + /// Specifies a particular level of risk to match on + /// + [Input("riskScore")] + public Input? RiskScore { get; set; } + + /// + /// Specifies which user types to include and/or exclude + /// + [Input("userType")] + public Input? UserType { get; set; } + + public GetSignOnPolicyRuleConditionsInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsInputArgs Empty => new GetSignOnPolicyRuleConditionsInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDevice.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDevice.cs new file mode 100644 index 000000000..722189eca --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDevice.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsDeviceArgs : global::Pulumi.InvokeArgs + { + /// + /// Specifies device assurance policies in the policy rule. + /// + [Input("assurance")] + public Inputs.GetSignOnPolicyRuleConditionsDeviceAssuranceArgs? Assurance { get; set; } + + /// + /// Indicates if the device is managed. + /// + [Input("managed", required: true)] + public bool Managed { get; set; } + + /// + /// Indicates if the device is registered. + /// + [Input("registered", required: true)] + public bool Registered { get; set; } + + public GetSignOnPolicyRuleConditionsDeviceArgs() + { + } + public static new GetSignOnPolicyRuleConditionsDeviceArgs Empty => new GetSignOnPolicyRuleConditionsDeviceArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceArgs.cs new file mode 100644 index 000000000..72280afdf --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsDeviceInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies device assurance policies in the policy rule. + /// + [Input("assurance")] + public Input? Assurance { get; set; } + + /// + /// Indicates if the device is managed. + /// + [Input("managed", required: true)] + public Input Managed { get; set; } = null!; + + /// + /// Indicates if the device is registered. + /// + [Input("registered", required: true)] + public Input Registered { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsDeviceInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsDeviceInputArgs Empty => new GetSignOnPolicyRuleConditionsDeviceInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceAssurance.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceAssurance.cs new file mode 100644 index 000000000..73fc4a445 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceAssurance.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsDeviceAssuranceArgs : global::Pulumi.InvokeArgs + { + [Input("includes", required: true)] + private List? _includes; + + /// + /// Specifies the device assurance policy ID + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsDeviceAssuranceArgs() + { + } + public static new GetSignOnPolicyRuleConditionsDeviceAssuranceArgs Empty => new GetSignOnPolicyRuleConditionsDeviceAssuranceArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceAssuranceArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceAssuranceArgs.cs new file mode 100644 index 000000000..5c6b5596e --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsDeviceAssuranceArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsDeviceAssuranceInputArgs : global::Pulumi.ResourceArgs + { + [Input("includes", required: true)] + private InputList? _includes; + + /// + /// Specifies the device assurance policy ID + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsDeviceAssuranceInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsDeviceAssuranceInputArgs Empty => new GetSignOnPolicyRuleConditionsDeviceAssuranceInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsElCondition.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsElCondition.cs new file mode 100644 index 000000000..900c05ec1 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsElCondition.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsElConditionArgs : global::Pulumi.InvokeArgs + { + /// + /// expression to match + /// + [Input("condition", required: true)] + public string Condition { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsElConditionArgs() + { + } + public static new GetSignOnPolicyRuleConditionsElConditionArgs Empty => new GetSignOnPolicyRuleConditionsElConditionArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsElConditionArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsElConditionArgs.cs new file mode 100644 index 000000000..b3259c50c --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsElConditionArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsElConditionInputArgs : global::Pulumi.ResourceArgs + { + /// + /// expression to match + /// + [Input("condition", required: true)] + public Input Condition { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsElConditionInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsElConditionInputArgs Empty => new GetSignOnPolicyRuleConditionsElConditionInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsNetwork.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsNetwork.cs new file mode 100644 index 000000000..54721af63 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsNetwork.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsNetworkArgs : global::Pulumi.InvokeArgs + { + /// + /// Network selection mode + /// + [Input("connection", required: true)] + public string Connection { get; set; } = null!; + + [Input("excludes", required: true)] + private List? _excludes; + + /// + /// The zones to exclude. + /// + public List Excludes + { + get => _excludes ?? (_excludes = new List()); + set => _excludes = value; + } + + [Input("includes", required: true)] + private List? _includes; + + /// + /// The zones to include. + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsNetworkArgs() + { + } + public static new GetSignOnPolicyRuleConditionsNetworkArgs Empty => new GetSignOnPolicyRuleConditionsNetworkArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsNetworkArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsNetworkArgs.cs new file mode 100644 index 000000000..7d80fc625 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsNetworkArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsNetworkInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Network selection mode + /// + [Input("connection", required: true)] + public Input Connection { get; set; } = null!; + + [Input("excludes", required: true)] + private InputList? _excludes; + + /// + /// The zones to exclude. + /// + public InputList Excludes + { + get => _excludes ?? (_excludes = new InputList()); + set => _excludes = value; + } + + [Input("includes", required: true)] + private InputList? _includes; + + /// + /// The zones to include. + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsNetworkInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsNetworkInputArgs Empty => new GetSignOnPolicyRuleConditionsNetworkInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeople.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeople.cs new file mode 100644 index 000000000..033c1463d --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeople.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPeopleArgs : global::Pulumi.InvokeArgs + { + /// + /// Specifies a set of groups whose users are to be included or excluded + /// + [Input("groups")] + public Inputs.GetSignOnPolicyRuleConditionsPeopleGroupsArgs? Groups { get; set; } + + /// + /// Specifies a set of users to be included or excluded + /// + [Input("users")] + public Inputs.GetSignOnPolicyRuleConditionsPeopleUsersArgs? Users { get; set; } + + public GetSignOnPolicyRuleConditionsPeopleArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPeopleArgs Empty => new GetSignOnPolicyRuleConditionsPeopleArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleArgs.cs new file mode 100644 index 000000000..3d36f1f09 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPeopleInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies a set of groups whose users are to be included or excluded + /// + [Input("groups")] + public Input? Groups { get; set; } + + /// + /// Specifies a set of users to be included or excluded + /// + [Input("users")] + public Input? Users { get; set; } + + public GetSignOnPolicyRuleConditionsPeopleInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPeopleInputArgs Empty => new GetSignOnPolicyRuleConditionsPeopleInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleGroups.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleGroups.cs new file mode 100644 index 000000000..b34f0b0dc --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleGroups.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPeopleGroupsArgs : global::Pulumi.InvokeArgs + { + [Input("excludes", required: true)] + private List? _excludes; + + /// + /// Groups to be excluded + /// + public List Excludes + { + get => _excludes ?? (_excludes = new List()); + set => _excludes = value; + } + + [Input("includes", required: true)] + private List? _includes; + + /// + /// Groups to be included + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsPeopleGroupsArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPeopleGroupsArgs Empty => new GetSignOnPolicyRuleConditionsPeopleGroupsArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleGroupsArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleGroupsArgs.cs new file mode 100644 index 000000000..5be0233b8 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleGroupsArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPeopleGroupsInputArgs : global::Pulumi.ResourceArgs + { + [Input("excludes", required: true)] + private InputList? _excludes; + + /// + /// Groups to be excluded + /// + public InputList Excludes + { + get => _excludes ?? (_excludes = new InputList()); + set => _excludes = value; + } + + [Input("includes", required: true)] + private InputList? _includes; + + /// + /// Groups to be included + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsPeopleGroupsInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPeopleGroupsInputArgs Empty => new GetSignOnPolicyRuleConditionsPeopleGroupsInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleUsers.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleUsers.cs new file mode 100644 index 000000000..6c28498f4 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleUsers.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPeopleUsersArgs : global::Pulumi.InvokeArgs + { + [Input("excludes", required: true)] + private List? _excludes; + + /// + /// Users to be excluded + /// + public List Excludes + { + get => _excludes ?? (_excludes = new List()); + set => _excludes = value; + } + + [Input("includes", required: true)] + private List? _includes; + + /// + /// Users to be included + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsPeopleUsersArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPeopleUsersArgs Empty => new GetSignOnPolicyRuleConditionsPeopleUsersArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleUsersArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleUsersArgs.cs new file mode 100644 index 000000000..d6f1759bd --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPeopleUsersArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPeopleUsersInputArgs : global::Pulumi.ResourceArgs + { + [Input("excludes", required: true)] + private InputList? _excludes; + + /// + /// Users to be excluded + /// + public InputList Excludes + { + get => _excludes ?? (_excludes = new InputList()); + set => _excludes = value; + } + + [Input("includes", required: true)] + private InputList? _includes; + + /// + /// Users to be included + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsPeopleUsersInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPeopleUsersInputArgs Empty => new GetSignOnPolicyRuleConditionsPeopleUsersInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatform.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatform.cs new file mode 100644 index 000000000..0a0c34d66 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatform.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformArgs : global::Pulumi.InvokeArgs + { + [Input("excludes")] + private List? _excludes; + + /// + /// Exclude + /// + public List Excludes + { + get => _excludes ?? (_excludes = new List()); + set => _excludes = value; + } + + [Input("includes")] + private List? _includes; + + /// + /// Include + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsPlatformArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformArgs Empty => new GetSignOnPolicyRuleConditionsPlatformArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformArgs.cs new file mode 100644 index 000000000..55a6ab349 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformInputArgs : global::Pulumi.ResourceArgs + { + [Input("excludes")] + private InputList? _excludes; + + /// + /// Exclude + /// + public InputList Excludes + { + get => _excludes ?? (_excludes = new InputList()); + set => _excludes = value; + } + + [Input("includes")] + private InputList? _includes; + + /// + /// Include + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsPlatformInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformInputArgs Empty => new GetSignOnPolicyRuleConditionsPlatformInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExclude.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExclude.cs new file mode 100644 index 000000000..1cbd56844 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExclude.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformExcludeArgs : global::Pulumi.InvokeArgs + { + /// + /// Os + /// + [Input("os")] + public Inputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs? Os { get; set; } + + /// + /// The type of platform + /// + [Input("type", required: true)] + public string Type { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsPlatformExcludeArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformExcludeArgs Empty => new GetSignOnPolicyRuleConditionsPlatformExcludeArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeArgs.cs new file mode 100644 index 000000000..d925a7983 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformExcludeInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Os + /// + [Input("os")] + public Input? Os { get; set; } + + /// + /// The type of platform + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsPlatformExcludeInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformExcludeInputArgs Empty => new GetSignOnPolicyRuleConditionsPlatformExcludeInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.cs new file mode 100644 index 000000000..0e4e1aa2f --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs : global::Pulumi.InvokeArgs + { + /// + /// Expression + /// + [Input("expression", required: true)] + public string Expression { get; set; } = null!; + + /// + /// The type of operating system + /// + [Input("type", required: true)] + public string Type { get; set; } = null!; + + /// + /// Version + /// + [Input("version")] + public Inputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs? Version { get; set; } + + public GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs Empty => new GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs.cs new file mode 100644 index 000000000..60463dabb --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformExcludeOsInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Expression + /// + [Input("expression", required: true)] + public Input Expression { get; set; } = null!; + + /// + /// The type of operating system + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Version + /// + [Input("version")] + public Input? Version { get; set; } + + public GetSignOnPolicyRuleConditionsPlatformExcludeOsInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformExcludeOsInputArgs Empty => new GetSignOnPolicyRuleConditionsPlatformExcludeOsInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.cs new file mode 100644 index 000000000..420864c67 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs : global::Pulumi.InvokeArgs + { + /// + /// MatchType + /// + [Input("matchType", required: true)] + public string MatchType { get; set; } = null!; + + /// + /// Value + /// + [Input("value", required: true)] + public string Value { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs Empty => new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs.cs new file mode 100644 index 000000000..d21a11d61 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionInputArgs : global::Pulumi.ResourceArgs + { + /// + /// MatchType + /// + [Input("matchType", required: true)] + public Input MatchType { get; set; } = null!; + + /// + /// Value + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionInputArgs Empty => new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformInclude.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformInclude.cs new file mode 100644 index 000000000..65bb3a069 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformInclude.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformIncludeArgs : global::Pulumi.InvokeArgs + { + /// + /// Os + /// + [Input("os")] + public Inputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs? Os { get; set; } + + /// + /// The type of platform + /// + [Input("type", required: true)] + public string Type { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsPlatformIncludeArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformIncludeArgs Empty => new GetSignOnPolicyRuleConditionsPlatformIncludeArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeArgs.cs new file mode 100644 index 000000000..498672548 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformIncludeInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Os + /// + [Input("os")] + public Input? Os { get; set; } + + /// + /// The type of platform + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsPlatformIncludeInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformIncludeInputArgs Empty => new GetSignOnPolicyRuleConditionsPlatformIncludeInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.cs new file mode 100644 index 000000000..02e4e9c4c --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs : global::Pulumi.InvokeArgs + { + /// + /// Expression + /// + [Input("expression", required: true)] + public string Expression { get; set; } = null!; + + /// + /// The type of operating system + /// + [Input("type", required: true)] + public string Type { get; set; } = null!; + + /// + /// Version + /// + [Input("version")] + public Inputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs? Version { get; set; } + + public GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs Empty => new GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs.cs new file mode 100644 index 000000000..bd5f8256e --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformIncludeOsInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Expression + /// + [Input("expression", required: true)] + public Input Expression { get; set; } = null!; + + /// + /// The type of operating system + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + /// + /// Version + /// + [Input("version")] + public Input? Version { get; set; } + + public GetSignOnPolicyRuleConditionsPlatformIncludeOsInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformIncludeOsInputArgs Empty => new GetSignOnPolicyRuleConditionsPlatformIncludeOsInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.cs new file mode 100644 index 000000000..788e9606c --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs : global::Pulumi.InvokeArgs + { + /// + /// MatchType + /// + [Input("matchType", required: true)] + public string MatchType { get; set; } = null!; + + /// + /// Value + /// + [Input("value", required: true)] + public string Value { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs Empty => new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs.cs new file mode 100644 index 000000000..732fbc6ea --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionInputArgs : global::Pulumi.ResourceArgs + { + /// + /// MatchType + /// + [Input("matchType", required: true)] + public Input MatchType { get; set; } = null!; + + /// + /// Value + /// + [Input("value", required: true)] + public Input Value { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionInputArgs Empty => new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsRiskScore.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsRiskScore.cs new file mode 100644 index 000000000..5e8cff43e --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsRiskScore.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsRiskScoreArgs : global::Pulumi.InvokeArgs + { + /// + /// The level to match + /// + [Input("level", required: true)] + public string Level { get; set; } = null!; + + /// + /// The minimum risk level to match. + /// + [Input("minRiskLevel", required: true)] + public string MinRiskLevel { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsRiskScoreArgs() + { + } + public static new GetSignOnPolicyRuleConditionsRiskScoreArgs Empty => new GetSignOnPolicyRuleConditionsRiskScoreArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsRiskScoreArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsRiskScoreArgs.cs new file mode 100644 index 000000000..75f5a7cc4 --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsRiskScoreArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsRiskScoreInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The level to match + /// + [Input("level", required: true)] + public Input Level { get; set; } = null!; + + /// + /// The minimum risk level to match. + /// + [Input("minRiskLevel", required: true)] + public Input MinRiskLevel { get; set; } = null!; + + public GetSignOnPolicyRuleConditionsRiskScoreInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsRiskScoreInputArgs Empty => new GetSignOnPolicyRuleConditionsRiskScoreInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsUserType.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsUserType.cs new file mode 100644 index 000000000..0fbd139cc --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsUserType.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsUserTypeArgs : global::Pulumi.InvokeArgs + { + [Input("excludes", required: true)] + private List? _excludes; + + /// + /// The user types to exclude + /// + public List Excludes + { + get => _excludes ?? (_excludes = new List()); + set => _excludes = value; + } + + [Input("includes", required: true)] + private List? _includes; + + /// + /// The user types to include + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsUserTypeArgs() + { + } + public static new GetSignOnPolicyRuleConditionsUserTypeArgs Empty => new GetSignOnPolicyRuleConditionsUserTypeArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsUserTypeArgs.cs b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsUserTypeArgs.cs new file mode 100644 index 000000000..5f0c97dfe --- /dev/null +++ b/sdk/dotnet/App/Inputs/GetSignOnPolicyRuleConditionsUserTypeArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class GetSignOnPolicyRuleConditionsUserTypeInputArgs : global::Pulumi.ResourceArgs + { + [Input("excludes", required: true)] + private InputList? _excludes; + + /// + /// The user types to exclude + /// + public InputList Excludes + { + get => _excludes ?? (_excludes = new InputList()); + set => _excludes = value; + } + + [Input("includes", required: true)] + private InputList? _includes; + + /// + /// The user types to include + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetSignOnPolicyRuleConditionsUserTypeInputArgs() + { + } + public static new GetSignOnPolicyRuleConditionsUserTypeInputArgs Empty => new GetSignOnPolicyRuleConditionsUserTypeInputArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleArgs.cs b/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleArgs.cs index 1f1ebce7e..78de1604d 100644 --- a/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleArgs.cs +++ b/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleArgs.cs @@ -114,6 +114,12 @@ public InputList GroupsIncludeds [Input("inactivityPeriod")] public Input? InactivityPeriod { get; set; } + /// + /// Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + /// + [Input("keepMeSignedIn")] + public Input? KeepMeSignedIn { get; set; } + /// /// Policy Rule Name. Must be unique within the policy. /// @@ -175,7 +181,7 @@ public InputList PlatformInclud public Input? ReAuthenticationFrequency { get; set; } /// - /// Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + /// Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. /// [Input("riskScore")] public Input? RiskScore { get; set; } diff --git a/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleGetArgs.cs b/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleGetArgs.cs index e295e2745..f13361c3f 100644 --- a/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleGetArgs.cs +++ b/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleGetArgs.cs @@ -114,6 +114,12 @@ public InputList GroupsIncludeds [Input("inactivityPeriod")] public Input? InactivityPeriod { get; set; } + /// + /// Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + /// + [Input("keepMeSignedIn")] + public Input? KeepMeSignedIn { get; set; } + /// /// Policy Rule Name. Must be unique within the policy. /// @@ -175,7 +181,7 @@ public InputList PlatformInc public Input? ReAuthenticationFrequency { get; set; } /// - /// Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + /// Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. /// [Input("riskScore")] public Input? RiskScore { get; set; } diff --git a/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleKeepMeSignedInArgs.cs b/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleKeepMeSignedInArgs.cs new file mode 100644 index 000000000..4b0acd34a --- /dev/null +++ b/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleKeepMeSignedInArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class SignonPolicyRulesRuleKeepMeSignedInArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + /// + [Input("postAuth")] + public Input? PostAuth { get; set; } + + /// + /// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + /// + [Input("postAuthPromptFrequency")] + public Input? PostAuthPromptFrequency { get; set; } + + public SignonPolicyRulesRuleKeepMeSignedInArgs() + { + } + public static new SignonPolicyRulesRuleKeepMeSignedInArgs Empty => new SignonPolicyRulesRuleKeepMeSignedInArgs(); + } +} diff --git a/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleKeepMeSignedInGetArgs.cs b/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleKeepMeSignedInGetArgs.cs new file mode 100644 index 000000000..db54af6eb --- /dev/null +++ b/sdk/dotnet/App/Inputs/SignonPolicyRulesRuleKeepMeSignedInGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Inputs +{ + + public sealed class SignonPolicyRulesRuleKeepMeSignedInGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + /// + [Input("postAuth")] + public Input? PostAuth { get; set; } + + /// + /// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + /// + [Input("postAuthPromptFrequency")] + public Input? PostAuthPromptFrequency { get; set; } + + public SignonPolicyRulesRuleKeepMeSignedInGetArgs() + { + } + public static new SignonPolicyRulesRuleKeepMeSignedInGetArgs Empty => new SignonPolicyRulesRuleKeepMeSignedInGetArgs(); + } +} diff --git a/sdk/dotnet/App/OAuth.cs b/sdk/dotnet/App/OAuth.cs index ad68046b5..90eb98cb6 100644 --- a/sdk/dotnet/App/OAuth.cs +++ b/sdk/dotnet/App/OAuth.cs @@ -176,6 +176,12 @@ public partial class OAuth : global::Pulumi.CustomResource [Output("autoSubmitToolbar")] public Output AutoSubmitToolbar { get; private set; } = null!; + /// + /// The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + /// + [Output("backchannelCustomAuthenticatorId")] + public Output BackchannelCustomAuthenticatorId { get; private set; } = null!; + /// /// The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `ClientBasicSecretWo` instead to avoid persisting secrets in state. Either `ClientBasicSecret` or `ClientBasicSecretWo` can be specified, but not both. /// @@ -581,6 +587,12 @@ public sealed class OAuthArgs : global::Pulumi.ResourceArgs [Input("autoSubmitToolbar")] public Input? AutoSubmitToolbar { get; set; } + /// + /// The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + /// + [Input("backchannelCustomAuthenticatorId")] + public Input? BackchannelCustomAuthenticatorId { get; set; } + [Input("clientBasicSecret")] private Input? _clientBasicSecret; @@ -974,6 +986,12 @@ public sealed class OAuthState : global::Pulumi.ResourceArgs [Input("autoSubmitToolbar")] public Input? AutoSubmitToolbar { get; set; } + /// + /// The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + /// + [Input("backchannelCustomAuthenticatorId")] + public Input? BackchannelCustomAuthenticatorId { get; set; } + [Input("clientBasicSecret")] private Input? _clientBasicSecret; diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult.cs new file mode 100644 index 000000000..52f110a94 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult + { + /// + /// Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + /// + public readonly string PostAuth; + /// + /// A time duration specified as an ISO 8601 duration + /// + public readonly string PostAuthPromptFrequency; + + [OutputConstructor] + private GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult( + string postAuth, + + string postAuthPromptFrequency) + { + PostAuth = postAuth; + PostAuthPromptFrequency = postAuthPromptFrequency; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnResult.cs new file mode 100644 index 000000000..6a373aa60 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleActionsAppSignOnResult + { + /// + /// Access + /// + public readonly string Access; + /// + /// Controls how often the post-authentication prompt is presented to users + /// + public readonly Outputs.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult? KeepMeSignedIn; + /// + /// The method used to verify a user + /// + public readonly Outputs.GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult? VerificationMethod; + + [OutputConstructor] + private GetSignOnPolicyRuleActionsAppSignOnResult( + string access, + + Outputs.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult? keepMeSignedIn, + + Outputs.GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult? verificationMethod) + { + Access = access; + KeepMeSignedIn = keepMeSignedIn; + VerificationMethod = verificationMethod; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult.cs new file mode 100644 index 000000000..9cee2893b --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult + { + /// + /// Verification method type + /// + public readonly string Type; + + [OutputConstructor] + private GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult(string type) + { + Type = type; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsResult.cs new file mode 100644 index 000000000..f1b7d17e8 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleActionsResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleActionsResult + { + /// + /// Specifies the results when a user attempts to sign in + /// + public readonly Outputs.GetSignOnPolicyRuleActionsAppSignOnResult? AppSignOn; + + [OutputConstructor] + private GetSignOnPolicyRuleActionsResult(Outputs.GetSignOnPolicyRuleActionsAppSignOnResult? appSignOn) + { + AppSignOn = appSignOn; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsDeviceAssuranceResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsDeviceAssuranceResult.cs new file mode 100644 index 000000000..2d67df3b9 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsDeviceAssuranceResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsDeviceAssuranceResult + { + /// + /// Specifies the device assurance policy ID + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsDeviceAssuranceResult(ImmutableArray includes) + { + Includes = includes; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsDeviceResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsDeviceResult.cs new file mode 100644 index 000000000..b47c3d616 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsDeviceResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsDeviceResult + { + /// + /// Specifies device assurance policies in the policy rule. + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsDeviceAssuranceResult? Assurance; + /// + /// Indicates if the device is managed. + /// + public readonly bool Managed; + /// + /// Indicates if the device is registered. + /// + public readonly bool Registered; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsDeviceResult( + Outputs.GetSignOnPolicyRuleConditionsDeviceAssuranceResult? assurance, + + bool managed, + + bool registered) + { + Assurance = assurance; + Managed = managed; + Registered = registered; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsElConditionResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsElConditionResult.cs new file mode 100644 index 000000000..c0e42172f --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsElConditionResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsElConditionResult + { + /// + /// expression to match + /// + public readonly string Condition; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsElConditionResult(string condition) + { + Condition = condition; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsNetworkResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsNetworkResult.cs new file mode 100644 index 000000000..7c59adcfe --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsNetworkResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsNetworkResult + { + /// + /// Network selection mode + /// + public readonly string Connection; + /// + /// The zones to exclude. + /// + public readonly ImmutableArray Excludes; + /// + /// The zones to include. + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsNetworkResult( + string connection, + + ImmutableArray excludes, + + ImmutableArray includes) + { + Connection = connection; + Excludes = excludes; + Includes = includes; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleGroupsResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleGroupsResult.cs new file mode 100644 index 000000000..cce34bb97 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleGroupsResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPeopleGroupsResult + { + /// + /// Groups to be excluded + /// + public readonly ImmutableArray Excludes; + /// + /// Groups to be included + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPeopleGroupsResult( + ImmutableArray excludes, + + ImmutableArray includes) + { + Excludes = excludes; + Includes = includes; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleResult.cs new file mode 100644 index 000000000..1179c1c2f --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPeopleResult + { + /// + /// Specifies a set of groups whose users are to be included or excluded + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsPeopleGroupsResult? Groups; + /// + /// Specifies a set of users to be included or excluded + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsPeopleUsersResult? Users; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPeopleResult( + Outputs.GetSignOnPolicyRuleConditionsPeopleGroupsResult? groups, + + Outputs.GetSignOnPolicyRuleConditionsPeopleUsersResult? users) + { + Groups = groups; + Users = users; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleUsersResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleUsersResult.cs new file mode 100644 index 000000000..4ff9e9f25 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPeopleUsersResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPeopleUsersResult + { + /// + /// Users to be excluded + /// + public readonly ImmutableArray Excludes; + /// + /// Users to be included + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPeopleUsersResult( + ImmutableArray excludes, + + ImmutableArray includes) + { + Excludes = excludes; + Includes = includes; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsResult.cs new file mode 100644 index 000000000..483b64234 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPlatformExcludeOsResult + { + /// + /// Expression + /// + public readonly string Expression; + /// + /// The type of operating system + /// + public readonly string Type; + /// + /// Version + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult? Version; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPlatformExcludeOsResult( + string expression, + + string type, + + Outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult? version) + { + Expression = expression; + Type = type; + Version = version; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult.cs new file mode 100644 index 000000000..575f31eb6 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult + { + /// + /// MatchType + /// + public readonly string MatchType; + /// + /// Value + /// + public readonly string Value; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult( + string matchType, + + string value) + { + MatchType = matchType; + Value = value; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeResult.cs new file mode 100644 index 000000000..9e2554352 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformExcludeResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPlatformExcludeResult + { + /// + /// Os + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsResult? Os; + /// + /// The type of platform + /// + public readonly string Type; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPlatformExcludeResult( + Outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsResult? os, + + string type) + { + Os = os; + Type = type; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsResult.cs new file mode 100644 index 000000000..a5d7816ef --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPlatformIncludeOsResult + { + /// + /// Expression + /// + public readonly string Expression; + /// + /// The type of operating system + /// + public readonly string Type; + /// + /// Version + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult? Version; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPlatformIncludeOsResult( + string expression, + + string type, + + Outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult? version) + { + Expression = expression; + Type = type; + Version = version; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult.cs new file mode 100644 index 000000000..6855868e4 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult + { + /// + /// MatchType + /// + public readonly string MatchType; + /// + /// Value + /// + public readonly string Value; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult( + string matchType, + + string value) + { + MatchType = matchType; + Value = value; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeResult.cs new file mode 100644 index 000000000..465290203 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformIncludeResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPlatformIncludeResult + { + /// + /// Os + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsResult? Os; + /// + /// The type of platform + /// + public readonly string Type; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPlatformIncludeResult( + Outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsResult? os, + + string type) + { + Os = os; + Type = type; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformResult.cs new file mode 100644 index 000000000..8d106b1ee --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsPlatformResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsPlatformResult + { + /// + /// Exclude + /// + public readonly ImmutableArray Excludes; + /// + /// Include + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsPlatformResult( + ImmutableArray excludes, + + ImmutableArray includes) + { + Excludes = excludes; + Includes = includes; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsResult.cs new file mode 100644 index 000000000..f2ccecf64 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsResult.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsResult + { + /// + /// Specifies the device condition to match on + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsDeviceResult? Device; + /// + /// Specifies Okta Expression Language expressions + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsElConditionResult? ElCondition; + /// + /// Specifies a network selection mode and a set of network zones to be included or excluded. + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsNetworkResult? Network; + /// + /// Specifies the users and groups that are included or excluded by the policy rule + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsPeopleResult? People; + /// + /// Specifies a particular platform or device to match on + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsPlatformResult? Platform; + /// + /// Specifies a particular level of risk to match on + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsRiskScoreResult? RiskScore; + /// + /// Specifies which user types to include and/or exclude + /// + public readonly Outputs.GetSignOnPolicyRuleConditionsUserTypeResult? UserType; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsResult( + Outputs.GetSignOnPolicyRuleConditionsDeviceResult? device, + + Outputs.GetSignOnPolicyRuleConditionsElConditionResult? elCondition, + + Outputs.GetSignOnPolicyRuleConditionsNetworkResult? network, + + Outputs.GetSignOnPolicyRuleConditionsPeopleResult? people, + + Outputs.GetSignOnPolicyRuleConditionsPlatformResult? platform, + + Outputs.GetSignOnPolicyRuleConditionsRiskScoreResult? riskScore, + + Outputs.GetSignOnPolicyRuleConditionsUserTypeResult? userType) + { + Device = device; + ElCondition = elCondition; + Network = network; + People = people; + Platform = platform; + RiskScore = riskScore; + UserType = userType; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsRiskScoreResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsRiskScoreResult.cs new file mode 100644 index 000000000..6f20ebdb4 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsRiskScoreResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsRiskScoreResult + { + /// + /// The level to match + /// + public readonly string Level; + /// + /// The minimum risk level to match. + /// + public readonly string MinRiskLevel; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsRiskScoreResult( + string level, + + string minRiskLevel) + { + Level = level; + MinRiskLevel = minRiskLevel; + } + } +} diff --git a/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsUserTypeResult.cs b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsUserTypeResult.cs new file mode 100644 index 000000000..80c019132 --- /dev/null +++ b/sdk/dotnet/App/Outputs/GetSignOnPolicyRuleConditionsUserTypeResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class GetSignOnPolicyRuleConditionsUserTypeResult + { + /// + /// The user types to exclude + /// + public readonly ImmutableArray Excludes; + /// + /// The user types to include + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetSignOnPolicyRuleConditionsUserTypeResult( + ImmutableArray excludes, + + ImmutableArray includes) + { + Excludes = excludes; + Includes = includes; + } + } +} diff --git a/sdk/dotnet/App/Outputs/SignonPolicyRulesRule.cs b/sdk/dotnet/App/Outputs/SignonPolicyRulesRule.cs index 081341aeb..52289a9a4 100644 --- a/sdk/dotnet/App/Outputs/SignonPolicyRulesRule.cs +++ b/sdk/dotnet/App/Outputs/SignonPolicyRulesRule.cs @@ -62,6 +62,10 @@ public sealed class SignonPolicyRulesRule /// public readonly string? InactivityPeriod; /// + /// Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + /// + public readonly Outputs.SignonPolicyRulesRuleKeepMeSignedIn? KeepMeSignedIn; + /// /// Policy Rule Name. Must be unique within the policy. /// public readonly string Name; @@ -90,7 +94,7 @@ public sealed class SignonPolicyRulesRule /// public readonly string? ReAuthenticationFrequency; /// - /// Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + /// Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. /// public readonly string? RiskScore; /// @@ -148,6 +152,8 @@ private SignonPolicyRulesRule( string? inactivityPeriod, + Outputs.SignonPolicyRulesRuleKeepMeSignedIn? keepMeSignedIn, + string name, string? networkConnection, @@ -190,6 +196,7 @@ private SignonPolicyRulesRule( GroupsIncludeds = groupsIncludeds; Id = id; InactivityPeriod = inactivityPeriod; + KeepMeSignedIn = keepMeSignedIn; Name = name; NetworkConnection = networkConnection; NetworkExcludes = networkExcludes; diff --git a/sdk/dotnet/App/Outputs/SignonPolicyRulesRuleKeepMeSignedIn.cs b/sdk/dotnet/App/Outputs/SignonPolicyRulesRuleKeepMeSignedIn.cs new file mode 100644 index 000000000..4e65924bd --- /dev/null +++ b/sdk/dotnet/App/Outputs/SignonPolicyRulesRuleKeepMeSignedIn.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.App.Outputs +{ + + [OutputType] + public sealed class SignonPolicyRulesRuleKeepMeSignedIn + { + /// + /// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + /// + public readonly string? PostAuth; + /// + /// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + /// + public readonly string? PostAuthPromptFrequency; + + [OutputConstructor] + private SignonPolicyRulesRuleKeepMeSignedIn( + string? postAuth, + + string? postAuthPromptFrequency) + { + PostAuth = postAuth; + PostAuthPromptFrequency = postAuthPromptFrequency; + } + } +} diff --git a/sdk/dotnet/App/SignonPolicyRules.cs b/sdk/dotnet/App/SignonPolicyRules.cs index fb7c5ee23..57f4eec91 100644 --- a/sdk/dotnet/App/SignonPolicyRules.cs +++ b/sdk/dotnet/App/SignonPolicyRules.cs @@ -55,6 +55,18 @@ namespace Pulumi.Okta.App /// Access = "DENY", /// Status = "ACTIVE", /// }, + /// new Okta.App.Inputs.SignonPolicyRulesRuleArgs + /// { + /// Name = "KMSI Rule", + /// Priority = 4, + /// Access = "ALLOW", + /// Status = "ACTIVE", + /// KeepMeSignedIn = new Okta.App.Inputs.SignonPolicyRulesRuleKeepMeSignedInArgs + /// { + /// PostAuth = "ALLOWED", + /// PostAuthPromptFrequency = "PT168H", + /// }, + /// }, /// }, /// }); /// diff --git a/sdk/dotnet/AppSignonPolicyRule.cs b/sdk/dotnet/AppSignonPolicyRule.cs index aa57787b8..ce9a23ea6 100644 --- a/sdk/dotnet/AppSignonPolicyRule.cs +++ b/sdk/dotnet/AppSignonPolicyRule.cs @@ -97,6 +97,12 @@ public partial class AppSignonPolicyRule : global::Pulumi.CustomResource [Output("inactivityPeriod")] public Output InactivityPeriod { get; private set; } = null!; + /// + /// Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + /// + [Output("keepMeSignedIn")] + public Output KeepMeSignedIn { get; private set; } = null!; + /// /// Policy Rule Name /// @@ -332,6 +338,12 @@ public InputList GroupsIncludeds [Input("inactivityPeriod")] public Input? InactivityPeriod { get; set; } + /// + /// Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + /// + [Input("keepMeSignedIn")] + public Input? KeepMeSignedIn { get; set; } + /// /// Policy Rule Name /// @@ -564,6 +576,12 @@ public InputList GroupsIncludeds [Input("inactivityPeriod")] public Input? InactivityPeriod { get; set; } + /// + /// Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + /// + [Input("keepMeSignedIn")] + public Input? KeepMeSignedIn { get; set; } + /// /// Policy Rule Name /// diff --git a/sdk/dotnet/AuthenticatorMethodWebauthn.cs b/sdk/dotnet/AuthenticatorMethodWebauthn.cs new file mode 100644 index 000000000..61a68e999 --- /dev/null +++ b/sdk/dotnet/AuthenticatorMethodWebauthn.cs @@ -0,0 +1,384 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + /// + /// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + /// + /// Manages the WebAuthn authenticator method settings, including AAGUID group allowlists, user verification preferences, and passkey configuration. + /// + /// > **Note:** This resource manages the settings of an existing WebAuthn authenticator method. The method itself cannot be created or deleted — it exists as part of the authenticator. On destroy, settings are reset to defaults. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var webauthn = Okta.GetAuthenticator.Invoke(new() + /// { + /// Key = "webauthn", + /// }); + /// + /// var example = new Okta.AuthenticatorMethodWebauthn("example", new() + /// { + /// AuthenticatorId = webauthn.Apply(getAuthenticatorResult => getAuthenticatorResult.Id), + /// UserVerification = "PREFERRED", + /// Attachment = "ANY", + /// AllowSyncablePasskeys = true, + /// AaguidGroups = new[] + /// { + /// new Okta.Inputs.AuthenticatorMethodWebauthnAaguidGroupArgs + /// { + /// Name = "YubiKeys", + /// Aaguids = new[] + /// { + /// "cb69481e-8ff7-4039-93ec-0a2729a154a8", + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// The WebAuthn method can be imported using the authenticator ID: + /// + /// ```sh + /// $ pulumi import okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn example aut1234567890 + /// ``` + /// + [OktaResourceType("okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn")] + public partial class AuthenticatorMethodWebauthn : global::Pulumi.CustomResource + { + /// + /// List of AAGUID group configurations. + /// + [Output("aaguidGroups")] + public Output> AaguidGroups { get; private set; } = null!; + + /// + /// Whether syncable passkeys are allowed. + /// + [Output("allowSyncablePasskeys")] + public Output AllowSyncablePasskeys { get; private set; } = null!; + + /// + /// Method attachment setting. + /// + [Output("attachment")] + public Output Attachment { get; private set; } = null!; + + /// + /// The ID of the WebAuthn authenticator. + /// + [Output("authenticatorId")] + public Output AuthenticatorId { get; private set; } = null!; + + /// + /// Whether certificate-based attestation validation is enabled. + /// + [Output("certBasedAttestationValidation")] + public Output CertBasedAttestationValidation { get; private set; } = null!; + + /// + /// Enables the passkeys autofill UI for WebAuthn discoverable credentials. + /// + [Output("enableAutofillUi")] + public Output EnableAutofillUi { get; private set; } = null!; + + /// + /// Whether the authenticator must be FIPS compliant. + /// + [Output("fipsCompliant")] + public Output FipsCompliant { get; private set; } = null!; + + /// + /// Whether the authenticator must store the private key on hardware. + /// + [Output("hardwareProtected")] + public Output HardwareProtected { get; private set; } = null!; + + /// + /// Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + /// + [Output("residentKeyRequirement")] + public Output ResidentKeyRequirement { get; private set; } = null!; + + /// + /// The Relying Party (RP) ID configuration for WebAuthn. Contains: + /// + [Output("rpId")] + public Output RpId { get; private set; } = null!; + + /// + /// Whether to show the "Sign in with a Passkey" button. + /// + [Output("showSignInWithAPasskeyButton")] + public Output ShowSignInWithAPasskeyButton { get; private set; } = null!; + + /// + /// The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + /// + [Output("status")] + public Output Status { get; private set; } = null!; + + /// + /// User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + /// + [Output("userVerification")] + public Output UserVerification { get; private set; } = null!; + + /// + /// User verification setting for authentication (verification). + /// + [Output("userVerificationForVerify")] + public Output UserVerificationForVerify { get; private set; } = null!; + + + /// + /// Create a AuthenticatorMethodWebauthn resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public AuthenticatorMethodWebauthn(string name, AuthenticatorMethodWebauthnArgs args, CustomResourceOptions? options = null) + : base("okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn", name, args ?? new AuthenticatorMethodWebauthnArgs(), MakeResourceOptions(options, "")) + { + } + + private AuthenticatorMethodWebauthn(string name, Input id, AuthenticatorMethodWebauthnState? state = null, CustomResourceOptions? options = null) + : base("okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing AuthenticatorMethodWebauthn resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static AuthenticatorMethodWebauthn Get(string name, Input id, AuthenticatorMethodWebauthnState? state = null, CustomResourceOptions? options = null) + { + return new AuthenticatorMethodWebauthn(name, id, state, options); + } + } + + public sealed class AuthenticatorMethodWebauthnArgs : global::Pulumi.ResourceArgs + { + [Input("aaguidGroups")] + private InputList? _aaguidGroups; + + /// + /// List of AAGUID group configurations. + /// + public InputList AaguidGroups + { + get => _aaguidGroups ?? (_aaguidGroups = new InputList()); + set => _aaguidGroups = value; + } + + /// + /// Whether syncable passkeys are allowed. + /// + [Input("allowSyncablePasskeys")] + public Input? AllowSyncablePasskeys { get; set; } + + /// + /// Method attachment setting. + /// + [Input("attachment")] + public Input? Attachment { get; set; } + + /// + /// The ID of the WebAuthn authenticator. + /// + [Input("authenticatorId", required: true)] + public Input AuthenticatorId { get; set; } = null!; + + /// + /// Whether certificate-based attestation validation is enabled. + /// + [Input("certBasedAttestationValidation")] + public Input? CertBasedAttestationValidation { get; set; } + + /// + /// Enables the passkeys autofill UI for WebAuthn discoverable credentials. + /// + [Input("enableAutofillUi")] + public Input? EnableAutofillUi { get; set; } + + /// + /// Whether the authenticator must be FIPS compliant. + /// + [Input("fipsCompliant")] + public Input? FipsCompliant { get; set; } + + /// + /// Whether the authenticator must store the private key on hardware. + /// + [Input("hardwareProtected")] + public Input? HardwareProtected { get; set; } + + /// + /// Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + /// + [Input("residentKeyRequirement")] + public Input? ResidentKeyRequirement { get; set; } + + /// + /// The Relying Party (RP) ID configuration for WebAuthn. Contains: + /// + [Input("rpId")] + public Input? RpId { get; set; } + + /// + /// Whether to show the "Sign in with a Passkey" button. + /// + [Input("showSignInWithAPasskeyButton")] + public Input? ShowSignInWithAPasskeyButton { get; set; } + + /// + /// User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + /// + [Input("userVerification")] + public Input? UserVerification { get; set; } + + /// + /// User verification setting for authentication (verification). + /// + [Input("userVerificationForVerify")] + public Input? UserVerificationForVerify { get; set; } + + public AuthenticatorMethodWebauthnArgs() + { + } + public static new AuthenticatorMethodWebauthnArgs Empty => new AuthenticatorMethodWebauthnArgs(); + } + + public sealed class AuthenticatorMethodWebauthnState : global::Pulumi.ResourceArgs + { + [Input("aaguidGroups")] + private InputList? _aaguidGroups; + + /// + /// List of AAGUID group configurations. + /// + public InputList AaguidGroups + { + get => _aaguidGroups ?? (_aaguidGroups = new InputList()); + set => _aaguidGroups = value; + } + + /// + /// Whether syncable passkeys are allowed. + /// + [Input("allowSyncablePasskeys")] + public Input? AllowSyncablePasskeys { get; set; } + + /// + /// Method attachment setting. + /// + [Input("attachment")] + public Input? Attachment { get; set; } + + /// + /// The ID of the WebAuthn authenticator. + /// + [Input("authenticatorId")] + public Input? AuthenticatorId { get; set; } + + /// + /// Whether certificate-based attestation validation is enabled. + /// + [Input("certBasedAttestationValidation")] + public Input? CertBasedAttestationValidation { get; set; } + + /// + /// Enables the passkeys autofill UI for WebAuthn discoverable credentials. + /// + [Input("enableAutofillUi")] + public Input? EnableAutofillUi { get; set; } + + /// + /// Whether the authenticator must be FIPS compliant. + /// + [Input("fipsCompliant")] + public Input? FipsCompliant { get; set; } + + /// + /// Whether the authenticator must store the private key on hardware. + /// + [Input("hardwareProtected")] + public Input? HardwareProtected { get; set; } + + /// + /// Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + /// + [Input("residentKeyRequirement")] + public Input? ResidentKeyRequirement { get; set; } + + /// + /// The Relying Party (RP) ID configuration for WebAuthn. Contains: + /// + [Input("rpId")] + public Input? RpId { get; set; } + + /// + /// Whether to show the "Sign in with a Passkey" button. + /// + [Input("showSignInWithAPasskeyButton")] + public Input? ShowSignInWithAPasskeyButton { get; set; } + + /// + /// The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + /// + [Input("status")] + public Input? Status { get; set; } + + /// + /// User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + /// + [Input("userVerification")] + public Input? UserVerification { get; set; } + + /// + /// User verification setting for authentication (verification). + /// + [Input("userVerificationForVerify")] + public Input? UserVerificationForVerify { get; set; } + + public AuthenticatorMethodWebauthnState() + { + } + public static new AuthenticatorMethodWebauthnState Empty => new AuthenticatorMethodWebauthnState(); + } +} diff --git a/sdk/dotnet/AuthenticatorWebauthnCustomAaguid.cs b/sdk/dotnet/AuthenticatorWebauthnCustomAaguid.cs new file mode 100644 index 000000000..841eef089 --- /dev/null +++ b/sdk/dotnet/AuthenticatorWebauthnCustomAaguid.cs @@ -0,0 +1,261 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + /// + /// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + /// + /// Manages a custom AAGUID (Authenticator Attestation Globally Unique Identifier) for a WebAuthn authenticator. Custom AAGUIDs allow administrators to register specific hardware security key models with the organization. + /// + /// > **NOTE:** AAGUIDs that are registered in the [FIDO Metadata Service (MDS)](https://fidoalliance.org/metadata/) with attestation certificates **require** the `AttestationRootCertificate` block(s) to be provided. If omitted for an MDS-registered AAGUID, the API will return a validation error. AAGUIDs not present in the MDS do not require certificates. + /// + /// ## Example Usage + /// + /// ### Basic (custom/non-MDS AAGUID) + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var webauthn = Okta.GetAuthenticator.Invoke(new() + /// { + /// Key = "webauthn", + /// }); + /// + /// var customKey = new Okta.AuthenticatorWebauthnCustomAaguid("custom_key", new() + /// { + /// AuthenticatorId = webauthn.Apply(getAuthenticatorResult => getAuthenticatorResult.Id), + /// Aaguid = "00000000-0000-0000-0000-000000000001", + /// Name = "Custom Security Key", + /// AuthenticatorCharacteristics = new Okta.Inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs + /// { + /// HardwareProtected = true, + /// PlatformAttached = false, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ### With attestation certificates (MDS-registered AAGUID) + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var webauthn = Okta.GetAuthenticator.Invoke(new() + /// { + /// Key = "webauthn", + /// }); + /// + /// var yubikey5 = new Okta.AuthenticatorWebauthnCustomAaguid("yubikey5", new() + /// { + /// AuthenticatorId = webauthn.Apply(getAuthenticatorResult => getAuthenticatorResult.Id), + /// Aaguid = "cb69481e-8ff7-4039-93ec-0a2729a154a8", + /// Name = "YubiKey 5 Series", + /// AuthenticatorCharacteristics = new Okta.Inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs + /// { + /// FipsCompliant = true, + /// HardwareProtected = true, + /// PlatformAttached = false, + /// }, + /// AttestationRootCertificates = new[] + /// { + /// new Okta.Inputs.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs + /// { + /// X5c = "<base64-encoded-attestation-root-certificate>", + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// A custom AAGUID can be imported using the format `authenticator_id/aaguid`: + /// + /// ```sh + /// $ pulumi import okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid example aut1234567890/cb69481e-8ff7-4039-93ec-0a2729a154a8 + /// ``` + /// + [OktaResourceType("okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid")] + public partial class AuthenticatorWebauthnCustomAaguid : global::Pulumi.CustomResource + { + /// + /// The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + /// + [Output("aaguid")] + public Output Aaguid { get; private set; } = null!; + + /// + /// List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + /// + [Output("attestationRootCertificates")] + public Output> AttestationRootCertificates { get; private set; } = null!; + + /// + /// Properties of the custom AAGUID authenticator. + /// + [Output("authenticatorCharacteristics")] + public Output AuthenticatorCharacteristics { get; private set; } = null!; + + /// + /// The ID of the WebAuthn authenticator. + /// + [Output("authenticatorId")] + public Output AuthenticatorId { get; private set; } = null!; + + /// + /// The product name associated with this AAGUID. + /// + [Output("name")] + public Output Name { get; private set; } = null!; + + + /// + /// Create a AuthenticatorWebauthnCustomAaguid resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public AuthenticatorWebauthnCustomAaguid(string name, AuthenticatorWebauthnCustomAaguidArgs args, CustomResourceOptions? options = null) + : base("okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid", name, args ?? new AuthenticatorWebauthnCustomAaguidArgs(), MakeResourceOptions(options, "")) + { + } + + private AuthenticatorWebauthnCustomAaguid(string name, Input id, AuthenticatorWebauthnCustomAaguidState? state = null, CustomResourceOptions? options = null) + : base("okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing AuthenticatorWebauthnCustomAaguid resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static AuthenticatorWebauthnCustomAaguid Get(string name, Input id, AuthenticatorWebauthnCustomAaguidState? state = null, CustomResourceOptions? options = null) + { + return new AuthenticatorWebauthnCustomAaguid(name, id, state, options); + } + } + + public sealed class AuthenticatorWebauthnCustomAaguidArgs : global::Pulumi.ResourceArgs + { + /// + /// The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + /// + [Input("aaguid", required: true)] + public Input Aaguid { get; set; } = null!; + + [Input("attestationRootCertificates")] + private InputList? _attestationRootCertificates; + + /// + /// List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + /// + public InputList AttestationRootCertificates + { + get => _attestationRootCertificates ?? (_attestationRootCertificates = new InputList()); + set => _attestationRootCertificates = value; + } + + /// + /// Properties of the custom AAGUID authenticator. + /// + [Input("authenticatorCharacteristics")] + public Input? AuthenticatorCharacteristics { get; set; } + + /// + /// The ID of the WebAuthn authenticator. + /// + [Input("authenticatorId", required: true)] + public Input AuthenticatorId { get; set; } = null!; + + /// + /// The product name associated with this AAGUID. + /// + [Input("name")] + public Input? Name { get; set; } + + public AuthenticatorWebauthnCustomAaguidArgs() + { + } + public static new AuthenticatorWebauthnCustomAaguidArgs Empty => new AuthenticatorWebauthnCustomAaguidArgs(); + } + + public sealed class AuthenticatorWebauthnCustomAaguidState : global::Pulumi.ResourceArgs + { + /// + /// The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + /// + [Input("aaguid")] + public Input? Aaguid { get; set; } + + [Input("attestationRootCertificates")] + private InputList? _attestationRootCertificates; + + /// + /// List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + /// + public InputList AttestationRootCertificates + { + get => _attestationRootCertificates ?? (_attestationRootCertificates = new InputList()); + set => _attestationRootCertificates = value; + } + + /// + /// Properties of the custom AAGUID authenticator. + /// + [Input("authenticatorCharacteristics")] + public Input? AuthenticatorCharacteristics { get; set; } + + /// + /// The ID of the WebAuthn authenticator. + /// + [Input("authenticatorId")] + public Input? AuthenticatorId { get; set; } + + /// + /// The product name associated with this AAGUID. + /// + [Input("name")] + public Input? Name { get; set; } + + public AuthenticatorWebauthnCustomAaguidState() + { + } + public static new AuthenticatorWebauthnCustomAaguidState Empty => new AuthenticatorWebauthnCustomAaguidState(); + } +} diff --git a/sdk/dotnet/GetAuthenticatorMethodWebauthn.cs b/sdk/dotnet/GetAuthenticatorMethodWebauthn.cs new file mode 100644 index 000000000..129bcae64 --- /dev/null +++ b/sdk/dotnet/GetAuthenticatorMethodWebauthn.cs @@ -0,0 +1,281 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + public static class GetAuthenticatorMethodWebauthn + { + /// + /// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + /// + /// Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var webauthn = Okta.GetAuthenticator.Invoke(new() + /// { + /// Key = "webauthn", + /// }); + /// + /// var example = Okta.GetAuthenticatorMethodWebauthn.Invoke(new() + /// { + /// AuthenticatorId = webauthn.Apply(getAuthenticatorResult => getAuthenticatorResult.Id), + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetAuthenticatorMethodWebauthnArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", args ?? new GetAuthenticatorMethodWebauthnArgs(), options.WithDefaults()); + + /// + /// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + /// + /// Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var webauthn = Okta.GetAuthenticator.Invoke(new() + /// { + /// Key = "webauthn", + /// }); + /// + /// var example = Okta.GetAuthenticatorMethodWebauthn.Invoke(new() + /// { + /// AuthenticatorId = webauthn.Apply(getAuthenticatorResult => getAuthenticatorResult.Id), + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAuthenticatorMethodWebauthnInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", args ?? new GetAuthenticatorMethodWebauthnInvokeArgs(), options.WithDefaults()); + + /// + /// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + /// + /// Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var webauthn = Okta.GetAuthenticator.Invoke(new() + /// { + /// Key = "webauthn", + /// }); + /// + /// var example = Okta.GetAuthenticatorMethodWebauthn.Invoke(new() + /// { + /// AuthenticatorId = webauthn.Apply(getAuthenticatorResult => getAuthenticatorResult.Id), + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAuthenticatorMethodWebauthnInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", args ?? new GetAuthenticatorMethodWebauthnInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAuthenticatorMethodWebauthnArgs : global::Pulumi.InvokeArgs + { + [Input("aaguidGroups")] + private List? _aaguidGroups; + + /// + /// The FIDO2 AAGUID groups. Each element contains: + /// + public List AaguidGroups + { + get => _aaguidGroups ?? (_aaguidGroups = new List()); + set => _aaguidGroups = value; + } + + /// + /// The ID of the WebAuthn authenticator. + /// + [Input("authenticatorId", required: true)] + public string AuthenticatorId { get; set; } = null!; + + /// + /// The Relying Party (RP) ID configuration for WebAuthn. Contains: + /// + [Input("rpId")] + public Inputs.GetAuthenticatorMethodWebauthnRpIdArgs? RpId { get; set; } + + public GetAuthenticatorMethodWebauthnArgs() + { + } + public static new GetAuthenticatorMethodWebauthnArgs Empty => new GetAuthenticatorMethodWebauthnArgs(); + } + + public sealed class GetAuthenticatorMethodWebauthnInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("aaguidGroups")] + private InputList? _aaguidGroups; + + /// + /// The FIDO2 AAGUID groups. Each element contains: + /// + public InputList AaguidGroups + { + get => _aaguidGroups ?? (_aaguidGroups = new InputList()); + set => _aaguidGroups = value; + } + + /// + /// The ID of the WebAuthn authenticator. + /// + [Input("authenticatorId", required: true)] + public Input AuthenticatorId { get; set; } = null!; + + /// + /// The Relying Party (RP) ID configuration for WebAuthn. Contains: + /// + [Input("rpId")] + public Input? RpId { get; set; } + + public GetAuthenticatorMethodWebauthnInvokeArgs() + { + } + public static new GetAuthenticatorMethodWebauthnInvokeArgs Empty => new GetAuthenticatorMethodWebauthnInvokeArgs(); + } + + + [OutputType] + public sealed class GetAuthenticatorMethodWebauthnResult + { + /// + /// The FIDO2 AAGUID groups. Each element contains: + /// + public readonly ImmutableArray AaguidGroups; + /// + /// Whether syncable passkeys are allowed. + /// + public readonly bool AllowSyncablePasskeys; + /// + /// Method attachment setting. + /// + public readonly string Attachment; + public readonly string AuthenticatorId; + /// + /// Whether certificate-based attestation validation is enabled. + /// + public readonly bool CertBasedAttestationValidation; + /// + /// Whether the passkeys autofill UI is enabled. + /// + public readonly bool EnableAutofillUi; + /// + /// Whether the authenticator must be FIPS compliant. + /// + public readonly bool FipsCompliant; + /// + /// Whether the authenticator must store the private key on hardware. + /// + public readonly bool HardwareProtected; + public readonly string Id; + /// + /// Resident key requirement setting. + /// + public readonly string ResidentKeyRequirement; + /// + /// The Relying Party (RP) ID configuration for WebAuthn. Contains: + /// + public readonly Outputs.GetAuthenticatorMethodWebauthnRpIdResult? RpId; + /// + /// Whether the "Sign in with a Passkey" button is shown. + /// + public readonly bool ShowSignInWithAPasskeyButton; + /// + /// The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + /// + public readonly string Status; + /// + /// User verification setting for enrollment. + /// + public readonly string UserVerification; + /// + /// User verification setting for authentication. + /// + public readonly string UserVerificationForVerify; + + [OutputConstructor] + private GetAuthenticatorMethodWebauthnResult( + ImmutableArray aaguidGroups, + + bool allowSyncablePasskeys, + + string attachment, + + string authenticatorId, + + bool certBasedAttestationValidation, + + bool enableAutofillUi, + + bool fipsCompliant, + + bool hardwareProtected, + + string id, + + string residentKeyRequirement, + + Outputs.GetAuthenticatorMethodWebauthnRpIdResult? rpId, + + bool showSignInWithAPasskeyButton, + + string status, + + string userVerification, + + string userVerificationForVerify) + { + AaguidGroups = aaguidGroups; + AllowSyncablePasskeys = allowSyncablePasskeys; + Attachment = attachment; + AuthenticatorId = authenticatorId; + CertBasedAttestationValidation = certBasedAttestationValidation; + EnableAutofillUi = enableAutofillUi; + FipsCompliant = fipsCompliant; + HardwareProtected = hardwareProtected; + Id = id; + ResidentKeyRequirement = residentKeyRequirement; + RpId = rpId; + ShowSignInWithAPasskeyButton = showSignInWithAPasskeyButton; + Status = status; + UserVerification = userVerification; + UserVerificationForVerify = userVerificationForVerify; + } + } +} diff --git a/sdk/dotnet/GetAuthenticatorWebauthnCustomAaguids.cs b/sdk/dotnet/GetAuthenticatorWebauthnCustomAaguids.cs new file mode 100644 index 000000000..690c253dc --- /dev/null +++ b/sdk/dotnet/GetAuthenticatorWebauthnCustomAaguids.cs @@ -0,0 +1,185 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + public static class GetAuthenticatorWebauthnCustomAaguids + { + /// + /// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + /// + /// Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var webauthn = Okta.GetAuthenticator.Invoke(new() + /// { + /// Key = "webauthn", + /// }); + /// + /// var all = Okta.GetAuthenticatorWebauthnCustomAaguids.Invoke(new() + /// { + /// AuthenticatorId = webauthn.Apply(getAuthenticatorResult => getAuthenticatorResult.Id), + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetAuthenticatorWebauthnCustomAaguidsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", args ?? new GetAuthenticatorWebauthnCustomAaguidsArgs(), options.WithDefaults()); + + /// + /// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + /// + /// Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var webauthn = Okta.GetAuthenticator.Invoke(new() + /// { + /// Key = "webauthn", + /// }); + /// + /// var all = Okta.GetAuthenticatorWebauthnCustomAaguids.Invoke(new() + /// { + /// AuthenticatorId = webauthn.Apply(getAuthenticatorResult => getAuthenticatorResult.Id), + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAuthenticatorWebauthnCustomAaguidsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", args ?? new GetAuthenticatorWebauthnCustomAaguidsInvokeArgs(), options.WithDefaults()); + + /// + /// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + /// + /// Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var webauthn = Okta.GetAuthenticator.Invoke(new() + /// { + /// Key = "webauthn", + /// }); + /// + /// var all = Okta.GetAuthenticatorWebauthnCustomAaguids.Invoke(new() + /// { + /// AuthenticatorId = webauthn.Apply(getAuthenticatorResult => getAuthenticatorResult.Id), + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAuthenticatorWebauthnCustomAaguidsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", args ?? new GetAuthenticatorWebauthnCustomAaguidsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAuthenticatorWebauthnCustomAaguidsArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the WebAuthn authenticator. + /// + [Input("authenticatorId", required: true)] + public string AuthenticatorId { get; set; } = null!; + + [Input("customAaguids")] + private List? _customAaguids; + + /// + /// List of custom AAGUIDs configured for this authenticator. Each element contains: + /// + public List CustomAaguids + { + get => _customAaguids ?? (_customAaguids = new List()); + set => _customAaguids = value; + } + + public GetAuthenticatorWebauthnCustomAaguidsArgs() + { + } + public static new GetAuthenticatorWebauthnCustomAaguidsArgs Empty => new GetAuthenticatorWebauthnCustomAaguidsArgs(); + } + + public sealed class GetAuthenticatorWebauthnCustomAaguidsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The ID of the WebAuthn authenticator. + /// + [Input("authenticatorId", required: true)] + public Input AuthenticatorId { get; set; } = null!; + + [Input("customAaguids")] + private InputList? _customAaguids; + + /// + /// List of custom AAGUIDs configured for this authenticator. Each element contains: + /// + public InputList CustomAaguids + { + get => _customAaguids ?? (_customAaguids = new InputList()); + set => _customAaguids = value; + } + + public GetAuthenticatorWebauthnCustomAaguidsInvokeArgs() + { + } + public static new GetAuthenticatorWebauthnCustomAaguidsInvokeArgs Empty => new GetAuthenticatorWebauthnCustomAaguidsInvokeArgs(); + } + + + [OutputType] + public sealed class GetAuthenticatorWebauthnCustomAaguidsResult + { + public readonly string AuthenticatorId; + /// + /// List of custom AAGUIDs configured for this authenticator. Each element contains: + /// + public readonly ImmutableArray CustomAaguids; + public readonly string Id; + + [OutputConstructor] + private GetAuthenticatorWebauthnCustomAaguidsResult( + string authenticatorId, + + ImmutableArray customAaguids, + + string id) + { + AuthenticatorId = authenticatorId; + CustomAaguids = customAaguids; + Id = id; + } + } +} diff --git a/sdk/dotnet/GetAuthorizationServersPoliciesRule.cs b/sdk/dotnet/GetAuthorizationServersPoliciesRule.cs new file mode 100644 index 000000000..bfae35944 --- /dev/null +++ b/sdk/dotnet/GetAuthorizationServersPoliciesRule.cs @@ -0,0 +1,245 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + public static class GetAuthorizationServersPoliciesRule + { + /// + /// Retrieves an authorization server policy rule by `ruleId` from Okta. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetAuthorizationServersPoliciesRule.Invoke(new() + /// { + /// Id = "<rule id>", + /// AuthServerId = "<auth server id>", + /// PolicyId = "<policy id>", + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetAuthorizationServersPoliciesRuleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", args ?? new GetAuthorizationServersPoliciesRuleArgs(), options.WithDefaults()); + + /// + /// Retrieves an authorization server policy rule by `ruleId` from Okta. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetAuthorizationServersPoliciesRule.Invoke(new() + /// { + /// Id = "<rule id>", + /// AuthServerId = "<auth server id>", + /// PolicyId = "<policy id>", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAuthorizationServersPoliciesRuleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", args ?? new GetAuthorizationServersPoliciesRuleInvokeArgs(), options.WithDefaults()); + + /// + /// Retrieves an authorization server policy rule by `ruleId` from Okta. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetAuthorizationServersPoliciesRule.Invoke(new() + /// { + /// Id = "<rule id>", + /// AuthServerId = "<auth server id>", + /// PolicyId = "<policy id>", + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetAuthorizationServersPoliciesRuleInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", args ?? new GetAuthorizationServersPoliciesRuleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAuthorizationServersPoliciesRuleArgs : global::Pulumi.InvokeArgs + { + [Input("actions")] + public Inputs.GetAuthorizationServersPoliciesRuleActionsArgs? Actions { get; set; } + + /// + /// `Id` of the Authorization Server + /// + [Input("authServerId", required: true)] + public string AuthServerId { get; set; } = null!; + + [Input("conditions")] + public Inputs.GetAuthorizationServersPoliciesRuleConditionsArgs? Conditions { get; set; } + + /// + /// Unique identifier of the authorization server policy rule. + /// + [Input("id", required: true)] + public string Id { get; set; } = null!; + + /// + /// `Id` of the policy + /// + [Input("policyId", required: true)] + public string PolicyId { get; set; } = null!; + + public GetAuthorizationServersPoliciesRuleArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleArgs Empty => new GetAuthorizationServersPoliciesRuleArgs(); + } + + public sealed class GetAuthorizationServersPoliciesRuleInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("actions")] + public Input? Actions { get; set; } + + /// + /// `Id` of the Authorization Server + /// + [Input("authServerId", required: true)] + public Input AuthServerId { get; set; } = null!; + + [Input("conditions")] + public Input? Conditions { get; set; } + + /// + /// Unique identifier of the authorization server policy rule. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// `Id` of the policy + /// + [Input("policyId", required: true)] + public Input PolicyId { get; set; } = null!; + + public GetAuthorizationServersPoliciesRuleInvokeArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleInvokeArgs Empty => new GetAuthorizationServersPoliciesRuleInvokeArgs(); + } + + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleResult + { + public readonly Outputs.GetAuthorizationServersPoliciesRuleActionsResult? Actions; + /// + /// `Id` of the Authorization Server + /// + public readonly string AuthServerId; + public readonly Outputs.GetAuthorizationServersPoliciesRuleConditionsResult? Conditions; + /// + /// Timestamp when the rule was created + /// + public readonly string Created; + /// + /// Unique identifier of the authorization server policy rule. + /// + public readonly string Id; + /// + /// Timestamp when the rule was last modified + /// + public readonly string LastUpdated; + /// + /// Name of the rule + /// + public readonly string Name; + /// + /// `Id` of the policy + /// + public readonly string PolicyId; + /// + /// Priority of the rule + /// + public readonly int Priority; + /// + /// Status of the rule + /// + public readonly string Status; + /// + /// Set to `True` for system rules. + /// + public readonly bool System; + /// + /// Rule type + /// + public readonly string Type; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleResult( + Outputs.GetAuthorizationServersPoliciesRuleActionsResult? actions, + + string authServerId, + + Outputs.GetAuthorizationServersPoliciesRuleConditionsResult? conditions, + + string created, + + string id, + + string lastUpdated, + + string name, + + string policyId, + + int priority, + + string status, + + bool system, + + string type) + { + Actions = actions; + AuthServerId = authServerId; + Conditions = conditions; + Created = created; + Id = id; + LastUpdated = lastUpdated; + Name = name; + PolicyId = policyId; + Priority = priority; + Status = status; + System = system; + Type = type; + } + } +} diff --git a/sdk/dotnet/GetIamAssigneesUser.cs b/sdk/dotnet/GetIamAssigneesUser.cs new file mode 100644 index 000000000..9e82ef130 --- /dev/null +++ b/sdk/dotnet/GetIamAssigneesUser.cs @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + public static class GetIamAssigneesUser + { + /// + /// Use this data source to list all Okta users that have IAM role assignments. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIamAssigneesUser.Invoke(); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetIamAssigneesUserArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("okta:index/getIamAssigneesUser:getIamAssigneesUser", args ?? new GetIamAssigneesUserArgs(), options.WithDefaults()); + + /// + /// Use this data source to list all Okta users that have IAM role assignments. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIamAssigneesUser.Invoke(); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetIamAssigneesUserInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIamAssigneesUser:getIamAssigneesUser", args ?? new GetIamAssigneesUserInvokeArgs(), options.WithDefaults()); + + /// + /// Use this data source to list all Okta users that have IAM role assignments. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIamAssigneesUser.Invoke(); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetIamAssigneesUserInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIamAssigneesUser:getIamAssigneesUser", args ?? new GetIamAssigneesUserInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIamAssigneesUserArgs : global::Pulumi.InvokeArgs + { + [Input("id")] + public string? Id { get; set; } + + [Input("items")] + private List? _items; + public List Items + { + get => _items ?? (_items = new List()); + set => _items = value; + } + + public GetIamAssigneesUserArgs() + { + } + public static new GetIamAssigneesUserArgs Empty => new GetIamAssigneesUserArgs(); + } + + public sealed class GetIamAssigneesUserInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("id")] + public Input? Id { get; set; } + + [Input("items")] + private InputList? _items; + public InputList Items + { + get => _items ?? (_items = new InputList()); + set => _items = value; + } + + public GetIamAssigneesUserInvokeArgs() + { + } + public static new GetIamAssigneesUserInvokeArgs Empty => new GetIamAssigneesUserInvokeArgs(); + } + + + [OutputType] + public sealed class GetIamAssigneesUserResult + { + public readonly string Id; + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetIamAssigneesUserResult( + string id, + + ImmutableArray items) + { + Id = id; + Items = items; + } + } +} diff --git a/sdk/dotnet/GetIdentitySourceGroupMemberships.cs b/sdk/dotnet/GetIdentitySourceGroupMemberships.cs new file mode 100644 index 000000000..b5fff172f --- /dev/null +++ b/sdk/dotnet/GetIdentitySourceGroupMemberships.cs @@ -0,0 +1,180 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + public static class GetIdentitySourceGroupMemberships + { + /// + /// Retrieves the list of member external IDs for a group in an Okta Identity Source. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIdentitySourceGroupMemberships.Invoke(new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// GroupExternalId = "GROUPEXT123456EXAMPLE", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["memberIds"] = example.Apply(getIdentitySourceGroupMembershipsResult => getIdentitySourceGroupMembershipsResult.MemberExternalIds), + /// }; + /// }); + /// ``` + /// + public static Task InvokeAsync(GetIdentitySourceGroupMembershipsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", args ?? new GetIdentitySourceGroupMembershipsArgs(), options.WithDefaults()); + + /// + /// Retrieves the list of member external IDs for a group in an Okta Identity Source. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIdentitySourceGroupMemberships.Invoke(new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// GroupExternalId = "GROUPEXT123456EXAMPLE", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["memberIds"] = example.Apply(getIdentitySourceGroupMembershipsResult => getIdentitySourceGroupMembershipsResult.MemberExternalIds), + /// }; + /// }); + /// ``` + /// + public static Output Invoke(GetIdentitySourceGroupMembershipsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", args ?? new GetIdentitySourceGroupMembershipsInvokeArgs(), options.WithDefaults()); + + /// + /// Retrieves the list of member external IDs for a group in an Okta Identity Source. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIdentitySourceGroupMemberships.Invoke(new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// GroupExternalId = "GROUPEXT123456EXAMPLE", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["memberIds"] = example.Apply(getIdentitySourceGroupMembershipsResult => getIdentitySourceGroupMembershipsResult.MemberExternalIds), + /// }; + /// }); + /// ``` + /// + public static Output Invoke(GetIdentitySourceGroupMembershipsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", args ?? new GetIdentitySourceGroupMembershipsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIdentitySourceGroupMembershipsArgs : global::Pulumi.InvokeArgs + { + /// + /// The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + /// + [Input("groupExternalId", required: true)] + public string GroupExternalId { get; set; } = null!; + + /// + /// ID of the identity source. + /// + [Input("identitySourceId", required: true)] + public string IdentitySourceId { get; set; } = null!; + + public GetIdentitySourceGroupMembershipsArgs() + { + } + public static new GetIdentitySourceGroupMembershipsArgs Empty => new GetIdentitySourceGroupMembershipsArgs(); + } + + public sealed class GetIdentitySourceGroupMembershipsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + /// + [Input("groupExternalId", required: true)] + public Input GroupExternalId { get; set; } = null!; + + /// + /// ID of the identity source. + /// + [Input("identitySourceId", required: true)] + public Input IdentitySourceId { get; set; } = null!; + + public GetIdentitySourceGroupMembershipsInvokeArgs() + { + } + public static new GetIdentitySourceGroupMembershipsInvokeArgs Empty => new GetIdentitySourceGroupMembershipsInvokeArgs(); + } + + + [OutputType] + public sealed class GetIdentitySourceGroupMembershipsResult + { + /// + /// The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + /// + public readonly string GroupExternalId; + /// + /// Composite identifier (`{identity_source_id}/{group_external_id}`). + /// + public readonly string Id; + /// + /// ID of the identity source. + /// + public readonly string IdentitySourceId; + /// + /// External IDs of members belonging to the group in the identity source. + /// + public readonly ImmutableArray MemberExternalIds; + + [OutputConstructor] + private GetIdentitySourceGroupMembershipsResult( + string groupExternalId, + + string id, + + string identitySourceId, + + ImmutableArray memberExternalIds) + { + GroupExternalId = groupExternalId; + Id = id; + IdentitySourceId = identitySourceId; + MemberExternalIds = memberExternalIds; + } + } +} diff --git a/sdk/dotnet/GetIdentitySourceGroups.cs b/sdk/dotnet/GetIdentitySourceGroups.cs new file mode 100644 index 000000000..739e210eb --- /dev/null +++ b/sdk/dotnet/GetIdentitySourceGroups.cs @@ -0,0 +1,198 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + public static class GetIdentitySourceGroups + { + /// + /// Retrieves a group record from an Okta Identity Source by external ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIdentitySourceGroups.Invoke(new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// ExternalId = "GROUPEXT123456EXAMPLE", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["groupOktaId"] = example.Apply(getIdentitySourceGroupsResult => getIdentitySourceGroupsResult.Id), + /// ["groupDisplayName"] = example.Apply(getIdentitySourceGroupsResult => getIdentitySourceGroupsResult.Profile?.DisplayName), + /// }; + /// }); + /// ``` + /// + public static Task InvokeAsync(GetIdentitySourceGroupsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", args ?? new GetIdentitySourceGroupsArgs(), options.WithDefaults()); + + /// + /// Retrieves a group record from an Okta Identity Source by external ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIdentitySourceGroups.Invoke(new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// ExternalId = "GROUPEXT123456EXAMPLE", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["groupOktaId"] = example.Apply(getIdentitySourceGroupsResult => getIdentitySourceGroupsResult.Id), + /// ["groupDisplayName"] = example.Apply(getIdentitySourceGroupsResult => getIdentitySourceGroupsResult.Profile?.DisplayName), + /// }; + /// }); + /// ``` + /// + public static Output Invoke(GetIdentitySourceGroupsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", args ?? new GetIdentitySourceGroupsInvokeArgs(), options.WithDefaults()); + + /// + /// Retrieves a group record from an Okta Identity Source by external ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIdentitySourceGroups.Invoke(new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// ExternalId = "GROUPEXT123456EXAMPLE", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["groupOktaId"] = example.Apply(getIdentitySourceGroupsResult => getIdentitySourceGroupsResult.Id), + /// ["groupDisplayName"] = example.Apply(getIdentitySourceGroupsResult => getIdentitySourceGroupsResult.Profile?.DisplayName), + /// }; + /// }); + /// ``` + /// + public static Output Invoke(GetIdentitySourceGroupsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", args ?? new GetIdentitySourceGroupsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIdentitySourceGroupsArgs : global::Pulumi.InvokeArgs + { + /// + /// The external ID of the group in the identity source. + /// + [Input("externalId", required: true)] + public string ExternalId { get; set; } = null!; + + /// + /// Okta-assigned ID of the group (populated after read). + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// ID of the identity source. + /// + [Input("identitySourceId", required: true)] + public string IdentitySourceId { get; set; } = null!; + + [Input("profile")] + public Inputs.GetIdentitySourceGroupsProfileArgs? Profile { get; set; } + + public GetIdentitySourceGroupsArgs() + { + } + public static new GetIdentitySourceGroupsArgs Empty => new GetIdentitySourceGroupsArgs(); + } + + public sealed class GetIdentitySourceGroupsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The external ID of the group in the identity source. + /// + [Input("externalId", required: true)] + public Input ExternalId { get; set; } = null!; + + /// + /// Okta-assigned ID of the group (populated after read). + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// ID of the identity source. + /// + [Input("identitySourceId", required: true)] + public Input IdentitySourceId { get; set; } = null!; + + [Input("profile")] + public Input? Profile { get; set; } + + public GetIdentitySourceGroupsInvokeArgs() + { + } + public static new GetIdentitySourceGroupsInvokeArgs Empty => new GetIdentitySourceGroupsInvokeArgs(); + } + + + [OutputType] + public sealed class GetIdentitySourceGroupsResult + { + /// + /// The external ID of the group in the identity source. + /// + public readonly string ExternalId; + /// + /// Okta-assigned ID of the group (populated after read). + /// + public readonly string Id; + /// + /// ID of the identity source. + /// + public readonly string IdentitySourceId; + public readonly Outputs.GetIdentitySourceGroupsProfileResult? Profile; + + [OutputConstructor] + private GetIdentitySourceGroupsResult( + string externalId, + + string id, + + string identitySourceId, + + Outputs.GetIdentitySourceGroupsProfileResult? profile) + { + ExternalId = externalId; + Id = id; + IdentitySourceId = identitySourceId; + Profile = profile; + } + } +} diff --git a/sdk/dotnet/GetIdentitySourceSessions.cs b/sdk/dotnet/GetIdentitySourceSessions.cs new file mode 100644 index 000000000..fe3783c47 --- /dev/null +++ b/sdk/dotnet/GetIdentitySourceSessions.cs @@ -0,0 +1,129 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + public static class GetIdentitySourceSessions + { + /// + /// Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `Id` is specified. + /// + /// ## Example Usage + /// + public static Task InvokeAsync(GetIdentitySourceSessionsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", args ?? new GetIdentitySourceSessionsArgs(), options.WithDefaults()); + + /// + /// Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `Id` is specified. + /// + /// ## Example Usage + /// + public static Output Invoke(GetIdentitySourceSessionsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", args ?? new GetIdentitySourceSessionsInvokeArgs(), options.WithDefaults()); + + /// + /// Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `Id` is specified. + /// + /// ## Example Usage + /// + public static Output Invoke(GetIdentitySourceSessionsInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", args ?? new GetIdentitySourceSessionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIdentitySourceSessionsArgs : global::Pulumi.InvokeArgs + { + /// + /// ID of the identity source. + /// + [Input("identitySourceId", required: true)] + public string IdentitySourceId { get; set; } = null!; + + [Input("sessionId", required: true)] + public string SessionId { get; set; } = null!; + + public GetIdentitySourceSessionsArgs() + { + } + public static new GetIdentitySourceSessionsArgs Empty => new GetIdentitySourceSessionsArgs(); + } + + public sealed class GetIdentitySourceSessionsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// ID of the identity source. + /// + [Input("identitySourceId", required: true)] + public Input IdentitySourceId { get; set; } = null!; + + [Input("sessionId", required: true)] + public Input SessionId { get; set; } = null!; + + public GetIdentitySourceSessionsInvokeArgs() + { + } + public static new GetIdentitySourceSessionsInvokeArgs Empty => new GetIdentitySourceSessionsInvokeArgs(); + } + + + [OutputType] + public sealed class GetIdentitySourceSessionsResult + { + /// + /// Timestamp when the session was created (RFC3339). + /// + public readonly string Created; + /// + /// Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned. + /// + public readonly string Id; + /// + /// ID of the identity source. + /// + public readonly string IdentitySourceId; + /// + /// The type of import. All imports are `INCREMENTAL`. + /// + public readonly string ImportType; + /// + /// The timestamp when the identity source session was created (RFC3339). + /// + public readonly string LastUpdated; + public readonly string SessionId; + /// + /// The current status of the identity source session. + /// + public readonly string Status; + + [OutputConstructor] + private GetIdentitySourceSessionsResult( + string created, + + string id, + + string identitySourceId, + + string importType, + + string lastUpdated, + + string sessionId, + + string status) + { + Created = created; + Id = id; + IdentitySourceId = identitySourceId; + ImportType = importType; + LastUpdated = lastUpdated; + SessionId = sessionId; + Status = status; + } + } +} diff --git a/sdk/dotnet/GetIdentitySourceUsers.cs b/sdk/dotnet/GetIdentitySourceUsers.cs new file mode 100644 index 000000000..d7058627a --- /dev/null +++ b/sdk/dotnet/GetIdentitySourceUsers.cs @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + public static class GetIdentitySourceUsers + { + /// + /// Retrieves a user record from an Okta Identity Source by external ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIdentitySourceUsers.Invoke(new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// ExternalId = "USEREXT123456EXAMPLE", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["userEmail"] = example.Apply(getIdentitySourceUsersResult => getIdentitySourceUsersResult.Profile?.Email), + /// }; + /// }); + /// ``` + /// + public static Task InvokeAsync(GetIdentitySourceUsersArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", args ?? new GetIdentitySourceUsersArgs(), options.WithDefaults()); + + /// + /// Retrieves a user record from an Okta Identity Source by external ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIdentitySourceUsers.Invoke(new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// ExternalId = "USEREXT123456EXAMPLE", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["userEmail"] = example.Apply(getIdentitySourceUsersResult => getIdentitySourceUsersResult.Profile?.Email), + /// }; + /// }); + /// ``` + /// + public static Output Invoke(GetIdentitySourceUsersInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", args ?? new GetIdentitySourceUsersInvokeArgs(), options.WithDefaults()); + + /// + /// Retrieves a user record from an Okta Identity Source by external ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = Okta.GetIdentitySourceUsers.Invoke(new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// ExternalId = "USEREXT123456EXAMPLE", + /// }); + /// + /// return new Dictionary<string, object?> + /// { + /// ["userEmail"] = example.Apply(getIdentitySourceUsersResult => getIdentitySourceUsersResult.Profile?.Email), + /// }; + /// }); + /// ``` + /// + public static Output Invoke(GetIdentitySourceUsersInvokeArgs args, InvokeOutputOptions options) + => global::Pulumi.Deployment.Instance.Invoke("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", args ?? new GetIdentitySourceUsersInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetIdentitySourceUsersArgs : global::Pulumi.InvokeArgs + { + [Input("externalId", required: true)] + public string ExternalId { get; set; } = null!; + + [Input("id")] + public string? Id { get; set; } + + [Input("identitySourceId", required: true)] + public string IdentitySourceId { get; set; } = null!; + + public GetIdentitySourceUsersArgs() + { + } + public static new GetIdentitySourceUsersArgs Empty => new GetIdentitySourceUsersArgs(); + } + + public sealed class GetIdentitySourceUsersInvokeArgs : global::Pulumi.InvokeArgs + { + [Input("externalId", required: true)] + public Input ExternalId { get; set; } = null!; + + [Input("id")] + public Input? Id { get; set; } + + [Input("identitySourceId", required: true)] + public Input IdentitySourceId { get; set; } = null!; + + public GetIdentitySourceUsersInvokeArgs() + { + } + public static new GetIdentitySourceUsersInvokeArgs Empty => new GetIdentitySourceUsersInvokeArgs(); + } + + + [OutputType] + public sealed class GetIdentitySourceUsersResult + { + public readonly string Created; + public readonly string ExternalId; + public readonly string Id; + public readonly string IdentitySourceId; + public readonly string LastUpdated; + public readonly Outputs.GetIdentitySourceUsersProfileResult Profile; + + [OutputConstructor] + private GetIdentitySourceUsersResult( + string created, + + string externalId, + + string id, + + string identitySourceId, + + string lastUpdated, + + Outputs.GetIdentitySourceUsersProfileResult profile) + { + Created = created; + ExternalId = externalId; + Id = id; + IdentitySourceId = identitySourceId; + LastUpdated = lastUpdated; + Profile = profile; + } + } +} diff --git a/sdk/dotnet/GetRequestSettingResource.cs b/sdk/dotnet/GetRequestSettingResource.cs index 2a60851a0..133981ffa 100644 --- a/sdk/dotnet/GetRequestSettingResource.cs +++ b/sdk/dotnet/GetRequestSettingResource.cs @@ -15,6 +15,22 @@ public static class GetRequestSettingResource /// Retrieves the request settings for a resource. /// /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var test = Okta.GetRequestSettingResource.Invoke(new() + /// { + /// Id = "<id>", + /// }); + /// + /// }); + /// ``` /// public static Task InvokeAsync(GetRequestSettingResourceArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("okta:index/getRequestSettingResource:getRequestSettingResource", args ?? new GetRequestSettingResourceArgs(), options.WithDefaults()); @@ -23,6 +39,22 @@ public static Task InvokeAsync(GetRequestSettin /// Retrieves the request settings for a resource. /// /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var test = Okta.GetRequestSettingResource.Invoke(new() + /// { + /// Id = "<id>", + /// }); + /// + /// }); + /// ``` /// public static Output Invoke(GetRequestSettingResourceInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("okta:index/getRequestSettingResource:getRequestSettingResource", args ?? new GetRequestSettingResourceInvokeArgs(), options.WithDefaults()); @@ -31,6 +63,22 @@ public static Output Invoke(GetRequestSettingRe /// Retrieves the request settings for a resource. /// /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var test = Okta.GetRequestSettingResource.Invoke(new() + /// { + /// Id = "<id>", + /// }); + /// + /// }); + /// ``` /// public static Output Invoke(GetRequestSettingResourceInvokeArgs args, InvokeOutputOptions options) => global::Pulumi.Deployment.Instance.Invoke("okta:index/getRequestSettingResource:getRequestSettingResource", args ?? new GetRequestSettingResourceInvokeArgs(), options.WithDefaults()); diff --git a/sdk/dotnet/IdentitySourceGroup.cs b/sdk/dotnet/IdentitySourceGroup.cs new file mode 100644 index 000000000..c7efb03df --- /dev/null +++ b/sdk/dotnet/IdentitySourceGroup.cs @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + /// + /// Manages a group within an Okta Identity Source. Groups created here are staged for import via a session; use `okta.IdentitySourceImport` to trigger the actual sync into Okta. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = new Okta.IdentitySourceGroup("example", new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// ExternalId = "GRPEXT123456EXAMPLE", + /// Profile = new Okta.Inputs.IdentitySourceGroupProfileArgs + /// { + /// DisplayName = "Engineering", + /// Description = "Engineering team group", + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Import using `{identity_source_id}/{id}`: + /// + /// ```sh + /// $ pulumi import okta:index/identitySourceGroup:IdentitySourceGroup example <identity-source-id>/<group-id> + /// ``` + /// + [OktaResourceType("okta:index/identitySourceGroup:IdentitySourceGroup")] + public partial class IdentitySourceGroup : global::Pulumi.CustomResource + { + /// + /// The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + /// + [Output("externalId")] + public Output ExternalId { get; private set; } = null!; + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Output("identitySourceId")] + public Output IdentitySourceId { get; private set; } = null!; + + /// + /// Display attributes for the group. + /// + [Output("profile")] + public Output Profile { get; private set; } = null!; + + + /// + /// Create a IdentitySourceGroup resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public IdentitySourceGroup(string name, IdentitySourceGroupArgs args, CustomResourceOptions? options = null) + : base("okta:index/identitySourceGroup:IdentitySourceGroup", name, args ?? new IdentitySourceGroupArgs(), MakeResourceOptions(options, "")) + { + } + + private IdentitySourceGroup(string name, Input id, IdentitySourceGroupState? state = null, CustomResourceOptions? options = null) + : base("okta:index/identitySourceGroup:IdentitySourceGroup", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing IdentitySourceGroup resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static IdentitySourceGroup Get(string name, Input id, IdentitySourceGroupState? state = null, CustomResourceOptions? options = null) + { + return new IdentitySourceGroup(name, id, state, options); + } + } + + public sealed class IdentitySourceGroupArgs : global::Pulumi.ResourceArgs + { + /// + /// The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + /// + [Input("externalId", required: true)] + public Input ExternalId { get; set; } = null!; + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Input("identitySourceId", required: true)] + public Input IdentitySourceId { get; set; } = null!; + + /// + /// Display attributes for the group. + /// + [Input("profile")] + public Input? Profile { get; set; } + + public IdentitySourceGroupArgs() + { + } + public static new IdentitySourceGroupArgs Empty => new IdentitySourceGroupArgs(); + } + + public sealed class IdentitySourceGroupState : global::Pulumi.ResourceArgs + { + /// + /// The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Input("identitySourceId")] + public Input? IdentitySourceId { get; set; } + + /// + /// Display attributes for the group. + /// + [Input("profile")] + public Input? Profile { get; set; } + + public IdentitySourceGroupState() + { + } + public static new IdentitySourceGroupState Empty => new IdentitySourceGroupState(); + } +} diff --git a/sdk/dotnet/IdentitySourceGroupMembership.cs b/sdk/dotnet/IdentitySourceGroupMembership.cs new file mode 100644 index 000000000..3d3139398 --- /dev/null +++ b/sdk/dotnet/IdentitySourceGroupMembership.cs @@ -0,0 +1,177 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + /// + /// Manages a single member association between a user and a group in an Okta Identity Source. Each resource instance adds one user (identified by `MemberExternalId`) to the specified identity source group. All three key attributes force resource replacement when changed. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = new Okta.IdentitySourceGroupMembership("example", new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// GroupOrExternalId = "GRPEXT123456EXAMPLE", + /// MemberExternalId = "USEREXT123456EXAMPLE", + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Import using `{identity_source_id}/{group_or_external_id}/{id}`: + /// + /// ```sh + /// $ pulumi import okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership example <identity-source-id>/<group-external-id>/<member-external-id> + /// ``` + /// + [OktaResourceType("okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership")] + public partial class IdentitySourceGroupMembership : global::Pulumi.CustomResource + { + /// + /// External ID of the identity source group. Forces replacement when changed. + /// + [Output("groupOrExternalId")] + public Output GroupOrExternalId { get; private set; } = null!; + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Output("identitySourceId")] + public Output IdentitySourceId { get; private set; } = null!; + + /// + /// The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + /// + [Output("memberExternalId")] + public Output MemberExternalId { get; private set; } = null!; + + /// + /// A list of all member external IDs currently in the group (populated after creation). + /// + [Output("memberExternalIds")] + public Output> MemberExternalIds { get; private set; } = null!; + + + /// + /// Create a IdentitySourceGroupMembership resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public IdentitySourceGroupMembership(string name, IdentitySourceGroupMembershipArgs args, CustomResourceOptions? options = null) + : base("okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership", name, args ?? new IdentitySourceGroupMembershipArgs(), MakeResourceOptions(options, "")) + { + } + + private IdentitySourceGroupMembership(string name, Input id, IdentitySourceGroupMembershipState? state = null, CustomResourceOptions? options = null) + : base("okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing IdentitySourceGroupMembership resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static IdentitySourceGroupMembership Get(string name, Input id, IdentitySourceGroupMembershipState? state = null, CustomResourceOptions? options = null) + { + return new IdentitySourceGroupMembership(name, id, state, options); + } + } + + public sealed class IdentitySourceGroupMembershipArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the identity source group. Forces replacement when changed. + /// + [Input("groupOrExternalId", required: true)] + public Input GroupOrExternalId { get; set; } = null!; + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Input("identitySourceId", required: true)] + public Input IdentitySourceId { get; set; } = null!; + + /// + /// The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + /// + [Input("memberExternalId", required: true)] + public Input MemberExternalId { get; set; } = null!; + + public IdentitySourceGroupMembershipArgs() + { + } + public static new IdentitySourceGroupMembershipArgs Empty => new IdentitySourceGroupMembershipArgs(); + } + + public sealed class IdentitySourceGroupMembershipState : global::Pulumi.ResourceArgs + { + /// + /// External ID of the identity source group. Forces replacement when changed. + /// + [Input("groupOrExternalId")] + public Input? GroupOrExternalId { get; set; } + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Input("identitySourceId")] + public Input? IdentitySourceId { get; set; } + + /// + /// The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + /// + [Input("memberExternalId")] + public Input? MemberExternalId { get; set; } + + [Input("memberExternalIds")] + private InputList? _memberExternalIds; + + /// + /// A list of all member external IDs currently in the group (populated after creation). + /// + public InputList MemberExternalIds + { + get => _memberExternalIds ?? (_memberExternalIds = new InputList()); + set => _memberExternalIds = value; + } + + public IdentitySourceGroupMembershipState() + { + } + public static new IdentitySourceGroupMembershipState Empty => new IdentitySourceGroupMembershipState(); + } +} diff --git a/sdk/dotnet/IdentitySourceImport.cs b/sdk/dotnet/IdentitySourceImport.cs new file mode 100644 index 000000000..e1c9717aa --- /dev/null +++ b/sdk/dotnet/IdentitySourceImport.cs @@ -0,0 +1,356 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + /// + /// Orchestrates a full Okta Identity Source import job in one resource. On each apply it: + /// + /// 1. Creates a new import session. + /// 2. Uploads any combination of staged data (upsert/delete for users, groups, and group memberships). + /// 3. Triggers the import via `startImportFromIdentitySource`. + /// + /// If any upload step fails the session is automatically deleted so a corrected re-apply is not blocked by Okta's rate limit (*"Only one active import session per identity source is allowed to be created every 5 minutes"*). + /// + /// > **Note:** This resource does not support deletion. Removing it from configuration will emit a warning but does not undo the import in Okta. To re-run the import, change at least one attribute so Terraform creates a new resource. + /// + /// ## Example Usage + /// + /// ### Upsert users and group memberships + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = new Okta.IdentitySourceImport("example", new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// UpsertUsers = new Okta.Inputs.IdentitySourceImportUpsertUsersArgs + /// { + /// EntityType = "USERS", + /// Profiles = new[] + /// { + /// new Okta.Inputs.IdentitySourceImportUpsertUsersProfileArgs + /// { + /// ExternalId = "USEREXT001", + /// Profile = new Okta.Inputs.IdentitySourceImportUpsertUsersProfileProfileArgs + /// { + /// UserName = "jdoe@example.com", + /// Email = "jdoe@example.com", + /// FirstName = "Jane", + /// LastName = "Doe", + /// }, + /// }, + /// }, + /// }, + /// UpsertGroupMemberships = new Okta.Inputs.IdentitySourceImportUpsertGroupMembershipsArgs + /// { + /// Memberships = new[] + /// { + /// new Okta.Inputs.IdentitySourceImportUpsertGroupMembershipsMembershipArgs + /// { + /// GroupExternalId = "GROUPEXT001", + /// MemberExternalIds = new[] + /// { + /// "USEREXT001", + /// }, + /// }, + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ### Upsert and delete in the same job + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = new Okta.IdentitySourceImport("example", new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// UpsertUsers = new Okta.Inputs.IdentitySourceImportUpsertUsersArgs + /// { + /// EntityType = "USERS", + /// Profiles = new[] + /// { + /// new Okta.Inputs.IdentitySourceImportUpsertUsersProfileArgs + /// { + /// ExternalId = "USEREXT_NEW", + /// Profile = new Okta.Inputs.IdentitySourceImportUpsertUsersProfileProfileArgs + /// { + /// UserName = "new.user@example.com", + /// Email = "new.user@example.com", + /// FirstName = "New", + /// LastName = "User", + /// }, + /// }, + /// }, + /// }, + /// DeleteUsers = new Okta.Inputs.IdentitySourceImportDeleteUsersArgs + /// { + /// EntityType = "USERS", + /// Profiles = new[] + /// { + /// new Okta.Inputs.IdentitySourceImportDeleteUsersProfileArgs + /// { + /// ExternalId = "USEREXT_OLD", + /// }, + /// }, + /// }, + /// UpsertGroups = new Okta.Inputs.IdentitySourceImportUpsertGroupsArgs + /// { + /// Profiles = new[] + /// { + /// new Okta.Inputs.IdentitySourceImportUpsertGroupsProfileArgs + /// { + /// ExternalId = "GROUPEXT001", + /// GroupProfile = new Okta.Inputs.IdentitySourceImportUpsertGroupsProfileGroupProfileArgs + /// { + /// DisplayName = "Engineering", + /// Description = "Engineering team", + /// }, + /// }, + /// }, + /// }, + /// DeleteGroups = new Okta.Inputs.IdentitySourceImportDeleteGroupsArgs + /// { + /// ExternalIds = new[] + /// { + /// "GROUPEXT_DEPRECATED", + /// }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + [OktaResourceType("okta:index/identitySourceImport:IdentitySourceImport")] + public partial class IdentitySourceImport : global::Pulumi.CustomResource + { + /// + /// Group memberships to delete in Okta. + /// + [Output("deleteGroupMemberships")] + public Output DeleteGroupMemberships { get; private set; } = null!; + + /// + /// Groups to delete from Okta. + /// + [Output("deleteGroups")] + public Output DeleteGroups { get; private set; } = null!; + + /// + /// Users to delete from Okta. + /// + [Output("deleteUsers")] + public Output DeleteUsers { get; private set; } = null!; + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Output("identitySourceId")] + public Output IdentitySourceId { get; private set; } = null!; + + /// + /// Session ID created for this import job. + /// + [Output("sessionId")] + public Output SessionId { get; private set; } = null!; + + /// + /// Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + /// + [Output("sessionStatus")] + public Output SessionStatus { get; private set; } = null!; + + /// + /// Group memberships to create or update in Okta. + /// + [Output("upsertGroupMemberships")] + public Output UpsertGroupMemberships { get; private set; } = null!; + + /// + /// Groups to create or update in Okta. + /// + [Output("upsertGroups")] + public Output UpsertGroups { get; private set; } = null!; + + /// + /// Users to create or update in Okta. + /// + [Output("upsertUsers")] + public Output UpsertUsers { get; private set; } = null!; + + + /// + /// Create a IdentitySourceImport resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public IdentitySourceImport(string name, IdentitySourceImportArgs args, CustomResourceOptions? options = null) + : base("okta:index/identitySourceImport:IdentitySourceImport", name, args ?? new IdentitySourceImportArgs(), MakeResourceOptions(options, "")) + { + } + + private IdentitySourceImport(string name, Input id, IdentitySourceImportState? state = null, CustomResourceOptions? options = null) + : base("okta:index/identitySourceImport:IdentitySourceImport", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing IdentitySourceImport resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static IdentitySourceImport Get(string name, Input id, IdentitySourceImportState? state = null, CustomResourceOptions? options = null) + { + return new IdentitySourceImport(name, id, state, options); + } + } + + public sealed class IdentitySourceImportArgs : global::Pulumi.ResourceArgs + { + /// + /// Group memberships to delete in Okta. + /// + [Input("deleteGroupMemberships")] + public Input? DeleteGroupMemberships { get; set; } + + /// + /// Groups to delete from Okta. + /// + [Input("deleteGroups")] + public Input? DeleteGroups { get; set; } + + /// + /// Users to delete from Okta. + /// + [Input("deleteUsers")] + public Input? DeleteUsers { get; set; } + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Input("identitySourceId", required: true)] + public Input IdentitySourceId { get; set; } = null!; + + /// + /// Group memberships to create or update in Okta. + /// + [Input("upsertGroupMemberships")] + public Input? UpsertGroupMemberships { get; set; } + + /// + /// Groups to create or update in Okta. + /// + [Input("upsertGroups")] + public Input? UpsertGroups { get; set; } + + /// + /// Users to create or update in Okta. + /// + [Input("upsertUsers")] + public Input? UpsertUsers { get; set; } + + public IdentitySourceImportArgs() + { + } + public static new IdentitySourceImportArgs Empty => new IdentitySourceImportArgs(); + } + + public sealed class IdentitySourceImportState : global::Pulumi.ResourceArgs + { + /// + /// Group memberships to delete in Okta. + /// + [Input("deleteGroupMemberships")] + public Input? DeleteGroupMemberships { get; set; } + + /// + /// Groups to delete from Okta. + /// + [Input("deleteGroups")] + public Input? DeleteGroups { get; set; } + + /// + /// Users to delete from Okta. + /// + [Input("deleteUsers")] + public Input? DeleteUsers { get; set; } + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Input("identitySourceId")] + public Input? IdentitySourceId { get; set; } + + /// + /// Session ID created for this import job. + /// + [Input("sessionId")] + public Input? SessionId { get; set; } + + /// + /// Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + /// + [Input("sessionStatus")] + public Input? SessionStatus { get; set; } + + /// + /// Group memberships to create or update in Okta. + /// + [Input("upsertGroupMemberships")] + public Input? UpsertGroupMemberships { get; set; } + + /// + /// Groups to create or update in Okta. + /// + [Input("upsertGroups")] + public Input? UpsertGroups { get; set; } + + /// + /// Users to create or update in Okta. + /// + [Input("upsertUsers")] + public Input? UpsertUsers { get; set; } + + public IdentitySourceImportState() + { + } + public static new IdentitySourceImportState Empty => new IdentitySourceImportState(); + } +} diff --git a/sdk/dotnet/IdentitySourceUser.cs b/sdk/dotnet/IdentitySourceUser.cs new file mode 100644 index 000000000..6ceba4963 --- /dev/null +++ b/sdk/dotnet/IdentitySourceUser.cs @@ -0,0 +1,189 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta +{ + /// + /// Manages an individual user in an Okta Identity Source. This resource creates or updates a single user record directly in the identity source (without requiring a session), using the external ID as the unique key. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Okta = Pulumi.Okta; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = new Okta.IdentitySourceUser("example", new() + /// { + /// IdentitySourceId = "<identity-source-id>", + /// IdentitySourceUserId = "USEREXT123456EXAMPLE", + /// Profile = new Okta.Inputs.IdentitySourceUserProfileArgs + /// { + /// UserName = "jdoe@example.com", + /// Email = "jdoe@example.com", + /// FirstName = "Jane", + /// LastName = "Doe", + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Import using `{identity_source_id}/{id}`: + /// + /// ```sh + /// $ pulumi import okta:index/identitySourceUser:IdentitySourceUser example <identity-source-id>/<external-id> + /// ``` + /// + [OktaResourceType("okta:index/identitySourceUser:IdentitySourceUser")] + public partial class IdentitySourceUser : global::Pulumi.CustomResource + { + /// + /// Timestamp when the user was created in the identity source (RFC3339). + /// + [Output("created")] + public Output Created { get; private set; } = null!; + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Output("identitySourceId")] + public Output IdentitySourceId { get; private set; } = null!; + + /// + /// The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + /// + [Output("identitySourceUserId")] + public Output IdentitySourceUserId { get; private set; } = null!; + + /// + /// Timestamp when the user was last updated in the identity source (RFC3339). + /// + [Output("lastUpdated")] + public Output LastUpdated { get; private set; } = null!; + + /// + /// User profile attributes. + /// + [Output("profile")] + public Output Profile { get; private set; } = null!; + + + /// + /// Create a IdentitySourceUser resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public IdentitySourceUser(string name, IdentitySourceUserArgs args, CustomResourceOptions? options = null) + : base("okta:index/identitySourceUser:IdentitySourceUser", name, args ?? new IdentitySourceUserArgs(), MakeResourceOptions(options, "")) + { + } + + private IdentitySourceUser(string name, Input id, IdentitySourceUserState? state = null, CustomResourceOptions? options = null) + : base("okta:index/identitySourceUser:IdentitySourceUser", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing IdentitySourceUser resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static IdentitySourceUser Get(string name, Input id, IdentitySourceUserState? state = null, CustomResourceOptions? options = null) + { + return new IdentitySourceUser(name, id, state, options); + } + } + + public sealed class IdentitySourceUserArgs : global::Pulumi.ResourceArgs + { + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Input("identitySourceId", required: true)] + public Input IdentitySourceId { get; set; } = null!; + + /// + /// The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + /// + [Input("identitySourceUserId", required: true)] + public Input IdentitySourceUserId { get; set; } = null!; + + /// + /// User profile attributes. + /// + [Input("profile")] + public Input? Profile { get; set; } + + public IdentitySourceUserArgs() + { + } + public static new IdentitySourceUserArgs Empty => new IdentitySourceUserArgs(); + } + + public sealed class IdentitySourceUserState : global::Pulumi.ResourceArgs + { + /// + /// Timestamp when the user was created in the identity source (RFC3339). + /// + [Input("created")] + public Input? Created { get; set; } + + /// + /// ID of the identity source. Forces replacement when changed. + /// + [Input("identitySourceId")] + public Input? IdentitySourceId { get; set; } + + /// + /// The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + /// + [Input("identitySourceUserId")] + public Input? IdentitySourceUserId { get; set; } + + /// + /// Timestamp when the user was last updated in the identity source (RFC3339). + /// + [Input("lastUpdated")] + public Input? LastUpdated { get; set; } + + /// + /// User profile attributes. + /// + [Input("profile")] + public Input? Profile { get; set; } + + public IdentitySourceUserState() + { + } + public static new IdentitySourceUserState Empty => new IdentitySourceUserState(); + } +} diff --git a/sdk/dotnet/Inputs/AppSignonPolicyRuleKeepMeSignedInArgs.cs b/sdk/dotnet/Inputs/AppSignonPolicyRuleKeepMeSignedInArgs.cs new file mode 100644 index 000000000..e2652035d --- /dev/null +++ b/sdk/dotnet/Inputs/AppSignonPolicyRuleKeepMeSignedInArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AppSignonPolicyRuleKeepMeSignedInArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + /// + [Input("postAuth")] + public Input? PostAuth { get; set; } + + /// + /// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + /// + [Input("postAuthPromptFrequency")] + public Input? PostAuthPromptFrequency { get; set; } + + public AppSignonPolicyRuleKeepMeSignedInArgs() + { + } + public static new AppSignonPolicyRuleKeepMeSignedInArgs Empty => new AppSignonPolicyRuleKeepMeSignedInArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AppSignonPolicyRuleKeepMeSignedInGetArgs.cs b/sdk/dotnet/Inputs/AppSignonPolicyRuleKeepMeSignedInGetArgs.cs new file mode 100644 index 000000000..7557cc8bb --- /dev/null +++ b/sdk/dotnet/Inputs/AppSignonPolicyRuleKeepMeSignedInGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AppSignonPolicyRuleKeepMeSignedInGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + /// + [Input("postAuth")] + public Input? PostAuth { get; set; } + + /// + /// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + /// + [Input("postAuthPromptFrequency")] + public Input? PostAuthPromptFrequency { get; set; } + + public AppSignonPolicyRuleKeepMeSignedInGetArgs() + { + } + public static new AppSignonPolicyRuleKeepMeSignedInGetArgs Empty => new AppSignonPolicyRuleKeepMeSignedInGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnAaguidGroupArgs.cs b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnAaguidGroupArgs.cs new file mode 100644 index 000000000..6c1e4d367 --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnAaguidGroupArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorMethodWebauthnAaguidGroupArgs : global::Pulumi.ResourceArgs + { + [Input("aaguids", required: true)] + private InputList? _aaguids; + + /// + /// A list of FIDO2 AAGUIDs in this group. + /// + public InputList Aaguids + { + get => _aaguids ?? (_aaguids = new InputList()); + set => _aaguids = value; + } + + /// + /// A name to identify the group of FIDO2 AAGUIDs. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public AuthenticatorMethodWebauthnAaguidGroupArgs() + { + } + public static new AuthenticatorMethodWebauthnAaguidGroupArgs Empty => new AuthenticatorMethodWebauthnAaguidGroupArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnAaguidGroupGetArgs.cs b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnAaguidGroupGetArgs.cs new file mode 100644 index 000000000..d0e678e9f --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnAaguidGroupGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorMethodWebauthnAaguidGroupGetArgs : global::Pulumi.ResourceArgs + { + [Input("aaguids", required: true)] + private InputList? _aaguids; + + /// + /// A list of FIDO2 AAGUIDs in this group. + /// + public InputList Aaguids + { + get => _aaguids ?? (_aaguids = new InputList()); + set => _aaguids = value; + } + + /// + /// A name to identify the group of FIDO2 AAGUIDs. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public AuthenticatorMethodWebauthnAaguidGroupGetArgs() + { + } + public static new AuthenticatorMethodWebauthnAaguidGroupGetArgs Empty => new AuthenticatorMethodWebauthnAaguidGroupGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdArgs.cs b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdArgs.cs new file mode 100644 index 000000000..7299fa91b --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorMethodWebauthnRpIdArgs : global::Pulumi.ResourceArgs + { + /// + /// The RP domain configuration. Contains: + /// + [Input("domain")] + public Input? Domain { get; set; } + + /// + /// Whether the RP ID is active and used for WebAuthn operations. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + public AuthenticatorMethodWebauthnRpIdArgs() + { + } + public static new AuthenticatorMethodWebauthnRpIdArgs Empty => new AuthenticatorMethodWebauthnRpIdArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdDomainArgs.cs b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdDomainArgs.cs new file mode 100644 index 000000000..985fe65c9 --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdDomainArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorMethodWebauthnRpIdDomainArgs : global::Pulumi.ResourceArgs + { + /// + /// The RP ID domain value used for WebAuthn operations. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The validation status of the domain. + /// + [Input("validationStatus")] + public Input? ValidationStatus { get; set; } + + public AuthenticatorMethodWebauthnRpIdDomainArgs() + { + } + public static new AuthenticatorMethodWebauthnRpIdDomainArgs Empty => new AuthenticatorMethodWebauthnRpIdDomainArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdDomainGetArgs.cs b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdDomainGetArgs.cs new file mode 100644 index 000000000..6fc1eedba --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdDomainGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorMethodWebauthnRpIdDomainGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The RP ID domain value used for WebAuthn operations. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// The validation status of the domain. + /// + [Input("validationStatus")] + public Input? ValidationStatus { get; set; } + + public AuthenticatorMethodWebauthnRpIdDomainGetArgs() + { + } + public static new AuthenticatorMethodWebauthnRpIdDomainGetArgs Empty => new AuthenticatorMethodWebauthnRpIdDomainGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdGetArgs.cs b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdGetArgs.cs new file mode 100644 index 000000000..e3ed97dd1 --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorMethodWebauthnRpIdGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorMethodWebauthnRpIdGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The RP domain configuration. Contains: + /// + [Input("domain")] + public Input? Domain { get; set; } + + /// + /// Whether the RP ID is active and used for WebAuthn operations. + /// + [Input("enabled")] + public Input? Enabled { get; set; } + + public AuthenticatorMethodWebauthnRpIdGetArgs() + { + } + public static new AuthenticatorMethodWebauthnRpIdGetArgs Empty => new AuthenticatorMethodWebauthnRpIdGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.cs b/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.cs new file mode 100644 index 000000000..523788318 --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs : global::Pulumi.ResourceArgs + { + /// + /// Expiry date of the certificate. + /// + [Input("expiry")] + public Input? Expiry { get; set; } + + /// + /// Issuer of the certificate. + /// + [Input("issuer")] + public Input? Issuer { get; set; } + + /// + /// X.509 certificate chain (base64-encoded). + /// + [Input("x5c", required: true)] + public Input X5c { get; set; } = null!; + + /// + /// SHA-256 hash (thumbprint) of the X.509 certificate. + /// + [Input("x5tS256")] + public Input? X5tS256 { get; set; } + + public AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs() + { + } + public static new AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs Empty => new AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateGetArgs.cs b/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateGetArgs.cs new file mode 100644 index 000000000..41644f719 --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateGetArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorWebauthnCustomAaguidAttestationRootCertificateGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Expiry date of the certificate. + /// + [Input("expiry")] + public Input? Expiry { get; set; } + + /// + /// Issuer of the certificate. + /// + [Input("issuer")] + public Input? Issuer { get; set; } + + /// + /// X.509 certificate chain (base64-encoded). + /// + [Input("x5c", required: true)] + public Input X5c { get; set; } = null!; + + /// + /// SHA-256 hash (thumbprint) of the X.509 certificate. + /// + [Input("x5tS256")] + public Input? X5tS256 { get; set; } + + public AuthenticatorWebauthnCustomAaguidAttestationRootCertificateGetArgs() + { + } + public static new AuthenticatorWebauthnCustomAaguidAttestationRootCertificateGetArgs Empty => new AuthenticatorWebauthnCustomAaguidAttestationRootCertificateGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.cs b/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.cs new file mode 100644 index 000000000..4b62957f6 --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates whether the authenticator meets FIPS compliance requirements. + /// + [Input("fipsCompliant")] + public Input? FipsCompliant { get; set; } + + /// + /// Indicates whether the authenticator stores the private key on a hardware component. + /// + [Input("hardwareProtected")] + public Input? HardwareProtected { get; set; } + + /// + /// Indicates whether the custom AAGUID is built into the authenticator or is external. + /// + [Input("platformAttached")] + public Input? PlatformAttached { get; set; } + + public AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs() + { + } + public static new AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs Empty => new AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsGetArgs.cs b/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsGetArgs.cs new file mode 100644 index 000000000..9962cbcec --- /dev/null +++ b/sdk/dotnet/Inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates whether the authenticator meets FIPS compliance requirements. + /// + [Input("fipsCompliant")] + public Input? FipsCompliant { get; set; } + + /// + /// Indicates whether the authenticator stores the private key on a hardware component. + /// + [Input("hardwareProtected")] + public Input? HardwareProtected { get; set; } + + /// + /// Indicates whether the custom AAGUID is built into the authenticator or is external. + /// + [Input("platformAttached")] + public Input? PlatformAttached { get; set; } + + public AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsGetArgs() + { + } + public static new AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsGetArgs Empty => new AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnAaguidGroup.cs b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnAaguidGroup.cs new file mode 100644 index 000000000..d82653be8 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnAaguidGroup.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorMethodWebauthnAaguidGroupArgs : global::Pulumi.InvokeArgs + { + [Input("aaguids", required: true)] + private List? _aaguids; + + /// + /// List of FIDO2 AAGUIDs in this group. + /// + public List Aaguids + { + get => _aaguids ?? (_aaguids = new List()); + set => _aaguids = value; + } + + /// + /// The name of the AAGUID group. + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + public GetAuthenticatorMethodWebauthnAaguidGroupArgs() + { + } + public static new GetAuthenticatorMethodWebauthnAaguidGroupArgs Empty => new GetAuthenticatorMethodWebauthnAaguidGroupArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnAaguidGroupArgs.cs b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnAaguidGroupArgs.cs new file mode 100644 index 000000000..03c40aa9d --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnAaguidGroupArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorMethodWebauthnAaguidGroupInputArgs : global::Pulumi.ResourceArgs + { + [Input("aaguids", required: true)] + private InputList? _aaguids; + + /// + /// List of FIDO2 AAGUIDs in this group. + /// + public InputList Aaguids + { + get => _aaguids ?? (_aaguids = new InputList()); + set => _aaguids = value; + } + + /// + /// The name of the AAGUID group. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public GetAuthenticatorMethodWebauthnAaguidGroupInputArgs() + { + } + public static new GetAuthenticatorMethodWebauthnAaguidGroupInputArgs Empty => new GetAuthenticatorMethodWebauthnAaguidGroupInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpId.cs b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpId.cs new file mode 100644 index 000000000..9071bce3b --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpId.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorMethodWebauthnRpIdArgs : global::Pulumi.InvokeArgs + { + /// + /// The RP domain configuration. Contains: + /// + [Input("domain")] + public Inputs.GetAuthenticatorMethodWebauthnRpIdDomainArgs? Domain { get; set; } + + /// + /// Whether the RP ID is active and used for WebAuthn operations. + /// + [Input("enabled", required: true)] + public bool Enabled { get; set; } + + public GetAuthenticatorMethodWebauthnRpIdArgs() + { + } + public static new GetAuthenticatorMethodWebauthnRpIdArgs Empty => new GetAuthenticatorMethodWebauthnRpIdArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdArgs.cs b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdArgs.cs new file mode 100644 index 000000000..9c2efe0a2 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorMethodWebauthnRpIdInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The RP domain configuration. Contains: + /// + [Input("domain")] + public Input? Domain { get; set; } + + /// + /// Whether the RP ID is active and used for WebAuthn operations. + /// + [Input("enabled", required: true)] + public Input Enabled { get; set; } = null!; + + public GetAuthenticatorMethodWebauthnRpIdInputArgs() + { + } + public static new GetAuthenticatorMethodWebauthnRpIdInputArgs Empty => new GetAuthenticatorMethodWebauthnRpIdInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdDomain.cs b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdDomain.cs new file mode 100644 index 000000000..0fe8c4c24 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdDomain.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorMethodWebauthnRpIdDomainArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the AAGUID group. + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + /// + /// The validation status of the domain. + /// + [Input("validationStatus", required: true)] + public string ValidationStatus { get; set; } = null!; + + public GetAuthenticatorMethodWebauthnRpIdDomainArgs() + { + } + public static new GetAuthenticatorMethodWebauthnRpIdDomainArgs Empty => new GetAuthenticatorMethodWebauthnRpIdDomainArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdDomainArgs.cs b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdDomainArgs.cs new file mode 100644 index 000000000..4600f2bc8 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorMethodWebauthnRpIdDomainArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorMethodWebauthnRpIdDomainInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the AAGUID group. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + /// + /// The validation status of the domain. + /// + [Input("validationStatus", required: true)] + public Input ValidationStatus { get; set; } = null!; + + public GetAuthenticatorMethodWebauthnRpIdDomainInputArgs() + { + } + public static new GetAuthenticatorMethodWebauthnRpIdDomainInputArgs Empty => new GetAuthenticatorMethodWebauthnRpIdDomainInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.cs b/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.cs new file mode 100644 index 000000000..38ddcf7e5 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs : global::Pulumi.InvokeArgs + { + /// + /// The AAGUID identifier. + /// + [Input("aaguid", required: true)] + public string Aaguid { get; set; } = null!; + + /// + /// Properties of the custom AAGUID authenticator. + /// + [Input("authenticatorCharacteristics")] + public Inputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs? AuthenticatorCharacteristics { get; set; } + + /// + /// The product name associated with the AAGUID. + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs() + { + } + public static new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs Empty => new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs.cs b/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs.cs new file mode 100644 index 000000000..535fd7934 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidInputArgs : global::Pulumi.ResourceArgs + { + /// + /// The AAGUID identifier. + /// + [Input("aaguid", required: true)] + public Input Aaguid { get; set; } = null!; + + /// + /// Properties of the custom AAGUID authenticator. + /// + [Input("authenticatorCharacteristics")] + public Input? AuthenticatorCharacteristics { get; set; } + + /// + /// The product name associated with the AAGUID. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguidInputArgs() + { + } + public static new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidInputArgs Empty => new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.cs b/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.cs new file mode 100644 index 000000000..bfa692d31 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs : global::Pulumi.InvokeArgs + { + /// + /// Whether the authenticator meets FIPS compliance requirements. + /// + [Input("fipsCompliant", required: true)] + public bool FipsCompliant { get; set; } + + /// + /// Whether the authenticator stores the private key on hardware. + /// + [Input("hardwareProtected", required: true)] + public bool HardwareProtected { get; set; } + + /// + /// Whether the AAGUID is built into the authenticator or is external. + /// + [Input("platformAttached", required: true)] + public bool PlatformAttached { get; set; } + + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs() + { + } + public static new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs Empty => new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs.cs b/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs.cs new file mode 100644 index 000000000..5dedb2acd --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Whether the authenticator meets FIPS compliance requirements. + /// + [Input("fipsCompliant", required: true)] + public Input FipsCompliant { get; set; } = null!; + + /// + /// Whether the authenticator stores the private key on hardware. + /// + [Input("hardwareProtected", required: true)] + public Input HardwareProtected { get; set; } = null!; + + /// + /// Whether the AAGUID is built into the authenticator or is external. + /// + [Input("platformAttached", required: true)] + public Input PlatformAttached { get; set; } = null!; + + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsInputArgs() + { + } + public static new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsInputArgs Empty => new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActions.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActions.cs new file mode 100644 index 000000000..74b28870f --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActions.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleActionsArgs : global::Pulumi.InvokeArgs + { + /// + /// Token + /// + [Input("token")] + public Inputs.GetAuthorizationServersPoliciesRuleActionsTokenArgs? Token { get; set; } + + public GetAuthorizationServersPoliciesRuleActionsArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleActionsArgs Empty => new GetAuthorizationServersPoliciesRuleActionsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsArgs.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsArgs.cs new file mode 100644 index 000000000..c5cfdbed2 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleActionsInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Token + /// + [Input("token")] + public Input? Token { get; set; } + + public GetAuthorizationServersPoliciesRuleActionsInputArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleActionsInputArgs Empty => new GetAuthorizationServersPoliciesRuleActionsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsToken.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsToken.cs new file mode 100644 index 000000000..31fac2812 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsToken.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleActionsTokenArgs : global::Pulumi.InvokeArgs + { + /// + /// Lifetime of the access token in minutes. + /// + [Input("accessTokenLifetimeMinutes", required: true)] + public int AccessTokenLifetimeMinutes { get; set; } + + /// + /// InlineHook + /// + [Input("inlineHook")] + public Inputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs? InlineHook { get; set; } + + /// + /// Lifetime of the refresh token is the minimum access token lifetime. + /// + [Input("refreshTokenLifetimeMinutes", required: true)] + public int RefreshTokenLifetimeMinutes { get; set; } + + /// + /// Timeframe when the refresh token is valid. + /// + [Input("refreshTokenWindowMinutes", required: true)] + public int RefreshTokenWindowMinutes { get; set; } + + public GetAuthorizationServersPoliciesRuleActionsTokenArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleActionsTokenArgs Empty => new GetAuthorizationServersPoliciesRuleActionsTokenArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenArgs.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenArgs.cs new file mode 100644 index 000000000..785027d3a --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleActionsTokenInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Lifetime of the access token in minutes. + /// + [Input("accessTokenLifetimeMinutes", required: true)] + public Input AccessTokenLifetimeMinutes { get; set; } = null!; + + /// + /// InlineHook + /// + [Input("inlineHook")] + public Input? InlineHook { get; set; } + + /// + /// Lifetime of the refresh token is the minimum access token lifetime. + /// + [Input("refreshTokenLifetimeMinutes", required: true)] + public Input RefreshTokenLifetimeMinutes { get; set; } = null!; + + /// + /// Timeframe when the refresh token is valid. + /// + [Input("refreshTokenWindowMinutes", required: true)] + public Input RefreshTokenWindowMinutes { get; set; } = null!; + + public GetAuthorizationServersPoliciesRuleActionsTokenInputArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleActionsTokenInputArgs Empty => new GetAuthorizationServersPoliciesRuleActionsTokenInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.cs new file mode 100644 index 000000000..1539f47a9 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique identifier of the authorization server policy rule. + /// + [Input("id", required: true)] + public string Id { get; set; } = null!; + + public GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs Empty => new GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs.cs new file mode 100644 index 000000000..5e6c21966 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleActionsTokenInlineHookInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Unique identifier of the authorization server policy rule. + /// + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + public GetAuthorizationServersPoliciesRuleActionsTokenInlineHookInputArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleActionsTokenInlineHookInputArgs Empty => new GetAuthorizationServersPoliciesRuleActionsTokenInlineHookInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditions.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditions.cs new file mode 100644 index 000000000..d3be4d0b1 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditions.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsArgs : global::Pulumi.InvokeArgs + { + /// + /// Array of grant types that this condition includes. + /// + [Input("grantTypes")] + public Inputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs? GrantTypes { get; set; } + + /// + /// Identifies Users and Groups that are used together + /// + [Input("people")] + public Inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleArgs? People { get; set; } + + /// + /// Array of scopes that the condition includes + /// + [Input("scopes")] + public Inputs.GetAuthorizationServersPoliciesRuleConditionsScopesArgs? Scopes { get; set; } + + public GetAuthorizationServersPoliciesRuleConditionsArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsArgs.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsArgs.cs new file mode 100644 index 000000000..25d2628a6 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Array of grant types that this condition includes. + /// + [Input("grantTypes")] + public Input? GrantTypes { get; set; } + + /// + /// Identifies Users and Groups that are used together + /// + [Input("people")] + public Input? People { get; set; } + + /// + /// Array of scopes that the condition includes + /// + [Input("scopes")] + public Input? Scopes { get; set; } + + public GetAuthorizationServersPoliciesRuleConditionsInputArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsInputArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.cs new file mode 100644 index 000000000..2d454df50 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs : global::Pulumi.InvokeArgs + { + [Input("includes", required: true)] + private List? _includes; + + /// + /// Array of grant types that this condition includes. + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs.cs new file mode 100644 index 000000000..9279373fa --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsGrantTypesInputArgs : global::Pulumi.ResourceArgs + { + [Input("includes", required: true)] + private InputList? _includes; + + /// + /// Array of grant types that this condition includes. + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetAuthorizationServersPoliciesRuleConditionsGrantTypesInputArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsGrantTypesInputArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsGrantTypesInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeople.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeople.cs new file mode 100644 index 000000000..a66025805 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeople.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsPeopleArgs : global::Pulumi.InvokeArgs + { + /// + /// Specifies a set of Groups whose Users are to be included + /// + [Input("groups")] + public Inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs? Groups { get; set; } + + /// + /// Specifies a set of Users to be included + /// + [Input("users")] + public Inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs? Users { get; set; } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsPeopleArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsPeopleArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleArgs.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleArgs.cs new file mode 100644 index 000000000..0eab9ba82 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsPeopleInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Specifies a set of Groups whose Users are to be included + /// + [Input("groups")] + public Input? Groups { get; set; } + + /// + /// Specifies a set of Users to be included + /// + [Input("users")] + public Input? Users { get; set; } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleInputArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsPeopleInputArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsPeopleInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.cs new file mode 100644 index 000000000..f7374fe15 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs : global::Pulumi.InvokeArgs + { + [Input("includes", required: true)] + private List? _includes; + + /// + /// Groups to be included + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs.cs new file mode 100644 index 000000000..9a9a9852d --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsInputArgs : global::Pulumi.ResourceArgs + { + [Input("includes", required: true)] + private InputList? _includes; + + /// + /// Groups to be included + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsInputArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsInputArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.cs new file mode 100644 index 000000000..6b7d2445a --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs : global::Pulumi.InvokeArgs + { + [Input("includes", required: true)] + private List? _includes; + + /// + /// Users to be included + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs.cs new file mode 100644 index 000000000..8a73445e3 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsPeopleUsersInputArgs : global::Pulumi.ResourceArgs + { + [Input("includes", required: true)] + private InputList? _includes; + + /// + /// Users to be included + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleUsersInputArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsPeopleUsersInputArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsPeopleUsersInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsScopes.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsScopes.cs new file mode 100644 index 000000000..aab079695 --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsScopes.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsScopesArgs : global::Pulumi.InvokeArgs + { + [Input("includes", required: true)] + private List? _includes; + + /// + /// Include + /// + public List Includes + { + get => _includes ?? (_includes = new List()); + set => _includes = value; + } + + public GetAuthorizationServersPoliciesRuleConditionsScopesArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsScopesArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsScopesArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsScopesArgs.cs b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsScopesArgs.cs new file mode 100644 index 000000000..0f148f3ec --- /dev/null +++ b/sdk/dotnet/Inputs/GetAuthorizationServersPoliciesRuleConditionsScopesArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetAuthorizationServersPoliciesRuleConditionsScopesInputArgs : global::Pulumi.ResourceArgs + { + [Input("includes", required: true)] + private InputList? _includes; + + /// + /// Include + /// + public InputList Includes + { + get => _includes ?? (_includes = new InputList()); + set => _includes = value; + } + + public GetAuthorizationServersPoliciesRuleConditionsScopesInputArgs() + { + } + public static new GetAuthorizationServersPoliciesRuleConditionsScopesInputArgs Empty => new GetAuthorizationServersPoliciesRuleConditionsScopesInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetIamAssigneesUserItem.cs b/sdk/dotnet/Inputs/GetIamAssigneesUserItem.cs new file mode 100644 index 000000000..04f92b659 --- /dev/null +++ b/sdk/dotnet/Inputs/GetIamAssigneesUserItem.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetIamAssigneesUserItemArgs : global::Pulumi.InvokeArgs + { + [Input("id", required: true)] + public string Id { get; set; } = null!; + + /// + /// ORN representing the assignee + /// + [Input("orn", required: true)] + public string Orn { get; set; } = null!; + + public GetIamAssigneesUserItemArgs() + { + } + public static new GetIamAssigneesUserItemArgs Empty => new GetIamAssigneesUserItemArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetIamAssigneesUserItemArgs.cs b/sdk/dotnet/Inputs/GetIamAssigneesUserItemArgs.cs new file mode 100644 index 000000000..a9f1ac8cd --- /dev/null +++ b/sdk/dotnet/Inputs/GetIamAssigneesUserItemArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetIamAssigneesUserItemInputArgs : global::Pulumi.ResourceArgs + { + [Input("id", required: true)] + public Input Id { get; set; } = null!; + + /// + /// ORN representing the assignee + /// + [Input("orn", required: true)] + public Input Orn { get; set; } = null!; + + public GetIamAssigneesUserItemInputArgs() + { + } + public static new GetIamAssigneesUserItemInputArgs Empty => new GetIamAssigneesUserItemInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetIdentitySourceGroupsProfile.cs b/sdk/dotnet/Inputs/GetIdentitySourceGroupsProfile.cs new file mode 100644 index 000000000..25ac9ac1b --- /dev/null +++ b/sdk/dotnet/Inputs/GetIdentitySourceGroupsProfile.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetIdentitySourceGroupsProfileArgs : global::Pulumi.InvokeArgs + { + /// + /// Description of the group. + /// + [Input("description", required: true)] + public string Description { get; set; } = null!; + + /// + /// Display name of the group. + /// + [Input("displayName", required: true)] + public string DisplayName { get; set; } = null!; + + public GetIdentitySourceGroupsProfileArgs() + { + } + public static new GetIdentitySourceGroupsProfileArgs Empty => new GetIdentitySourceGroupsProfileArgs(); + } +} diff --git a/sdk/dotnet/Inputs/GetIdentitySourceGroupsProfileArgs.cs b/sdk/dotnet/Inputs/GetIdentitySourceGroupsProfileArgs.cs new file mode 100644 index 000000000..926339567 --- /dev/null +++ b/sdk/dotnet/Inputs/GetIdentitySourceGroupsProfileArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class GetIdentitySourceGroupsProfileInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of the group. + /// + [Input("description", required: true)] + public Input Description { get; set; } = null!; + + /// + /// Display name of the group. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + public GetIdentitySourceGroupsProfileInputArgs() + { + } + public static new GetIdentitySourceGroupsProfileInputArgs Empty => new GetIdentitySourceGroupsProfileInputArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceGroupProfileArgs.cs b/sdk/dotnet/Inputs/IdentitySourceGroupProfileArgs.cs new file mode 100644 index 000000000..867241ff2 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceGroupProfileArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceGroupProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of the group. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Name of the group. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + public IdentitySourceGroupProfileArgs() + { + } + public static new IdentitySourceGroupProfileArgs Empty => new IdentitySourceGroupProfileArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceGroupProfileGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceGroupProfileGetArgs.cs new file mode 100644 index 000000000..1d3714859 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceGroupProfileGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceGroupProfileGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of the group. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Name of the group. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + public IdentitySourceGroupProfileGetArgs() + { + } + public static new IdentitySourceGroupProfileGetArgs Empty => new IdentitySourceGroupProfileGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsArgs.cs new file mode 100644 index 000000000..99faee1b0 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteGroupMembershipsArgs : global::Pulumi.ResourceArgs + { + [Input("memberships")] + private InputList? _memberships; + + /// + /// Group memberships to delete. (see below) + /// + public InputList Memberships + { + get => _memberships ?? (_memberships = new InputList()); + set => _memberships = value; + } + + public IdentitySourceImportDeleteGroupMembershipsArgs() + { + } + public static new IdentitySourceImportDeleteGroupMembershipsArgs Empty => new IdentitySourceImportDeleteGroupMembershipsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsGetArgs.cs new file mode 100644 index 000000000..a2480adc7 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteGroupMembershipsGetArgs : global::Pulumi.ResourceArgs + { + [Input("memberships")] + private InputList? _memberships; + + /// + /// Group memberships to delete. (see below) + /// + public InputList Memberships + { + get => _memberships ?? (_memberships = new InputList()); + set => _memberships = value; + } + + public IdentitySourceImportDeleteGroupMembershipsGetArgs() + { + } + public static new IdentitySourceImportDeleteGroupMembershipsGetArgs Empty => new IdentitySourceImportDeleteGroupMembershipsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsMembershipArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsMembershipArgs.cs new file mode 100644 index 000000000..c16cb3beb --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsMembershipArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteGroupMembershipsMembershipArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the group. + /// + [Input("groupExternalId")] + public Input? GroupExternalId { get; set; } + + [Input("memberExternalIds")] + private InputList? _memberExternalIds; + + /// + /// External IDs of the group members to remove. + /// + public InputList MemberExternalIds + { + get => _memberExternalIds ?? (_memberExternalIds = new InputList()); + set => _memberExternalIds = value; + } + + public IdentitySourceImportDeleteGroupMembershipsMembershipArgs() + { + } + public static new IdentitySourceImportDeleteGroupMembershipsMembershipArgs Empty => new IdentitySourceImportDeleteGroupMembershipsMembershipArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsMembershipGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsMembershipGetArgs.cs new file mode 100644 index 000000000..fb70ed617 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupMembershipsMembershipGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteGroupMembershipsMembershipGetArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the group. + /// + [Input("groupExternalId")] + public Input? GroupExternalId { get; set; } + + [Input("memberExternalIds")] + private InputList? _memberExternalIds; + + /// + /// External IDs of the group members to remove. + /// + public InputList MemberExternalIds + { + get => _memberExternalIds ?? (_memberExternalIds = new InputList()); + set => _memberExternalIds = value; + } + + public IdentitySourceImportDeleteGroupMembershipsMembershipGetArgs() + { + } + public static new IdentitySourceImportDeleteGroupMembershipsMembershipGetArgs Empty => new IdentitySourceImportDeleteGroupMembershipsMembershipGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupsArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupsArgs.cs new file mode 100644 index 000000000..829987511 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteGroupsArgs : global::Pulumi.ResourceArgs + { + [Input("externalIds")] + private InputList? _externalIds; + + /// + /// External IDs of the groups to delete. + /// + public InputList ExternalIds + { + get => _externalIds ?? (_externalIds = new InputList()); + set => _externalIds = value; + } + + public IdentitySourceImportDeleteGroupsArgs() + { + } + public static new IdentitySourceImportDeleteGroupsArgs Empty => new IdentitySourceImportDeleteGroupsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupsGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupsGetArgs.cs new file mode 100644 index 000000000..26be9e40f --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteGroupsGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteGroupsGetArgs : global::Pulumi.ResourceArgs + { + [Input("externalIds")] + private InputList? _externalIds; + + /// + /// External IDs of the groups to delete. + /// + public InputList ExternalIds + { + get => _externalIds ?? (_externalIds = new InputList()); + set => _externalIds = value; + } + + public IdentitySourceImportDeleteGroupsGetArgs() + { + } + public static new IdentitySourceImportDeleteGroupsGetArgs Empty => new IdentitySourceImportDeleteGroupsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersArgs.cs new file mode 100644 index 000000000..755c4ddb0 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteUsersArgs : global::Pulumi.ResourceArgs + { + /// + /// Entity type. Currently only `USERS` is supported. + /// + [Input("entityType")] + public Input? EntityType { get; set; } + + [Input("profiles")] + private InputList? _profiles; + + /// + /// User profiles to delete (by external ID). (see below) + /// + public InputList Profiles + { + get => _profiles ?? (_profiles = new InputList()); + set => _profiles = value; + } + + public IdentitySourceImportDeleteUsersArgs() + { + } + public static new IdentitySourceImportDeleteUsersArgs Empty => new IdentitySourceImportDeleteUsersArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersGetArgs.cs new file mode 100644 index 000000000..6cf6447f6 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteUsersGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Entity type. Currently only `USERS` is supported. + /// + [Input("entityType")] + public Input? EntityType { get; set; } + + [Input("profiles")] + private InputList? _profiles; + + /// + /// User profiles to delete (by external ID). (see below) + /// + public InputList Profiles + { + get => _profiles ?? (_profiles = new InputList()); + set => _profiles = value; + } + + public IdentitySourceImportDeleteUsersGetArgs() + { + } + public static new IdentitySourceImportDeleteUsersGetArgs Empty => new IdentitySourceImportDeleteUsersGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersProfileArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersProfileArgs.cs new file mode 100644 index 000000000..d6c18e346 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersProfileArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteUsersProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the user to delete. + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + public IdentitySourceImportDeleteUsersProfileArgs() + { + } + public static new IdentitySourceImportDeleteUsersProfileArgs Empty => new IdentitySourceImportDeleteUsersProfileArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersProfileGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersProfileGetArgs.cs new file mode 100644 index 000000000..421d5ffd3 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportDeleteUsersProfileGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportDeleteUsersProfileGetArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the user to delete. + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + public IdentitySourceImportDeleteUsersProfileGetArgs() + { + } + public static new IdentitySourceImportDeleteUsersProfileGetArgs Empty => new IdentitySourceImportDeleteUsersProfileGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsArgs.cs new file mode 100644 index 000000000..b4f761f12 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupMembershipsArgs : global::Pulumi.ResourceArgs + { + [Input("memberships")] + private InputList? _memberships; + + /// + /// Group memberships to upsert. (see below) + /// + public InputList Memberships + { + get => _memberships ?? (_memberships = new InputList()); + set => _memberships = value; + } + + public IdentitySourceImportUpsertGroupMembershipsArgs() + { + } + public static new IdentitySourceImportUpsertGroupMembershipsArgs Empty => new IdentitySourceImportUpsertGroupMembershipsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsGetArgs.cs new file mode 100644 index 000000000..5847b0961 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupMembershipsGetArgs : global::Pulumi.ResourceArgs + { + [Input("memberships")] + private InputList? _memberships; + + /// + /// Group memberships to upsert. (see below) + /// + public InputList Memberships + { + get => _memberships ?? (_memberships = new InputList()); + set => _memberships = value; + } + + public IdentitySourceImportUpsertGroupMembershipsGetArgs() + { + } + public static new IdentitySourceImportUpsertGroupMembershipsGetArgs Empty => new IdentitySourceImportUpsertGroupMembershipsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsMembershipArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsMembershipArgs.cs new file mode 100644 index 000000000..6e3de98c2 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsMembershipArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupMembershipsMembershipArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the group. + /// + [Input("groupExternalId")] + public Input? GroupExternalId { get; set; } + + [Input("memberExternalIds")] + private InputList? _memberExternalIds; + + /// + /// External IDs of the group members to add. + /// + public InputList MemberExternalIds + { + get => _memberExternalIds ?? (_memberExternalIds = new InputList()); + set => _memberExternalIds = value; + } + + public IdentitySourceImportUpsertGroupMembershipsMembershipArgs() + { + } + public static new IdentitySourceImportUpsertGroupMembershipsMembershipArgs Empty => new IdentitySourceImportUpsertGroupMembershipsMembershipArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsMembershipGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsMembershipGetArgs.cs new file mode 100644 index 000000000..fd715b806 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupMembershipsMembershipGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupMembershipsMembershipGetArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the group. + /// + [Input("groupExternalId")] + public Input? GroupExternalId { get; set; } + + [Input("memberExternalIds")] + private InputList? _memberExternalIds; + + /// + /// External IDs of the group members to add. + /// + public InputList MemberExternalIds + { + get => _memberExternalIds ?? (_memberExternalIds = new InputList()); + set => _memberExternalIds = value; + } + + public IdentitySourceImportUpsertGroupMembershipsMembershipGetArgs() + { + } + public static new IdentitySourceImportUpsertGroupMembershipsMembershipGetArgs Empty => new IdentitySourceImportUpsertGroupMembershipsMembershipGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsArgs.cs new file mode 100644 index 000000000..dac81de7e --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupsArgs : global::Pulumi.ResourceArgs + { + [Input("profiles")] + private InputList? _profiles; + + /// + /// Group profiles to upsert. (see below) + /// + public InputList Profiles + { + get => _profiles ?? (_profiles = new InputList()); + set => _profiles = value; + } + + public IdentitySourceImportUpsertGroupsArgs() + { + } + public static new IdentitySourceImportUpsertGroupsArgs Empty => new IdentitySourceImportUpsertGroupsArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsGetArgs.cs new file mode 100644 index 000000000..13513f608 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupsGetArgs : global::Pulumi.ResourceArgs + { + [Input("profiles")] + private InputList? _profiles; + + /// + /// Group profiles to upsert. (see below) + /// + public InputList Profiles + { + get => _profiles ?? (_profiles = new InputList()); + set => _profiles = value; + } + + public IdentitySourceImportUpsertGroupsGetArgs() + { + } + public static new IdentitySourceImportUpsertGroupsGetArgs Empty => new IdentitySourceImportUpsertGroupsGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileArgs.cs new file mode 100644 index 000000000..5e2080ea2 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupsProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the group. + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// Group profile attributes. (see below) + /// + [Input("groupProfile")] + public Input? GroupProfile { get; set; } + + public IdentitySourceImportUpsertGroupsProfileArgs() + { + } + public static new IdentitySourceImportUpsertGroupsProfileArgs Empty => new IdentitySourceImportUpsertGroupsProfileArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGetArgs.cs new file mode 100644 index 000000000..8d0fd2852 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupsProfileGetArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the group. + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// Group profile attributes. (see below) + /// + [Input("groupProfile")] + public Input? GroupProfile { get; set; } + + public IdentitySourceImportUpsertGroupsProfileGetArgs() + { + } + public static new IdentitySourceImportUpsertGroupsProfileGetArgs Empty => new IdentitySourceImportUpsertGroupsProfileGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.cs new file mode 100644 index 000000000..21121971a --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupsProfileGroupProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of the group. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Display name of the group. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + public IdentitySourceImportUpsertGroupsProfileGroupProfileArgs() + { + } + public static new IdentitySourceImportUpsertGroupsProfileGroupProfileArgs Empty => new IdentitySourceImportUpsertGroupsProfileGroupProfileArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileGetArgs.cs new file mode 100644 index 000000000..3042a8534 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertGroupsProfileGroupProfileGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Description of the group. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// Display name of the group. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + public IdentitySourceImportUpsertGroupsProfileGroupProfileGetArgs() + { + } + public static new IdentitySourceImportUpsertGroupsProfileGroupProfileGetArgs Empty => new IdentitySourceImportUpsertGroupsProfileGroupProfileGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersArgs.cs new file mode 100644 index 000000000..aac028ef5 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertUsersArgs : global::Pulumi.ResourceArgs + { + /// + /// Entity type. Currently only `USERS` is supported. + /// + [Input("entityType")] + public Input? EntityType { get; set; } + + [Input("profiles")] + private InputList? _profiles; + + /// + /// User profiles to upsert. (see below) + /// + public InputList Profiles + { + get => _profiles ?? (_profiles = new InputList()); + set => _profiles = value; + } + + public IdentitySourceImportUpsertUsersArgs() + { + } + public static new IdentitySourceImportUpsertUsersArgs Empty => new IdentitySourceImportUpsertUsersArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersGetArgs.cs new file mode 100644 index 000000000..e11d5a123 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertUsersGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Entity type. Currently only `USERS` is supported. + /// + [Input("entityType")] + public Input? EntityType { get; set; } + + [Input("profiles")] + private InputList? _profiles; + + /// + /// User profiles to upsert. (see below) + /// + public InputList Profiles + { + get => _profiles ?? (_profiles = new InputList()); + set => _profiles = value; + } + + public IdentitySourceImportUpsertUsersGetArgs() + { + } + public static new IdentitySourceImportUpsertUsersGetArgs Empty => new IdentitySourceImportUpsertUsersGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileArgs.cs new file mode 100644 index 000000000..0cb24ec13 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertUsersProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the user. + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// User profile attributes. (see below) + /// + [Input("profile")] + public Input? Profile { get; set; } + + public IdentitySourceImportUpsertUsersProfileArgs() + { + } + public static new IdentitySourceImportUpsertUsersProfileArgs Empty => new IdentitySourceImportUpsertUsersProfileArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileGetArgs.cs new file mode 100644 index 000000000..01286d720 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertUsersProfileGetArgs : global::Pulumi.ResourceArgs + { + /// + /// External ID of the user. + /// + [Input("externalId")] + public Input? ExternalId { get; set; } + + /// + /// User profile attributes. (see below) + /// + [Input("profile")] + public Input? Profile { get; set; } + + public IdentitySourceImportUpsertUsersProfileGetArgs() + { + } + public static new IdentitySourceImportUpsertUsersProfileGetArgs Empty => new IdentitySourceImportUpsertUsersProfileGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileProfileArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileProfileArgs.cs new file mode 100644 index 000000000..b5c90ad3e --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileProfileArgs.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertUsersProfileProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Email address of the user. + /// + [Input("email")] + public Input? Email { get; set; } + + /// + /// First name of the user. + /// + [Input("firstName")] + public Input? FirstName { get; set; } + + /// + /// Home address of the user. + /// + [Input("homeAddress")] + public Input? HomeAddress { get; set; } + + /// + /// Last name of the user. + /// + [Input("lastName")] + public Input? LastName { get; set; } + + /// + /// Mobile phone number of the user. + /// + [Input("mobilePhone")] + public Input? MobilePhone { get; set; } + + /// + /// Alternative email address of the user. + /// + [Input("secondEmail")] + public Input? SecondEmail { get; set; } + + /// + /// Username of the user. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public IdentitySourceImportUpsertUsersProfileProfileArgs() + { + } + public static new IdentitySourceImportUpsertUsersProfileProfileArgs Empty => new IdentitySourceImportUpsertUsersProfileProfileArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileProfileGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileProfileGetArgs.cs new file mode 100644 index 000000000..88e3afcb5 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceImportUpsertUsersProfileProfileGetArgs.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceImportUpsertUsersProfileProfileGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Email address of the user. + /// + [Input("email")] + public Input? Email { get; set; } + + /// + /// First name of the user. + /// + [Input("firstName")] + public Input? FirstName { get; set; } + + /// + /// Home address of the user. + /// + [Input("homeAddress")] + public Input? HomeAddress { get; set; } + + /// + /// Last name of the user. + /// + [Input("lastName")] + public Input? LastName { get; set; } + + /// + /// Mobile phone number of the user. + /// + [Input("mobilePhone")] + public Input? MobilePhone { get; set; } + + /// + /// Alternative email address of the user. + /// + [Input("secondEmail")] + public Input? SecondEmail { get; set; } + + /// + /// Username of the user. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public IdentitySourceImportUpsertUsersProfileProfileGetArgs() + { + } + public static new IdentitySourceImportUpsertUsersProfileProfileGetArgs Empty => new IdentitySourceImportUpsertUsersProfileProfileGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceUserProfileArgs.cs b/sdk/dotnet/Inputs/IdentitySourceUserProfileArgs.cs new file mode 100644 index 000000000..a4ba1efd2 --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceUserProfileArgs.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceUserProfileArgs : global::Pulumi.ResourceArgs + { + /// + /// Email address of the user. + /// + [Input("email")] + public Input? Email { get; set; } + + /// + /// First name of the user. + /// + [Input("firstName")] + public Input? FirstName { get; set; } + + /// + /// Home address of the user. + /// + [Input("homeAddress")] + public Input? HomeAddress { get; set; } + + /// + /// Last name of the user. + /// + [Input("lastName")] + public Input? LastName { get; set; } + + /// + /// Mobile phone number of the user. + /// + [Input("mobilePhone")] + public Input? MobilePhone { get; set; } + + /// + /// Alternative email address of the user. + /// + [Input("secondEmail")] + public Input? SecondEmail { get; set; } + + /// + /// Username of the user. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public IdentitySourceUserProfileArgs() + { + } + public static new IdentitySourceUserProfileArgs Empty => new IdentitySourceUserProfileArgs(); + } +} diff --git a/sdk/dotnet/Inputs/IdentitySourceUserProfileGetArgs.cs b/sdk/dotnet/Inputs/IdentitySourceUserProfileGetArgs.cs new file mode 100644 index 000000000..2f871ac6e --- /dev/null +++ b/sdk/dotnet/Inputs/IdentitySourceUserProfileGetArgs.cs @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Inputs +{ + + public sealed class IdentitySourceUserProfileGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Email address of the user. + /// + [Input("email")] + public Input? Email { get; set; } + + /// + /// First name of the user. + /// + [Input("firstName")] + public Input? FirstName { get; set; } + + /// + /// Home address of the user. + /// + [Input("homeAddress")] + public Input? HomeAddress { get; set; } + + /// + /// Last name of the user. + /// + [Input("lastName")] + public Input? LastName { get; set; } + + /// + /// Mobile phone number of the user. + /// + [Input("mobilePhone")] + public Input? MobilePhone { get; set; } + + /// + /// Alternative email address of the user. + /// + [Input("secondEmail")] + public Input? SecondEmail { get; set; } + + /// + /// Username of the user. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public IdentitySourceUserProfileGetArgs() + { + } + public static new IdentitySourceUserProfileGetArgs Empty => new IdentitySourceUserProfileGetArgs(); + } +} diff --git a/sdk/dotnet/Inputs/PushGroupAppConfigArgs.cs b/sdk/dotnet/Inputs/PushGroupAppConfigArgs.cs index 8976b9567..1ff724bce 100644 --- a/sdk/dotnet/Inputs/PushGroupAppConfigArgs.cs +++ b/sdk/dotnet/Inputs/PushGroupAppConfigArgs.cs @@ -24,6 +24,9 @@ public sealed class PushGroupAppConfigArgs : global::Pulumi.ResourceArgs [Input("samAccountName", required: true)] public Input SamAccountName { get; set; } = null!; + [Input("type", required: true)] + public Input Type { get; set; } = null!; + public PushGroupAppConfigArgs() { } diff --git a/sdk/dotnet/Inputs/PushGroupAppConfigGetArgs.cs b/sdk/dotnet/Inputs/PushGroupAppConfigGetArgs.cs index 8480aefa4..cb7422e5d 100644 --- a/sdk/dotnet/Inputs/PushGroupAppConfigGetArgs.cs +++ b/sdk/dotnet/Inputs/PushGroupAppConfigGetArgs.cs @@ -24,6 +24,9 @@ public sealed class PushGroupAppConfigGetArgs : global::Pulumi.ResourceArgs [Input("samAccountName", required: true)] public Input SamAccountName { get; set; } = null!; + [Input("type", required: true)] + public Input Type { get; set; } = null!; + public PushGroupAppConfigGetArgs() { } diff --git a/sdk/dotnet/Outputs/AppSignonPolicyRuleKeepMeSignedIn.cs b/sdk/dotnet/Outputs/AppSignonPolicyRuleKeepMeSignedIn.cs new file mode 100644 index 000000000..5a131bc1a --- /dev/null +++ b/sdk/dotnet/Outputs/AppSignonPolicyRuleKeepMeSignedIn.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class AppSignonPolicyRuleKeepMeSignedIn + { + /// + /// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + /// + public readonly string? PostAuth; + /// + /// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + /// + public readonly string? PostAuthPromptFrequency; + + [OutputConstructor] + private AppSignonPolicyRuleKeepMeSignedIn( + string? postAuth, + + string? postAuthPromptFrequency) + { + PostAuth = postAuth; + PostAuthPromptFrequency = postAuthPromptFrequency; + } + } +} diff --git a/sdk/dotnet/Outputs/AuthenticatorMethodWebauthnAaguidGroup.cs b/sdk/dotnet/Outputs/AuthenticatorMethodWebauthnAaguidGroup.cs new file mode 100644 index 000000000..f734bd8b1 --- /dev/null +++ b/sdk/dotnet/Outputs/AuthenticatorMethodWebauthnAaguidGroup.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class AuthenticatorMethodWebauthnAaguidGroup + { + /// + /// A list of FIDO2 AAGUIDs in this group. + /// + public readonly ImmutableArray Aaguids; + /// + /// A name to identify the group of FIDO2 AAGUIDs. + /// + public readonly string Name; + + [OutputConstructor] + private AuthenticatorMethodWebauthnAaguidGroup( + ImmutableArray aaguids, + + string name) + { + Aaguids = aaguids; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/AuthenticatorMethodWebauthnRpId.cs b/sdk/dotnet/Outputs/AuthenticatorMethodWebauthnRpId.cs new file mode 100644 index 000000000..a4346ef22 --- /dev/null +++ b/sdk/dotnet/Outputs/AuthenticatorMethodWebauthnRpId.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class AuthenticatorMethodWebauthnRpId + { + /// + /// The RP domain configuration. Contains: + /// + public readonly Outputs.AuthenticatorMethodWebauthnRpIdDomain? Domain; + /// + /// Whether the RP ID is active and used for WebAuthn operations. + /// + public readonly bool? Enabled; + + [OutputConstructor] + private AuthenticatorMethodWebauthnRpId( + Outputs.AuthenticatorMethodWebauthnRpIdDomain? domain, + + bool? enabled) + { + Domain = domain; + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Outputs/AuthenticatorMethodWebauthnRpIdDomain.cs b/sdk/dotnet/Outputs/AuthenticatorMethodWebauthnRpIdDomain.cs new file mode 100644 index 000000000..a39e271c8 --- /dev/null +++ b/sdk/dotnet/Outputs/AuthenticatorMethodWebauthnRpIdDomain.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class AuthenticatorMethodWebauthnRpIdDomain + { + /// + /// The RP ID domain value used for WebAuthn operations. + /// + public readonly string? Name; + /// + /// The validation status of the domain. + /// + public readonly string? ValidationStatus; + + [OutputConstructor] + private AuthenticatorMethodWebauthnRpIdDomain( + string? name, + + string? validationStatus) + { + Name = name; + ValidationStatus = validationStatus; + } + } +} diff --git a/sdk/dotnet/Outputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.cs b/sdk/dotnet/Outputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.cs new file mode 100644 index 000000000..95ab9cdfa --- /dev/null +++ b/sdk/dotnet/Outputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class AuthenticatorWebauthnCustomAaguidAttestationRootCertificate + { + /// + /// Expiry date of the certificate. + /// + public readonly string? Expiry; + /// + /// Issuer of the certificate. + /// + public readonly string? Issuer; + /// + /// X.509 certificate chain (base64-encoded). + /// + public readonly string X5c; + /// + /// SHA-256 hash (thumbprint) of the X.509 certificate. + /// + public readonly string? X5tS256; + + [OutputConstructor] + private AuthenticatorWebauthnCustomAaguidAttestationRootCertificate( + string? expiry, + + string? issuer, + + string x5c, + + string? x5tS256) + { + Expiry = expiry; + Issuer = issuer; + X5c = x5c; + X5tS256 = x5tS256; + } + } +} diff --git a/sdk/dotnet/Outputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.cs b/sdk/dotnet/Outputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.cs new file mode 100644 index 000000000..9f9530e3c --- /dev/null +++ b/sdk/dotnet/Outputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics + { + /// + /// Indicates whether the authenticator meets FIPS compliance requirements. + /// + public readonly bool? FipsCompliant; + /// + /// Indicates whether the authenticator stores the private key on a hardware component. + /// + public readonly bool? HardwareProtected; + /// + /// Indicates whether the custom AAGUID is built into the authenticator or is external. + /// + public readonly bool? PlatformAttached; + + [OutputConstructor] + private AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics( + bool? fipsCompliant, + + bool? hardwareProtected, + + bool? platformAttached) + { + FipsCompliant = fipsCompliant; + HardwareProtected = hardwareProtected; + PlatformAttached = platformAttached; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnAaguidGroupResult.cs b/sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnAaguidGroupResult.cs new file mode 100644 index 000000000..cac43c4d9 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnAaguidGroupResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthenticatorMethodWebauthnAaguidGroupResult + { + /// + /// List of FIDO2 AAGUIDs in this group. + /// + public readonly ImmutableArray Aaguids; + /// + /// The name of the AAGUID group. + /// + public readonly string Name; + + [OutputConstructor] + private GetAuthenticatorMethodWebauthnAaguidGroupResult( + ImmutableArray aaguids, + + string name) + { + Aaguids = aaguids; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnRpIdDomainResult.cs b/sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnRpIdDomainResult.cs new file mode 100644 index 000000000..dded40c48 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnRpIdDomainResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthenticatorMethodWebauthnRpIdDomainResult + { + /// + /// The name of the AAGUID group. + /// + public readonly string Name; + /// + /// The validation status of the domain. + /// + public readonly string ValidationStatus; + + [OutputConstructor] + private GetAuthenticatorMethodWebauthnRpIdDomainResult( + string name, + + string validationStatus) + { + Name = name; + ValidationStatus = validationStatus; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnRpIdResult.cs b/sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnRpIdResult.cs new file mode 100644 index 000000000..265e2f2ab --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthenticatorMethodWebauthnRpIdResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthenticatorMethodWebauthnRpIdResult + { + /// + /// The RP domain configuration. Contains: + /// + public readonly Outputs.GetAuthenticatorMethodWebauthnRpIdDomainResult? Domain; + /// + /// Whether the RP ID is active and used for WebAuthn operations. + /// + public readonly bool Enabled; + + [OutputConstructor] + private GetAuthenticatorMethodWebauthnRpIdResult( + Outputs.GetAuthenticatorMethodWebauthnRpIdDomainResult? domain, + + bool enabled) + { + Domain = domain; + Enabled = enabled; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult.cs b/sdk/dotnet/Outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult.cs new file mode 100644 index 000000000..638fd4f4e --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult + { + /// + /// Whether the authenticator meets FIPS compliance requirements. + /// + public readonly bool FipsCompliant; + /// + /// Whether the authenticator stores the private key on hardware. + /// + public readonly bool HardwareProtected; + /// + /// Whether the AAGUID is built into the authenticator or is external. + /// + public readonly bool PlatformAttached; + + [OutputConstructor] + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult( + bool fipsCompliant, + + bool hardwareProtected, + + bool platformAttached) + { + FipsCompliant = fipsCompliant; + HardwareProtected = hardwareProtected; + PlatformAttached = platformAttached; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidResult.cs b/sdk/dotnet/Outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidResult.cs new file mode 100644 index 000000000..302315917 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidResult + { + /// + /// The AAGUID identifier. + /// + public readonly string Aaguid; + /// + /// Properties of the custom AAGUID authenticator. + /// + public readonly Outputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult? AuthenticatorCharacteristics; + /// + /// The product name associated with the AAGUID. + /// + public readonly string Name; + + [OutputConstructor] + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidResult( + string aaguid, + + Outputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult? authenticatorCharacteristics, + + string name) + { + Aaguid = aaguid; + AuthenticatorCharacteristics = authenticatorCharacteristics; + Name = name; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsResult.cs b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsResult.cs new file mode 100644 index 000000000..55e481a53 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleActionsResult + { + /// + /// Token + /// + public readonly Outputs.GetAuthorizationServersPoliciesRuleActionsTokenResult? Token; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleActionsResult(Outputs.GetAuthorizationServersPoliciesRuleActionsTokenResult? token) + { + Token = token; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult.cs b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult.cs new file mode 100644 index 000000000..3f2d5e80a --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult + { + /// + /// Unique identifier of the authorization server policy rule. + /// + public readonly string Id; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult(string id) + { + Id = id; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsTokenResult.cs b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsTokenResult.cs new file mode 100644 index 000000000..a9a2cb35d --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleActionsTokenResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleActionsTokenResult + { + /// + /// Lifetime of the access token in minutes. + /// + public readonly int AccessTokenLifetimeMinutes; + /// + /// InlineHook + /// + public readonly Outputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult? InlineHook; + /// + /// Lifetime of the refresh token is the minimum access token lifetime. + /// + public readonly int RefreshTokenLifetimeMinutes; + /// + /// Timeframe when the refresh token is valid. + /// + public readonly int RefreshTokenWindowMinutes; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleActionsTokenResult( + int accessTokenLifetimeMinutes, + + Outputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult? inlineHook, + + int refreshTokenLifetimeMinutes, + + int refreshTokenWindowMinutes) + { + AccessTokenLifetimeMinutes = accessTokenLifetimeMinutes; + InlineHook = inlineHook; + RefreshTokenLifetimeMinutes = refreshTokenLifetimeMinutes; + RefreshTokenWindowMinutes = refreshTokenWindowMinutes; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult.cs b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult.cs new file mode 100644 index 000000000..8c7b3d29e --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult + { + /// + /// Array of grant types that this condition includes. + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult(ImmutableArray includes) + { + Includes = includes; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult.cs b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult.cs new file mode 100644 index 000000000..639323b7d --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult + { + /// + /// Groups to be included + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult(ImmutableArray includes) + { + Includes = includes; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleResult.cs b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleResult.cs new file mode 100644 index 000000000..caed62a50 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleConditionsPeopleResult + { + /// + /// Specifies a set of Groups whose Users are to be included + /// + public readonly Outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult? Groups; + /// + /// Specifies a set of Users to be included + /// + public readonly Outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult? Users; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleConditionsPeopleResult( + Outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult? groups, + + Outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult? users) + { + Groups = groups; + Users = users; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult.cs b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult.cs new file mode 100644 index 000000000..e85b65f87 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult + { + /// + /// Users to be included + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult(ImmutableArray includes) + { + Includes = includes; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsResult.cs b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsResult.cs new file mode 100644 index 000000000..25a4c25d8 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleConditionsResult + { + /// + /// Array of grant types that this condition includes. + /// + public readonly Outputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult? GrantTypes; + /// + /// Identifies Users and Groups that are used together + /// + public readonly Outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleResult? People; + /// + /// Array of scopes that the condition includes + /// + public readonly Outputs.GetAuthorizationServersPoliciesRuleConditionsScopesResult? Scopes; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleConditionsResult( + Outputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult? grantTypes, + + Outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleResult? people, + + Outputs.GetAuthorizationServersPoliciesRuleConditionsScopesResult? scopes) + { + GrantTypes = grantTypes; + People = people; + Scopes = scopes; + } + } +} diff --git a/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsScopesResult.cs b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsScopesResult.cs new file mode 100644 index 000000000..62e8011e8 --- /dev/null +++ b/sdk/dotnet/Outputs/GetAuthorizationServersPoliciesRuleConditionsScopesResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetAuthorizationServersPoliciesRuleConditionsScopesResult + { + /// + /// Include + /// + public readonly ImmutableArray Includes; + + [OutputConstructor] + private GetAuthorizationServersPoliciesRuleConditionsScopesResult(ImmutableArray includes) + { + Includes = includes; + } + } +} diff --git a/sdk/dotnet/Outputs/GetIamAssigneesUserItemResult.cs b/sdk/dotnet/Outputs/GetIamAssigneesUserItemResult.cs new file mode 100644 index 000000000..b88a893bc --- /dev/null +++ b/sdk/dotnet/Outputs/GetIamAssigneesUserItemResult.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetIamAssigneesUserItemResult + { + public readonly string Id; + /// + /// ORN representing the assignee + /// + public readonly string Orn; + + [OutputConstructor] + private GetIamAssigneesUserItemResult( + string id, + + string orn) + { + Id = id; + Orn = orn; + } + } +} diff --git a/sdk/dotnet/Outputs/GetIdentitySourceGroupsProfileResult.cs b/sdk/dotnet/Outputs/GetIdentitySourceGroupsProfileResult.cs new file mode 100644 index 000000000..3cd15123e --- /dev/null +++ b/sdk/dotnet/Outputs/GetIdentitySourceGroupsProfileResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetIdentitySourceGroupsProfileResult + { + /// + /// Description of the group. + /// + public readonly string Description; + /// + /// Display name of the group. + /// + public readonly string DisplayName; + + [OutputConstructor] + private GetIdentitySourceGroupsProfileResult( + string description, + + string displayName) + { + Description = description; + DisplayName = displayName; + } + } +} diff --git a/sdk/dotnet/Outputs/GetIdentitySourceUsersProfileResult.cs b/sdk/dotnet/Outputs/GetIdentitySourceUsersProfileResult.cs new file mode 100644 index 000000000..3bf91f823 --- /dev/null +++ b/sdk/dotnet/Outputs/GetIdentitySourceUsersProfileResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class GetIdentitySourceUsersProfileResult + { + public readonly string Email; + public readonly string FirstName; + public readonly string HomeAddress; + public readonly string LastName; + public readonly string MobilePhone; + public readonly string SecondEmail; + public readonly string UserName; + + [OutputConstructor] + private GetIdentitySourceUsersProfileResult( + string email, + + string firstName, + + string homeAddress, + + string lastName, + + string mobilePhone, + + string secondEmail, + + string userName) + { + Email = email; + FirstName = firstName; + HomeAddress = homeAddress; + LastName = lastName; + MobilePhone = mobilePhone; + SecondEmail = secondEmail; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceGroupProfile.cs b/sdk/dotnet/Outputs/IdentitySourceGroupProfile.cs new file mode 100644 index 000000000..a6290a949 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceGroupProfile.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceGroupProfile + { + /// + /// Description of the group. + /// + public readonly string? Description; + /// + /// Name of the group. + /// + public readonly string? DisplayName; + + [OutputConstructor] + private IdentitySourceGroupProfile( + string? description, + + string? displayName) + { + Description = description; + DisplayName = displayName; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportDeleteGroupMemberships.cs b/sdk/dotnet/Outputs/IdentitySourceImportDeleteGroupMemberships.cs new file mode 100644 index 000000000..b73cac0e5 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportDeleteGroupMemberships.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportDeleteGroupMemberships + { + /// + /// Group memberships to delete. (see below) + /// + public readonly ImmutableArray Memberships; + + [OutputConstructor] + private IdentitySourceImportDeleteGroupMemberships(ImmutableArray memberships) + { + Memberships = memberships; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportDeleteGroupMembershipsMembership.cs b/sdk/dotnet/Outputs/IdentitySourceImportDeleteGroupMembershipsMembership.cs new file mode 100644 index 000000000..56c763182 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportDeleteGroupMembershipsMembership.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportDeleteGroupMembershipsMembership + { + /// + /// External ID of the group. + /// + public readonly string? GroupExternalId; + /// + /// External IDs of the group members to remove. + /// + public readonly ImmutableArray MemberExternalIds; + + [OutputConstructor] + private IdentitySourceImportDeleteGroupMembershipsMembership( + string? groupExternalId, + + ImmutableArray memberExternalIds) + { + GroupExternalId = groupExternalId; + MemberExternalIds = memberExternalIds; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportDeleteGroups.cs b/sdk/dotnet/Outputs/IdentitySourceImportDeleteGroups.cs new file mode 100644 index 000000000..3b8f4c2ff --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportDeleteGroups.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportDeleteGroups + { + /// + /// External IDs of the groups to delete. + /// + public readonly ImmutableArray ExternalIds; + + [OutputConstructor] + private IdentitySourceImportDeleteGroups(ImmutableArray externalIds) + { + ExternalIds = externalIds; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportDeleteUsers.cs b/sdk/dotnet/Outputs/IdentitySourceImportDeleteUsers.cs new file mode 100644 index 000000000..e18618fa2 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportDeleteUsers.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportDeleteUsers + { + /// + /// Entity type. Currently only `USERS` is supported. + /// + public readonly string? EntityType; + /// + /// User profiles to delete (by external ID). (see below) + /// + public readonly ImmutableArray Profiles; + + [OutputConstructor] + private IdentitySourceImportDeleteUsers( + string? entityType, + + ImmutableArray profiles) + { + EntityType = entityType; + Profiles = profiles; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportDeleteUsersProfile.cs b/sdk/dotnet/Outputs/IdentitySourceImportDeleteUsersProfile.cs new file mode 100644 index 000000000..44ee53cdb --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportDeleteUsersProfile.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportDeleteUsersProfile + { + /// + /// External ID of the user to delete. + /// + public readonly string? ExternalId; + + [OutputConstructor] + private IdentitySourceImportDeleteUsersProfile(string? externalId) + { + ExternalId = externalId; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupMemberships.cs b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupMemberships.cs new file mode 100644 index 000000000..a5467be34 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupMemberships.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportUpsertGroupMemberships + { + /// + /// Group memberships to upsert. (see below) + /// + public readonly ImmutableArray Memberships; + + [OutputConstructor] + private IdentitySourceImportUpsertGroupMemberships(ImmutableArray memberships) + { + Memberships = memberships; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupMembershipsMembership.cs b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupMembershipsMembership.cs new file mode 100644 index 000000000..27096c90b --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupMembershipsMembership.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportUpsertGroupMembershipsMembership + { + /// + /// External ID of the group. + /// + public readonly string? GroupExternalId; + /// + /// External IDs of the group members to add. + /// + public readonly ImmutableArray MemberExternalIds; + + [OutputConstructor] + private IdentitySourceImportUpsertGroupMembershipsMembership( + string? groupExternalId, + + ImmutableArray memberExternalIds) + { + GroupExternalId = groupExternalId; + MemberExternalIds = memberExternalIds; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroups.cs b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroups.cs new file mode 100644 index 000000000..2d6a0bbc6 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroups.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportUpsertGroups + { + /// + /// Group profiles to upsert. (see below) + /// + public readonly ImmutableArray Profiles; + + [OutputConstructor] + private IdentitySourceImportUpsertGroups(ImmutableArray profiles) + { + Profiles = profiles; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupsProfile.cs b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupsProfile.cs new file mode 100644 index 000000000..fbf7d33f6 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupsProfile.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportUpsertGroupsProfile + { + /// + /// External ID of the group. + /// + public readonly string? ExternalId; + /// + /// Group profile attributes. (see below) + /// + public readonly Outputs.IdentitySourceImportUpsertGroupsProfileGroupProfile? GroupProfile; + + [OutputConstructor] + private IdentitySourceImportUpsertGroupsProfile( + string? externalId, + + Outputs.IdentitySourceImportUpsertGroupsProfileGroupProfile? groupProfile) + { + ExternalId = externalId; + GroupProfile = groupProfile; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupsProfileGroupProfile.cs b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupsProfileGroupProfile.cs new file mode 100644 index 000000000..c5fe93357 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportUpsertGroupsProfileGroupProfile.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportUpsertGroupsProfileGroupProfile + { + /// + /// Description of the group. + /// + public readonly string? Description; + /// + /// Display name of the group. + /// + public readonly string? DisplayName; + + [OutputConstructor] + private IdentitySourceImportUpsertGroupsProfileGroupProfile( + string? description, + + string? displayName) + { + Description = description; + DisplayName = displayName; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportUpsertUsers.cs b/sdk/dotnet/Outputs/IdentitySourceImportUpsertUsers.cs new file mode 100644 index 000000000..7ae2dacb6 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportUpsertUsers.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportUpsertUsers + { + /// + /// Entity type. Currently only `USERS` is supported. + /// + public readonly string? EntityType; + /// + /// User profiles to upsert. (see below) + /// + public readonly ImmutableArray Profiles; + + [OutputConstructor] + private IdentitySourceImportUpsertUsers( + string? entityType, + + ImmutableArray profiles) + { + EntityType = entityType; + Profiles = profiles; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportUpsertUsersProfile.cs b/sdk/dotnet/Outputs/IdentitySourceImportUpsertUsersProfile.cs new file mode 100644 index 000000000..b2fe89bf0 --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportUpsertUsersProfile.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportUpsertUsersProfile + { + /// + /// External ID of the user. + /// + public readonly string? ExternalId; + /// + /// User profile attributes. (see below) + /// + public readonly Outputs.IdentitySourceImportUpsertUsersProfileProfile? Profile; + + [OutputConstructor] + private IdentitySourceImportUpsertUsersProfile( + string? externalId, + + Outputs.IdentitySourceImportUpsertUsersProfileProfile? profile) + { + ExternalId = externalId; + Profile = profile; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceImportUpsertUsersProfileProfile.cs b/sdk/dotnet/Outputs/IdentitySourceImportUpsertUsersProfileProfile.cs new file mode 100644 index 000000000..c03b958ee --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceImportUpsertUsersProfileProfile.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceImportUpsertUsersProfileProfile + { + /// + /// Email address of the user. + /// + public readonly string? Email; + /// + /// First name of the user. + /// + public readonly string? FirstName; + /// + /// Home address of the user. + /// + public readonly string? HomeAddress; + /// + /// Last name of the user. + /// + public readonly string? LastName; + /// + /// Mobile phone number of the user. + /// + public readonly string? MobilePhone; + /// + /// Alternative email address of the user. + /// + public readonly string? SecondEmail; + /// + /// Username of the user. + /// + public readonly string? UserName; + + [OutputConstructor] + private IdentitySourceImportUpsertUsersProfileProfile( + string? email, + + string? firstName, + + string? homeAddress, + + string? lastName, + + string? mobilePhone, + + string? secondEmail, + + string? userName) + { + Email = email; + FirstName = firstName; + HomeAddress = homeAddress; + LastName = lastName; + MobilePhone = mobilePhone; + SecondEmail = secondEmail; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/Outputs/IdentitySourceUserProfile.cs b/sdk/dotnet/Outputs/IdentitySourceUserProfile.cs new file mode 100644 index 000000000..34f3bce8b --- /dev/null +++ b/sdk/dotnet/Outputs/IdentitySourceUserProfile.cs @@ -0,0 +1,70 @@ +// *** WARNING: this file was generated by pulumi-language-dotnet. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Okta.Outputs +{ + + [OutputType] + public sealed class IdentitySourceUserProfile + { + /// + /// Email address of the user. + /// + public readonly string? Email; + /// + /// First name of the user. + /// + public readonly string? FirstName; + /// + /// Home address of the user. + /// + public readonly string? HomeAddress; + /// + /// Last name of the user. + /// + public readonly string? LastName; + /// + /// Mobile phone number of the user. + /// + public readonly string? MobilePhone; + /// + /// Alternative email address of the user. + /// + public readonly string? SecondEmail; + /// + /// Username of the user. + /// + public readonly string? UserName; + + [OutputConstructor] + private IdentitySourceUserProfile( + string? email, + + string? firstName, + + string? homeAddress, + + string? lastName, + + string? mobilePhone, + + string? secondEmail, + + string? userName) + { + Email = email; + FirstName = firstName; + HomeAddress = homeAddress; + LastName = lastName; + MobilePhone = mobilePhone; + SecondEmail = secondEmail; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/Outputs/PushGroupAppConfig.cs b/sdk/dotnet/Outputs/PushGroupAppConfig.cs index ca36ae045..ab282feb3 100644 --- a/sdk/dotnet/Outputs/PushGroupAppConfig.cs +++ b/sdk/dotnet/Outputs/PushGroupAppConfig.cs @@ -17,6 +17,7 @@ public sealed class PushGroupAppConfig public readonly string GroupScope; public readonly string GroupType; public readonly string SamAccountName; + public readonly string Type; [OutputConstructor] private PushGroupAppConfig( @@ -26,12 +27,15 @@ private PushGroupAppConfig( string groupType, - string samAccountName) + string samAccountName, + + string type) { DistinguishedName = distinguishedName; GroupScope = groupScope; GroupType = groupType; SamAccountName = samAccountName; + Type = type; } } } diff --git a/sdk/dotnet/Policy/Password.cs b/sdk/dotnet/Policy/Password.cs index 2b78f76e7..a4b74e043 100644 --- a/sdk/dotnet/Policy/Password.cs +++ b/sdk/dotnet/Policy/Password.cs @@ -52,6 +52,24 @@ public partial class Password : global::Pulumi.CustomResource [Output("authProvider")] public Output AuthProvider { get; private set; } = null!; + /// + /// The ID of the workflow to run when a breached password is found during a sign-in attempt. + /// + [Output("breachedPasswordDelegatedWorkflowId")] + public Output BreachedPasswordDelegatedWorkflowId { get; private set; } = null!; + + /// + /// Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `BreachedPasswordLogoutEnabled` is `True`. + /// + [Output("breachedPasswordExpireAfterDays")] + public Output BreachedPasswordExpireAfterDays { get; private set; } = null!; + + /// + /// If `True`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `BreachedPasswordExpireAfterDays` to also be configured. Default: `False` + /// + [Output("breachedPasswordLogoutEnabled")] + public Output BreachedPasswordLogoutEnabled { get; private set; } = null!; + /// /// Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` /// @@ -278,6 +296,24 @@ public sealed class PasswordArgs : global::Pulumi.ResourceArgs [Input("authProvider")] public Input? AuthProvider { get; set; } + /// + /// The ID of the workflow to run when a breached password is found during a sign-in attempt. + /// + [Input("breachedPasswordDelegatedWorkflowId")] + public Input? BreachedPasswordDelegatedWorkflowId { get; set; } + + /// + /// Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `BreachedPasswordLogoutEnabled` is `True`. + /// + [Input("breachedPasswordExpireAfterDays")] + public Input? BreachedPasswordExpireAfterDays { get; set; } + + /// + /// If `True`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `BreachedPasswordExpireAfterDays` to also be configured. Default: `False` + /// + [Input("breachedPasswordLogoutEnabled")] + public Input? BreachedPasswordLogoutEnabled { get; set; } + /// /// Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` /// @@ -478,6 +514,24 @@ public sealed class PasswordState : global::Pulumi.ResourceArgs [Input("authProvider")] public Input? AuthProvider { get; set; } + /// + /// The ID of the workflow to run when a breached password is found during a sign-in attempt. + /// + [Input("breachedPasswordDelegatedWorkflowId")] + public Input? BreachedPasswordDelegatedWorkflowId { get; set; } + + /// + /// Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `BreachedPasswordLogoutEnabled` is `True`. + /// + [Input("breachedPasswordExpireAfterDays")] + public Input? BreachedPasswordExpireAfterDays { get; set; } + + /// + /// If `True`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `BreachedPasswordExpireAfterDays` to also be configured. Default: `False` + /// + [Input("breachedPasswordLogoutEnabled")] + public Input? BreachedPasswordLogoutEnabled { get; set; } + /// /// Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` /// diff --git a/sdk/dotnet/PolicyPasswordDefault.cs b/sdk/dotnet/PolicyPasswordDefault.cs index 8472a6e71..c60024fbd 100644 --- a/sdk/dotnet/PolicyPasswordDefault.cs +++ b/sdk/dotnet/PolicyPasswordDefault.cs @@ -10,7 +10,14 @@ namespace Pulumi.Okta { /// - /// Configures default password policy. This resource allows you to configure default password policy. + /// Configures the default password policy. This resource allows you to configure the default password policy. + /// + /// > **Note:** If your configuration also manages other `okta.policy.Password` resources, add + /// `DependsOn = [okta_policy_password.<last_policy>]` pointing to the last non-default policy in your + /// dependency chain. The default policy's `Priority` is read-only and shifts whenever other password policies + /// are created or deleted. Using `DependsOn` ensures all sibling policies are fully created before this + /// resource is read or updated, so the provider sees the correct priority value and the Okta API does not + /// reject the request with E0000077. /// /// ## Example Usage /// @@ -22,7 +29,27 @@ namespace Pulumi.Okta /// /// return await Deployment.RunAsync(() => /// { - /// var @default = new Okta.PolicyPasswordDefault("default"); + /// var custom = new Okta.Policy.Password("custom", new() + /// { + /// Name = "Custom Password Policy", + /// GroupsIncludeds = new[] + /// { + /// example.Id, + /// }, + /// Status = "ACTIVE", + /// Priority = 1, + /// }); + /// + /// var @default = new Okta.PolicyPasswordDefault("default", new() + /// { + /// PasswordHistoryCount = 5, + /// }, new CustomResourceOptions + /// { + /// DependsOn = + /// { + /// custom, + /// }, + /// }); /// /// }); /// ``` @@ -36,6 +63,24 @@ namespace Pulumi.Okta [OktaResourceType("okta:index/policyPasswordDefault:PolicyPasswordDefault")] public partial class PolicyPasswordDefault : global::Pulumi.CustomResource { + /// + /// The ID of the workflow to run when a breached password is found during a sign-in attempt. + /// + [Output("breachedPasswordDelegatedWorkflowId")] + public Output BreachedPasswordDelegatedWorkflowId { get; private set; } = null!; + + /// + /// Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `BreachedPasswordLogoutEnabled` is `True`. + /// + [Output("breachedPasswordExpireAfterDays")] + public Output BreachedPasswordExpireAfterDays { get; private set; } = null!; + + /// + /// If `True`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `BreachedPasswordExpireAfterDays` to also be configured. Default: `False` + /// + [Output("breachedPasswordLogoutEnabled")] + public Output BreachedPasswordLogoutEnabled { get; private set; } = null!; + /// /// Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` /// @@ -262,6 +307,24 @@ public static PolicyPasswordDefault Get(string name, Input id, PolicyPas public sealed class PolicyPasswordDefaultArgs : global::Pulumi.ResourceArgs { + /// + /// The ID of the workflow to run when a breached password is found during a sign-in attempt. + /// + [Input("breachedPasswordDelegatedWorkflowId")] + public Input? BreachedPasswordDelegatedWorkflowId { get; set; } + + /// + /// Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `BreachedPasswordLogoutEnabled` is `True`. + /// + [Input("breachedPasswordExpireAfterDays")] + public Input? BreachedPasswordExpireAfterDays { get; set; } + + /// + /// If `True`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `BreachedPasswordExpireAfterDays` to also be configured. Default: `False` + /// + [Input("breachedPasswordLogoutEnabled")] + public Input? BreachedPasswordLogoutEnabled { get; set; } + /// /// Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` /// @@ -420,6 +483,24 @@ public PolicyPasswordDefaultArgs() public sealed class PolicyPasswordDefaultState : global::Pulumi.ResourceArgs { + /// + /// The ID of the workflow to run when a breached password is found during a sign-in attempt. + /// + [Input("breachedPasswordDelegatedWorkflowId")] + public Input? BreachedPasswordDelegatedWorkflowId { get; set; } + + /// + /// Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `BreachedPasswordLogoutEnabled` is `True`. + /// + [Input("breachedPasswordExpireAfterDays")] + public Input? BreachedPasswordExpireAfterDays { get; set; } + + /// + /// If `True`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `BreachedPasswordExpireAfterDays` to also be configured. Default: `False` + /// + [Input("breachedPasswordLogoutEnabled")] + public Input? BreachedPasswordLogoutEnabled { get; set; } + /// /// Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` /// diff --git a/sdk/dotnet/PushGroup.cs b/sdk/dotnet/PushGroup.cs index 1ee4c152d..455baa914 100644 --- a/sdk/dotnet/PushGroup.cs +++ b/sdk/dotnet/PushGroup.cs @@ -55,6 +55,7 @@ namespace Pulumi.Okta /// Status = "ACTIVE", /// AppConfig = new Okta.Inputs.PushGroupAppConfigArgs /// { + /// Type = "ACTIVE_DIRECTORY", /// DistinguishedName = "CN=Test,OU=Groups,DC=example,DC=com", /// GroupScope = "DOMAIN_LOCAL", /// GroupType = "SECURITY", diff --git a/sdk/dotnet/RequestSettingOrganization.cs b/sdk/dotnet/RequestSettingOrganization.cs index a4703d077..174ba0a95 100644 --- a/sdk/dotnet/RequestSettingOrganization.cs +++ b/sdk/dotnet/RequestSettingOrganization.cs @@ -22,19 +22,10 @@ namespace Pulumi.Okta /// /// return await Deployment.RunAsync(() => /// { - /// var example = new Okta.RequestCondition("example", new() + /// var example = new Okta.RequestSettingOrganization("example", new() /// { - /// ResourceId = "<resource_id>", - /// ApprovalSequenceId = "<approval_sequence_id>", - /// Name = "<name>", - /// AccessScopeSettings = new Okta.Inputs.RequestConditionAccessScopeSettingsArgs - /// { - /// Type = "RESOURCE_DEFAULT", - /// }, - /// RequesterSettings = new Okta.Inputs.RequestConditionRequesterSettingsArgs - /// { - /// Type = "EVERYONE", - /// }, + /// IdProperty = "default", + /// SubprocessorsAcknowledged = true, /// }); /// /// }); @@ -50,7 +41,7 @@ namespace Pulumi.Okta public partial class RequestSettingOrganization : global::Pulumi.CustomResource { /// - /// Request condition id. + /// The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. /// [Output("idProperty")] public Output IdProperty { get; private set; } = null!; @@ -108,7 +99,7 @@ public static RequestSettingOrganization Get(string name, Input id, Requ public sealed class RequestSettingOrganizationArgs : global::Pulumi.ResourceArgs { /// - /// Request condition id. + /// The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. /// [Input("idProperty", required: true)] public Input IdProperty { get; set; } = null!; @@ -128,7 +119,7 @@ public RequestSettingOrganizationArgs() public sealed class RequestSettingOrganizationState : global::Pulumi.ResourceArgs { /// - /// Request condition id. + /// The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. /// [Input("idProperty")] public Input? IdProperty { get; set; } diff --git a/sdk/dotnet/RequestSettingResource.cs b/sdk/dotnet/RequestSettingResource.cs index bcb7e2e36..10b30ba33 100644 --- a/sdk/dotnet/RequestSettingResource.cs +++ b/sdk/dotnet/RequestSettingResource.cs @@ -24,7 +24,7 @@ namespace Pulumi.Okta /// { /// var test = new Okta.RequestSettingResource("test", new() /// { - /// ResourceId = "<resource_id>", + /// IdProperty = "<resource_id>", /// RiskSettings = new Okta.Inputs.RequestSettingResourceRiskSettingsArgs /// { /// DefaultSetting = new Okta.Inputs.RequestSettingResourceRiskSettingsDefaultSettingArgs diff --git a/sdk/dotnet/User/GetUser.cs b/sdk/dotnet/User/GetUser.cs index 3247cdd77..b83fda7da 100644 --- a/sdk/dotnet/User/GetUser.cs +++ b/sdk/dotnet/User/GetUser.cs @@ -135,6 +135,7 @@ public GetUserInvokeArgs() [OutputType] public sealed class GetUserResult { + public readonly string Activated; public readonly ImmutableArray AdminRoles; public readonly string City; /// @@ -143,6 +144,7 @@ public sealed class GetUserResult public readonly string? CompoundSearchOperator; public readonly string CostCenter; public readonly string CountryCode; + public readonly string Created; public readonly string CustomProfileAttributes; /// /// Force delay of the user read by N seconds. Useful when eventual consistency of user information needs to be allowed for. @@ -161,7 +163,9 @@ public sealed class GetUserResult /// The provider-assigned unique ID for this managed resource. /// public readonly string Id; + public readonly string LastLogin; public readonly string LastName; + public readonly string LastUpdated; public readonly string Locale; public readonly string Login; public readonly string Manager; @@ -170,6 +174,7 @@ public sealed class GetUserResult public readonly string MobilePhone; public readonly string NickName; public readonly string Organization; + public readonly string PasswordChanged; public readonly string PostalAddress; public readonly string PreferredLanguage; public readonly string PrimaryPhone; @@ -194,6 +199,7 @@ public sealed class GetUserResult public readonly bool? SkipRoles; public readonly string State; public readonly string Status; + public readonly string StatusChanged; public readonly string StreetAddress; public readonly string Timezone; public readonly string Title; @@ -207,6 +213,8 @@ public sealed class GetUserResult [OutputConstructor] private GetUserResult( + string activated, + ImmutableArray adminRoles, string city, @@ -217,6 +225,8 @@ private GetUserResult( string countryCode, + string created, + string customProfileAttributes, string? delayReadSeconds, @@ -241,8 +251,12 @@ private GetUserResult( string id, + string lastLogin, + string lastName, + string lastUpdated, + string locale, string login, @@ -259,6 +273,8 @@ private GetUserResult( string organization, + string passwordChanged, + string postalAddress, string preferredLanguage, @@ -283,6 +299,8 @@ private GetUserResult( string status, + string statusChanged, + string streetAddress, string timezone, @@ -297,11 +315,13 @@ private GetUserResult( string zipCode) { + Activated = activated; AdminRoles = adminRoles; City = city; CompoundSearchOperator = compoundSearchOperator; CostCenter = costCenter; CountryCode = countryCode; + Created = created; CustomProfileAttributes = customProfileAttributes; DelayReadSeconds = delayReadSeconds; Department = department; @@ -314,7 +334,9 @@ private GetUserResult( HonorificPrefix = honorificPrefix; HonorificSuffix = honorificSuffix; Id = id; + LastLogin = lastLogin; LastName = lastName; + LastUpdated = lastUpdated; Locale = locale; Login = login; Manager = manager; @@ -323,6 +345,7 @@ private GetUserResult( MobilePhone = mobilePhone; NickName = nickName; Organization = organization; + PasswordChanged = passwordChanged; PostalAddress = postalAddress; PreferredLanguage = preferredLanguage; PrimaryPhone = primaryPhone; @@ -335,6 +358,7 @@ private GetUserResult( SkipRoles = skipRoles; State = state; Status = status; + StatusChanged = statusChanged; StreetAddress = streetAddress; Timezone = timezone; Title = title; diff --git a/sdk/dotnet/User/Outputs/GetUsersUserResult.cs b/sdk/dotnet/User/Outputs/GetUsersUserResult.cs index 98f721a73..0ab8b3040 100644 --- a/sdk/dotnet/User/Outputs/GetUsersUserResult.cs +++ b/sdk/dotnet/User/Outputs/GetUsersUserResult.cs @@ -13,10 +13,12 @@ namespace Pulumi.Okta.User.Outputs [OutputType] public sealed class GetUsersUserResult { + public readonly string Activated; public readonly ImmutableArray AdminRoles; public readonly string City; public readonly string CostCenter; public readonly string CountryCode; + public readonly string Created; public readonly string CustomProfileAttributes; public readonly string Department; public readonly string DisplayName; @@ -28,7 +30,9 @@ public sealed class GetUsersUserResult public readonly string HonorificPrefix; public readonly string HonorificSuffix; public readonly string Id; + public readonly string LastLogin; public readonly string LastName; + public readonly string LastUpdated; public readonly string Locale; public readonly string Login; public readonly string Manager; @@ -37,6 +41,7 @@ public sealed class GetUsersUserResult public readonly string MobilePhone; public readonly string NickName; public readonly string Organization; + public readonly string PasswordChanged; public readonly string PostalAddress; public readonly string PreferredLanguage; public readonly string PrimaryPhone; @@ -49,6 +54,7 @@ public sealed class GetUsersUserResult public readonly string SecondEmail; public readonly string State; public readonly string Status; + public readonly string StatusChanged; public readonly string StreetAddress; public readonly string Timezone; public readonly string Title; @@ -61,6 +67,8 @@ public sealed class GetUsersUserResult [OutputConstructor] private GetUsersUserResult( + string activated, + ImmutableArray adminRoles, string city, @@ -69,6 +77,8 @@ private GetUsersUserResult( string countryCode, + string created, + string customProfileAttributes, string department, @@ -91,8 +101,12 @@ private GetUsersUserResult( string id, + string lastLogin, + string lastName, + string lastUpdated, + string locale, string login, @@ -109,6 +123,8 @@ private GetUsersUserResult( string organization, + string passwordChanged, + string postalAddress, string preferredLanguage, @@ -127,6 +143,8 @@ private GetUsersUserResult( string status, + string statusChanged, + string streetAddress, string timezone, @@ -139,10 +157,12 @@ private GetUsersUserResult( string zipCode) { + Activated = activated; AdminRoles = adminRoles; City = city; CostCenter = costCenter; CountryCode = countryCode; + Created = created; CustomProfileAttributes = customProfileAttributes; Department = department; DisplayName = displayName; @@ -154,7 +174,9 @@ private GetUsersUserResult( HonorificPrefix = honorificPrefix; HonorificSuffix = honorificSuffix; Id = id; + LastLogin = lastLogin; LastName = lastName; + LastUpdated = lastUpdated; Locale = locale; Login = login; Manager = manager; @@ -163,6 +185,7 @@ private GetUsersUserResult( MobilePhone = mobilePhone; NickName = nickName; Organization = organization; + PasswordChanged = passwordChanged; PostalAddress = postalAddress; PreferredLanguage = preferredLanguage; PrimaryPhone = primaryPhone; @@ -172,6 +195,7 @@ private GetUsersUserResult( SecondEmail = secondEmail; State = state; Status = status; + StatusChanged = statusChanged; StreetAddress = streetAddress; Timezone = timezone; Title = title; diff --git a/sdk/dotnet/User/User.cs b/sdk/dotnet/User/User.cs index 1a7ee83c1..410f600fd 100644 --- a/sdk/dotnet/User/User.cs +++ b/sdk/dotnet/User/User.cs @@ -80,6 +80,12 @@ namespace Pulumi.Okta.User [OktaResourceType("okta:user/user:User")] public partial class User : global::Pulumi.CustomResource { + /// + /// The timestamp when the user status transitioned to ACTIVE + /// + [Output("activated")] + public Output Activated { get; private set; } = null!; + /// /// User city /// @@ -98,6 +104,12 @@ public partial class User : global::Pulumi.CustomResource [Output("countryCode")] public Output CountryCode { get; private set; } = null!; + /// + /// The timestamp when the user was created + /// + [Output("created")] + public Output Created { get; private set; } = null!; + /// /// JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. /// @@ -164,12 +176,24 @@ public partial class User : global::Pulumi.CustomResource [Output("honorificSuffix")] public Output HonorificSuffix { get; private set; } = null!; + /// + /// The timestamp of the user's last login + /// + [Output("lastLogin")] + public Output LastLogin { get; private set; } = null!; + /// /// User last name /// [Output("lastName")] public Output LastName { get; private set; } = null!; + /// + /// The timestamp when the user was last updated + /// + [Output("lastUpdated")] + public Output LastUpdated { get; private set; } = null!; + /// /// User default location /// @@ -230,6 +254,12 @@ public partial class User : global::Pulumi.CustomResource [Output("password")] public Output Password { get; private set; } = null!; + /// + /// The timestamp when the user's password was last changed + /// + [Output("passwordChanged")] + public Output PasswordChanged { get; private set; } = null!; + /// /// Specifies a hashed password to import into Okta. /// @@ -314,6 +344,12 @@ public partial class User : global::Pulumi.CustomResource [Output("status")] public Output Status { get; private set; } = null!; + /// + /// The timestamp when the user's status last changed + /// + [Output("statusChanged")] + public Output StatusChanged { get; private set; } = null!; + /// /// User street address /// @@ -710,6 +746,12 @@ public UserArgs() public sealed class UserState : global::Pulumi.ResourceArgs { + /// + /// The timestamp when the user status transitioned to ACTIVE + /// + [Input("activated")] + public Input? Activated { get; set; } + /// /// User city /// @@ -728,6 +770,12 @@ public sealed class UserState : global::Pulumi.ResourceArgs [Input("countryCode")] public Input? CountryCode { get; set; } + /// + /// The timestamp when the user was created + /// + [Input("created")] + public Input? Created { get; set; } + /// /// JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. /// @@ -800,12 +848,24 @@ public InputList CustomProfileAttributesToIgnores [Input("honorificSuffix")] public Input? HonorificSuffix { get; set; } + /// + /// The timestamp of the user's last login + /// + [Input("lastLogin")] + public Input? LastLogin { get; set; } + /// /// User last name /// [Input("lastName")] public Input? LastName { get; set; } + /// + /// The timestamp when the user was last updated + /// + [Input("lastUpdated")] + public Input? LastUpdated { get; set; } + /// /// User default location /// @@ -886,6 +946,12 @@ public Input? Password } } + /// + /// The timestamp when the user's password was last changed + /// + [Input("passwordChanged")] + public Input? PasswordChanged { get; set; } + /// /// Specifies a hashed password to import into Okta. /// @@ -980,6 +1046,12 @@ public Input? RecoveryAnswer [Input("status")] public Input? Status { get; set; } + /// + /// The timestamp when the user's status last changed + /// + [Input("statusChanged")] + public Input? StatusChanged { get; set; } + /// /// User street address /// diff --git a/sdk/go/okta/app/getSignOnPolicyRule.go b/sdk/go/okta/app/getSignOnPolicyRule.go new file mode 100644 index 000000000..e5391c2c8 --- /dev/null +++ b/sdk/go/okta/app/getSignOnPolicyRule.go @@ -0,0 +1,187 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package app + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. +// +// > **WARNING:** This feature is only available as a part of the +// Identity Engine. Contact support +// for further information. +// +// > Inside the product a sign-on policy rule is referenced as an _authentication +// policy rule_, in the public API the parent policy is of type +// [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/app" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// example, err := okta.GetAppSignonPolicy(ctx, &okta.LookupAppSignonPolicyArgs{ +// AppId: "", +// }, nil) +// if err != nil { +// return err +// } +// _, err = app.GetSignOnPolicyRule(ctx, &app.GetSignOnPolicyRuleArgs{ +// Id: "", +// PolicyId: example.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetSignOnPolicyRule(ctx *pulumi.Context, args *GetSignOnPolicyRuleArgs, opts ...pulumi.InvokeOption) (*GetSignOnPolicyRuleResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetSignOnPolicyRuleResult + err := ctx.Invoke("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getSignOnPolicyRule. +type GetSignOnPolicyRuleArgs struct { + Actions *GetSignOnPolicyRuleActions `pulumi:"actions"` + Conditions *GetSignOnPolicyRuleConditions `pulumi:"conditions"` + // Unique identifier of the access policy rule. + Id string `pulumi:"id"` + // `id` of the policy + PolicyId string `pulumi:"policyId"` +} + +// A collection of values returned by getSignOnPolicyRule. +type GetSignOnPolicyRuleResult struct { + Actions *GetSignOnPolicyRuleActions `pulumi:"actions"` + Conditions *GetSignOnPolicyRuleConditions `pulumi:"conditions"` + // Timestamp when the rule was created + Created string `pulumi:"created"` + // Unique identifier of the access policy rule. + Id string `pulumi:"id"` + // Timestamp when the rule was last modified + LastUpdated string `pulumi:"lastUpdated"` + // Name of the rule + Name string `pulumi:"name"` + // `id` of the policy + PolicyId string `pulumi:"policyId"` + // Priority of the rule + Priority int `pulumi:"priority"` + // Whether or not the rule is active. + Status string `pulumi:"status"` + // Specifies whether Okta created the policy rule (`system=true`). + System bool `pulumi:"system"` +} + +func GetSignOnPolicyRuleOutput(ctx *pulumi.Context, args GetSignOnPolicyRuleOutputArgs, opts ...pulumi.InvokeOption) GetSignOnPolicyRuleResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetSignOnPolicyRuleResultOutput, error) { + args := v.(GetSignOnPolicyRuleArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", args, GetSignOnPolicyRuleResultOutput{}, options).(GetSignOnPolicyRuleResultOutput), nil + }).(GetSignOnPolicyRuleResultOutput) +} + +// A collection of arguments for invoking getSignOnPolicyRule. +type GetSignOnPolicyRuleOutputArgs struct { + Actions GetSignOnPolicyRuleActionsPtrInput `pulumi:"actions"` + Conditions GetSignOnPolicyRuleConditionsPtrInput `pulumi:"conditions"` + // Unique identifier of the access policy rule. + Id pulumi.StringInput `pulumi:"id"` + // `id` of the policy + PolicyId pulumi.StringInput `pulumi:"policyId"` +} + +func (GetSignOnPolicyRuleOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleArgs)(nil)).Elem() +} + +// A collection of values returned by getSignOnPolicyRule. +type GetSignOnPolicyRuleResultOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleResult)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleResultOutput) ToGetSignOnPolicyRuleResultOutput() GetSignOnPolicyRuleResultOutput { + return o +} + +func (o GetSignOnPolicyRuleResultOutput) ToGetSignOnPolicyRuleResultOutputWithContext(ctx context.Context) GetSignOnPolicyRuleResultOutput { + return o +} + +func (o GetSignOnPolicyRuleResultOutput) Actions() GetSignOnPolicyRuleActionsPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) *GetSignOnPolicyRuleActions { return v.Actions }).(GetSignOnPolicyRuleActionsPtrOutput) +} + +func (o GetSignOnPolicyRuleResultOutput) Conditions() GetSignOnPolicyRuleConditionsPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) *GetSignOnPolicyRuleConditions { return v.Conditions }).(GetSignOnPolicyRuleConditionsPtrOutput) +} + +// Timestamp when the rule was created +func (o GetSignOnPolicyRuleResultOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) string { return v.Created }).(pulumi.StringOutput) +} + +// Unique identifier of the access policy rule. +func (o GetSignOnPolicyRuleResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Timestamp when the rule was last modified +func (o GetSignOnPolicyRuleResultOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) string { return v.LastUpdated }).(pulumi.StringOutput) +} + +// Name of the rule +func (o GetSignOnPolicyRuleResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) string { return v.Name }).(pulumi.StringOutput) +} + +// `id` of the policy +func (o GetSignOnPolicyRuleResultOutput) PolicyId() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) string { return v.PolicyId }).(pulumi.StringOutput) +} + +// Priority of the rule +func (o GetSignOnPolicyRuleResultOutput) Priority() pulumi.IntOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) int { return v.Priority }).(pulumi.IntOutput) +} + +// Whether or not the rule is active. +func (o GetSignOnPolicyRuleResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) string { return v.Status }).(pulumi.StringOutput) +} + +// Specifies whether Okta created the policy rule (`system=true`). +func (o GetSignOnPolicyRuleResultOutput) System() pulumi.BoolOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleResult) bool { return v.System }).(pulumi.BoolOutput) +} + +func init() { + pulumi.RegisterOutputType(GetSignOnPolicyRuleResultOutput{}) +} diff --git a/sdk/go/okta/app/oauth.go b/sdk/go/okta/app/oauth.go index 26a91a3d9..a30c9b883 100644 --- a/sdk/go/okta/app/oauth.go +++ b/sdk/go/okta/app/oauth.go @@ -136,6 +136,8 @@ type OAuth struct { AutoKeyRotation pulumi.BoolPtrOutput `pulumi:"autoKeyRotation"` // Display auto submit toolbar AutoSubmitToolbar pulumi.BoolPtrOutput `pulumi:"autoSubmitToolbar"` + // The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + BackchannelCustomAuthenticatorId pulumi.StringPtrOutput `pulumi:"backchannelCustomAuthenticatorId"` // The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. ClientBasicSecret pulumi.StringPtrOutput `pulumi:"clientBasicSecret"` // **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. @@ -309,6 +311,8 @@ type oauthState struct { AutoKeyRotation *bool `pulumi:"autoKeyRotation"` // Display auto submit toolbar AutoSubmitToolbar *bool `pulumi:"autoSubmitToolbar"` + // The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + BackchannelCustomAuthenticatorId *string `pulumi:"backchannelCustomAuthenticatorId"` // The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. ClientBasicSecret *string `pulumi:"clientBasicSecret"` // **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. @@ -435,6 +439,8 @@ type OAuthState struct { AutoKeyRotation pulumi.BoolPtrInput // Display auto submit toolbar AutoSubmitToolbar pulumi.BoolPtrInput + // The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + BackchannelCustomAuthenticatorId pulumi.StringPtrInput // The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. ClientBasicSecret pulumi.StringPtrInput // **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. @@ -565,6 +571,8 @@ type oauthArgs struct { AutoKeyRotation *bool `pulumi:"autoKeyRotation"` // Display auto submit toolbar AutoSubmitToolbar *bool `pulumi:"autoSubmitToolbar"` + // The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + BackchannelCustomAuthenticatorId *string `pulumi:"backchannelCustomAuthenticatorId"` // The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. ClientBasicSecret *string `pulumi:"clientBasicSecret"` // **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. @@ -684,6 +692,8 @@ type OAuthArgs struct { AutoKeyRotation pulumi.BoolPtrInput // Display auto submit toolbar AutoSubmitToolbar pulumi.BoolPtrInput + // The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + BackchannelCustomAuthenticatorId pulumi.StringPtrInput // The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. ClientBasicSecret pulumi.StringPtrInput // **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. @@ -916,6 +926,11 @@ func (o OAuthOutput) AutoSubmitToolbar() pulumi.BoolPtrOutput { return o.ApplyT(func(v *OAuth) pulumi.BoolPtrOutput { return v.AutoSubmitToolbar }).(pulumi.BoolPtrOutput) } +// The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. +func (o OAuthOutput) BackchannelCustomAuthenticatorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *OAuth) pulumi.StringPtrOutput { return v.BackchannelCustomAuthenticatorId }).(pulumi.StringPtrOutput) +} + // The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. func (o OAuthOutput) ClientBasicSecret() pulumi.StringPtrOutput { return o.ApplyT(func(v *OAuth) pulumi.StringPtrOutput { return v.ClientBasicSecret }).(pulumi.StringPtrOutput) diff --git a/sdk/go/okta/app/pulumiTypes.go b/sdk/go/okta/app/pulumiTypes.go index b4e8ead50..302b5175e 100644 --- a/sdk/go/okta/app/pulumiTypes.go +++ b/sdk/go/okta/app/pulumiTypes.go @@ -3765,6 +3765,8 @@ type SignonPolicyRulesRule struct { Id *string `pulumi:"id"` // Inactivity period before re-authentication in ISO 8601 duration format. InactivityPeriod *string `pulumi:"inactivityPeriod"` + // Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + KeepMeSignedIn *SignonPolicyRulesRuleKeepMeSignedIn `pulumi:"keepMeSignedIn"` // Policy Rule Name. Must be unique within the policy. Name string `pulumi:"name"` // Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK. @@ -3779,7 +3781,7 @@ type SignonPolicyRulesRule struct { Priority *int `pulumi:"priority"` // Re-authentication frequency in ISO 8601 duration format (e.g., PT2H for 2 hours). When using authentication chains with reauthenticateIn, this value is computed by the API based on the chain configuration. ReAuthenticationFrequency *string `pulumi:"reAuthenticationFrequency"` - // Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + // Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. RiskScore *string `pulumi:"riskScore"` // Status of the rule: ACTIVE or INACTIVE. Status *string `pulumi:"status"` @@ -3833,6 +3835,8 @@ type SignonPolicyRulesRuleArgs struct { Id pulumi.StringPtrInput `pulumi:"id"` // Inactivity period before re-authentication in ISO 8601 duration format. InactivityPeriod pulumi.StringPtrInput `pulumi:"inactivityPeriod"` + // Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + KeepMeSignedIn SignonPolicyRulesRuleKeepMeSignedInPtrInput `pulumi:"keepMeSignedIn"` // Policy Rule Name. Must be unique within the policy. Name pulumi.StringInput `pulumi:"name"` // Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK. @@ -3847,7 +3851,7 @@ type SignonPolicyRulesRuleArgs struct { Priority pulumi.IntPtrInput `pulumi:"priority"` // Re-authentication frequency in ISO 8601 duration format (e.g., PT2H for 2 hours). When using authentication chains with reauthenticateIn, this value is computed by the API based on the chain configuration. ReAuthenticationFrequency pulumi.StringPtrInput `pulumi:"reAuthenticationFrequency"` - // Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + // Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. RiskScore pulumi.StringPtrInput `pulumi:"riskScore"` // Status of the rule: ACTIVE or INACTIVE. Status pulumi.StringPtrInput `pulumi:"status"` @@ -3976,6 +3980,11 @@ func (o SignonPolicyRulesRuleOutput) InactivityPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v SignonPolicyRulesRule) *string { return v.InactivityPeriod }).(pulumi.StringPtrOutput) } +// Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. +func (o SignonPolicyRulesRuleOutput) KeepMeSignedIn() SignonPolicyRulesRuleKeepMeSignedInPtrOutput { + return o.ApplyT(func(v SignonPolicyRulesRule) *SignonPolicyRulesRuleKeepMeSignedIn { return v.KeepMeSignedIn }).(SignonPolicyRulesRuleKeepMeSignedInPtrOutput) +} + // Policy Rule Name. Must be unique within the policy. func (o SignonPolicyRulesRuleOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v SignonPolicyRulesRule) string { return v.Name }).(pulumi.StringOutput) @@ -4011,7 +4020,7 @@ func (o SignonPolicyRulesRuleOutput) ReAuthenticationFrequency() pulumi.StringPt return o.ApplyT(func(v SignonPolicyRulesRule) *string { return v.ReAuthenticationFrequency }).(pulumi.StringPtrOutput) } -// Risk score level to match: ANY, LOW, MEDIUM, or HIGH. +// Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. func (o SignonPolicyRulesRuleOutput) RiskScore() pulumi.StringPtrOutput { return o.ApplyT(func(v SignonPolicyRulesRule) *string { return v.RiskScore }).(pulumi.StringPtrOutput) } @@ -4071,6 +4080,162 @@ func (o SignonPolicyRulesRuleArrayOutput) Index(i pulumi.IntInput) SignonPolicyR }).(SignonPolicyRulesRuleOutput) } +type SignonPolicyRulesRuleKeepMeSignedIn struct { + // Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + PostAuth *string `pulumi:"postAuth"` + // How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + PostAuthPromptFrequency *string `pulumi:"postAuthPromptFrequency"` +} + +// SignonPolicyRulesRuleKeepMeSignedInInput is an input type that accepts SignonPolicyRulesRuleKeepMeSignedInArgs and SignonPolicyRulesRuleKeepMeSignedInOutput values. +// You can construct a concrete instance of `SignonPolicyRulesRuleKeepMeSignedInInput` via: +// +// SignonPolicyRulesRuleKeepMeSignedInArgs{...} +type SignonPolicyRulesRuleKeepMeSignedInInput interface { + pulumi.Input + + ToSignonPolicyRulesRuleKeepMeSignedInOutput() SignonPolicyRulesRuleKeepMeSignedInOutput + ToSignonPolicyRulesRuleKeepMeSignedInOutputWithContext(context.Context) SignonPolicyRulesRuleKeepMeSignedInOutput +} + +type SignonPolicyRulesRuleKeepMeSignedInArgs struct { + // Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + PostAuth pulumi.StringPtrInput `pulumi:"postAuth"` + // How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + PostAuthPromptFrequency pulumi.StringPtrInput `pulumi:"postAuthPromptFrequency"` +} + +func (SignonPolicyRulesRuleKeepMeSignedInArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SignonPolicyRulesRuleKeepMeSignedIn)(nil)).Elem() +} + +func (i SignonPolicyRulesRuleKeepMeSignedInArgs) ToSignonPolicyRulesRuleKeepMeSignedInOutput() SignonPolicyRulesRuleKeepMeSignedInOutput { + return i.ToSignonPolicyRulesRuleKeepMeSignedInOutputWithContext(context.Background()) +} + +func (i SignonPolicyRulesRuleKeepMeSignedInArgs) ToSignonPolicyRulesRuleKeepMeSignedInOutputWithContext(ctx context.Context) SignonPolicyRulesRuleKeepMeSignedInOutput { + return pulumi.ToOutputWithContext(ctx, i).(SignonPolicyRulesRuleKeepMeSignedInOutput) +} + +func (i SignonPolicyRulesRuleKeepMeSignedInArgs) ToSignonPolicyRulesRuleKeepMeSignedInPtrOutput() SignonPolicyRulesRuleKeepMeSignedInPtrOutput { + return i.ToSignonPolicyRulesRuleKeepMeSignedInPtrOutputWithContext(context.Background()) +} + +func (i SignonPolicyRulesRuleKeepMeSignedInArgs) ToSignonPolicyRulesRuleKeepMeSignedInPtrOutputWithContext(ctx context.Context) SignonPolicyRulesRuleKeepMeSignedInPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SignonPolicyRulesRuleKeepMeSignedInOutput).ToSignonPolicyRulesRuleKeepMeSignedInPtrOutputWithContext(ctx) +} + +// SignonPolicyRulesRuleKeepMeSignedInPtrInput is an input type that accepts SignonPolicyRulesRuleKeepMeSignedInArgs, SignonPolicyRulesRuleKeepMeSignedInPtr and SignonPolicyRulesRuleKeepMeSignedInPtrOutput values. +// You can construct a concrete instance of `SignonPolicyRulesRuleKeepMeSignedInPtrInput` via: +// +// SignonPolicyRulesRuleKeepMeSignedInArgs{...} +// +// or: +// +// nil +type SignonPolicyRulesRuleKeepMeSignedInPtrInput interface { + pulumi.Input + + ToSignonPolicyRulesRuleKeepMeSignedInPtrOutput() SignonPolicyRulesRuleKeepMeSignedInPtrOutput + ToSignonPolicyRulesRuleKeepMeSignedInPtrOutputWithContext(context.Context) SignonPolicyRulesRuleKeepMeSignedInPtrOutput +} + +type signonPolicyRulesRuleKeepMeSignedInPtrType SignonPolicyRulesRuleKeepMeSignedInArgs + +func SignonPolicyRulesRuleKeepMeSignedInPtr(v *SignonPolicyRulesRuleKeepMeSignedInArgs) SignonPolicyRulesRuleKeepMeSignedInPtrInput { + return (*signonPolicyRulesRuleKeepMeSignedInPtrType)(v) +} + +func (*signonPolicyRulesRuleKeepMeSignedInPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SignonPolicyRulesRuleKeepMeSignedIn)(nil)).Elem() +} + +func (i *signonPolicyRulesRuleKeepMeSignedInPtrType) ToSignonPolicyRulesRuleKeepMeSignedInPtrOutput() SignonPolicyRulesRuleKeepMeSignedInPtrOutput { + return i.ToSignonPolicyRulesRuleKeepMeSignedInPtrOutputWithContext(context.Background()) +} + +func (i *signonPolicyRulesRuleKeepMeSignedInPtrType) ToSignonPolicyRulesRuleKeepMeSignedInPtrOutputWithContext(ctx context.Context) SignonPolicyRulesRuleKeepMeSignedInPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SignonPolicyRulesRuleKeepMeSignedInPtrOutput) +} + +type SignonPolicyRulesRuleKeepMeSignedInOutput struct{ *pulumi.OutputState } + +func (SignonPolicyRulesRuleKeepMeSignedInOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SignonPolicyRulesRuleKeepMeSignedIn)(nil)).Elem() +} + +func (o SignonPolicyRulesRuleKeepMeSignedInOutput) ToSignonPolicyRulesRuleKeepMeSignedInOutput() SignonPolicyRulesRuleKeepMeSignedInOutput { + return o +} + +func (o SignonPolicyRulesRuleKeepMeSignedInOutput) ToSignonPolicyRulesRuleKeepMeSignedInOutputWithContext(ctx context.Context) SignonPolicyRulesRuleKeepMeSignedInOutput { + return o +} + +func (o SignonPolicyRulesRuleKeepMeSignedInOutput) ToSignonPolicyRulesRuleKeepMeSignedInPtrOutput() SignonPolicyRulesRuleKeepMeSignedInPtrOutput { + return o.ToSignonPolicyRulesRuleKeepMeSignedInPtrOutputWithContext(context.Background()) +} + +func (o SignonPolicyRulesRuleKeepMeSignedInOutput) ToSignonPolicyRulesRuleKeepMeSignedInPtrOutputWithContext(ctx context.Context) SignonPolicyRulesRuleKeepMeSignedInPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SignonPolicyRulesRuleKeepMeSignedIn) *SignonPolicyRulesRuleKeepMeSignedIn { + return &v + }).(SignonPolicyRulesRuleKeepMeSignedInPtrOutput) +} + +// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. +func (o SignonPolicyRulesRuleKeepMeSignedInOutput) PostAuth() pulumi.StringPtrOutput { + return o.ApplyT(func(v SignonPolicyRulesRuleKeepMeSignedIn) *string { return v.PostAuth }).(pulumi.StringPtrOutput) +} + +// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). +func (o SignonPolicyRulesRuleKeepMeSignedInOutput) PostAuthPromptFrequency() pulumi.StringPtrOutput { + return o.ApplyT(func(v SignonPolicyRulesRuleKeepMeSignedIn) *string { return v.PostAuthPromptFrequency }).(pulumi.StringPtrOutput) +} + +type SignonPolicyRulesRuleKeepMeSignedInPtrOutput struct{ *pulumi.OutputState } + +func (SignonPolicyRulesRuleKeepMeSignedInPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SignonPolicyRulesRuleKeepMeSignedIn)(nil)).Elem() +} + +func (o SignonPolicyRulesRuleKeepMeSignedInPtrOutput) ToSignonPolicyRulesRuleKeepMeSignedInPtrOutput() SignonPolicyRulesRuleKeepMeSignedInPtrOutput { + return o +} + +func (o SignonPolicyRulesRuleKeepMeSignedInPtrOutput) ToSignonPolicyRulesRuleKeepMeSignedInPtrOutputWithContext(ctx context.Context) SignonPolicyRulesRuleKeepMeSignedInPtrOutput { + return o +} + +func (o SignonPolicyRulesRuleKeepMeSignedInPtrOutput) Elem() SignonPolicyRulesRuleKeepMeSignedInOutput { + return o.ApplyT(func(v *SignonPolicyRulesRuleKeepMeSignedIn) SignonPolicyRulesRuleKeepMeSignedIn { + if v != nil { + return *v + } + var ret SignonPolicyRulesRuleKeepMeSignedIn + return ret + }).(SignonPolicyRulesRuleKeepMeSignedInOutput) +} + +// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. +func (o SignonPolicyRulesRuleKeepMeSignedInPtrOutput) PostAuth() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SignonPolicyRulesRuleKeepMeSignedIn) *string { + if v == nil { + return nil + } + return v.PostAuth + }).(pulumi.StringPtrOutput) +} + +// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). +func (o SignonPolicyRulesRuleKeepMeSignedInPtrOutput) PostAuthPromptFrequency() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SignonPolicyRulesRuleKeepMeSignedIn) *string { + if v == nil { + return nil + } + return v.PostAuthPromptFrequency + }).(pulumi.StringPtrOutput) +} + type SignonPolicyRulesRulePlatformInclude struct { // Custom OS expression for advanced matching. Required by the API when osType is OTHER (leave empty or omit to match any OTHER OS). The API normalizes empty and wildcard values to null on read; the provider preserves "" in state. OsExpression *string `pulumi:"osExpression"` @@ -6851,6 +7016,3316 @@ func (o GetSamlAttributeStatementArrayOutput) Index(i pulumi.IntInput) GetSamlAt }).(GetSamlAttributeStatementOutput) } +type GetSignOnPolicyRuleActions struct { + // Specifies the results when a user attempts to sign in + AppSignOn *GetSignOnPolicyRuleActionsAppSignOn `pulumi:"appSignOn"` +} + +// GetSignOnPolicyRuleActionsInput is an input type that accepts GetSignOnPolicyRuleActionsArgs and GetSignOnPolicyRuleActionsOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleActionsInput` via: +// +// GetSignOnPolicyRuleActionsArgs{...} +type GetSignOnPolicyRuleActionsInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleActionsOutput() GetSignOnPolicyRuleActionsOutput + ToGetSignOnPolicyRuleActionsOutputWithContext(context.Context) GetSignOnPolicyRuleActionsOutput +} + +type GetSignOnPolicyRuleActionsArgs struct { + // Specifies the results when a user attempts to sign in + AppSignOn GetSignOnPolicyRuleActionsAppSignOnPtrInput `pulumi:"appSignOn"` +} + +func (GetSignOnPolicyRuleActionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleActions)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleActionsArgs) ToGetSignOnPolicyRuleActionsOutput() GetSignOnPolicyRuleActionsOutput { + return i.ToGetSignOnPolicyRuleActionsOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleActionsArgs) ToGetSignOnPolicyRuleActionsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsOutput) +} + +func (i GetSignOnPolicyRuleActionsArgs) ToGetSignOnPolicyRuleActionsPtrOutput() GetSignOnPolicyRuleActionsPtrOutput { + return i.ToGetSignOnPolicyRuleActionsPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleActionsArgs) ToGetSignOnPolicyRuleActionsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsOutput).ToGetSignOnPolicyRuleActionsPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleActionsPtrInput is an input type that accepts GetSignOnPolicyRuleActionsArgs, GetSignOnPolicyRuleActionsPtr and GetSignOnPolicyRuleActionsPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleActionsPtrInput` via: +// +// GetSignOnPolicyRuleActionsArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleActionsPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleActionsPtrOutput() GetSignOnPolicyRuleActionsPtrOutput + ToGetSignOnPolicyRuleActionsPtrOutputWithContext(context.Context) GetSignOnPolicyRuleActionsPtrOutput +} + +type getSignOnPolicyRuleActionsPtrType GetSignOnPolicyRuleActionsArgs + +func GetSignOnPolicyRuleActionsPtr(v *GetSignOnPolicyRuleActionsArgs) GetSignOnPolicyRuleActionsPtrInput { + return (*getSignOnPolicyRuleActionsPtrType)(v) +} + +func (*getSignOnPolicyRuleActionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleActions)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleActionsPtrType) ToGetSignOnPolicyRuleActionsPtrOutput() GetSignOnPolicyRuleActionsPtrOutput { + return i.ToGetSignOnPolicyRuleActionsPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleActionsPtrType) ToGetSignOnPolicyRuleActionsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsPtrOutput) +} + +type GetSignOnPolicyRuleActionsOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleActionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleActions)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleActionsOutput) ToGetSignOnPolicyRuleActionsOutput() GetSignOnPolicyRuleActionsOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsOutput) ToGetSignOnPolicyRuleActionsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsOutput) ToGetSignOnPolicyRuleActionsPtrOutput() GetSignOnPolicyRuleActionsPtrOutput { + return o.ToGetSignOnPolicyRuleActionsPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleActionsOutput) ToGetSignOnPolicyRuleActionsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleActions) *GetSignOnPolicyRuleActions { + return &v + }).(GetSignOnPolicyRuleActionsPtrOutput) +} + +// Specifies the results when a user attempts to sign in +func (o GetSignOnPolicyRuleActionsOutput) AppSignOn() GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleActions) *GetSignOnPolicyRuleActionsAppSignOn { return v.AppSignOn }).(GetSignOnPolicyRuleActionsAppSignOnPtrOutput) +} + +type GetSignOnPolicyRuleActionsPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleActionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleActions)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleActionsPtrOutput) ToGetSignOnPolicyRuleActionsPtrOutput() GetSignOnPolicyRuleActionsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsPtrOutput) ToGetSignOnPolicyRuleActionsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsPtrOutput) Elem() GetSignOnPolicyRuleActionsOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActions) GetSignOnPolicyRuleActions { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleActions + return ret + }).(GetSignOnPolicyRuleActionsOutput) +} + +// Specifies the results when a user attempts to sign in +func (o GetSignOnPolicyRuleActionsPtrOutput) AppSignOn() GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActions) *GetSignOnPolicyRuleActionsAppSignOn { + if v == nil { + return nil + } + return v.AppSignOn + }).(GetSignOnPolicyRuleActionsAppSignOnPtrOutput) +} + +type GetSignOnPolicyRuleActionsAppSignOn struct { + // Access + Access string `pulumi:"access"` + // Controls how often the post-authentication prompt is presented to users + KeepMeSignedIn *GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn `pulumi:"keepMeSignedIn"` + // The method used to verify a user + VerificationMethod *GetSignOnPolicyRuleActionsAppSignOnVerificationMethod `pulumi:"verificationMethod"` +} + +// GetSignOnPolicyRuleActionsAppSignOnInput is an input type that accepts GetSignOnPolicyRuleActionsAppSignOnArgs and GetSignOnPolicyRuleActionsAppSignOnOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleActionsAppSignOnInput` via: +// +// GetSignOnPolicyRuleActionsAppSignOnArgs{...} +type GetSignOnPolicyRuleActionsAppSignOnInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleActionsAppSignOnOutput() GetSignOnPolicyRuleActionsAppSignOnOutput + ToGetSignOnPolicyRuleActionsAppSignOnOutputWithContext(context.Context) GetSignOnPolicyRuleActionsAppSignOnOutput +} + +type GetSignOnPolicyRuleActionsAppSignOnArgs struct { + // Access + Access pulumi.StringInput `pulumi:"access"` + // Controls how often the post-authentication prompt is presented to users + KeepMeSignedIn GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrInput `pulumi:"keepMeSignedIn"` + // The method used to verify a user + VerificationMethod GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrInput `pulumi:"verificationMethod"` +} + +func (GetSignOnPolicyRuleActionsAppSignOnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOn)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleActionsAppSignOnArgs) ToGetSignOnPolicyRuleActionsAppSignOnOutput() GetSignOnPolicyRuleActionsAppSignOnOutput { + return i.ToGetSignOnPolicyRuleActionsAppSignOnOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleActionsAppSignOnArgs) ToGetSignOnPolicyRuleActionsAppSignOnOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsAppSignOnOutput) +} + +func (i GetSignOnPolicyRuleActionsAppSignOnArgs) ToGetSignOnPolicyRuleActionsAppSignOnPtrOutput() GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return i.ToGetSignOnPolicyRuleActionsAppSignOnPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleActionsAppSignOnArgs) ToGetSignOnPolicyRuleActionsAppSignOnPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsAppSignOnOutput).ToGetSignOnPolicyRuleActionsAppSignOnPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleActionsAppSignOnPtrInput is an input type that accepts GetSignOnPolicyRuleActionsAppSignOnArgs, GetSignOnPolicyRuleActionsAppSignOnPtr and GetSignOnPolicyRuleActionsAppSignOnPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleActionsAppSignOnPtrInput` via: +// +// GetSignOnPolicyRuleActionsAppSignOnArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleActionsAppSignOnPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleActionsAppSignOnPtrOutput() GetSignOnPolicyRuleActionsAppSignOnPtrOutput + ToGetSignOnPolicyRuleActionsAppSignOnPtrOutputWithContext(context.Context) GetSignOnPolicyRuleActionsAppSignOnPtrOutput +} + +type getSignOnPolicyRuleActionsAppSignOnPtrType GetSignOnPolicyRuleActionsAppSignOnArgs + +func GetSignOnPolicyRuleActionsAppSignOnPtr(v *GetSignOnPolicyRuleActionsAppSignOnArgs) GetSignOnPolicyRuleActionsAppSignOnPtrInput { + return (*getSignOnPolicyRuleActionsAppSignOnPtrType)(v) +} + +func (*getSignOnPolicyRuleActionsAppSignOnPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleActionsAppSignOn)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleActionsAppSignOnPtrType) ToGetSignOnPolicyRuleActionsAppSignOnPtrOutput() GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return i.ToGetSignOnPolicyRuleActionsAppSignOnPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleActionsAppSignOnPtrType) ToGetSignOnPolicyRuleActionsAppSignOnPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsAppSignOnPtrOutput) +} + +type GetSignOnPolicyRuleActionsAppSignOnOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleActionsAppSignOnOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOn)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleActionsAppSignOnOutput) ToGetSignOnPolicyRuleActionsAppSignOnOutput() GetSignOnPolicyRuleActionsAppSignOnOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnOutput) ToGetSignOnPolicyRuleActionsAppSignOnOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnOutput) ToGetSignOnPolicyRuleActionsAppSignOnPtrOutput() GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return o.ToGetSignOnPolicyRuleActionsAppSignOnPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleActionsAppSignOnOutput) ToGetSignOnPolicyRuleActionsAppSignOnPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleActionsAppSignOn) *GetSignOnPolicyRuleActionsAppSignOn { + return &v + }).(GetSignOnPolicyRuleActionsAppSignOnPtrOutput) +} + +// Access +func (o GetSignOnPolicyRuleActionsAppSignOnOutput) Access() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleActionsAppSignOn) string { return v.Access }).(pulumi.StringOutput) +} + +// Controls how often the post-authentication prompt is presented to users +func (o GetSignOnPolicyRuleActionsAppSignOnOutput) KeepMeSignedIn() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleActionsAppSignOn) *GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn { + return v.KeepMeSignedIn + }).(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) +} + +// The method used to verify a user +func (o GetSignOnPolicyRuleActionsAppSignOnOutput) VerificationMethod() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleActionsAppSignOn) *GetSignOnPolicyRuleActionsAppSignOnVerificationMethod { + return v.VerificationMethod + }).(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput) +} + +type GetSignOnPolicyRuleActionsAppSignOnPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleActionsAppSignOnPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleActionsAppSignOn)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleActionsAppSignOnPtrOutput) ToGetSignOnPolicyRuleActionsAppSignOnPtrOutput() GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnPtrOutput) ToGetSignOnPolicyRuleActionsAppSignOnPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnPtrOutput) Elem() GetSignOnPolicyRuleActionsAppSignOnOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActionsAppSignOn) GetSignOnPolicyRuleActionsAppSignOn { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleActionsAppSignOn + return ret + }).(GetSignOnPolicyRuleActionsAppSignOnOutput) +} + +// Access +func (o GetSignOnPolicyRuleActionsAppSignOnPtrOutput) Access() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActionsAppSignOn) *string { + if v == nil { + return nil + } + return &v.Access + }).(pulumi.StringPtrOutput) +} + +// Controls how often the post-authentication prompt is presented to users +func (o GetSignOnPolicyRuleActionsAppSignOnPtrOutput) KeepMeSignedIn() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActionsAppSignOn) *GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn { + if v == nil { + return nil + } + return v.KeepMeSignedIn + }).(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) +} + +// The method used to verify a user +func (o GetSignOnPolicyRuleActionsAppSignOnPtrOutput) VerificationMethod() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActionsAppSignOn) *GetSignOnPolicyRuleActionsAppSignOnVerificationMethod { + if v == nil { + return nil + } + return v.VerificationMethod + }).(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput) +} + +type GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn struct { + // Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + PostAuth string `pulumi:"postAuth"` + // A time duration specified as an ISO 8601 duration + PostAuthPromptFrequency string `pulumi:"postAuthPromptFrequency"` +} + +// GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInInput is an input type that accepts GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs and GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInInput` via: +// +// GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs{...} +type GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput + ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutputWithContext(context.Context) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput +} + +type GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs struct { + // Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + PostAuth pulumi.StringInput `pulumi:"postAuth"` + // A time duration specified as an ISO 8601 duration + PostAuthPromptFrequency pulumi.StringInput `pulumi:"postAuthPromptFrequency"` +} + +func (GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput { + return i.ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput) +} + +func (i GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return i.ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput).ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrInput is an input type that accepts GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs, GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtr and GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrInput` via: +// +// GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput + ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutputWithContext(context.Context) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput +} + +type getSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrType GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs + +func GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtr(v *GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrInput { + return (*getSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrType)(v) +} + +func (*getSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrType) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return i.ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrType) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) +} + +type GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return o.ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn) *GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn { + return &v + }).(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) +} + +// Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput) PostAuth() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn) string { return v.PostAuth }).(pulumi.StringOutput) +} + +// A time duration specified as an ISO 8601 duration +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput) PostAuthPromptFrequency() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn) string { return v.PostAuthPromptFrequency }).(pulumi.StringOutput) +} + +type GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) ToGetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) Elem() GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn) GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn + return ret + }).(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput) +} + +// Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) PostAuth() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn) *string { + if v == nil { + return nil + } + return &v.PostAuth + }).(pulumi.StringPtrOutput) +} + +// A time duration specified as an ISO 8601 duration +func (o GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput) PostAuthPromptFrequency() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn) *string { + if v == nil { + return nil + } + return &v.PostAuthPromptFrequency + }).(pulumi.StringPtrOutput) +} + +type GetSignOnPolicyRuleActionsAppSignOnVerificationMethod struct { + // Verification method type + Type string `pulumi:"type"` +} + +// GetSignOnPolicyRuleActionsAppSignOnVerificationMethodInput is an input type that accepts GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs and GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleActionsAppSignOnVerificationMethodInput` via: +// +// GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs{...} +type GetSignOnPolicyRuleActionsAppSignOnVerificationMethodInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput + ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutputWithContext(context.Context) GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput +} + +type GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs struct { + // Verification method type + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnVerificationMethod)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput { + return i.ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput) +} + +func (i GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return i.ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput).ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrInput is an input type that accepts GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs, GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtr and GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrInput` via: +// +// GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput + ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutputWithContext(context.Context) GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput +} + +type getSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrType GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs + +func GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtr(v *GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs) GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrInput { + return (*getSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrType)(v) +} + +func (*getSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleActionsAppSignOnVerificationMethod)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrType) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return i.ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrType) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput) +} + +type GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnVerificationMethod)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return o.ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleActionsAppSignOnVerificationMethod) *GetSignOnPolicyRuleActionsAppSignOnVerificationMethod { + return &v + }).(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput) +} + +// Verification method type +func (o GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleActionsAppSignOnVerificationMethod) string { return v.Type }).(pulumi.StringOutput) +} + +type GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleActionsAppSignOnVerificationMethod)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput) ToGetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput) Elem() GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActionsAppSignOnVerificationMethod) GetSignOnPolicyRuleActionsAppSignOnVerificationMethod { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleActionsAppSignOnVerificationMethod + return ret + }).(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput) +} + +// Verification method type +func (o GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleActionsAppSignOnVerificationMethod) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type GetSignOnPolicyRuleConditions struct { + // Specifies the device condition to match on + Device *GetSignOnPolicyRuleConditionsDevice `pulumi:"device"` + // Specifies Okta Expression Language expressions + ElCondition *GetSignOnPolicyRuleConditionsElCondition `pulumi:"elCondition"` + // Specifies a network selection mode and a set of network zones to be included or excluded. + Network *GetSignOnPolicyRuleConditionsNetwork `pulumi:"network"` + // Specifies the users and groups that are included or excluded by the policy rule + People *GetSignOnPolicyRuleConditionsPeople `pulumi:"people"` + // Specifies a particular platform or device to match on + Platform *GetSignOnPolicyRuleConditionsPlatform `pulumi:"platform"` + // Specifies a particular level of risk to match on + RiskScore *GetSignOnPolicyRuleConditionsRiskScore `pulumi:"riskScore"` + // Specifies which user types to include and/or exclude + UserType *GetSignOnPolicyRuleConditionsUserType `pulumi:"userType"` +} + +// GetSignOnPolicyRuleConditionsInput is an input type that accepts GetSignOnPolicyRuleConditionsArgs and GetSignOnPolicyRuleConditionsOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsInput` via: +// +// GetSignOnPolicyRuleConditionsArgs{...} +type GetSignOnPolicyRuleConditionsInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsOutput() GetSignOnPolicyRuleConditionsOutput + ToGetSignOnPolicyRuleConditionsOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsOutput +} + +type GetSignOnPolicyRuleConditionsArgs struct { + // Specifies the device condition to match on + Device GetSignOnPolicyRuleConditionsDevicePtrInput `pulumi:"device"` + // Specifies Okta Expression Language expressions + ElCondition GetSignOnPolicyRuleConditionsElConditionPtrInput `pulumi:"elCondition"` + // Specifies a network selection mode and a set of network zones to be included or excluded. + Network GetSignOnPolicyRuleConditionsNetworkPtrInput `pulumi:"network"` + // Specifies the users and groups that are included or excluded by the policy rule + People GetSignOnPolicyRuleConditionsPeoplePtrInput `pulumi:"people"` + // Specifies a particular platform or device to match on + Platform GetSignOnPolicyRuleConditionsPlatformPtrInput `pulumi:"platform"` + // Specifies a particular level of risk to match on + RiskScore GetSignOnPolicyRuleConditionsRiskScorePtrInput `pulumi:"riskScore"` + // Specifies which user types to include and/or exclude + UserType GetSignOnPolicyRuleConditionsUserTypePtrInput `pulumi:"userType"` +} + +func (GetSignOnPolicyRuleConditionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditions)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsArgs) ToGetSignOnPolicyRuleConditionsOutput() GetSignOnPolicyRuleConditionsOutput { + return i.ToGetSignOnPolicyRuleConditionsOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsArgs) ToGetSignOnPolicyRuleConditionsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsOutput) +} + +func (i GetSignOnPolicyRuleConditionsArgs) ToGetSignOnPolicyRuleConditionsPtrOutput() GetSignOnPolicyRuleConditionsPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsArgs) ToGetSignOnPolicyRuleConditionsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsOutput).ToGetSignOnPolicyRuleConditionsPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsArgs, GetSignOnPolicyRuleConditionsPtr and GetSignOnPolicyRuleConditionsPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPtrInput` via: +// +// GetSignOnPolicyRuleConditionsArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPtrOutput() GetSignOnPolicyRuleConditionsPtrOutput + ToGetSignOnPolicyRuleConditionsPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPtrOutput +} + +type getSignOnPolicyRuleConditionsPtrType GetSignOnPolicyRuleConditionsArgs + +func GetSignOnPolicyRuleConditionsPtr(v *GetSignOnPolicyRuleConditionsArgs) GetSignOnPolicyRuleConditionsPtrInput { + return (*getSignOnPolicyRuleConditionsPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditions)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsPtrType) ToGetSignOnPolicyRuleConditionsPtrOutput() GetSignOnPolicyRuleConditionsPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsPtrType) ToGetSignOnPolicyRuleConditionsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPtrOutput) +} + +type GetSignOnPolicyRuleConditionsOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditions)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsOutput) ToGetSignOnPolicyRuleConditionsOutput() GetSignOnPolicyRuleConditionsOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsOutput) ToGetSignOnPolicyRuleConditionsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsOutput) ToGetSignOnPolicyRuleConditionsPtrOutput() GetSignOnPolicyRuleConditionsPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsOutput) ToGetSignOnPolicyRuleConditionsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditions { + return &v + }).(GetSignOnPolicyRuleConditionsPtrOutput) +} + +// Specifies the device condition to match on +func (o GetSignOnPolicyRuleConditionsOutput) Device() GetSignOnPolicyRuleConditionsDevicePtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsDevice { return v.Device }).(GetSignOnPolicyRuleConditionsDevicePtrOutput) +} + +// Specifies Okta Expression Language expressions +func (o GetSignOnPolicyRuleConditionsOutput) ElCondition() GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsElCondition { return v.ElCondition }).(GetSignOnPolicyRuleConditionsElConditionPtrOutput) +} + +// Specifies a network selection mode and a set of network zones to be included or excluded. +func (o GetSignOnPolicyRuleConditionsOutput) Network() GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsNetwork { return v.Network }).(GetSignOnPolicyRuleConditionsNetworkPtrOutput) +} + +// Specifies the users and groups that are included or excluded by the policy rule +func (o GetSignOnPolicyRuleConditionsOutput) People() GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsPeople { return v.People }).(GetSignOnPolicyRuleConditionsPeoplePtrOutput) +} + +// Specifies a particular platform or device to match on +func (o GetSignOnPolicyRuleConditionsOutput) Platform() GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsPlatform { return v.Platform }).(GetSignOnPolicyRuleConditionsPlatformPtrOutput) +} + +// Specifies a particular level of risk to match on +func (o GetSignOnPolicyRuleConditionsOutput) RiskScore() GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsRiskScore { return v.RiskScore }).(GetSignOnPolicyRuleConditionsRiskScorePtrOutput) +} + +// Specifies which user types to include and/or exclude +func (o GetSignOnPolicyRuleConditionsOutput) UserType() GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsUserType { return v.UserType }).(GetSignOnPolicyRuleConditionsUserTypePtrOutput) +} + +type GetSignOnPolicyRuleConditionsPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditions)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPtrOutput) ToGetSignOnPolicyRuleConditionsPtrOutput() GetSignOnPolicyRuleConditionsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPtrOutput) ToGetSignOnPolicyRuleConditionsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPtrOutput) Elem() GetSignOnPolicyRuleConditionsOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditions) GetSignOnPolicyRuleConditions { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditions + return ret + }).(GetSignOnPolicyRuleConditionsOutput) +} + +// Specifies the device condition to match on +func (o GetSignOnPolicyRuleConditionsPtrOutput) Device() GetSignOnPolicyRuleConditionsDevicePtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsDevice { + if v == nil { + return nil + } + return v.Device + }).(GetSignOnPolicyRuleConditionsDevicePtrOutput) +} + +// Specifies Okta Expression Language expressions +func (o GetSignOnPolicyRuleConditionsPtrOutput) ElCondition() GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsElCondition { + if v == nil { + return nil + } + return v.ElCondition + }).(GetSignOnPolicyRuleConditionsElConditionPtrOutput) +} + +// Specifies a network selection mode and a set of network zones to be included or excluded. +func (o GetSignOnPolicyRuleConditionsPtrOutput) Network() GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsNetwork { + if v == nil { + return nil + } + return v.Network + }).(GetSignOnPolicyRuleConditionsNetworkPtrOutput) +} + +// Specifies the users and groups that are included or excluded by the policy rule +func (o GetSignOnPolicyRuleConditionsPtrOutput) People() GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsPeople { + if v == nil { + return nil + } + return v.People + }).(GetSignOnPolicyRuleConditionsPeoplePtrOutput) +} + +// Specifies a particular platform or device to match on +func (o GetSignOnPolicyRuleConditionsPtrOutput) Platform() GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsPlatform { + if v == nil { + return nil + } + return v.Platform + }).(GetSignOnPolicyRuleConditionsPlatformPtrOutput) +} + +// Specifies a particular level of risk to match on +func (o GetSignOnPolicyRuleConditionsPtrOutput) RiskScore() GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsRiskScore { + if v == nil { + return nil + } + return v.RiskScore + }).(GetSignOnPolicyRuleConditionsRiskScorePtrOutput) +} + +// Specifies which user types to include and/or exclude +func (o GetSignOnPolicyRuleConditionsPtrOutput) UserType() GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditions) *GetSignOnPolicyRuleConditionsUserType { + if v == nil { + return nil + } + return v.UserType + }).(GetSignOnPolicyRuleConditionsUserTypePtrOutput) +} + +type GetSignOnPolicyRuleConditionsDevice struct { + // Specifies device assurance policies in the policy rule. + Assurance *GetSignOnPolicyRuleConditionsDeviceAssurance `pulumi:"assurance"` + // Indicates if the device is managed. + Managed bool `pulumi:"managed"` + // Indicates if the device is registered. + Registered bool `pulumi:"registered"` +} + +// GetSignOnPolicyRuleConditionsDeviceInput is an input type that accepts GetSignOnPolicyRuleConditionsDeviceArgs and GetSignOnPolicyRuleConditionsDeviceOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsDeviceInput` via: +// +// GetSignOnPolicyRuleConditionsDeviceArgs{...} +type GetSignOnPolicyRuleConditionsDeviceInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsDeviceOutput() GetSignOnPolicyRuleConditionsDeviceOutput + ToGetSignOnPolicyRuleConditionsDeviceOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsDeviceOutput +} + +type GetSignOnPolicyRuleConditionsDeviceArgs struct { + // Specifies device assurance policies in the policy rule. + Assurance GetSignOnPolicyRuleConditionsDeviceAssurancePtrInput `pulumi:"assurance"` + // Indicates if the device is managed. + Managed pulumi.BoolInput `pulumi:"managed"` + // Indicates if the device is registered. + Registered pulumi.BoolInput `pulumi:"registered"` +} + +func (GetSignOnPolicyRuleConditionsDeviceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsDevice)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsDeviceArgs) ToGetSignOnPolicyRuleConditionsDeviceOutput() GetSignOnPolicyRuleConditionsDeviceOutput { + return i.ToGetSignOnPolicyRuleConditionsDeviceOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsDeviceArgs) ToGetSignOnPolicyRuleConditionsDeviceOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDeviceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsDeviceOutput) +} + +func (i GetSignOnPolicyRuleConditionsDeviceArgs) ToGetSignOnPolicyRuleConditionsDevicePtrOutput() GetSignOnPolicyRuleConditionsDevicePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsDevicePtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsDeviceArgs) ToGetSignOnPolicyRuleConditionsDevicePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDevicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsDeviceOutput).ToGetSignOnPolicyRuleConditionsDevicePtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsDevicePtrInput is an input type that accepts GetSignOnPolicyRuleConditionsDeviceArgs, GetSignOnPolicyRuleConditionsDevicePtr and GetSignOnPolicyRuleConditionsDevicePtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsDevicePtrInput` via: +// +// GetSignOnPolicyRuleConditionsDeviceArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsDevicePtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsDevicePtrOutput() GetSignOnPolicyRuleConditionsDevicePtrOutput + ToGetSignOnPolicyRuleConditionsDevicePtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsDevicePtrOutput +} + +type getSignOnPolicyRuleConditionsDevicePtrType GetSignOnPolicyRuleConditionsDeviceArgs + +func GetSignOnPolicyRuleConditionsDevicePtr(v *GetSignOnPolicyRuleConditionsDeviceArgs) GetSignOnPolicyRuleConditionsDevicePtrInput { + return (*getSignOnPolicyRuleConditionsDevicePtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsDevicePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsDevice)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsDevicePtrType) ToGetSignOnPolicyRuleConditionsDevicePtrOutput() GetSignOnPolicyRuleConditionsDevicePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsDevicePtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsDevicePtrType) ToGetSignOnPolicyRuleConditionsDevicePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDevicePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsDevicePtrOutput) +} + +type GetSignOnPolicyRuleConditionsDeviceOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsDeviceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsDevice)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsDeviceOutput) ToGetSignOnPolicyRuleConditionsDeviceOutput() GetSignOnPolicyRuleConditionsDeviceOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsDeviceOutput) ToGetSignOnPolicyRuleConditionsDeviceOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDeviceOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsDeviceOutput) ToGetSignOnPolicyRuleConditionsDevicePtrOutput() GetSignOnPolicyRuleConditionsDevicePtrOutput { + return o.ToGetSignOnPolicyRuleConditionsDevicePtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsDeviceOutput) ToGetSignOnPolicyRuleConditionsDevicePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDevicePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsDevice) *GetSignOnPolicyRuleConditionsDevice { + return &v + }).(GetSignOnPolicyRuleConditionsDevicePtrOutput) +} + +// Specifies device assurance policies in the policy rule. +func (o GetSignOnPolicyRuleConditionsDeviceOutput) Assurance() GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsDevice) *GetSignOnPolicyRuleConditionsDeviceAssurance { + return v.Assurance + }).(GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput) +} + +// Indicates if the device is managed. +func (o GetSignOnPolicyRuleConditionsDeviceOutput) Managed() pulumi.BoolOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsDevice) bool { return v.Managed }).(pulumi.BoolOutput) +} + +// Indicates if the device is registered. +func (o GetSignOnPolicyRuleConditionsDeviceOutput) Registered() pulumi.BoolOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsDevice) bool { return v.Registered }).(pulumi.BoolOutput) +} + +type GetSignOnPolicyRuleConditionsDevicePtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsDevicePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsDevice)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsDevicePtrOutput) ToGetSignOnPolicyRuleConditionsDevicePtrOutput() GetSignOnPolicyRuleConditionsDevicePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsDevicePtrOutput) ToGetSignOnPolicyRuleConditionsDevicePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDevicePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsDevicePtrOutput) Elem() GetSignOnPolicyRuleConditionsDeviceOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsDevice) GetSignOnPolicyRuleConditionsDevice { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsDevice + return ret + }).(GetSignOnPolicyRuleConditionsDeviceOutput) +} + +// Specifies device assurance policies in the policy rule. +func (o GetSignOnPolicyRuleConditionsDevicePtrOutput) Assurance() GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsDevice) *GetSignOnPolicyRuleConditionsDeviceAssurance { + if v == nil { + return nil + } + return v.Assurance + }).(GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput) +} + +// Indicates if the device is managed. +func (o GetSignOnPolicyRuleConditionsDevicePtrOutput) Managed() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsDevice) *bool { + if v == nil { + return nil + } + return &v.Managed + }).(pulumi.BoolPtrOutput) +} + +// Indicates if the device is registered. +func (o GetSignOnPolicyRuleConditionsDevicePtrOutput) Registered() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsDevice) *bool { + if v == nil { + return nil + } + return &v.Registered + }).(pulumi.BoolPtrOutput) +} + +type GetSignOnPolicyRuleConditionsDeviceAssurance struct { + // Specifies the device assurance policy ID + Includes []string `pulumi:"includes"` +} + +// GetSignOnPolicyRuleConditionsDeviceAssuranceInput is an input type that accepts GetSignOnPolicyRuleConditionsDeviceAssuranceArgs and GetSignOnPolicyRuleConditionsDeviceAssuranceOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsDeviceAssuranceInput` via: +// +// GetSignOnPolicyRuleConditionsDeviceAssuranceArgs{...} +type GetSignOnPolicyRuleConditionsDeviceAssuranceInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsDeviceAssuranceOutput() GetSignOnPolicyRuleConditionsDeviceAssuranceOutput + ToGetSignOnPolicyRuleConditionsDeviceAssuranceOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsDeviceAssuranceOutput +} + +type GetSignOnPolicyRuleConditionsDeviceAssuranceArgs struct { + // Specifies the device assurance policy ID + Includes pulumi.StringArrayInput `pulumi:"includes"` +} + +func (GetSignOnPolicyRuleConditionsDeviceAssuranceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsDeviceAssurance)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsDeviceAssuranceArgs) ToGetSignOnPolicyRuleConditionsDeviceAssuranceOutput() GetSignOnPolicyRuleConditionsDeviceAssuranceOutput { + return i.ToGetSignOnPolicyRuleConditionsDeviceAssuranceOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsDeviceAssuranceArgs) ToGetSignOnPolicyRuleConditionsDeviceAssuranceOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDeviceAssuranceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsDeviceAssuranceOutput) +} + +func (i GetSignOnPolicyRuleConditionsDeviceAssuranceArgs) ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput() GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsDeviceAssuranceArgs) ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsDeviceAssuranceOutput).ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsDeviceAssurancePtrInput is an input type that accepts GetSignOnPolicyRuleConditionsDeviceAssuranceArgs, GetSignOnPolicyRuleConditionsDeviceAssurancePtr and GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsDeviceAssurancePtrInput` via: +// +// GetSignOnPolicyRuleConditionsDeviceAssuranceArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsDeviceAssurancePtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput() GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput + ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput +} + +type getSignOnPolicyRuleConditionsDeviceAssurancePtrType GetSignOnPolicyRuleConditionsDeviceAssuranceArgs + +func GetSignOnPolicyRuleConditionsDeviceAssurancePtr(v *GetSignOnPolicyRuleConditionsDeviceAssuranceArgs) GetSignOnPolicyRuleConditionsDeviceAssurancePtrInput { + return (*getSignOnPolicyRuleConditionsDeviceAssurancePtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsDeviceAssurancePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsDeviceAssurance)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsDeviceAssurancePtrType) ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput() GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsDeviceAssurancePtrType) ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput) +} + +type GetSignOnPolicyRuleConditionsDeviceAssuranceOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsDeviceAssuranceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsDeviceAssurance)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsDeviceAssuranceOutput) ToGetSignOnPolicyRuleConditionsDeviceAssuranceOutput() GetSignOnPolicyRuleConditionsDeviceAssuranceOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsDeviceAssuranceOutput) ToGetSignOnPolicyRuleConditionsDeviceAssuranceOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDeviceAssuranceOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsDeviceAssuranceOutput) ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput() GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return o.ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsDeviceAssuranceOutput) ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsDeviceAssurance) *GetSignOnPolicyRuleConditionsDeviceAssurance { + return &v + }).(GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput) +} + +// Specifies the device assurance policy ID +func (o GetSignOnPolicyRuleConditionsDeviceAssuranceOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsDeviceAssurance) []string { return v.Includes }).(pulumi.StringArrayOutput) +} + +type GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsDeviceAssurance)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput) ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput() GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput) ToGetSignOnPolicyRuleConditionsDeviceAssurancePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput) Elem() GetSignOnPolicyRuleConditionsDeviceAssuranceOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsDeviceAssurance) GetSignOnPolicyRuleConditionsDeviceAssurance { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsDeviceAssurance + return ret + }).(GetSignOnPolicyRuleConditionsDeviceAssuranceOutput) +} + +// Specifies the device assurance policy ID +func (o GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsDeviceAssurance) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) +} + +type GetSignOnPolicyRuleConditionsElCondition struct { + // expression to match + Condition string `pulumi:"condition"` +} + +// GetSignOnPolicyRuleConditionsElConditionInput is an input type that accepts GetSignOnPolicyRuleConditionsElConditionArgs and GetSignOnPolicyRuleConditionsElConditionOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsElConditionInput` via: +// +// GetSignOnPolicyRuleConditionsElConditionArgs{...} +type GetSignOnPolicyRuleConditionsElConditionInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsElConditionOutput() GetSignOnPolicyRuleConditionsElConditionOutput + ToGetSignOnPolicyRuleConditionsElConditionOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsElConditionOutput +} + +type GetSignOnPolicyRuleConditionsElConditionArgs struct { + // expression to match + Condition pulumi.StringInput `pulumi:"condition"` +} + +func (GetSignOnPolicyRuleConditionsElConditionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsElCondition)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsElConditionArgs) ToGetSignOnPolicyRuleConditionsElConditionOutput() GetSignOnPolicyRuleConditionsElConditionOutput { + return i.ToGetSignOnPolicyRuleConditionsElConditionOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsElConditionArgs) ToGetSignOnPolicyRuleConditionsElConditionOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsElConditionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsElConditionOutput) +} + +func (i GetSignOnPolicyRuleConditionsElConditionArgs) ToGetSignOnPolicyRuleConditionsElConditionPtrOutput() GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsElConditionPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsElConditionArgs) ToGetSignOnPolicyRuleConditionsElConditionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsElConditionOutput).ToGetSignOnPolicyRuleConditionsElConditionPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsElConditionPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsElConditionArgs, GetSignOnPolicyRuleConditionsElConditionPtr and GetSignOnPolicyRuleConditionsElConditionPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsElConditionPtrInput` via: +// +// GetSignOnPolicyRuleConditionsElConditionArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsElConditionPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsElConditionPtrOutput() GetSignOnPolicyRuleConditionsElConditionPtrOutput + ToGetSignOnPolicyRuleConditionsElConditionPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsElConditionPtrOutput +} + +type getSignOnPolicyRuleConditionsElConditionPtrType GetSignOnPolicyRuleConditionsElConditionArgs + +func GetSignOnPolicyRuleConditionsElConditionPtr(v *GetSignOnPolicyRuleConditionsElConditionArgs) GetSignOnPolicyRuleConditionsElConditionPtrInput { + return (*getSignOnPolicyRuleConditionsElConditionPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsElConditionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsElCondition)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsElConditionPtrType) ToGetSignOnPolicyRuleConditionsElConditionPtrOutput() GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsElConditionPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsElConditionPtrType) ToGetSignOnPolicyRuleConditionsElConditionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsElConditionPtrOutput) +} + +type GetSignOnPolicyRuleConditionsElConditionOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsElConditionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsElCondition)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsElConditionOutput) ToGetSignOnPolicyRuleConditionsElConditionOutput() GetSignOnPolicyRuleConditionsElConditionOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsElConditionOutput) ToGetSignOnPolicyRuleConditionsElConditionOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsElConditionOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsElConditionOutput) ToGetSignOnPolicyRuleConditionsElConditionPtrOutput() GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsElConditionPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsElConditionOutput) ToGetSignOnPolicyRuleConditionsElConditionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsElCondition) *GetSignOnPolicyRuleConditionsElCondition { + return &v + }).(GetSignOnPolicyRuleConditionsElConditionPtrOutput) +} + +// expression to match +func (o GetSignOnPolicyRuleConditionsElConditionOutput) Condition() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsElCondition) string { return v.Condition }).(pulumi.StringOutput) +} + +type GetSignOnPolicyRuleConditionsElConditionPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsElConditionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsElCondition)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsElConditionPtrOutput) ToGetSignOnPolicyRuleConditionsElConditionPtrOutput() GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsElConditionPtrOutput) ToGetSignOnPolicyRuleConditionsElConditionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsElConditionPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsElConditionPtrOutput) Elem() GetSignOnPolicyRuleConditionsElConditionOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsElCondition) GetSignOnPolicyRuleConditionsElCondition { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsElCondition + return ret + }).(GetSignOnPolicyRuleConditionsElConditionOutput) +} + +// expression to match +func (o GetSignOnPolicyRuleConditionsElConditionPtrOutput) Condition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsElCondition) *string { + if v == nil { + return nil + } + return &v.Condition + }).(pulumi.StringPtrOutput) +} + +type GetSignOnPolicyRuleConditionsNetwork struct { + // Network selection mode + Connection string `pulumi:"connection"` + // The zones to exclude. + Excludes []string `pulumi:"excludes"` + // The zones to include. + Includes []string `pulumi:"includes"` +} + +// GetSignOnPolicyRuleConditionsNetworkInput is an input type that accepts GetSignOnPolicyRuleConditionsNetworkArgs and GetSignOnPolicyRuleConditionsNetworkOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsNetworkInput` via: +// +// GetSignOnPolicyRuleConditionsNetworkArgs{...} +type GetSignOnPolicyRuleConditionsNetworkInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsNetworkOutput() GetSignOnPolicyRuleConditionsNetworkOutput + ToGetSignOnPolicyRuleConditionsNetworkOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsNetworkOutput +} + +type GetSignOnPolicyRuleConditionsNetworkArgs struct { + // Network selection mode + Connection pulumi.StringInput `pulumi:"connection"` + // The zones to exclude. + Excludes pulumi.StringArrayInput `pulumi:"excludes"` + // The zones to include. + Includes pulumi.StringArrayInput `pulumi:"includes"` +} + +func (GetSignOnPolicyRuleConditionsNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsNetwork)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsNetworkArgs) ToGetSignOnPolicyRuleConditionsNetworkOutput() GetSignOnPolicyRuleConditionsNetworkOutput { + return i.ToGetSignOnPolicyRuleConditionsNetworkOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsNetworkArgs) ToGetSignOnPolicyRuleConditionsNetworkOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsNetworkOutput) +} + +func (i GetSignOnPolicyRuleConditionsNetworkArgs) ToGetSignOnPolicyRuleConditionsNetworkPtrOutput() GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsNetworkPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsNetworkArgs) ToGetSignOnPolicyRuleConditionsNetworkPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsNetworkOutput).ToGetSignOnPolicyRuleConditionsNetworkPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsNetworkPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsNetworkArgs, GetSignOnPolicyRuleConditionsNetworkPtr and GetSignOnPolicyRuleConditionsNetworkPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsNetworkPtrInput` via: +// +// GetSignOnPolicyRuleConditionsNetworkArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsNetworkPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsNetworkPtrOutput() GetSignOnPolicyRuleConditionsNetworkPtrOutput + ToGetSignOnPolicyRuleConditionsNetworkPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsNetworkPtrOutput +} + +type getSignOnPolicyRuleConditionsNetworkPtrType GetSignOnPolicyRuleConditionsNetworkArgs + +func GetSignOnPolicyRuleConditionsNetworkPtr(v *GetSignOnPolicyRuleConditionsNetworkArgs) GetSignOnPolicyRuleConditionsNetworkPtrInput { + return (*getSignOnPolicyRuleConditionsNetworkPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsNetwork)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsNetworkPtrType) ToGetSignOnPolicyRuleConditionsNetworkPtrOutput() GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsNetworkPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsNetworkPtrType) ToGetSignOnPolicyRuleConditionsNetworkPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsNetworkPtrOutput) +} + +type GetSignOnPolicyRuleConditionsNetworkOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsNetwork)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsNetworkOutput) ToGetSignOnPolicyRuleConditionsNetworkOutput() GetSignOnPolicyRuleConditionsNetworkOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsNetworkOutput) ToGetSignOnPolicyRuleConditionsNetworkOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsNetworkOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsNetworkOutput) ToGetSignOnPolicyRuleConditionsNetworkPtrOutput() GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsNetworkPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsNetworkOutput) ToGetSignOnPolicyRuleConditionsNetworkPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsNetwork) *GetSignOnPolicyRuleConditionsNetwork { + return &v + }).(GetSignOnPolicyRuleConditionsNetworkPtrOutput) +} + +// Network selection mode +func (o GetSignOnPolicyRuleConditionsNetworkOutput) Connection() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsNetwork) string { return v.Connection }).(pulumi.StringOutput) +} + +// The zones to exclude. +func (o GetSignOnPolicyRuleConditionsNetworkOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsNetwork) []string { return v.Excludes }).(pulumi.StringArrayOutput) +} + +// The zones to include. +func (o GetSignOnPolicyRuleConditionsNetworkOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsNetwork) []string { return v.Includes }).(pulumi.StringArrayOutput) +} + +type GetSignOnPolicyRuleConditionsNetworkPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsNetwork)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsNetworkPtrOutput) ToGetSignOnPolicyRuleConditionsNetworkPtrOutput() GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsNetworkPtrOutput) ToGetSignOnPolicyRuleConditionsNetworkPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsNetworkPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsNetworkPtrOutput) Elem() GetSignOnPolicyRuleConditionsNetworkOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsNetwork) GetSignOnPolicyRuleConditionsNetwork { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsNetwork + return ret + }).(GetSignOnPolicyRuleConditionsNetworkOutput) +} + +// Network selection mode +func (o GetSignOnPolicyRuleConditionsNetworkPtrOutput) Connection() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsNetwork) *string { + if v == nil { + return nil + } + return &v.Connection + }).(pulumi.StringPtrOutput) +} + +// The zones to exclude. +func (o GetSignOnPolicyRuleConditionsNetworkPtrOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsNetwork) []string { + if v == nil { + return nil + } + return v.Excludes + }).(pulumi.StringArrayOutput) +} + +// The zones to include. +func (o GetSignOnPolicyRuleConditionsNetworkPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsNetwork) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) +} + +type GetSignOnPolicyRuleConditionsPeople struct { + // Specifies a set of groups whose users are to be included or excluded + Groups *GetSignOnPolicyRuleConditionsPeopleGroups `pulumi:"groups"` + // Specifies a set of users to be included or excluded + Users *GetSignOnPolicyRuleConditionsPeopleUsers `pulumi:"users"` +} + +// GetSignOnPolicyRuleConditionsPeopleInput is an input type that accepts GetSignOnPolicyRuleConditionsPeopleArgs and GetSignOnPolicyRuleConditionsPeopleOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPeopleInput` via: +// +// GetSignOnPolicyRuleConditionsPeopleArgs{...} +type GetSignOnPolicyRuleConditionsPeopleInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPeopleOutput() GetSignOnPolicyRuleConditionsPeopleOutput + ToGetSignOnPolicyRuleConditionsPeopleOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPeopleOutput +} + +type GetSignOnPolicyRuleConditionsPeopleArgs struct { + // Specifies a set of groups whose users are to be included or excluded + Groups GetSignOnPolicyRuleConditionsPeopleGroupsPtrInput `pulumi:"groups"` + // Specifies a set of users to be included or excluded + Users GetSignOnPolicyRuleConditionsPeopleUsersPtrInput `pulumi:"users"` +} + +func (GetSignOnPolicyRuleConditionsPeopleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeople)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPeopleArgs) ToGetSignOnPolicyRuleConditionsPeopleOutput() GetSignOnPolicyRuleConditionsPeopleOutput { + return i.ToGetSignOnPolicyRuleConditionsPeopleOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPeopleArgs) ToGetSignOnPolicyRuleConditionsPeopleOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPeopleOutput) +} + +func (i GetSignOnPolicyRuleConditionsPeopleArgs) ToGetSignOnPolicyRuleConditionsPeoplePtrOutput() GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPeoplePtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPeopleArgs) ToGetSignOnPolicyRuleConditionsPeoplePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPeopleOutput).ToGetSignOnPolicyRuleConditionsPeoplePtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsPeoplePtrInput is an input type that accepts GetSignOnPolicyRuleConditionsPeopleArgs, GetSignOnPolicyRuleConditionsPeoplePtr and GetSignOnPolicyRuleConditionsPeoplePtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPeoplePtrInput` via: +// +// GetSignOnPolicyRuleConditionsPeopleArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsPeoplePtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPeoplePtrOutput() GetSignOnPolicyRuleConditionsPeoplePtrOutput + ToGetSignOnPolicyRuleConditionsPeoplePtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPeoplePtrOutput +} + +type getSignOnPolicyRuleConditionsPeoplePtrType GetSignOnPolicyRuleConditionsPeopleArgs + +func GetSignOnPolicyRuleConditionsPeoplePtr(v *GetSignOnPolicyRuleConditionsPeopleArgs) GetSignOnPolicyRuleConditionsPeoplePtrInput { + return (*getSignOnPolicyRuleConditionsPeoplePtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsPeoplePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPeople)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsPeoplePtrType) ToGetSignOnPolicyRuleConditionsPeoplePtrOutput() GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPeoplePtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsPeoplePtrType) ToGetSignOnPolicyRuleConditionsPeoplePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPeoplePtrOutput) +} + +type GetSignOnPolicyRuleConditionsPeopleOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPeopleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeople)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPeopleOutput) ToGetSignOnPolicyRuleConditionsPeopleOutput() GetSignOnPolicyRuleConditionsPeopleOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleOutput) ToGetSignOnPolicyRuleConditionsPeopleOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleOutput) ToGetSignOnPolicyRuleConditionsPeoplePtrOutput() GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return o.ToGetSignOnPolicyRuleConditionsPeoplePtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsPeopleOutput) ToGetSignOnPolicyRuleConditionsPeoplePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsPeople) *GetSignOnPolicyRuleConditionsPeople { + return &v + }).(GetSignOnPolicyRuleConditionsPeoplePtrOutput) +} + +// Specifies a set of groups whose users are to be included or excluded +func (o GetSignOnPolicyRuleConditionsPeopleOutput) Groups() GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPeople) *GetSignOnPolicyRuleConditionsPeopleGroups { + return v.Groups + }).(GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) +} + +// Specifies a set of users to be included or excluded +func (o GetSignOnPolicyRuleConditionsPeopleOutput) Users() GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPeople) *GetSignOnPolicyRuleConditionsPeopleUsers { return v.Users }).(GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPeoplePtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPeoplePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPeople)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPeoplePtrOutput) ToGetSignOnPolicyRuleConditionsPeoplePtrOutput() GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeoplePtrOutput) ToGetSignOnPolicyRuleConditionsPeoplePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeoplePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeoplePtrOutput) Elem() GetSignOnPolicyRuleConditionsPeopleOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPeople) GetSignOnPolicyRuleConditionsPeople { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsPeople + return ret + }).(GetSignOnPolicyRuleConditionsPeopleOutput) +} + +// Specifies a set of groups whose users are to be included or excluded +func (o GetSignOnPolicyRuleConditionsPeoplePtrOutput) Groups() GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPeople) *GetSignOnPolicyRuleConditionsPeopleGroups { + if v == nil { + return nil + } + return v.Groups + }).(GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) +} + +// Specifies a set of users to be included or excluded +func (o GetSignOnPolicyRuleConditionsPeoplePtrOutput) Users() GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPeople) *GetSignOnPolicyRuleConditionsPeopleUsers { + if v == nil { + return nil + } + return v.Users + }).(GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPeopleGroups struct { + // Groups to be excluded + Excludes []string `pulumi:"excludes"` + // Groups to be included + Includes []string `pulumi:"includes"` +} + +// GetSignOnPolicyRuleConditionsPeopleGroupsInput is an input type that accepts GetSignOnPolicyRuleConditionsPeopleGroupsArgs and GetSignOnPolicyRuleConditionsPeopleGroupsOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPeopleGroupsInput` via: +// +// GetSignOnPolicyRuleConditionsPeopleGroupsArgs{...} +type GetSignOnPolicyRuleConditionsPeopleGroupsInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPeopleGroupsOutput() GetSignOnPolicyRuleConditionsPeopleGroupsOutput + ToGetSignOnPolicyRuleConditionsPeopleGroupsOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPeopleGroupsOutput +} + +type GetSignOnPolicyRuleConditionsPeopleGroupsArgs struct { + // Groups to be excluded + Excludes pulumi.StringArrayInput `pulumi:"excludes"` + // Groups to be included + Includes pulumi.StringArrayInput `pulumi:"includes"` +} + +func (GetSignOnPolicyRuleConditionsPeopleGroupsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeopleGroups)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPeopleGroupsArgs) ToGetSignOnPolicyRuleConditionsPeopleGroupsOutput() GetSignOnPolicyRuleConditionsPeopleGroupsOutput { + return i.ToGetSignOnPolicyRuleConditionsPeopleGroupsOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPeopleGroupsArgs) ToGetSignOnPolicyRuleConditionsPeopleGroupsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleGroupsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPeopleGroupsOutput) +} + +func (i GetSignOnPolicyRuleConditionsPeopleGroupsArgs) ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput() GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPeopleGroupsArgs) ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPeopleGroupsOutput).ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsPeopleGroupsPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsPeopleGroupsArgs, GetSignOnPolicyRuleConditionsPeopleGroupsPtr and GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPeopleGroupsPtrInput` via: +// +// GetSignOnPolicyRuleConditionsPeopleGroupsArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsPeopleGroupsPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput() GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput + ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput +} + +type getSignOnPolicyRuleConditionsPeopleGroupsPtrType GetSignOnPolicyRuleConditionsPeopleGroupsArgs + +func GetSignOnPolicyRuleConditionsPeopleGroupsPtr(v *GetSignOnPolicyRuleConditionsPeopleGroupsArgs) GetSignOnPolicyRuleConditionsPeopleGroupsPtrInput { + return (*getSignOnPolicyRuleConditionsPeopleGroupsPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsPeopleGroupsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPeopleGroups)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsPeopleGroupsPtrType) ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput() GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsPeopleGroupsPtrType) ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPeopleGroupsOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPeopleGroupsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeopleGroups)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPeopleGroupsOutput) ToGetSignOnPolicyRuleConditionsPeopleGroupsOutput() GetSignOnPolicyRuleConditionsPeopleGroupsOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleGroupsOutput) ToGetSignOnPolicyRuleConditionsPeopleGroupsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleGroupsOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleGroupsOutput) ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput() GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsPeopleGroupsOutput) ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsPeopleGroups) *GetSignOnPolicyRuleConditionsPeopleGroups { + return &v + }).(GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) +} + +// Groups to be excluded +func (o GetSignOnPolicyRuleConditionsPeopleGroupsOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPeopleGroups) []string { return v.Excludes }).(pulumi.StringArrayOutput) +} + +// Groups to be included +func (o GetSignOnPolicyRuleConditionsPeopleGroupsOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPeopleGroups) []string { return v.Includes }).(pulumi.StringArrayOutput) +} + +type GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPeopleGroups)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput() GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) ToGetSignOnPolicyRuleConditionsPeopleGroupsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) Elem() GetSignOnPolicyRuleConditionsPeopleGroupsOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPeopleGroups) GetSignOnPolicyRuleConditionsPeopleGroups { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsPeopleGroups + return ret + }).(GetSignOnPolicyRuleConditionsPeopleGroupsOutput) +} + +// Groups to be excluded +func (o GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPeopleGroups) []string { + if v == nil { + return nil + } + return v.Excludes + }).(pulumi.StringArrayOutput) +} + +// Groups to be included +func (o GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPeopleGroups) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) +} + +type GetSignOnPolicyRuleConditionsPeopleUsers struct { + // Users to be excluded + Excludes []string `pulumi:"excludes"` + // Users to be included + Includes []string `pulumi:"includes"` +} + +// GetSignOnPolicyRuleConditionsPeopleUsersInput is an input type that accepts GetSignOnPolicyRuleConditionsPeopleUsersArgs and GetSignOnPolicyRuleConditionsPeopleUsersOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPeopleUsersInput` via: +// +// GetSignOnPolicyRuleConditionsPeopleUsersArgs{...} +type GetSignOnPolicyRuleConditionsPeopleUsersInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPeopleUsersOutput() GetSignOnPolicyRuleConditionsPeopleUsersOutput + ToGetSignOnPolicyRuleConditionsPeopleUsersOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPeopleUsersOutput +} + +type GetSignOnPolicyRuleConditionsPeopleUsersArgs struct { + // Users to be excluded + Excludes pulumi.StringArrayInput `pulumi:"excludes"` + // Users to be included + Includes pulumi.StringArrayInput `pulumi:"includes"` +} + +func (GetSignOnPolicyRuleConditionsPeopleUsersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeopleUsers)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPeopleUsersArgs) ToGetSignOnPolicyRuleConditionsPeopleUsersOutput() GetSignOnPolicyRuleConditionsPeopleUsersOutput { + return i.ToGetSignOnPolicyRuleConditionsPeopleUsersOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPeopleUsersArgs) ToGetSignOnPolicyRuleConditionsPeopleUsersOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleUsersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPeopleUsersOutput) +} + +func (i GetSignOnPolicyRuleConditionsPeopleUsersArgs) ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutput() GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPeopleUsersArgs) ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPeopleUsersOutput).ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsPeopleUsersPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsPeopleUsersArgs, GetSignOnPolicyRuleConditionsPeopleUsersPtr and GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPeopleUsersPtrInput` via: +// +// GetSignOnPolicyRuleConditionsPeopleUsersArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsPeopleUsersPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutput() GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput + ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput +} + +type getSignOnPolicyRuleConditionsPeopleUsersPtrType GetSignOnPolicyRuleConditionsPeopleUsersArgs + +func GetSignOnPolicyRuleConditionsPeopleUsersPtr(v *GetSignOnPolicyRuleConditionsPeopleUsersArgs) GetSignOnPolicyRuleConditionsPeopleUsersPtrInput { + return (*getSignOnPolicyRuleConditionsPeopleUsersPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsPeopleUsersPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPeopleUsers)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsPeopleUsersPtrType) ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutput() GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsPeopleUsersPtrType) ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPeopleUsersOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPeopleUsersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeopleUsers)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPeopleUsersOutput) ToGetSignOnPolicyRuleConditionsPeopleUsersOutput() GetSignOnPolicyRuleConditionsPeopleUsersOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleUsersOutput) ToGetSignOnPolicyRuleConditionsPeopleUsersOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleUsersOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleUsersOutput) ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutput() GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsPeopleUsersOutput) ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsPeopleUsers) *GetSignOnPolicyRuleConditionsPeopleUsers { + return &v + }).(GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) +} + +// Users to be excluded +func (o GetSignOnPolicyRuleConditionsPeopleUsersOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPeopleUsers) []string { return v.Excludes }).(pulumi.StringArrayOutput) +} + +// Users to be included +func (o GetSignOnPolicyRuleConditionsPeopleUsersOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPeopleUsers) []string { return v.Includes }).(pulumi.StringArrayOutput) +} + +type GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPeopleUsers)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutput() GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) ToGetSignOnPolicyRuleConditionsPeopleUsersPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) Elem() GetSignOnPolicyRuleConditionsPeopleUsersOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPeopleUsers) GetSignOnPolicyRuleConditionsPeopleUsers { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsPeopleUsers + return ret + }).(GetSignOnPolicyRuleConditionsPeopleUsersOutput) +} + +// Users to be excluded +func (o GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPeopleUsers) []string { + if v == nil { + return nil + } + return v.Excludes + }).(pulumi.StringArrayOutput) +} + +// Users to be included +func (o GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPeopleUsers) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) +} + +type GetSignOnPolicyRuleConditionsPlatform struct { + // Exclude + Excludes []GetSignOnPolicyRuleConditionsPlatformExclude `pulumi:"excludes"` + // Include + Includes []GetSignOnPolicyRuleConditionsPlatformInclude `pulumi:"includes"` +} + +// GetSignOnPolicyRuleConditionsPlatformInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformArgs and GetSignOnPolicyRuleConditionsPlatformOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformArgs{...} +type GetSignOnPolicyRuleConditionsPlatformInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformOutput() GetSignOnPolicyRuleConditionsPlatformOutput + ToGetSignOnPolicyRuleConditionsPlatformOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformOutput +} + +type GetSignOnPolicyRuleConditionsPlatformArgs struct { + // Exclude + Excludes GetSignOnPolicyRuleConditionsPlatformExcludeArrayInput `pulumi:"excludes"` + // Include + Includes GetSignOnPolicyRuleConditionsPlatformIncludeArrayInput `pulumi:"includes"` +} + +func (GetSignOnPolicyRuleConditionsPlatformArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatform)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPlatformArgs) ToGetSignOnPolicyRuleConditionsPlatformOutput() GetSignOnPolicyRuleConditionsPlatformOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformArgs) ToGetSignOnPolicyRuleConditionsPlatformOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformOutput) +} + +func (i GetSignOnPolicyRuleConditionsPlatformArgs) ToGetSignOnPolicyRuleConditionsPlatformPtrOutput() GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformArgs) ToGetSignOnPolicyRuleConditionsPlatformPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformOutput).ToGetSignOnPolicyRuleConditionsPlatformPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsPlatformPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformArgs, GetSignOnPolicyRuleConditionsPlatformPtr and GetSignOnPolicyRuleConditionsPlatformPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformPtrInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsPlatformPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformPtrOutput() GetSignOnPolicyRuleConditionsPlatformPtrOutput + ToGetSignOnPolicyRuleConditionsPlatformPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformPtrOutput +} + +type getSignOnPolicyRuleConditionsPlatformPtrType GetSignOnPolicyRuleConditionsPlatformArgs + +func GetSignOnPolicyRuleConditionsPlatformPtr(v *GetSignOnPolicyRuleConditionsPlatformArgs) GetSignOnPolicyRuleConditionsPlatformPtrInput { + return (*getSignOnPolicyRuleConditionsPlatformPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsPlatformPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatform)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsPlatformPtrType) ToGetSignOnPolicyRuleConditionsPlatformPtrOutput() GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsPlatformPtrType) ToGetSignOnPolicyRuleConditionsPlatformPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatform)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformOutput) ToGetSignOnPolicyRuleConditionsPlatformOutput() GetSignOnPolicyRuleConditionsPlatformOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformOutput) ToGetSignOnPolicyRuleConditionsPlatformOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformOutput) ToGetSignOnPolicyRuleConditionsPlatformPtrOutput() GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsPlatformPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsPlatformOutput) ToGetSignOnPolicyRuleConditionsPlatformPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsPlatform) *GetSignOnPolicyRuleConditionsPlatform { + return &v + }).(GetSignOnPolicyRuleConditionsPlatformPtrOutput) +} + +// Exclude +func (o GetSignOnPolicyRuleConditionsPlatformOutput) Excludes() GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatform) []GetSignOnPolicyRuleConditionsPlatformExclude { + return v.Excludes + }).(GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput) +} + +// Include +func (o GetSignOnPolicyRuleConditionsPlatformOutput) Includes() GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatform) []GetSignOnPolicyRuleConditionsPlatformInclude { + return v.Includes + }).(GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatform)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformPtrOutput() GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformPtrOutput) Elem() GetSignOnPolicyRuleConditionsPlatformOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatform) GetSignOnPolicyRuleConditionsPlatform { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsPlatform + return ret + }).(GetSignOnPolicyRuleConditionsPlatformOutput) +} + +// Exclude +func (o GetSignOnPolicyRuleConditionsPlatformPtrOutput) Excludes() GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatform) []GetSignOnPolicyRuleConditionsPlatformExclude { + if v == nil { + return nil + } + return v.Excludes + }).(GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput) +} + +// Include +func (o GetSignOnPolicyRuleConditionsPlatformPtrOutput) Includes() GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatform) []GetSignOnPolicyRuleConditionsPlatformInclude { + if v == nil { + return nil + } + return v.Includes + }).(GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformExclude struct { + // Os + Os *GetSignOnPolicyRuleConditionsPlatformExcludeOs `pulumi:"os"` + // The type of platform + Type string `pulumi:"type"` +} + +// GetSignOnPolicyRuleConditionsPlatformExcludeInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformExcludeArgs and GetSignOnPolicyRuleConditionsPlatformExcludeOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformExcludeInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformExcludeArgs{...} +type GetSignOnPolicyRuleConditionsPlatformExcludeInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformExcludeOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOutput + ToGetSignOnPolicyRuleConditionsPlatformExcludeOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOutput +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeArgs struct { + // Os + Os GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrInput `pulumi:"os"` + // The type of platform + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetSignOnPolicyRuleConditionsPlatformExcludeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExclude)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformExcludeOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformExcludeOutput) +} + +// GetSignOnPolicyRuleConditionsPlatformExcludeArrayInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformExcludeArray and GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformExcludeArrayInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformExcludeArray{ GetSignOnPolicyRuleConditionsPlatformExcludeArgs{...} } +type GetSignOnPolicyRuleConditionsPlatformExcludeArrayInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput() GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput + ToGetSignOnPolicyRuleConditionsPlatformExcludeArrayOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeArray []GetSignOnPolicyRuleConditionsPlatformExcludeInput + +func (GetSignOnPolicyRuleConditionsPlatformExcludeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSignOnPolicyRuleConditionsPlatformExclude)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeArray) ToGetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput() GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformExcludeArrayOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeArray) ToGetSignOnPolicyRuleConditionsPlatformExcludeArrayOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformExcludeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExclude)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOutput { + return o +} + +// Os +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOutput) Os() GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformExclude) *GetSignOnPolicyRuleConditionsPlatformExcludeOs { + return v.Os + }).(GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) +} + +// The type of platform +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformExclude) string { return v.Type }).(pulumi.StringOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSignOnPolicyRuleConditionsPlatformExclude)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput() GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeArrayOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput) Index(i pulumi.IntInput) GetSignOnPolicyRuleConditionsPlatformExcludeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSignOnPolicyRuleConditionsPlatformExclude { + return vs[0].([]GetSignOnPolicyRuleConditionsPlatformExclude)[vs[1].(int)] + }).(GetSignOnPolicyRuleConditionsPlatformExcludeOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeOs struct { + // Expression + Expression string `pulumi:"expression"` + // The type of operating system + Type string `pulumi:"type"` + // Version + Version *GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion `pulumi:"version"` +} + +// GetSignOnPolicyRuleConditionsPlatformExcludeOsInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs and GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformExcludeOsInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs{...} +type GetSignOnPolicyRuleConditionsPlatformExcludeOsInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformExcludeOsOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput + ToGetSignOnPolicyRuleConditionsPlatformExcludeOsOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs struct { + // Expression + Expression pulumi.StringInput `pulumi:"expression"` + // The type of operating system + Type pulumi.StringInput `pulumi:"type"` + // Version + Version GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrInput `pulumi:"version"` +} + +func (GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeOs)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformExcludeOsOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput).ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs, GetSignOnPolicyRuleConditionsPlatformExcludeOsPtr and GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput + ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput +} + +type getSignOnPolicyRuleConditionsPlatformExcludeOsPtrType GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs + +func GetSignOnPolicyRuleConditionsPlatformExcludeOsPtr(v *GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs) GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrInput { + return (*getSignOnPolicyRuleConditionsPlatformExcludeOsPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsPlatformExcludeOsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatformExcludeOs)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsPlatformExcludeOsPtrType) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsPlatformExcludeOsPtrType) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeOs)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsPlatformExcludeOs) *GetSignOnPolicyRuleConditionsPlatformExcludeOs { + return &v + }).(GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) +} + +// Expression +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformExcludeOs) string { return v.Expression }).(pulumi.StringOutput) +} + +// The type of operating system +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformExcludeOs) string { return v.Type }).(pulumi.StringOutput) +} + +// Version +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) Version() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformExcludeOs) *GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion { + return v.Version + }).(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatformExcludeOs)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) Elem() GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformExcludeOs) GetSignOnPolicyRuleConditionsPlatformExcludeOs { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsPlatformExcludeOs + return ret + }).(GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput) +} + +// Expression +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) Expression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformExcludeOs) *string { + if v == nil { + return nil + } + return &v.Expression + }).(pulumi.StringPtrOutput) +} + +// The type of operating system +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformExcludeOs) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +// Version +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput) Version() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformExcludeOs) *GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion { + if v == nil { + return nil + } + return v.Version + }).(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion struct { + // MatchType + MatchType string `pulumi:"matchType"` + // Value + Value string `pulumi:"value"` +} + +// GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs and GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs{...} +type GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput + ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs struct { + // MatchType + MatchType pulumi.StringInput `pulumi:"matchType"` + // Value + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput) +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput).ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs, GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtr and GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput + ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput +} + +type getSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrType GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs + +func GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtr(v *GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrInput { + return (*getSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrType) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrType) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion) *GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion { + return &v + }).(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) +} + +// MatchType +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput) MatchType() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion) string { return v.MatchType }).(pulumi.StringOutput) +} + +// Value +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion) string { return v.Value }).(pulumi.StringOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) Elem() GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion) GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion + return ret + }).(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput) +} + +// MatchType +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) MatchType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion) *string { + if v == nil { + return nil + } + return &v.MatchType + }).(pulumi.StringPtrOutput) +} + +// Value +func (o GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformInclude struct { + // Os + Os *GetSignOnPolicyRuleConditionsPlatformIncludeOs `pulumi:"os"` + // The type of platform + Type string `pulumi:"type"` +} + +// GetSignOnPolicyRuleConditionsPlatformIncludeInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformIncludeArgs and GetSignOnPolicyRuleConditionsPlatformIncludeOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformIncludeInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformIncludeArgs{...} +type GetSignOnPolicyRuleConditionsPlatformIncludeInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformIncludeOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOutput + ToGetSignOnPolicyRuleConditionsPlatformIncludeOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOutput +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeArgs struct { + // Os + Os GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrInput `pulumi:"os"` + // The type of platform + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetSignOnPolicyRuleConditionsPlatformIncludeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformInclude)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformIncludeOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformIncludeOutput) +} + +// GetSignOnPolicyRuleConditionsPlatformIncludeArrayInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformIncludeArray and GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformIncludeArrayInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformIncludeArray{ GetSignOnPolicyRuleConditionsPlatformIncludeArgs{...} } +type GetSignOnPolicyRuleConditionsPlatformIncludeArrayInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput() GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput + ToGetSignOnPolicyRuleConditionsPlatformIncludeArrayOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeArray []GetSignOnPolicyRuleConditionsPlatformIncludeInput + +func (GetSignOnPolicyRuleConditionsPlatformIncludeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSignOnPolicyRuleConditionsPlatformInclude)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeArray) ToGetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput() GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformIncludeArrayOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeArray) ToGetSignOnPolicyRuleConditionsPlatformIncludeArrayOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformIncludeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformInclude)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOutput { + return o +} + +// Os +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOutput) Os() GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformInclude) *GetSignOnPolicyRuleConditionsPlatformIncludeOs { + return v.Os + }).(GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) +} + +// The type of platform +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformInclude) string { return v.Type }).(pulumi.StringOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetSignOnPolicyRuleConditionsPlatformInclude)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput() GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeArrayOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput) Index(i pulumi.IntInput) GetSignOnPolicyRuleConditionsPlatformIncludeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetSignOnPolicyRuleConditionsPlatformInclude { + return vs[0].([]GetSignOnPolicyRuleConditionsPlatformInclude)[vs[1].(int)] + }).(GetSignOnPolicyRuleConditionsPlatformIncludeOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeOs struct { + // Expression + Expression string `pulumi:"expression"` + // The type of operating system + Type string `pulumi:"type"` + // Version + Version *GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion `pulumi:"version"` +} + +// GetSignOnPolicyRuleConditionsPlatformIncludeOsInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs and GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformIncludeOsInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs{...} +type GetSignOnPolicyRuleConditionsPlatformIncludeOsInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformIncludeOsOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput + ToGetSignOnPolicyRuleConditionsPlatformIncludeOsOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs struct { + // Expression + Expression pulumi.StringInput `pulumi:"expression"` + // The type of operating system + Type pulumi.StringInput `pulumi:"type"` + // Version + Version GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrInput `pulumi:"version"` +} + +func (GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeOs)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformIncludeOsOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput).ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs, GetSignOnPolicyRuleConditionsPlatformIncludeOsPtr and GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput + ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput +} + +type getSignOnPolicyRuleConditionsPlatformIncludeOsPtrType GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs + +func GetSignOnPolicyRuleConditionsPlatformIncludeOsPtr(v *GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs) GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrInput { + return (*getSignOnPolicyRuleConditionsPlatformIncludeOsPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsPlatformIncludeOsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatformIncludeOs)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsPlatformIncludeOsPtrType) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsPlatformIncludeOsPtrType) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeOs)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsPlatformIncludeOs) *GetSignOnPolicyRuleConditionsPlatformIncludeOs { + return &v + }).(GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) +} + +// Expression +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) Expression() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformIncludeOs) string { return v.Expression }).(pulumi.StringOutput) +} + +// The type of operating system +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformIncludeOs) string { return v.Type }).(pulumi.StringOutput) +} + +// Version +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) Version() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformIncludeOs) *GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion { + return v.Version + }).(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatformIncludeOs)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) Elem() GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformIncludeOs) GetSignOnPolicyRuleConditionsPlatformIncludeOs { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsPlatformIncludeOs + return ret + }).(GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput) +} + +// Expression +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) Expression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformIncludeOs) *string { + if v == nil { + return nil + } + return &v.Expression + }).(pulumi.StringPtrOutput) +} + +// The type of operating system +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformIncludeOs) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +// Version +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput) Version() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformIncludeOs) *GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion { + if v == nil { + return nil + } + return v.Version + }).(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion struct { + // MatchType + MatchType string `pulumi:"matchType"` + // Value + Value string `pulumi:"value"` +} + +// GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs and GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs{...} +type GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput + ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs struct { + // MatchType + MatchType pulumi.StringInput `pulumi:"matchType"` + // Value + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput) +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput).ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrInput is an input type that accepts GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs, GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtr and GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrInput` via: +// +// GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput + ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput +} + +type getSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrType GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs + +func GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtr(v *GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrInput { + return (*getSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrType) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return i.ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrType) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return o.ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion) *GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion { + return &v + }).(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) +} + +// MatchType +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput) MatchType() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion) string { return v.MatchType }).(pulumi.StringOutput) +} + +// Value +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion) string { return v.Value }).(pulumi.StringOutput) +} + +type GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) ToGetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) Elem() GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion) GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion + return ret + }).(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput) +} + +// MatchType +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) MatchType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion) *string { + if v == nil { + return nil + } + return &v.MatchType + }).(pulumi.StringPtrOutput) +} + +// Value +func (o GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type GetSignOnPolicyRuleConditionsRiskScore struct { + // The level to match + Level string `pulumi:"level"` + // The minimum risk level to match. + MinRiskLevel string `pulumi:"minRiskLevel"` +} + +// GetSignOnPolicyRuleConditionsRiskScoreInput is an input type that accepts GetSignOnPolicyRuleConditionsRiskScoreArgs and GetSignOnPolicyRuleConditionsRiskScoreOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsRiskScoreInput` via: +// +// GetSignOnPolicyRuleConditionsRiskScoreArgs{...} +type GetSignOnPolicyRuleConditionsRiskScoreInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsRiskScoreOutput() GetSignOnPolicyRuleConditionsRiskScoreOutput + ToGetSignOnPolicyRuleConditionsRiskScoreOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsRiskScoreOutput +} + +type GetSignOnPolicyRuleConditionsRiskScoreArgs struct { + // The level to match + Level pulumi.StringInput `pulumi:"level"` + // The minimum risk level to match. + MinRiskLevel pulumi.StringInput `pulumi:"minRiskLevel"` +} + +func (GetSignOnPolicyRuleConditionsRiskScoreArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsRiskScore)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsRiskScoreArgs) ToGetSignOnPolicyRuleConditionsRiskScoreOutput() GetSignOnPolicyRuleConditionsRiskScoreOutput { + return i.ToGetSignOnPolicyRuleConditionsRiskScoreOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsRiskScoreArgs) ToGetSignOnPolicyRuleConditionsRiskScoreOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsRiskScoreOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsRiskScoreOutput) +} + +func (i GetSignOnPolicyRuleConditionsRiskScoreArgs) ToGetSignOnPolicyRuleConditionsRiskScorePtrOutput() GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsRiskScorePtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsRiskScoreArgs) ToGetSignOnPolicyRuleConditionsRiskScorePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsRiskScoreOutput).ToGetSignOnPolicyRuleConditionsRiskScorePtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsRiskScorePtrInput is an input type that accepts GetSignOnPolicyRuleConditionsRiskScoreArgs, GetSignOnPolicyRuleConditionsRiskScorePtr and GetSignOnPolicyRuleConditionsRiskScorePtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsRiskScorePtrInput` via: +// +// GetSignOnPolicyRuleConditionsRiskScoreArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsRiskScorePtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsRiskScorePtrOutput() GetSignOnPolicyRuleConditionsRiskScorePtrOutput + ToGetSignOnPolicyRuleConditionsRiskScorePtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsRiskScorePtrOutput +} + +type getSignOnPolicyRuleConditionsRiskScorePtrType GetSignOnPolicyRuleConditionsRiskScoreArgs + +func GetSignOnPolicyRuleConditionsRiskScorePtr(v *GetSignOnPolicyRuleConditionsRiskScoreArgs) GetSignOnPolicyRuleConditionsRiskScorePtrInput { + return (*getSignOnPolicyRuleConditionsRiskScorePtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsRiskScorePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsRiskScore)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsRiskScorePtrType) ToGetSignOnPolicyRuleConditionsRiskScorePtrOutput() GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsRiskScorePtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsRiskScorePtrType) ToGetSignOnPolicyRuleConditionsRiskScorePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsRiskScorePtrOutput) +} + +type GetSignOnPolicyRuleConditionsRiskScoreOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsRiskScoreOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsRiskScore)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsRiskScoreOutput) ToGetSignOnPolicyRuleConditionsRiskScoreOutput() GetSignOnPolicyRuleConditionsRiskScoreOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsRiskScoreOutput) ToGetSignOnPolicyRuleConditionsRiskScoreOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsRiskScoreOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsRiskScoreOutput) ToGetSignOnPolicyRuleConditionsRiskScorePtrOutput() GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return o.ToGetSignOnPolicyRuleConditionsRiskScorePtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsRiskScoreOutput) ToGetSignOnPolicyRuleConditionsRiskScorePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsRiskScore) *GetSignOnPolicyRuleConditionsRiskScore { + return &v + }).(GetSignOnPolicyRuleConditionsRiskScorePtrOutput) +} + +// The level to match +func (o GetSignOnPolicyRuleConditionsRiskScoreOutput) Level() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsRiskScore) string { return v.Level }).(pulumi.StringOutput) +} + +// The minimum risk level to match. +func (o GetSignOnPolicyRuleConditionsRiskScoreOutput) MinRiskLevel() pulumi.StringOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsRiskScore) string { return v.MinRiskLevel }).(pulumi.StringOutput) +} + +type GetSignOnPolicyRuleConditionsRiskScorePtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsRiskScorePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsRiskScore)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsRiskScorePtrOutput) ToGetSignOnPolicyRuleConditionsRiskScorePtrOutput() GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsRiskScorePtrOutput) ToGetSignOnPolicyRuleConditionsRiskScorePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsRiskScorePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsRiskScorePtrOutput) Elem() GetSignOnPolicyRuleConditionsRiskScoreOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsRiskScore) GetSignOnPolicyRuleConditionsRiskScore { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsRiskScore + return ret + }).(GetSignOnPolicyRuleConditionsRiskScoreOutput) +} + +// The level to match +func (o GetSignOnPolicyRuleConditionsRiskScorePtrOutput) Level() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsRiskScore) *string { + if v == nil { + return nil + } + return &v.Level + }).(pulumi.StringPtrOutput) +} + +// The minimum risk level to match. +func (o GetSignOnPolicyRuleConditionsRiskScorePtrOutput) MinRiskLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsRiskScore) *string { + if v == nil { + return nil + } + return &v.MinRiskLevel + }).(pulumi.StringPtrOutput) +} + +type GetSignOnPolicyRuleConditionsUserType struct { + // The user types to exclude + Excludes []string `pulumi:"excludes"` + // The user types to include + Includes []string `pulumi:"includes"` +} + +// GetSignOnPolicyRuleConditionsUserTypeInput is an input type that accepts GetSignOnPolicyRuleConditionsUserTypeArgs and GetSignOnPolicyRuleConditionsUserTypeOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsUserTypeInput` via: +// +// GetSignOnPolicyRuleConditionsUserTypeArgs{...} +type GetSignOnPolicyRuleConditionsUserTypeInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsUserTypeOutput() GetSignOnPolicyRuleConditionsUserTypeOutput + ToGetSignOnPolicyRuleConditionsUserTypeOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsUserTypeOutput +} + +type GetSignOnPolicyRuleConditionsUserTypeArgs struct { + // The user types to exclude + Excludes pulumi.StringArrayInput `pulumi:"excludes"` + // The user types to include + Includes pulumi.StringArrayInput `pulumi:"includes"` +} + +func (GetSignOnPolicyRuleConditionsUserTypeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsUserType)(nil)).Elem() +} + +func (i GetSignOnPolicyRuleConditionsUserTypeArgs) ToGetSignOnPolicyRuleConditionsUserTypeOutput() GetSignOnPolicyRuleConditionsUserTypeOutput { + return i.ToGetSignOnPolicyRuleConditionsUserTypeOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsUserTypeArgs) ToGetSignOnPolicyRuleConditionsUserTypeOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsUserTypeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsUserTypeOutput) +} + +func (i GetSignOnPolicyRuleConditionsUserTypeArgs) ToGetSignOnPolicyRuleConditionsUserTypePtrOutput() GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsUserTypePtrOutputWithContext(context.Background()) +} + +func (i GetSignOnPolicyRuleConditionsUserTypeArgs) ToGetSignOnPolicyRuleConditionsUserTypePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsUserTypeOutput).ToGetSignOnPolicyRuleConditionsUserTypePtrOutputWithContext(ctx) +} + +// GetSignOnPolicyRuleConditionsUserTypePtrInput is an input type that accepts GetSignOnPolicyRuleConditionsUserTypeArgs, GetSignOnPolicyRuleConditionsUserTypePtr and GetSignOnPolicyRuleConditionsUserTypePtrOutput values. +// You can construct a concrete instance of `GetSignOnPolicyRuleConditionsUserTypePtrInput` via: +// +// GetSignOnPolicyRuleConditionsUserTypeArgs{...} +// +// or: +// +// nil +type GetSignOnPolicyRuleConditionsUserTypePtrInput interface { + pulumi.Input + + ToGetSignOnPolicyRuleConditionsUserTypePtrOutput() GetSignOnPolicyRuleConditionsUserTypePtrOutput + ToGetSignOnPolicyRuleConditionsUserTypePtrOutputWithContext(context.Context) GetSignOnPolicyRuleConditionsUserTypePtrOutput +} + +type getSignOnPolicyRuleConditionsUserTypePtrType GetSignOnPolicyRuleConditionsUserTypeArgs + +func GetSignOnPolicyRuleConditionsUserTypePtr(v *GetSignOnPolicyRuleConditionsUserTypeArgs) GetSignOnPolicyRuleConditionsUserTypePtrInput { + return (*getSignOnPolicyRuleConditionsUserTypePtrType)(v) +} + +func (*getSignOnPolicyRuleConditionsUserTypePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsUserType)(nil)).Elem() +} + +func (i *getSignOnPolicyRuleConditionsUserTypePtrType) ToGetSignOnPolicyRuleConditionsUserTypePtrOutput() GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return i.ToGetSignOnPolicyRuleConditionsUserTypePtrOutputWithContext(context.Background()) +} + +func (i *getSignOnPolicyRuleConditionsUserTypePtrType) ToGetSignOnPolicyRuleConditionsUserTypePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetSignOnPolicyRuleConditionsUserTypePtrOutput) +} + +type GetSignOnPolicyRuleConditionsUserTypeOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsUserTypeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetSignOnPolicyRuleConditionsUserType)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsUserTypeOutput) ToGetSignOnPolicyRuleConditionsUserTypeOutput() GetSignOnPolicyRuleConditionsUserTypeOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsUserTypeOutput) ToGetSignOnPolicyRuleConditionsUserTypeOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsUserTypeOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsUserTypeOutput) ToGetSignOnPolicyRuleConditionsUserTypePtrOutput() GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return o.ToGetSignOnPolicyRuleConditionsUserTypePtrOutputWithContext(context.Background()) +} + +func (o GetSignOnPolicyRuleConditionsUserTypeOutput) ToGetSignOnPolicyRuleConditionsUserTypePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetSignOnPolicyRuleConditionsUserType) *GetSignOnPolicyRuleConditionsUserType { + return &v + }).(GetSignOnPolicyRuleConditionsUserTypePtrOutput) +} + +// The user types to exclude +func (o GetSignOnPolicyRuleConditionsUserTypeOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsUserType) []string { return v.Excludes }).(pulumi.StringArrayOutput) +} + +// The user types to include +func (o GetSignOnPolicyRuleConditionsUserTypeOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetSignOnPolicyRuleConditionsUserType) []string { return v.Includes }).(pulumi.StringArrayOutput) +} + +type GetSignOnPolicyRuleConditionsUserTypePtrOutput struct{ *pulumi.OutputState } + +func (GetSignOnPolicyRuleConditionsUserTypePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetSignOnPolicyRuleConditionsUserType)(nil)).Elem() +} + +func (o GetSignOnPolicyRuleConditionsUserTypePtrOutput) ToGetSignOnPolicyRuleConditionsUserTypePtrOutput() GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsUserTypePtrOutput) ToGetSignOnPolicyRuleConditionsUserTypePtrOutputWithContext(ctx context.Context) GetSignOnPolicyRuleConditionsUserTypePtrOutput { + return o +} + +func (o GetSignOnPolicyRuleConditionsUserTypePtrOutput) Elem() GetSignOnPolicyRuleConditionsUserTypeOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsUserType) GetSignOnPolicyRuleConditionsUserType { + if v != nil { + return *v + } + var ret GetSignOnPolicyRuleConditionsUserType + return ret + }).(GetSignOnPolicyRuleConditionsUserTypeOutput) +} + +// The user types to exclude +func (o GetSignOnPolicyRuleConditionsUserTypePtrOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsUserType) []string { + if v == nil { + return nil + } + return v.Excludes + }).(pulumi.StringArrayOutput) +} + +// The user types to include +func (o GetSignOnPolicyRuleConditionsUserTypePtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetSignOnPolicyRuleConditionsUserType) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*ConnectionProfileInput)(nil)).Elem(), ConnectionProfileArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ConnectionProfilePtrInput)(nil)).Elem(), ConnectionProfileArgs{}) @@ -6900,6 +10375,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*SamlKeyArrayInput)(nil)).Elem(), SamlKeyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*SignonPolicyRulesRuleInput)(nil)).Elem(), SignonPolicyRulesRuleArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SignonPolicyRulesRuleArrayInput)(nil)).Elem(), SignonPolicyRulesRuleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SignonPolicyRulesRuleKeepMeSignedInInput)(nil)).Elem(), SignonPolicyRulesRuleKeepMeSignedInArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*SignonPolicyRulesRuleKeepMeSignedInPtrInput)(nil)).Elem(), SignonPolicyRulesRuleKeepMeSignedInArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SignonPolicyRulesRulePlatformIncludeInput)(nil)).Elem(), SignonPolicyRulesRulePlatformIncludeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*SignonPolicyRulesRulePlatformIncludeArrayInput)(nil)).Elem(), SignonPolicyRulesRulePlatformIncludeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetConnectionProfileInput)(nil)).Elem(), GetConnectionProfileArgs{}) @@ -6936,6 +10413,48 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetOauthNetworkArrayInput)(nil)).Elem(), GetOauthNetworkArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSamlAttributeStatementInput)(nil)).Elem(), GetSamlAttributeStatementArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetSamlAttributeStatementArrayInput)(nil)).Elem(), GetSamlAttributeStatementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleActionsInput)(nil)).Elem(), GetSignOnPolicyRuleActionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleActionsPtrInput)(nil)).Elem(), GetSignOnPolicyRuleActionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnInput)(nil)).Elem(), GetSignOnPolicyRuleActionsAppSignOnArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnPtrInput)(nil)).Elem(), GetSignOnPolicyRuleActionsAppSignOnArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInInput)(nil)).Elem(), GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrInput)(nil)).Elem(), GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnVerificationMethodInput)(nil)).Elem(), GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrInput)(nil)).Elem(), GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsDeviceInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsDeviceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsDevicePtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsDeviceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsDeviceAssuranceInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsDeviceAssuranceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsDeviceAssurancePtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsDeviceAssuranceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsElConditionInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsElConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsElConditionPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsElConditionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsNetworkInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsNetworkPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsNetworkArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeopleInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPeopleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeoplePtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPeopleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeopleGroupsInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPeopleGroupsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeopleGroupsPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPeopleGroupsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeopleUsersInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPeopleUsersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPeopleUsersPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPeopleUsersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformExcludeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeArrayInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformExcludeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeOsInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformIncludeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeArrayInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformIncludeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeOsInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsRiskScoreInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsRiskScoreArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsRiskScorePtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsRiskScoreArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsUserTypeInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsUserTypeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetSignOnPolicyRuleConditionsUserTypePtrInput)(nil)).Elem(), GetSignOnPolicyRuleConditionsUserTypeArgs{}) pulumi.RegisterOutputType(ConnectionProfileOutput{}) pulumi.RegisterOutputType(ConnectionProfilePtrOutput{}) pulumi.RegisterOutputType(ConnectionProfileSettingsOutput{}) @@ -6984,6 +10503,8 @@ func init() { pulumi.RegisterOutputType(SamlKeyArrayOutput{}) pulumi.RegisterOutputType(SignonPolicyRulesRuleOutput{}) pulumi.RegisterOutputType(SignonPolicyRulesRuleArrayOutput{}) + pulumi.RegisterOutputType(SignonPolicyRulesRuleKeepMeSignedInOutput{}) + pulumi.RegisterOutputType(SignonPolicyRulesRuleKeepMeSignedInPtrOutput{}) pulumi.RegisterOutputType(SignonPolicyRulesRulePlatformIncludeOutput{}) pulumi.RegisterOutputType(SignonPolicyRulesRulePlatformIncludeArrayOutput{}) pulumi.RegisterOutputType(GetConnectionProfileOutput{}) @@ -7020,4 +10541,46 @@ func init() { pulumi.RegisterOutputType(GetOauthNetworkArrayOutput{}) pulumi.RegisterOutputType(GetSamlAttributeStatementOutput{}) pulumi.RegisterOutputType(GetSamlAttributeStatementArrayOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleActionsOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleActionsPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleActionsAppSignOnOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleActionsAppSignOnPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsDeviceOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsDevicePtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsDeviceAssuranceOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsDeviceAssurancePtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsElConditionOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsElConditionPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsNetworkOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsNetworkPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPeopleOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPeoplePtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPeopleGroupsOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPeopleGroupsPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPeopleUsersOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPeopleUsersPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformExcludeOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformExcludeArrayOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformExcludeOsOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformExcludeOsPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformIncludeOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformIncludeArrayOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformIncludeOsOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformIncludeOsPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionPtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsRiskScoreOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsRiskScorePtrOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsUserTypeOutput{}) + pulumi.RegisterOutputType(GetSignOnPolicyRuleConditionsUserTypePtrOutput{}) } diff --git a/sdk/go/okta/app/signonPolicyRules.go b/sdk/go/okta/app/signonPolicyRules.go index 5710c8937..d4f98f1c2 100644 --- a/sdk/go/okta/app/signonPolicyRules.go +++ b/sdk/go/okta/app/signonPolicyRules.go @@ -56,6 +56,16 @@ import ( // Access: pulumi.String("DENY"), // Status: pulumi.String("ACTIVE"), // }, +// &app.SignonPolicyRulesRuleArgs{ +// Name: pulumi.String("KMSI Rule"), +// Priority: pulumi.Int(4), +// Access: pulumi.String("ALLOW"), +// Status: pulumi.String("ACTIVE"), +// KeepMeSignedIn: &app.SignonPolicyRulesRuleKeepMeSignedInArgs{ +// PostAuth: pulumi.String("ALLOWED"), +// PostAuthPromptFrequency: pulumi.String("PT168H"), +// }, +// }, // }, // }) // if err != nil { diff --git a/sdk/go/okta/appSignonPolicyRule.go b/sdk/go/okta/appSignonPolicyRule.go index 9abbebb4a..89b00cf44 100644 --- a/sdk/go/okta/appSignonPolicyRule.go +++ b/sdk/go/okta/appSignonPolicyRule.go @@ -54,6 +54,8 @@ type AppSignonPolicyRule struct { GroupsIncludeds pulumi.StringArrayOutput `pulumi:"groupsIncludeds"` // The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. InactivityPeriod pulumi.StringPtrOutput `pulumi:"inactivityPeriod"` + // Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + KeepMeSignedIn AppSignonPolicyRuleKeepMeSignedInOutput `pulumi:"keepMeSignedIn"` // Policy Rule Name Name pulumi.StringOutput `pulumi:"name"` // Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK. @@ -142,6 +144,8 @@ type appSignonPolicyRuleState struct { GroupsIncludeds []string `pulumi:"groupsIncludeds"` // The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. InactivityPeriod *string `pulumi:"inactivityPeriod"` + // Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + KeepMeSignedIn *AppSignonPolicyRuleKeepMeSignedIn `pulumi:"keepMeSignedIn"` // Policy Rule Name Name *string `pulumi:"name"` // Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK. @@ -198,6 +202,8 @@ type AppSignonPolicyRuleState struct { GroupsIncludeds pulumi.StringArrayInput // The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. InactivityPeriod pulumi.StringPtrInput + // Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + KeepMeSignedIn AppSignonPolicyRuleKeepMeSignedInPtrInput // Policy Rule Name Name pulumi.StringPtrInput // Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK. @@ -258,6 +264,8 @@ type appSignonPolicyRuleArgs struct { GroupsIncludeds []string `pulumi:"groupsIncludeds"` // The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. InactivityPeriod *string `pulumi:"inactivityPeriod"` + // Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + KeepMeSignedIn *AppSignonPolicyRuleKeepMeSignedIn `pulumi:"keepMeSignedIn"` // Policy Rule Name Name *string `pulumi:"name"` // Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK. @@ -313,6 +321,8 @@ type AppSignonPolicyRuleArgs struct { GroupsIncludeds pulumi.StringArrayInput // The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. InactivityPeriod pulumi.StringPtrInput + // Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + KeepMeSignedIn AppSignonPolicyRuleKeepMeSignedInPtrInput // Policy Rule Name Name pulumi.StringPtrInput // Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK. @@ -486,6 +496,11 @@ func (o AppSignonPolicyRuleOutput) InactivityPeriod() pulumi.StringPtrOutput { return o.ApplyT(func(v *AppSignonPolicyRule) pulumi.StringPtrOutput { return v.InactivityPeriod }).(pulumi.StringPtrOutput) } +// Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. +func (o AppSignonPolicyRuleOutput) KeepMeSignedIn() AppSignonPolicyRuleKeepMeSignedInOutput { + return o.ApplyT(func(v *AppSignonPolicyRule) AppSignonPolicyRuleKeepMeSignedInOutput { return v.KeepMeSignedIn }).(AppSignonPolicyRuleKeepMeSignedInOutput) +} + // Policy Rule Name func (o AppSignonPolicyRuleOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *AppSignonPolicyRule) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/okta/authenticatorMethodWebauthn.go b/sdk/go/okta/authenticatorMethodWebauthn.go new file mode 100644 index 000000000..4c08bf1df --- /dev/null +++ b/sdk/go/okta/authenticatorMethodWebauthn.go @@ -0,0 +1,467 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. +// +// Manages the WebAuthn authenticator method settings, including AAGUID group allowlists, user verification preferences, and passkey configuration. +// +// > **Note:** This resource manages the settings of an existing WebAuthn authenticator method. The method itself cannot be created or deleted — it exists as part of the authenticator. On destroy, settings are reset to defaults. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// webauthn, err := okta.GetAuthenticator(ctx, &okta.LookupAuthenticatorArgs{ +// Key: pulumi.StringRef("webauthn"), +// }, nil) +// if err != nil { +// return err +// } +// _, err = okta.NewAuthenticatorMethodWebauthn(ctx, "example", &okta.AuthenticatorMethodWebauthnArgs{ +// AuthenticatorId: pulumi.String(webauthn.Id), +// UserVerification: pulumi.String("PREFERRED"), +// Attachment: pulumi.String("ANY"), +// AllowSyncablePasskeys: pulumi.Bool(true), +// AaguidGroups: okta.AuthenticatorMethodWebauthnAaguidGroupArray{ +// &okta.AuthenticatorMethodWebauthnAaguidGroupArgs{ +// Name: pulumi.String("YubiKeys"), +// Aaguids: pulumi.StringArray{ +// pulumi.String("cb69481e-8ff7-4039-93ec-0a2729a154a8"), +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// The WebAuthn method can be imported using the authenticator ID: +// +// ```sh +// $ pulumi import okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn example aut1234567890 +// ``` +type AuthenticatorMethodWebauthn struct { + pulumi.CustomResourceState + + // List of AAGUID group configurations. + AaguidGroups AuthenticatorMethodWebauthnAaguidGroupArrayOutput `pulumi:"aaguidGroups"` + // Whether syncable passkeys are allowed. + AllowSyncablePasskeys pulumi.BoolOutput `pulumi:"allowSyncablePasskeys"` + // Method attachment setting. + Attachment pulumi.StringOutput `pulumi:"attachment"` + // The ID of the WebAuthn authenticator. + AuthenticatorId pulumi.StringOutput `pulumi:"authenticatorId"` + // Whether certificate-based attestation validation is enabled. + CertBasedAttestationValidation pulumi.BoolOutput `pulumi:"certBasedAttestationValidation"` + // Enables the passkeys autofill UI for WebAuthn discoverable credentials. + EnableAutofillUi pulumi.BoolOutput `pulumi:"enableAutofillUi"` + // Whether the authenticator must be FIPS compliant. + FipsCompliant pulumi.BoolOutput `pulumi:"fipsCompliant"` + // Whether the authenticator must store the private key on hardware. + HardwareProtected pulumi.BoolOutput `pulumi:"hardwareProtected"` + // Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + ResidentKeyRequirement pulumi.StringOutput `pulumi:"residentKeyRequirement"` + // The Relying Party (RP) ID configuration for WebAuthn. Contains: + RpId AuthenticatorMethodWebauthnRpIdPtrOutput `pulumi:"rpId"` + // Whether to show the "Sign in with a Passkey" button. + ShowSignInWithAPasskeyButton pulumi.BoolOutput `pulumi:"showSignInWithAPasskeyButton"` + // The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + Status pulumi.StringOutput `pulumi:"status"` + // User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + UserVerification pulumi.StringOutput `pulumi:"userVerification"` + // User verification setting for authentication (verification). + UserVerificationForVerify pulumi.StringOutput `pulumi:"userVerificationForVerify"` +} + +// NewAuthenticatorMethodWebauthn registers a new resource with the given unique name, arguments, and options. +func NewAuthenticatorMethodWebauthn(ctx *pulumi.Context, + name string, args *AuthenticatorMethodWebauthnArgs, opts ...pulumi.ResourceOption) (*AuthenticatorMethodWebauthn, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AuthenticatorId == nil { + return nil, errors.New("invalid value for required argument 'AuthenticatorId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource AuthenticatorMethodWebauthn + err := ctx.RegisterResource("okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAuthenticatorMethodWebauthn gets an existing AuthenticatorMethodWebauthn resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetAuthenticatorMethodWebauthn(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AuthenticatorMethodWebauthnState, opts ...pulumi.ResourceOption) (*AuthenticatorMethodWebauthn, error) { + var resource AuthenticatorMethodWebauthn + err := ctx.ReadResource("okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AuthenticatorMethodWebauthn resources. +type authenticatorMethodWebauthnState struct { + // List of AAGUID group configurations. + AaguidGroups []AuthenticatorMethodWebauthnAaguidGroup `pulumi:"aaguidGroups"` + // Whether syncable passkeys are allowed. + AllowSyncablePasskeys *bool `pulumi:"allowSyncablePasskeys"` + // Method attachment setting. + Attachment *string `pulumi:"attachment"` + // The ID of the WebAuthn authenticator. + AuthenticatorId *string `pulumi:"authenticatorId"` + // Whether certificate-based attestation validation is enabled. + CertBasedAttestationValidation *bool `pulumi:"certBasedAttestationValidation"` + // Enables the passkeys autofill UI for WebAuthn discoverable credentials. + EnableAutofillUi *bool `pulumi:"enableAutofillUi"` + // Whether the authenticator must be FIPS compliant. + FipsCompliant *bool `pulumi:"fipsCompliant"` + // Whether the authenticator must store the private key on hardware. + HardwareProtected *bool `pulumi:"hardwareProtected"` + // Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + ResidentKeyRequirement *string `pulumi:"residentKeyRequirement"` + // The Relying Party (RP) ID configuration for WebAuthn. Contains: + RpId *AuthenticatorMethodWebauthnRpId `pulumi:"rpId"` + // Whether to show the "Sign in with a Passkey" button. + ShowSignInWithAPasskeyButton *bool `pulumi:"showSignInWithAPasskeyButton"` + // The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + Status *string `pulumi:"status"` + // User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + UserVerification *string `pulumi:"userVerification"` + // User verification setting for authentication (verification). + UserVerificationForVerify *string `pulumi:"userVerificationForVerify"` +} + +type AuthenticatorMethodWebauthnState struct { + // List of AAGUID group configurations. + AaguidGroups AuthenticatorMethodWebauthnAaguidGroupArrayInput + // Whether syncable passkeys are allowed. + AllowSyncablePasskeys pulumi.BoolPtrInput + // Method attachment setting. + Attachment pulumi.StringPtrInput + // The ID of the WebAuthn authenticator. + AuthenticatorId pulumi.StringPtrInput + // Whether certificate-based attestation validation is enabled. + CertBasedAttestationValidation pulumi.BoolPtrInput + // Enables the passkeys autofill UI for WebAuthn discoverable credentials. + EnableAutofillUi pulumi.BoolPtrInput + // Whether the authenticator must be FIPS compliant. + FipsCompliant pulumi.BoolPtrInput + // Whether the authenticator must store the private key on hardware. + HardwareProtected pulumi.BoolPtrInput + // Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + ResidentKeyRequirement pulumi.StringPtrInput + // The Relying Party (RP) ID configuration for WebAuthn. Contains: + RpId AuthenticatorMethodWebauthnRpIdPtrInput + // Whether to show the "Sign in with a Passkey" button. + ShowSignInWithAPasskeyButton pulumi.BoolPtrInput + // The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + Status pulumi.StringPtrInput + // User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + UserVerification pulumi.StringPtrInput + // User verification setting for authentication (verification). + UserVerificationForVerify pulumi.StringPtrInput +} + +func (AuthenticatorMethodWebauthnState) ElementType() reflect.Type { + return reflect.TypeOf((*authenticatorMethodWebauthnState)(nil)).Elem() +} + +type authenticatorMethodWebauthnArgs struct { + // List of AAGUID group configurations. + AaguidGroups []AuthenticatorMethodWebauthnAaguidGroup `pulumi:"aaguidGroups"` + // Whether syncable passkeys are allowed. + AllowSyncablePasskeys *bool `pulumi:"allowSyncablePasskeys"` + // Method attachment setting. + Attachment *string `pulumi:"attachment"` + // The ID of the WebAuthn authenticator. + AuthenticatorId string `pulumi:"authenticatorId"` + // Whether certificate-based attestation validation is enabled. + CertBasedAttestationValidation *bool `pulumi:"certBasedAttestationValidation"` + // Enables the passkeys autofill UI for WebAuthn discoverable credentials. + EnableAutofillUi *bool `pulumi:"enableAutofillUi"` + // Whether the authenticator must be FIPS compliant. + FipsCompliant *bool `pulumi:"fipsCompliant"` + // Whether the authenticator must store the private key on hardware. + HardwareProtected *bool `pulumi:"hardwareProtected"` + // Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + ResidentKeyRequirement *string `pulumi:"residentKeyRequirement"` + // The Relying Party (RP) ID configuration for WebAuthn. Contains: + RpId *AuthenticatorMethodWebauthnRpId `pulumi:"rpId"` + // Whether to show the "Sign in with a Passkey" button. + ShowSignInWithAPasskeyButton *bool `pulumi:"showSignInWithAPasskeyButton"` + // User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + UserVerification *string `pulumi:"userVerification"` + // User verification setting for authentication (verification). + UserVerificationForVerify *string `pulumi:"userVerificationForVerify"` +} + +// The set of arguments for constructing a AuthenticatorMethodWebauthn resource. +type AuthenticatorMethodWebauthnArgs struct { + // List of AAGUID group configurations. + AaguidGroups AuthenticatorMethodWebauthnAaguidGroupArrayInput + // Whether syncable passkeys are allowed. + AllowSyncablePasskeys pulumi.BoolPtrInput + // Method attachment setting. + Attachment pulumi.StringPtrInput + // The ID of the WebAuthn authenticator. + AuthenticatorId pulumi.StringInput + // Whether certificate-based attestation validation is enabled. + CertBasedAttestationValidation pulumi.BoolPtrInput + // Enables the passkeys autofill UI for WebAuthn discoverable credentials. + EnableAutofillUi pulumi.BoolPtrInput + // Whether the authenticator must be FIPS compliant. + FipsCompliant pulumi.BoolPtrInput + // Whether the authenticator must store the private key on hardware. + HardwareProtected pulumi.BoolPtrInput + // Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + ResidentKeyRequirement pulumi.StringPtrInput + // The Relying Party (RP) ID configuration for WebAuthn. Contains: + RpId AuthenticatorMethodWebauthnRpIdPtrInput + // Whether to show the "Sign in with a Passkey" button. + ShowSignInWithAPasskeyButton pulumi.BoolPtrInput + // User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + UserVerification pulumi.StringPtrInput + // User verification setting for authentication (verification). + UserVerificationForVerify pulumi.StringPtrInput +} + +func (AuthenticatorMethodWebauthnArgs) ElementType() reflect.Type { + return reflect.TypeOf((*authenticatorMethodWebauthnArgs)(nil)).Elem() +} + +type AuthenticatorMethodWebauthnInput interface { + pulumi.Input + + ToAuthenticatorMethodWebauthnOutput() AuthenticatorMethodWebauthnOutput + ToAuthenticatorMethodWebauthnOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnOutput +} + +func (*AuthenticatorMethodWebauthn) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorMethodWebauthn)(nil)).Elem() +} + +func (i *AuthenticatorMethodWebauthn) ToAuthenticatorMethodWebauthnOutput() AuthenticatorMethodWebauthnOutput { + return i.ToAuthenticatorMethodWebauthnOutputWithContext(context.Background()) +} + +func (i *AuthenticatorMethodWebauthn) ToAuthenticatorMethodWebauthnOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnOutput) +} + +// AuthenticatorMethodWebauthnArrayInput is an input type that accepts AuthenticatorMethodWebauthnArray and AuthenticatorMethodWebauthnArrayOutput values. +// You can construct a concrete instance of `AuthenticatorMethodWebauthnArrayInput` via: +// +// AuthenticatorMethodWebauthnArray{ AuthenticatorMethodWebauthnArgs{...} } +type AuthenticatorMethodWebauthnArrayInput interface { + pulumi.Input + + ToAuthenticatorMethodWebauthnArrayOutput() AuthenticatorMethodWebauthnArrayOutput + ToAuthenticatorMethodWebauthnArrayOutputWithContext(context.Context) AuthenticatorMethodWebauthnArrayOutput +} + +type AuthenticatorMethodWebauthnArray []AuthenticatorMethodWebauthnInput + +func (AuthenticatorMethodWebauthnArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AuthenticatorMethodWebauthn)(nil)).Elem() +} + +func (i AuthenticatorMethodWebauthnArray) ToAuthenticatorMethodWebauthnArrayOutput() AuthenticatorMethodWebauthnArrayOutput { + return i.ToAuthenticatorMethodWebauthnArrayOutputWithContext(context.Background()) +} + +func (i AuthenticatorMethodWebauthnArray) ToAuthenticatorMethodWebauthnArrayOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnArrayOutput) +} + +// AuthenticatorMethodWebauthnMapInput is an input type that accepts AuthenticatorMethodWebauthnMap and AuthenticatorMethodWebauthnMapOutput values. +// You can construct a concrete instance of `AuthenticatorMethodWebauthnMapInput` via: +// +// AuthenticatorMethodWebauthnMap{ "key": AuthenticatorMethodWebauthnArgs{...} } +type AuthenticatorMethodWebauthnMapInput interface { + pulumi.Input + + ToAuthenticatorMethodWebauthnMapOutput() AuthenticatorMethodWebauthnMapOutput + ToAuthenticatorMethodWebauthnMapOutputWithContext(context.Context) AuthenticatorMethodWebauthnMapOutput +} + +type AuthenticatorMethodWebauthnMap map[string]AuthenticatorMethodWebauthnInput + +func (AuthenticatorMethodWebauthnMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AuthenticatorMethodWebauthn)(nil)).Elem() +} + +func (i AuthenticatorMethodWebauthnMap) ToAuthenticatorMethodWebauthnMapOutput() AuthenticatorMethodWebauthnMapOutput { + return i.ToAuthenticatorMethodWebauthnMapOutputWithContext(context.Background()) +} + +func (i AuthenticatorMethodWebauthnMap) ToAuthenticatorMethodWebauthnMapOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnMapOutput) +} + +type AuthenticatorMethodWebauthnOutput struct{ *pulumi.OutputState } + +func (AuthenticatorMethodWebauthnOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorMethodWebauthn)(nil)).Elem() +} + +func (o AuthenticatorMethodWebauthnOutput) ToAuthenticatorMethodWebauthnOutput() AuthenticatorMethodWebauthnOutput { + return o +} + +func (o AuthenticatorMethodWebauthnOutput) ToAuthenticatorMethodWebauthnOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnOutput { + return o +} + +// List of AAGUID group configurations. +func (o AuthenticatorMethodWebauthnOutput) AaguidGroups() AuthenticatorMethodWebauthnAaguidGroupArrayOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) AuthenticatorMethodWebauthnAaguidGroupArrayOutput { + return v.AaguidGroups + }).(AuthenticatorMethodWebauthnAaguidGroupArrayOutput) +} + +// Whether syncable passkeys are allowed. +func (o AuthenticatorMethodWebauthnOutput) AllowSyncablePasskeys() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.BoolOutput { return v.AllowSyncablePasskeys }).(pulumi.BoolOutput) +} + +// Method attachment setting. +func (o AuthenticatorMethodWebauthnOutput) Attachment() pulumi.StringOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.StringOutput { return v.Attachment }).(pulumi.StringOutput) +} + +// The ID of the WebAuthn authenticator. +func (o AuthenticatorMethodWebauthnOutput) AuthenticatorId() pulumi.StringOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.StringOutput { return v.AuthenticatorId }).(pulumi.StringOutput) +} + +// Whether certificate-based attestation validation is enabled. +func (o AuthenticatorMethodWebauthnOutput) CertBasedAttestationValidation() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.BoolOutput { return v.CertBasedAttestationValidation }).(pulumi.BoolOutput) +} + +// Enables the passkeys autofill UI for WebAuthn discoverable credentials. +func (o AuthenticatorMethodWebauthnOutput) EnableAutofillUi() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.BoolOutput { return v.EnableAutofillUi }).(pulumi.BoolOutput) +} + +// Whether the authenticator must be FIPS compliant. +func (o AuthenticatorMethodWebauthnOutput) FipsCompliant() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.BoolOutput { return v.FipsCompliant }).(pulumi.BoolOutput) +} + +// Whether the authenticator must store the private key on hardware. +func (o AuthenticatorMethodWebauthnOutput) HardwareProtected() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.BoolOutput { return v.HardwareProtected }).(pulumi.BoolOutput) +} + +// Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. +func (o AuthenticatorMethodWebauthnOutput) ResidentKeyRequirement() pulumi.StringOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.StringOutput { return v.ResidentKeyRequirement }).(pulumi.StringOutput) +} + +// The Relying Party (RP) ID configuration for WebAuthn. Contains: +func (o AuthenticatorMethodWebauthnOutput) RpId() AuthenticatorMethodWebauthnRpIdPtrOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) AuthenticatorMethodWebauthnRpIdPtrOutput { return v.RpId }).(AuthenticatorMethodWebauthnRpIdPtrOutput) +} + +// Whether to show the "Sign in with a Passkey" button. +func (o AuthenticatorMethodWebauthnOutput) ShowSignInWithAPasskeyButton() pulumi.BoolOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.BoolOutput { return v.ShowSignInWithAPasskeyButton }).(pulumi.BoolOutput) +} + +// The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). +func (o AuthenticatorMethodWebauthnOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) +} + +// User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. +func (o AuthenticatorMethodWebauthnOutput) UserVerification() pulumi.StringOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.StringOutput { return v.UserVerification }).(pulumi.StringOutput) +} + +// User verification setting for authentication (verification). +func (o AuthenticatorMethodWebauthnOutput) UserVerificationForVerify() pulumi.StringOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthn) pulumi.StringOutput { return v.UserVerificationForVerify }).(pulumi.StringOutput) +} + +type AuthenticatorMethodWebauthnArrayOutput struct{ *pulumi.OutputState } + +func (AuthenticatorMethodWebauthnArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AuthenticatorMethodWebauthn)(nil)).Elem() +} + +func (o AuthenticatorMethodWebauthnArrayOutput) ToAuthenticatorMethodWebauthnArrayOutput() AuthenticatorMethodWebauthnArrayOutput { + return o +} + +func (o AuthenticatorMethodWebauthnArrayOutput) ToAuthenticatorMethodWebauthnArrayOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnArrayOutput { + return o +} + +func (o AuthenticatorMethodWebauthnArrayOutput) Index(i pulumi.IntInput) AuthenticatorMethodWebauthnOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthenticatorMethodWebauthn { + return vs[0].([]*AuthenticatorMethodWebauthn)[vs[1].(int)] + }).(AuthenticatorMethodWebauthnOutput) +} + +type AuthenticatorMethodWebauthnMapOutput struct{ *pulumi.OutputState } + +func (AuthenticatorMethodWebauthnMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AuthenticatorMethodWebauthn)(nil)).Elem() +} + +func (o AuthenticatorMethodWebauthnMapOutput) ToAuthenticatorMethodWebauthnMapOutput() AuthenticatorMethodWebauthnMapOutput { + return o +} + +func (o AuthenticatorMethodWebauthnMapOutput) ToAuthenticatorMethodWebauthnMapOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnMapOutput { + return o +} + +func (o AuthenticatorMethodWebauthnMapOutput) MapIndex(k pulumi.StringInput) AuthenticatorMethodWebauthnOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthenticatorMethodWebauthn { + return vs[0].(map[string]*AuthenticatorMethodWebauthn)[vs[1].(string)] + }).(AuthenticatorMethodWebauthnOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorMethodWebauthnInput)(nil)).Elem(), &AuthenticatorMethodWebauthn{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorMethodWebauthnArrayInput)(nil)).Elem(), AuthenticatorMethodWebauthnArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorMethodWebauthnMapInput)(nil)).Elem(), AuthenticatorMethodWebauthnMap{}) + pulumi.RegisterOutputType(AuthenticatorMethodWebauthnOutput{}) + pulumi.RegisterOutputType(AuthenticatorMethodWebauthnArrayOutput{}) + pulumi.RegisterOutputType(AuthenticatorMethodWebauthnMapOutput{}) +} diff --git a/sdk/go/okta/authenticatorWebauthnCustomAaguid.go b/sdk/go/okta/authenticatorWebauthnCustomAaguid.go new file mode 100644 index 000000000..079d798e5 --- /dev/null +++ b/sdk/go/okta/authenticatorWebauthnCustomAaguid.go @@ -0,0 +1,382 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. +// +// Manages a custom AAGUID (Authenticator Attestation Globally Unique Identifier) for a WebAuthn authenticator. Custom AAGUIDs allow administrators to register specific hardware security key models with the organization. +// +// > **NOTE:** AAGUIDs that are registered in the [FIDO Metadata Service (MDS)](https://fidoalliance.org/metadata/) with attestation certificates **require** the `attestationRootCertificate` block(s) to be provided. If omitted for an MDS-registered AAGUID, the API will return a validation error. AAGUIDs not present in the MDS do not require certificates. +// +// ## Example Usage +// +// ### Basic (custom/non-MDS AAGUID) +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// webauthn, err := okta.GetAuthenticator(ctx, &okta.LookupAuthenticatorArgs{ +// Key: pulumi.StringRef("webauthn"), +// }, nil) +// if err != nil { +// return err +// } +// _, err = okta.NewAuthenticatorWebauthnCustomAaguid(ctx, "custom_key", &okta.AuthenticatorWebauthnCustomAaguidArgs{ +// AuthenticatorId: pulumi.String(webauthn.Id), +// Aaguid: pulumi.String("00000000-0000-0000-0000-000000000001"), +// Name: pulumi.String("Custom Security Key"), +// AuthenticatorCharacteristics: &okta.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs{ +// HardwareProtected: pulumi.Bool(true), +// PlatformAttached: pulumi.Bool(false), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ### With attestation certificates (MDS-registered AAGUID) +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// webauthn, err := okta.GetAuthenticator(ctx, &okta.LookupAuthenticatorArgs{ +// Key: pulumi.StringRef("webauthn"), +// }, nil) +// if err != nil { +// return err +// } +// _, err = okta.NewAuthenticatorWebauthnCustomAaguid(ctx, "yubikey5", &okta.AuthenticatorWebauthnCustomAaguidArgs{ +// AuthenticatorId: pulumi.String(webauthn.Id), +// Aaguid: pulumi.String("cb69481e-8ff7-4039-93ec-0a2729a154a8"), +// Name: pulumi.String("YubiKey 5 Series"), +// AuthenticatorCharacteristics: &okta.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs{ +// FipsCompliant: pulumi.Bool(true), +// HardwareProtected: pulumi.Bool(true), +// PlatformAttached: pulumi.Bool(false), +// }, +// AttestationRootCertificates: okta.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArray{ +// &okta.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs{ +// X5c: pulumi.String(""), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// A custom AAGUID can be imported using the format `authenticator_id/aaguid`: +// +// ```sh +// $ pulumi import okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid example aut1234567890/cb69481e-8ff7-4039-93ec-0a2729a154a8 +// ``` +type AuthenticatorWebauthnCustomAaguid struct { + pulumi.CustomResourceState + + // The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + Aaguid pulumi.StringOutput `pulumi:"aaguid"` + // List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + AttestationRootCertificates AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput `pulumi:"attestationRootCertificates"` + // Properties of the custom AAGUID authenticator. + AuthenticatorCharacteristics AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput `pulumi:"authenticatorCharacteristics"` + // The ID of the WebAuthn authenticator. + AuthenticatorId pulumi.StringOutput `pulumi:"authenticatorId"` + // The product name associated with this AAGUID. + Name pulumi.StringOutput `pulumi:"name"` +} + +// NewAuthenticatorWebauthnCustomAaguid registers a new resource with the given unique name, arguments, and options. +func NewAuthenticatorWebauthnCustomAaguid(ctx *pulumi.Context, + name string, args *AuthenticatorWebauthnCustomAaguidArgs, opts ...pulumi.ResourceOption) (*AuthenticatorWebauthnCustomAaguid, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.Aaguid == nil { + return nil, errors.New("invalid value for required argument 'Aaguid'") + } + if args.AuthenticatorId == nil { + return nil, errors.New("invalid value for required argument 'AuthenticatorId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource AuthenticatorWebauthnCustomAaguid + err := ctx.RegisterResource("okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAuthenticatorWebauthnCustomAaguid gets an existing AuthenticatorWebauthnCustomAaguid resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetAuthenticatorWebauthnCustomAaguid(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AuthenticatorWebauthnCustomAaguidState, opts ...pulumi.ResourceOption) (*AuthenticatorWebauthnCustomAaguid, error) { + var resource AuthenticatorWebauthnCustomAaguid + err := ctx.ReadResource("okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AuthenticatorWebauthnCustomAaguid resources. +type authenticatorWebauthnCustomAaguidState struct { + // The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + Aaguid *string `pulumi:"aaguid"` + // List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + AttestationRootCertificates []AuthenticatorWebauthnCustomAaguidAttestationRootCertificate `pulumi:"attestationRootCertificates"` + // Properties of the custom AAGUID authenticator. + AuthenticatorCharacteristics *AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics `pulumi:"authenticatorCharacteristics"` + // The ID of the WebAuthn authenticator. + AuthenticatorId *string `pulumi:"authenticatorId"` + // The product name associated with this AAGUID. + Name *string `pulumi:"name"` +} + +type AuthenticatorWebauthnCustomAaguidState struct { + // The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + Aaguid pulumi.StringPtrInput + // List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + AttestationRootCertificates AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayInput + // Properties of the custom AAGUID authenticator. + AuthenticatorCharacteristics AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrInput + // The ID of the WebAuthn authenticator. + AuthenticatorId pulumi.StringPtrInput + // The product name associated with this AAGUID. + Name pulumi.StringPtrInput +} + +func (AuthenticatorWebauthnCustomAaguidState) ElementType() reflect.Type { + return reflect.TypeOf((*authenticatorWebauthnCustomAaguidState)(nil)).Elem() +} + +type authenticatorWebauthnCustomAaguidArgs struct { + // The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + Aaguid string `pulumi:"aaguid"` + // List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + AttestationRootCertificates []AuthenticatorWebauthnCustomAaguidAttestationRootCertificate `pulumi:"attestationRootCertificates"` + // Properties of the custom AAGUID authenticator. + AuthenticatorCharacteristics *AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics `pulumi:"authenticatorCharacteristics"` + // The ID of the WebAuthn authenticator. + AuthenticatorId string `pulumi:"authenticatorId"` + // The product name associated with this AAGUID. + Name *string `pulumi:"name"` +} + +// The set of arguments for constructing a AuthenticatorWebauthnCustomAaguid resource. +type AuthenticatorWebauthnCustomAaguidArgs struct { + // The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + Aaguid pulumi.StringInput + // List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + AttestationRootCertificates AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayInput + // Properties of the custom AAGUID authenticator. + AuthenticatorCharacteristics AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrInput + // The ID of the WebAuthn authenticator. + AuthenticatorId pulumi.StringInput + // The product name associated with this AAGUID. + Name pulumi.StringPtrInput +} + +func (AuthenticatorWebauthnCustomAaguidArgs) ElementType() reflect.Type { + return reflect.TypeOf((*authenticatorWebauthnCustomAaguidArgs)(nil)).Elem() +} + +type AuthenticatorWebauthnCustomAaguidInput interface { + pulumi.Input + + ToAuthenticatorWebauthnCustomAaguidOutput() AuthenticatorWebauthnCustomAaguidOutput + ToAuthenticatorWebauthnCustomAaguidOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidOutput +} + +func (*AuthenticatorWebauthnCustomAaguid) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorWebauthnCustomAaguid)(nil)).Elem() +} + +func (i *AuthenticatorWebauthnCustomAaguid) ToAuthenticatorWebauthnCustomAaguidOutput() AuthenticatorWebauthnCustomAaguidOutput { + return i.ToAuthenticatorWebauthnCustomAaguidOutputWithContext(context.Background()) +} + +func (i *AuthenticatorWebauthnCustomAaguid) ToAuthenticatorWebauthnCustomAaguidOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorWebauthnCustomAaguidOutput) +} + +// AuthenticatorWebauthnCustomAaguidArrayInput is an input type that accepts AuthenticatorWebauthnCustomAaguidArray and AuthenticatorWebauthnCustomAaguidArrayOutput values. +// You can construct a concrete instance of `AuthenticatorWebauthnCustomAaguidArrayInput` via: +// +// AuthenticatorWebauthnCustomAaguidArray{ AuthenticatorWebauthnCustomAaguidArgs{...} } +type AuthenticatorWebauthnCustomAaguidArrayInput interface { + pulumi.Input + + ToAuthenticatorWebauthnCustomAaguidArrayOutput() AuthenticatorWebauthnCustomAaguidArrayOutput + ToAuthenticatorWebauthnCustomAaguidArrayOutputWithContext(context.Context) AuthenticatorWebauthnCustomAaguidArrayOutput +} + +type AuthenticatorWebauthnCustomAaguidArray []AuthenticatorWebauthnCustomAaguidInput + +func (AuthenticatorWebauthnCustomAaguidArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AuthenticatorWebauthnCustomAaguid)(nil)).Elem() +} + +func (i AuthenticatorWebauthnCustomAaguidArray) ToAuthenticatorWebauthnCustomAaguidArrayOutput() AuthenticatorWebauthnCustomAaguidArrayOutput { + return i.ToAuthenticatorWebauthnCustomAaguidArrayOutputWithContext(context.Background()) +} + +func (i AuthenticatorWebauthnCustomAaguidArray) ToAuthenticatorWebauthnCustomAaguidArrayOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorWebauthnCustomAaguidArrayOutput) +} + +// AuthenticatorWebauthnCustomAaguidMapInput is an input type that accepts AuthenticatorWebauthnCustomAaguidMap and AuthenticatorWebauthnCustomAaguidMapOutput values. +// You can construct a concrete instance of `AuthenticatorWebauthnCustomAaguidMapInput` via: +// +// AuthenticatorWebauthnCustomAaguidMap{ "key": AuthenticatorWebauthnCustomAaguidArgs{...} } +type AuthenticatorWebauthnCustomAaguidMapInput interface { + pulumi.Input + + ToAuthenticatorWebauthnCustomAaguidMapOutput() AuthenticatorWebauthnCustomAaguidMapOutput + ToAuthenticatorWebauthnCustomAaguidMapOutputWithContext(context.Context) AuthenticatorWebauthnCustomAaguidMapOutput +} + +type AuthenticatorWebauthnCustomAaguidMap map[string]AuthenticatorWebauthnCustomAaguidInput + +func (AuthenticatorWebauthnCustomAaguidMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AuthenticatorWebauthnCustomAaguid)(nil)).Elem() +} + +func (i AuthenticatorWebauthnCustomAaguidMap) ToAuthenticatorWebauthnCustomAaguidMapOutput() AuthenticatorWebauthnCustomAaguidMapOutput { + return i.ToAuthenticatorWebauthnCustomAaguidMapOutputWithContext(context.Background()) +} + +func (i AuthenticatorWebauthnCustomAaguidMap) ToAuthenticatorWebauthnCustomAaguidMapOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorWebauthnCustomAaguidMapOutput) +} + +type AuthenticatorWebauthnCustomAaguidOutput struct{ *pulumi.OutputState } + +func (AuthenticatorWebauthnCustomAaguidOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorWebauthnCustomAaguid)(nil)).Elem() +} + +func (o AuthenticatorWebauthnCustomAaguidOutput) ToAuthenticatorWebauthnCustomAaguidOutput() AuthenticatorWebauthnCustomAaguidOutput { + return o +} + +func (o AuthenticatorWebauthnCustomAaguidOutput) ToAuthenticatorWebauthnCustomAaguidOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidOutput { + return o +} + +// The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. +func (o AuthenticatorWebauthnCustomAaguidOutput) Aaguid() pulumi.StringOutput { + return o.ApplyT(func(v *AuthenticatorWebauthnCustomAaguid) pulumi.StringOutput { return v.Aaguid }).(pulumi.StringOutput) +} + +// List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. +func (o AuthenticatorWebauthnCustomAaguidOutput) AttestationRootCertificates() AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput { + return o.ApplyT(func(v *AuthenticatorWebauthnCustomAaguid) AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput { + return v.AttestationRootCertificates + }).(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput) +} + +// Properties of the custom AAGUID authenticator. +func (o AuthenticatorWebauthnCustomAaguidOutput) AuthenticatorCharacteristics() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return o.ApplyT(func(v *AuthenticatorWebauthnCustomAaguid) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return v.AuthenticatorCharacteristics + }).(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) +} + +// The ID of the WebAuthn authenticator. +func (o AuthenticatorWebauthnCustomAaguidOutput) AuthenticatorId() pulumi.StringOutput { + return o.ApplyT(func(v *AuthenticatorWebauthnCustomAaguid) pulumi.StringOutput { return v.AuthenticatorId }).(pulumi.StringOutput) +} + +// The product name associated with this AAGUID. +func (o AuthenticatorWebauthnCustomAaguidOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v *AuthenticatorWebauthnCustomAaguid) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) +} + +type AuthenticatorWebauthnCustomAaguidArrayOutput struct{ *pulumi.OutputState } + +func (AuthenticatorWebauthnCustomAaguidArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AuthenticatorWebauthnCustomAaguid)(nil)).Elem() +} + +func (o AuthenticatorWebauthnCustomAaguidArrayOutput) ToAuthenticatorWebauthnCustomAaguidArrayOutput() AuthenticatorWebauthnCustomAaguidArrayOutput { + return o +} + +func (o AuthenticatorWebauthnCustomAaguidArrayOutput) ToAuthenticatorWebauthnCustomAaguidArrayOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidArrayOutput { + return o +} + +func (o AuthenticatorWebauthnCustomAaguidArrayOutput) Index(i pulumi.IntInput) AuthenticatorWebauthnCustomAaguidOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthenticatorWebauthnCustomAaguid { + return vs[0].([]*AuthenticatorWebauthnCustomAaguid)[vs[1].(int)] + }).(AuthenticatorWebauthnCustomAaguidOutput) +} + +type AuthenticatorWebauthnCustomAaguidMapOutput struct{ *pulumi.OutputState } + +func (AuthenticatorWebauthnCustomAaguidMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AuthenticatorWebauthnCustomAaguid)(nil)).Elem() +} + +func (o AuthenticatorWebauthnCustomAaguidMapOutput) ToAuthenticatorWebauthnCustomAaguidMapOutput() AuthenticatorWebauthnCustomAaguidMapOutput { + return o +} + +func (o AuthenticatorWebauthnCustomAaguidMapOutput) ToAuthenticatorWebauthnCustomAaguidMapOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidMapOutput { + return o +} + +func (o AuthenticatorWebauthnCustomAaguidMapOutput) MapIndex(k pulumi.StringInput) AuthenticatorWebauthnCustomAaguidOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthenticatorWebauthnCustomAaguid { + return vs[0].(map[string]*AuthenticatorWebauthnCustomAaguid)[vs[1].(string)] + }).(AuthenticatorWebauthnCustomAaguidOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidInput)(nil)).Elem(), &AuthenticatorWebauthnCustomAaguid{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidArrayInput)(nil)).Elem(), AuthenticatorWebauthnCustomAaguidArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidMapInput)(nil)).Elem(), AuthenticatorWebauthnCustomAaguidMap{}) + pulumi.RegisterOutputType(AuthenticatorWebauthnCustomAaguidOutput{}) + pulumi.RegisterOutputType(AuthenticatorWebauthnCustomAaguidArrayOutput{}) + pulumi.RegisterOutputType(AuthenticatorWebauthnCustomAaguidMapOutput{}) +} diff --git a/sdk/go/okta/getAuthenticatorMethodWebauthn.go b/sdk/go/okta/getAuthenticatorMethodWebauthn.go new file mode 100644 index 000000000..79e6bb5c5 --- /dev/null +++ b/sdk/go/okta/getAuthenticatorMethodWebauthn.go @@ -0,0 +1,216 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. +// +// Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// webauthn, err := okta.GetAuthenticator(ctx, &okta.LookupAuthenticatorArgs{ +// Key: pulumi.StringRef("webauthn"), +// }, nil) +// if err != nil { +// return err +// } +// _, err = okta.GetAuthenticatorMethodWebauthn(ctx, &okta.LookupAuthenticatorMethodWebauthnArgs{ +// AuthenticatorId: webauthn.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupAuthenticatorMethodWebauthn(ctx *pulumi.Context, args *LookupAuthenticatorMethodWebauthnArgs, opts ...pulumi.InvokeOption) (*LookupAuthenticatorMethodWebauthnResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAuthenticatorMethodWebauthnResult + err := ctx.Invoke("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAuthenticatorMethodWebauthn. +type LookupAuthenticatorMethodWebauthnArgs struct { + // The FIDO2 AAGUID groups. Each element contains: + AaguidGroups []GetAuthenticatorMethodWebauthnAaguidGroup `pulumi:"aaguidGroups"` + // The ID of the WebAuthn authenticator. + AuthenticatorId string `pulumi:"authenticatorId"` + // The Relying Party (RP) ID configuration for WebAuthn. Contains: + RpId *GetAuthenticatorMethodWebauthnRpId `pulumi:"rpId"` +} + +// A collection of values returned by getAuthenticatorMethodWebauthn. +type LookupAuthenticatorMethodWebauthnResult struct { + // The FIDO2 AAGUID groups. Each element contains: + AaguidGroups []GetAuthenticatorMethodWebauthnAaguidGroup `pulumi:"aaguidGroups"` + // Whether syncable passkeys are allowed. + AllowSyncablePasskeys bool `pulumi:"allowSyncablePasskeys"` + // Method attachment setting. + Attachment string `pulumi:"attachment"` + AuthenticatorId string `pulumi:"authenticatorId"` + // Whether certificate-based attestation validation is enabled. + CertBasedAttestationValidation bool `pulumi:"certBasedAttestationValidation"` + // Whether the passkeys autofill UI is enabled. + EnableAutofillUi bool `pulumi:"enableAutofillUi"` + // Whether the authenticator must be FIPS compliant. + FipsCompliant bool `pulumi:"fipsCompliant"` + // Whether the authenticator must store the private key on hardware. + HardwareProtected bool `pulumi:"hardwareProtected"` + Id string `pulumi:"id"` + // Resident key requirement setting. + ResidentKeyRequirement string `pulumi:"residentKeyRequirement"` + // The Relying Party (RP) ID configuration for WebAuthn. Contains: + RpId *GetAuthenticatorMethodWebauthnRpId `pulumi:"rpId"` + // Whether the "Sign in with a Passkey" button is shown. + ShowSignInWithAPasskeyButton bool `pulumi:"showSignInWithAPasskeyButton"` + // The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + Status string `pulumi:"status"` + // User verification setting for enrollment. + UserVerification string `pulumi:"userVerification"` + // User verification setting for authentication. + UserVerificationForVerify string `pulumi:"userVerificationForVerify"` +} + +func LookupAuthenticatorMethodWebauthnOutput(ctx *pulumi.Context, args LookupAuthenticatorMethodWebauthnOutputArgs, opts ...pulumi.InvokeOption) LookupAuthenticatorMethodWebauthnResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (LookupAuthenticatorMethodWebauthnResultOutput, error) { + args := v.(LookupAuthenticatorMethodWebauthnArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", args, LookupAuthenticatorMethodWebauthnResultOutput{}, options).(LookupAuthenticatorMethodWebauthnResultOutput), nil + }).(LookupAuthenticatorMethodWebauthnResultOutput) +} + +// A collection of arguments for invoking getAuthenticatorMethodWebauthn. +type LookupAuthenticatorMethodWebauthnOutputArgs struct { + // The FIDO2 AAGUID groups. Each element contains: + AaguidGroups GetAuthenticatorMethodWebauthnAaguidGroupArrayInput `pulumi:"aaguidGroups"` + // The ID of the WebAuthn authenticator. + AuthenticatorId pulumi.StringInput `pulumi:"authenticatorId"` + // The Relying Party (RP) ID configuration for WebAuthn. Contains: + RpId GetAuthenticatorMethodWebauthnRpIdPtrInput `pulumi:"rpId"` +} + +func (LookupAuthenticatorMethodWebauthnOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAuthenticatorMethodWebauthnArgs)(nil)).Elem() +} + +// A collection of values returned by getAuthenticatorMethodWebauthn. +type LookupAuthenticatorMethodWebauthnResultOutput struct{ *pulumi.OutputState } + +func (LookupAuthenticatorMethodWebauthnResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAuthenticatorMethodWebauthnResult)(nil)).Elem() +} + +func (o LookupAuthenticatorMethodWebauthnResultOutput) ToLookupAuthenticatorMethodWebauthnResultOutput() LookupAuthenticatorMethodWebauthnResultOutput { + return o +} + +func (o LookupAuthenticatorMethodWebauthnResultOutput) ToLookupAuthenticatorMethodWebauthnResultOutputWithContext(ctx context.Context) LookupAuthenticatorMethodWebauthnResultOutput { + return o +} + +// The FIDO2 AAGUID groups. Each element contains: +func (o LookupAuthenticatorMethodWebauthnResultOutput) AaguidGroups() GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) []GetAuthenticatorMethodWebauthnAaguidGroup { + return v.AaguidGroups + }).(GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput) +} + +// Whether syncable passkeys are allowed. +func (o LookupAuthenticatorMethodWebauthnResultOutput) AllowSyncablePasskeys() pulumi.BoolOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) bool { return v.AllowSyncablePasskeys }).(pulumi.BoolOutput) +} + +// Method attachment setting. +func (o LookupAuthenticatorMethodWebauthnResultOutput) Attachment() pulumi.StringOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) string { return v.Attachment }).(pulumi.StringOutput) +} + +func (o LookupAuthenticatorMethodWebauthnResultOutput) AuthenticatorId() pulumi.StringOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) string { return v.AuthenticatorId }).(pulumi.StringOutput) +} + +// Whether certificate-based attestation validation is enabled. +func (o LookupAuthenticatorMethodWebauthnResultOutput) CertBasedAttestationValidation() pulumi.BoolOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) bool { return v.CertBasedAttestationValidation }).(pulumi.BoolOutput) +} + +// Whether the passkeys autofill UI is enabled. +func (o LookupAuthenticatorMethodWebauthnResultOutput) EnableAutofillUi() pulumi.BoolOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) bool { return v.EnableAutofillUi }).(pulumi.BoolOutput) +} + +// Whether the authenticator must be FIPS compliant. +func (o LookupAuthenticatorMethodWebauthnResultOutput) FipsCompliant() pulumi.BoolOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) bool { return v.FipsCompliant }).(pulumi.BoolOutput) +} + +// Whether the authenticator must store the private key on hardware. +func (o LookupAuthenticatorMethodWebauthnResultOutput) HardwareProtected() pulumi.BoolOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) bool { return v.HardwareProtected }).(pulumi.BoolOutput) +} + +func (o LookupAuthenticatorMethodWebauthnResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Resident key requirement setting. +func (o LookupAuthenticatorMethodWebauthnResultOutput) ResidentKeyRequirement() pulumi.StringOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) string { return v.ResidentKeyRequirement }).(pulumi.StringOutput) +} + +// The Relying Party (RP) ID configuration for WebAuthn. Contains: +func (o LookupAuthenticatorMethodWebauthnResultOutput) RpId() GetAuthenticatorMethodWebauthnRpIdPtrOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) *GetAuthenticatorMethodWebauthnRpId { return v.RpId }).(GetAuthenticatorMethodWebauthnRpIdPtrOutput) +} + +// Whether the "Sign in with a Passkey" button is shown. +func (o LookupAuthenticatorMethodWebauthnResultOutput) ShowSignInWithAPasskeyButton() pulumi.BoolOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) bool { return v.ShowSignInWithAPasskeyButton }).(pulumi.BoolOutput) +} + +// The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). +func (o LookupAuthenticatorMethodWebauthnResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) string { return v.Status }).(pulumi.StringOutput) +} + +// User verification setting for enrollment. +func (o LookupAuthenticatorMethodWebauthnResultOutput) UserVerification() pulumi.StringOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) string { return v.UserVerification }).(pulumi.StringOutput) +} + +// User verification setting for authentication. +func (o LookupAuthenticatorMethodWebauthnResultOutput) UserVerificationForVerify() pulumi.StringOutput { + return o.ApplyT(func(v LookupAuthenticatorMethodWebauthnResult) string { return v.UserVerificationForVerify }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupAuthenticatorMethodWebauthnResultOutput{}) +} diff --git a/sdk/go/okta/getAuthenticatorWebauthnCustomAaguids.go b/sdk/go/okta/getAuthenticatorWebauthnCustomAaguids.go new file mode 100644 index 000000000..a850af513 --- /dev/null +++ b/sdk/go/okta/getAuthenticatorWebauthnCustomAaguids.go @@ -0,0 +1,128 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. +// +// Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// webauthn, err := okta.GetAuthenticator(ctx, &okta.LookupAuthenticatorArgs{ +// Key: pulumi.StringRef("webauthn"), +// }, nil) +// if err != nil { +// return err +// } +// _, err = okta.GetAuthenticatorWebauthnCustomAaguids(ctx, &okta.GetAuthenticatorWebauthnCustomAaguidsArgs{ +// AuthenticatorId: webauthn.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetAuthenticatorWebauthnCustomAaguids(ctx *pulumi.Context, args *GetAuthenticatorWebauthnCustomAaguidsArgs, opts ...pulumi.InvokeOption) (*GetAuthenticatorWebauthnCustomAaguidsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAuthenticatorWebauthnCustomAaguidsResult + err := ctx.Invoke("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAuthenticatorWebauthnCustomAaguids. +type GetAuthenticatorWebauthnCustomAaguidsArgs struct { + // The ID of the WebAuthn authenticator. + AuthenticatorId string `pulumi:"authenticatorId"` + // List of custom AAGUIDs configured for this authenticator. Each element contains: + CustomAaguids []GetAuthenticatorWebauthnCustomAaguidsCustomAaguid `pulumi:"customAaguids"` +} + +// A collection of values returned by getAuthenticatorWebauthnCustomAaguids. +type GetAuthenticatorWebauthnCustomAaguidsResult struct { + AuthenticatorId string `pulumi:"authenticatorId"` + // List of custom AAGUIDs configured for this authenticator. Each element contains: + CustomAaguids []GetAuthenticatorWebauthnCustomAaguidsCustomAaguid `pulumi:"customAaguids"` + Id string `pulumi:"id"` +} + +func GetAuthenticatorWebauthnCustomAaguidsOutput(ctx *pulumi.Context, args GetAuthenticatorWebauthnCustomAaguidsOutputArgs, opts ...pulumi.InvokeOption) GetAuthenticatorWebauthnCustomAaguidsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetAuthenticatorWebauthnCustomAaguidsResultOutput, error) { + args := v.(GetAuthenticatorWebauthnCustomAaguidsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", args, GetAuthenticatorWebauthnCustomAaguidsResultOutput{}, options).(GetAuthenticatorWebauthnCustomAaguidsResultOutput), nil + }).(GetAuthenticatorWebauthnCustomAaguidsResultOutput) +} + +// A collection of arguments for invoking getAuthenticatorWebauthnCustomAaguids. +type GetAuthenticatorWebauthnCustomAaguidsOutputArgs struct { + // The ID of the WebAuthn authenticator. + AuthenticatorId pulumi.StringInput `pulumi:"authenticatorId"` + // List of custom AAGUIDs configured for this authenticator. Each element contains: + CustomAaguids GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayInput `pulumi:"customAaguids"` +} + +func (GetAuthenticatorWebauthnCustomAaguidsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsArgs)(nil)).Elem() +} + +// A collection of values returned by getAuthenticatorWebauthnCustomAaguids. +type GetAuthenticatorWebauthnCustomAaguidsResultOutput struct{ *pulumi.OutputState } + +func (GetAuthenticatorWebauthnCustomAaguidsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsResult)(nil)).Elem() +} + +func (o GetAuthenticatorWebauthnCustomAaguidsResultOutput) ToGetAuthenticatorWebauthnCustomAaguidsResultOutput() GetAuthenticatorWebauthnCustomAaguidsResultOutput { + return o +} + +func (o GetAuthenticatorWebauthnCustomAaguidsResultOutput) ToGetAuthenticatorWebauthnCustomAaguidsResultOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsResultOutput { + return o +} + +func (o GetAuthenticatorWebauthnCustomAaguidsResultOutput) AuthenticatorId() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthenticatorWebauthnCustomAaguidsResult) string { return v.AuthenticatorId }).(pulumi.StringOutput) +} + +// List of custom AAGUIDs configured for this authenticator. Each element contains: +func (o GetAuthenticatorWebauthnCustomAaguidsResultOutput) CustomAaguids() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput { + return o.ApplyT(func(v GetAuthenticatorWebauthnCustomAaguidsResult) []GetAuthenticatorWebauthnCustomAaguidsCustomAaguid { + return v.CustomAaguids + }).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput) +} + +func (o GetAuthenticatorWebauthnCustomAaguidsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthenticatorWebauthnCustomAaguidsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetAuthenticatorWebauthnCustomAaguidsResultOutput{}) +} diff --git a/sdk/go/okta/getAuthorizationServersPoliciesRule.go b/sdk/go/okta/getAuthorizationServersPoliciesRule.go new file mode 100644 index 000000000..53ae7783c --- /dev/null +++ b/sdk/go/okta/getAuthorizationServersPoliciesRule.go @@ -0,0 +1,195 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Retrieves an authorization server policy rule by `ruleId` from Okta. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := okta.GetAuthorizationServersPoliciesRule(ctx, &okta.GetAuthorizationServersPoliciesRuleArgs{ +// Id: "", +// AuthServerId: "", +// PolicyId: "", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetAuthorizationServersPoliciesRule(ctx *pulumi.Context, args *GetAuthorizationServersPoliciesRuleArgs, opts ...pulumi.InvokeOption) (*GetAuthorizationServersPoliciesRuleResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAuthorizationServersPoliciesRuleResult + err := ctx.Invoke("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAuthorizationServersPoliciesRule. +type GetAuthorizationServersPoliciesRuleArgs struct { + Actions *GetAuthorizationServersPoliciesRuleActions `pulumi:"actions"` + // `id` of the Authorization Server + AuthServerId string `pulumi:"authServerId"` + Conditions *GetAuthorizationServersPoliciesRuleConditions `pulumi:"conditions"` + // Unique identifier of the authorization server policy rule. + Id string `pulumi:"id"` + // `id` of the policy + PolicyId string `pulumi:"policyId"` +} + +// A collection of values returned by getAuthorizationServersPoliciesRule. +type GetAuthorizationServersPoliciesRuleResult struct { + Actions *GetAuthorizationServersPoliciesRuleActions `pulumi:"actions"` + // `id` of the Authorization Server + AuthServerId string `pulumi:"authServerId"` + Conditions *GetAuthorizationServersPoliciesRuleConditions `pulumi:"conditions"` + // Timestamp when the rule was created + Created string `pulumi:"created"` + // Unique identifier of the authorization server policy rule. + Id string `pulumi:"id"` + // Timestamp when the rule was last modified + LastUpdated string `pulumi:"lastUpdated"` + // Name of the rule + Name string `pulumi:"name"` + // `id` of the policy + PolicyId string `pulumi:"policyId"` + // Priority of the rule + Priority int `pulumi:"priority"` + // Status of the rule + Status string `pulumi:"status"` + // Set to `true` for system rules. + System bool `pulumi:"system"` + // Rule type + Type string `pulumi:"type"` +} + +func GetAuthorizationServersPoliciesRuleOutput(ctx *pulumi.Context, args GetAuthorizationServersPoliciesRuleOutputArgs, opts ...pulumi.InvokeOption) GetAuthorizationServersPoliciesRuleResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetAuthorizationServersPoliciesRuleResultOutput, error) { + args := v.(GetAuthorizationServersPoliciesRuleArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", args, GetAuthorizationServersPoliciesRuleResultOutput{}, options).(GetAuthorizationServersPoliciesRuleResultOutput), nil + }).(GetAuthorizationServersPoliciesRuleResultOutput) +} + +// A collection of arguments for invoking getAuthorizationServersPoliciesRule. +type GetAuthorizationServersPoliciesRuleOutputArgs struct { + Actions GetAuthorizationServersPoliciesRuleActionsPtrInput `pulumi:"actions"` + // `id` of the Authorization Server + AuthServerId pulumi.StringInput `pulumi:"authServerId"` + Conditions GetAuthorizationServersPoliciesRuleConditionsPtrInput `pulumi:"conditions"` + // Unique identifier of the authorization server policy rule. + Id pulumi.StringInput `pulumi:"id"` + // `id` of the policy + PolicyId pulumi.StringInput `pulumi:"policyId"` +} + +func (GetAuthorizationServersPoliciesRuleOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleArgs)(nil)).Elem() +} + +// A collection of values returned by getAuthorizationServersPoliciesRule. +type GetAuthorizationServersPoliciesRuleResultOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleResult)(nil)).Elem() +} + +func (o GetAuthorizationServersPoliciesRuleResultOutput) ToGetAuthorizationServersPoliciesRuleResultOutput() GetAuthorizationServersPoliciesRuleResultOutput { + return o +} + +func (o GetAuthorizationServersPoliciesRuleResultOutput) ToGetAuthorizationServersPoliciesRuleResultOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleResultOutput { + return o +} + +func (o GetAuthorizationServersPoliciesRuleResultOutput) Actions() GetAuthorizationServersPoliciesRuleActionsPtrOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) *GetAuthorizationServersPoliciesRuleActions { + return v.Actions + }).(GetAuthorizationServersPoliciesRuleActionsPtrOutput) +} + +// `id` of the Authorization Server +func (o GetAuthorizationServersPoliciesRuleResultOutput) AuthServerId() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) string { return v.AuthServerId }).(pulumi.StringOutput) +} + +func (o GetAuthorizationServersPoliciesRuleResultOutput) Conditions() GetAuthorizationServersPoliciesRuleConditionsPtrOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) *GetAuthorizationServersPoliciesRuleConditions { + return v.Conditions + }).(GetAuthorizationServersPoliciesRuleConditionsPtrOutput) +} + +// Timestamp when the rule was created +func (o GetAuthorizationServersPoliciesRuleResultOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) string { return v.Created }).(pulumi.StringOutput) +} + +// Unique identifier of the authorization server policy rule. +func (o GetAuthorizationServersPoliciesRuleResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Timestamp when the rule was last modified +func (o GetAuthorizationServersPoliciesRuleResultOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) string { return v.LastUpdated }).(pulumi.StringOutput) +} + +// Name of the rule +func (o GetAuthorizationServersPoliciesRuleResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) string { return v.Name }).(pulumi.StringOutput) +} + +// `id` of the policy +func (o GetAuthorizationServersPoliciesRuleResultOutput) PolicyId() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) string { return v.PolicyId }).(pulumi.StringOutput) +} + +// Priority of the rule +func (o GetAuthorizationServersPoliciesRuleResultOutput) Priority() pulumi.IntOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) int { return v.Priority }).(pulumi.IntOutput) +} + +// Status of the rule +func (o GetAuthorizationServersPoliciesRuleResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) string { return v.Status }).(pulumi.StringOutput) +} + +// Set to `true` for system rules. +func (o GetAuthorizationServersPoliciesRuleResultOutput) System() pulumi.BoolOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) bool { return v.System }).(pulumi.BoolOutput) +} + +// Rule type +func (o GetAuthorizationServersPoliciesRuleResultOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleResult) string { return v.Type }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleResultOutput{}) +} diff --git a/sdk/go/okta/getIamAssigneesUser.go b/sdk/go/okta/getIamAssigneesUser.go new file mode 100644 index 000000000..0efdb6f3c --- /dev/null +++ b/sdk/go/okta/getIamAssigneesUser.go @@ -0,0 +1,105 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Use this data source to list all Okta users that have IAM role assignments. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := okta.GetIamAssigneesUser(ctx, &okta.GetIamAssigneesUserArgs{}, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetIamAssigneesUser(ctx *pulumi.Context, args *GetIamAssigneesUserArgs, opts ...pulumi.InvokeOption) (*GetIamAssigneesUserResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIamAssigneesUserResult + err := ctx.Invoke("okta:index/getIamAssigneesUser:getIamAssigneesUser", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIamAssigneesUser. +type GetIamAssigneesUserArgs struct { + Id *string `pulumi:"id"` + Items []GetIamAssigneesUserItem `pulumi:"items"` +} + +// A collection of values returned by getIamAssigneesUser. +type GetIamAssigneesUserResult struct { + Id string `pulumi:"id"` + Items []GetIamAssigneesUserItem `pulumi:"items"` +} + +func GetIamAssigneesUserOutput(ctx *pulumi.Context, args GetIamAssigneesUserOutputArgs, opts ...pulumi.InvokeOption) GetIamAssigneesUserResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetIamAssigneesUserResultOutput, error) { + args := v.(GetIamAssigneesUserArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("okta:index/getIamAssigneesUser:getIamAssigneesUser", args, GetIamAssigneesUserResultOutput{}, options).(GetIamAssigneesUserResultOutput), nil + }).(GetIamAssigneesUserResultOutput) +} + +// A collection of arguments for invoking getIamAssigneesUser. +type GetIamAssigneesUserOutputArgs struct { + Id pulumi.StringPtrInput `pulumi:"id"` + Items GetIamAssigneesUserItemArrayInput `pulumi:"items"` +} + +func (GetIamAssigneesUserOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamAssigneesUserArgs)(nil)).Elem() +} + +// A collection of values returned by getIamAssigneesUser. +type GetIamAssigneesUserResultOutput struct{ *pulumi.OutputState } + +func (GetIamAssigneesUserResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamAssigneesUserResult)(nil)).Elem() +} + +func (o GetIamAssigneesUserResultOutput) ToGetIamAssigneesUserResultOutput() GetIamAssigneesUserResultOutput { + return o +} + +func (o GetIamAssigneesUserResultOutput) ToGetIamAssigneesUserResultOutputWithContext(ctx context.Context) GetIamAssigneesUserResultOutput { + return o +} + +func (o GetIamAssigneesUserResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIamAssigneesUserResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetIamAssigneesUserResultOutput) Items() GetIamAssigneesUserItemArrayOutput { + return o.ApplyT(func(v GetIamAssigneesUserResult) []GetIamAssigneesUserItem { return v.Items }).(GetIamAssigneesUserItemArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIamAssigneesUserResultOutput{}) +} diff --git a/sdk/go/okta/getIdentitySourceGroupMemberships.go b/sdk/go/okta/getIdentitySourceGroupMemberships.go new file mode 100644 index 000000000..a6a18a3e6 --- /dev/null +++ b/sdk/go/okta/getIdentitySourceGroupMemberships.go @@ -0,0 +1,131 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Retrieves the list of member external IDs for a group in an Okta Identity Source. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// example, err := okta.GetIdentitySourceGroupMemberships(ctx, &okta.GetIdentitySourceGroupMembershipsArgs{ +// IdentitySourceId: "", +// GroupExternalId: "GROUPEXT123456EXAMPLE", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("memberIds", example.MemberExternalIds) +// return nil +// }) +// } +// +// ``` +func GetIdentitySourceGroupMemberships(ctx *pulumi.Context, args *GetIdentitySourceGroupMembershipsArgs, opts ...pulumi.InvokeOption) (*GetIdentitySourceGroupMembershipsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIdentitySourceGroupMembershipsResult + err := ctx.Invoke("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIdentitySourceGroupMemberships. +type GetIdentitySourceGroupMembershipsArgs struct { + // The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + GroupExternalId string `pulumi:"groupExternalId"` + // ID of the identity source. + IdentitySourceId string `pulumi:"identitySourceId"` +} + +// A collection of values returned by getIdentitySourceGroupMemberships. +type GetIdentitySourceGroupMembershipsResult struct { + // The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + GroupExternalId string `pulumi:"groupExternalId"` + // Composite identifier (`{identity_source_id}/{group_external_id}`). + Id string `pulumi:"id"` + // ID of the identity source. + IdentitySourceId string `pulumi:"identitySourceId"` + // External IDs of members belonging to the group in the identity source. + MemberExternalIds []string `pulumi:"memberExternalIds"` +} + +func GetIdentitySourceGroupMembershipsOutput(ctx *pulumi.Context, args GetIdentitySourceGroupMembershipsOutputArgs, opts ...pulumi.InvokeOption) GetIdentitySourceGroupMembershipsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetIdentitySourceGroupMembershipsResultOutput, error) { + args := v.(GetIdentitySourceGroupMembershipsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", args, GetIdentitySourceGroupMembershipsResultOutput{}, options).(GetIdentitySourceGroupMembershipsResultOutput), nil + }).(GetIdentitySourceGroupMembershipsResultOutput) +} + +// A collection of arguments for invoking getIdentitySourceGroupMemberships. +type GetIdentitySourceGroupMembershipsOutputArgs struct { + // The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + GroupExternalId pulumi.StringInput `pulumi:"groupExternalId"` + // ID of the identity source. + IdentitySourceId pulumi.StringInput `pulumi:"identitySourceId"` +} + +func (GetIdentitySourceGroupMembershipsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceGroupMembershipsArgs)(nil)).Elem() +} + +// A collection of values returned by getIdentitySourceGroupMemberships. +type GetIdentitySourceGroupMembershipsResultOutput struct{ *pulumi.OutputState } + +func (GetIdentitySourceGroupMembershipsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceGroupMembershipsResult)(nil)).Elem() +} + +func (o GetIdentitySourceGroupMembershipsResultOutput) ToGetIdentitySourceGroupMembershipsResultOutput() GetIdentitySourceGroupMembershipsResultOutput { + return o +} + +func (o GetIdentitySourceGroupMembershipsResultOutput) ToGetIdentitySourceGroupMembershipsResultOutputWithContext(ctx context.Context) GetIdentitySourceGroupMembershipsResultOutput { + return o +} + +// The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. +func (o GetIdentitySourceGroupMembershipsResultOutput) GroupExternalId() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceGroupMembershipsResult) string { return v.GroupExternalId }).(pulumi.StringOutput) +} + +// Composite identifier (`{identity_source_id}/{group_external_id}`). +func (o GetIdentitySourceGroupMembershipsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceGroupMembershipsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// ID of the identity source. +func (o GetIdentitySourceGroupMembershipsResultOutput) IdentitySourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceGroupMembershipsResult) string { return v.IdentitySourceId }).(pulumi.StringOutput) +} + +// External IDs of members belonging to the group in the identity source. +func (o GetIdentitySourceGroupMembershipsResultOutput) MemberExternalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetIdentitySourceGroupMembershipsResult) []string { return v.MemberExternalIds }).(pulumi.StringArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIdentitySourceGroupMembershipsResultOutput{}) +} diff --git a/sdk/go/okta/getIdentitySourceGroups.go b/sdk/go/okta/getIdentitySourceGroups.go new file mode 100644 index 000000000..dabfe7c37 --- /dev/null +++ b/sdk/go/okta/getIdentitySourceGroups.go @@ -0,0 +1,136 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Retrieves a group record from an Okta Identity Source by external ID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// example, err := okta.GetIdentitySourceGroups(ctx, &okta.GetIdentitySourceGroupsArgs{ +// IdentitySourceId: "", +// ExternalId: "GROUPEXT123456EXAMPLE", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("groupOktaId", example.Id) +// ctx.Export("groupDisplayName", example.Profile.DisplayName) +// return nil +// }) +// } +// +// ``` +func GetIdentitySourceGroups(ctx *pulumi.Context, args *GetIdentitySourceGroupsArgs, opts ...pulumi.InvokeOption) (*GetIdentitySourceGroupsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIdentitySourceGroupsResult + err := ctx.Invoke("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIdentitySourceGroups. +type GetIdentitySourceGroupsArgs struct { + // The external ID of the group in the identity source. + ExternalId string `pulumi:"externalId"` + // Okta-assigned ID of the group (populated after read). + Id *string `pulumi:"id"` + // ID of the identity source. + IdentitySourceId string `pulumi:"identitySourceId"` + Profile *GetIdentitySourceGroupsProfile `pulumi:"profile"` +} + +// A collection of values returned by getIdentitySourceGroups. +type GetIdentitySourceGroupsResult struct { + // The external ID of the group in the identity source. + ExternalId string `pulumi:"externalId"` + // Okta-assigned ID of the group (populated after read). + Id string `pulumi:"id"` + // ID of the identity source. + IdentitySourceId string `pulumi:"identitySourceId"` + Profile *GetIdentitySourceGroupsProfile `pulumi:"profile"` +} + +func GetIdentitySourceGroupsOutput(ctx *pulumi.Context, args GetIdentitySourceGroupsOutputArgs, opts ...pulumi.InvokeOption) GetIdentitySourceGroupsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetIdentitySourceGroupsResultOutput, error) { + args := v.(GetIdentitySourceGroupsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", args, GetIdentitySourceGroupsResultOutput{}, options).(GetIdentitySourceGroupsResultOutput), nil + }).(GetIdentitySourceGroupsResultOutput) +} + +// A collection of arguments for invoking getIdentitySourceGroups. +type GetIdentitySourceGroupsOutputArgs struct { + // The external ID of the group in the identity source. + ExternalId pulumi.StringInput `pulumi:"externalId"` + // Okta-assigned ID of the group (populated after read). + Id pulumi.StringPtrInput `pulumi:"id"` + // ID of the identity source. + IdentitySourceId pulumi.StringInput `pulumi:"identitySourceId"` + Profile GetIdentitySourceGroupsProfilePtrInput `pulumi:"profile"` +} + +func (GetIdentitySourceGroupsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceGroupsArgs)(nil)).Elem() +} + +// A collection of values returned by getIdentitySourceGroups. +type GetIdentitySourceGroupsResultOutput struct{ *pulumi.OutputState } + +func (GetIdentitySourceGroupsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceGroupsResult)(nil)).Elem() +} + +func (o GetIdentitySourceGroupsResultOutput) ToGetIdentitySourceGroupsResultOutput() GetIdentitySourceGroupsResultOutput { + return o +} + +func (o GetIdentitySourceGroupsResultOutput) ToGetIdentitySourceGroupsResultOutputWithContext(ctx context.Context) GetIdentitySourceGroupsResultOutput { + return o +} + +// The external ID of the group in the identity source. +func (o GetIdentitySourceGroupsResultOutput) ExternalId() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceGroupsResult) string { return v.ExternalId }).(pulumi.StringOutput) +} + +// Okta-assigned ID of the group (populated after read). +func (o GetIdentitySourceGroupsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceGroupsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// ID of the identity source. +func (o GetIdentitySourceGroupsResultOutput) IdentitySourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceGroupsResult) string { return v.IdentitySourceId }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceGroupsResultOutput) Profile() GetIdentitySourceGroupsProfilePtrOutput { + return o.ApplyT(func(v GetIdentitySourceGroupsResult) *GetIdentitySourceGroupsProfile { return v.Profile }).(GetIdentitySourceGroupsProfilePtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIdentitySourceGroupsResultOutput{}) +} diff --git a/sdk/go/okta/getIdentitySourceSessions.go b/sdk/go/okta/getIdentitySourceSessions.go new file mode 100644 index 000000000..6a03a584d --- /dev/null +++ b/sdk/go/okta/getIdentitySourceSessions.go @@ -0,0 +1,122 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. +// +// ## Example Usage +func GetIdentitySourceSessions(ctx *pulumi.Context, args *GetIdentitySourceSessionsArgs, opts ...pulumi.InvokeOption) (*GetIdentitySourceSessionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIdentitySourceSessionsResult + err := ctx.Invoke("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIdentitySourceSessions. +type GetIdentitySourceSessionsArgs struct { + // ID of the identity source. + IdentitySourceId string `pulumi:"identitySourceId"` + SessionId string `pulumi:"sessionId"` +} + +// A collection of values returned by getIdentitySourceSessions. +type GetIdentitySourceSessionsResult struct { + // Timestamp when the session was created (RFC3339). + Created string `pulumi:"created"` + // Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned. + Id string `pulumi:"id"` + // ID of the identity source. + IdentitySourceId string `pulumi:"identitySourceId"` + // The type of import. All imports are `INCREMENTAL`. + ImportType string `pulumi:"importType"` + // The timestamp when the identity source session was created (RFC3339). + LastUpdated string `pulumi:"lastUpdated"` + SessionId string `pulumi:"sessionId"` + // The current status of the identity source session. + Status string `pulumi:"status"` +} + +func GetIdentitySourceSessionsOutput(ctx *pulumi.Context, args GetIdentitySourceSessionsOutputArgs, opts ...pulumi.InvokeOption) GetIdentitySourceSessionsResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetIdentitySourceSessionsResultOutput, error) { + args := v.(GetIdentitySourceSessionsArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", args, GetIdentitySourceSessionsResultOutput{}, options).(GetIdentitySourceSessionsResultOutput), nil + }).(GetIdentitySourceSessionsResultOutput) +} + +// A collection of arguments for invoking getIdentitySourceSessions. +type GetIdentitySourceSessionsOutputArgs struct { + // ID of the identity source. + IdentitySourceId pulumi.StringInput `pulumi:"identitySourceId"` + SessionId pulumi.StringInput `pulumi:"sessionId"` +} + +func (GetIdentitySourceSessionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceSessionsArgs)(nil)).Elem() +} + +// A collection of values returned by getIdentitySourceSessions. +type GetIdentitySourceSessionsResultOutput struct{ *pulumi.OutputState } + +func (GetIdentitySourceSessionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceSessionsResult)(nil)).Elem() +} + +func (o GetIdentitySourceSessionsResultOutput) ToGetIdentitySourceSessionsResultOutput() GetIdentitySourceSessionsResultOutput { + return o +} + +func (o GetIdentitySourceSessionsResultOutput) ToGetIdentitySourceSessionsResultOutputWithContext(ctx context.Context) GetIdentitySourceSessionsResultOutput { + return o +} + +// Timestamp when the session was created (RFC3339). +func (o GetIdentitySourceSessionsResultOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceSessionsResult) string { return v.Created }).(pulumi.StringOutput) +} + +// Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned. +func (o GetIdentitySourceSessionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceSessionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// ID of the identity source. +func (o GetIdentitySourceSessionsResultOutput) IdentitySourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceSessionsResult) string { return v.IdentitySourceId }).(pulumi.StringOutput) +} + +// The type of import. All imports are `INCREMENTAL`. +func (o GetIdentitySourceSessionsResultOutput) ImportType() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceSessionsResult) string { return v.ImportType }).(pulumi.StringOutput) +} + +// The timestamp when the identity source session was created (RFC3339). +func (o GetIdentitySourceSessionsResultOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceSessionsResult) string { return v.LastUpdated }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceSessionsResultOutput) SessionId() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceSessionsResult) string { return v.SessionId }).(pulumi.StringOutput) +} + +// The current status of the identity source session. +func (o GetIdentitySourceSessionsResultOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceSessionsResult) string { return v.Status }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIdentitySourceSessionsResultOutput{}) +} diff --git a/sdk/go/okta/getIdentitySourceUsers.go b/sdk/go/okta/getIdentitySourceUsers.go new file mode 100644 index 000000000..8ead67c60 --- /dev/null +++ b/sdk/go/okta/getIdentitySourceUsers.go @@ -0,0 +1,131 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Retrieves a user record from an Okta Identity Source by external ID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// example, err := okta.GetIdentitySourceUsers(ctx, &okta.GetIdentitySourceUsersArgs{ +// IdentitySourceId: "", +// ExternalId: "USEREXT123456EXAMPLE", +// }, nil) +// if err != nil { +// return err +// } +// ctx.Export("userEmail", example.Profile.Email) +// return nil +// }) +// } +// +// ``` +func GetIdentitySourceUsers(ctx *pulumi.Context, args *GetIdentitySourceUsersArgs, opts ...pulumi.InvokeOption) (*GetIdentitySourceUsersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetIdentitySourceUsersResult + err := ctx.Invoke("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getIdentitySourceUsers. +type GetIdentitySourceUsersArgs struct { + ExternalId string `pulumi:"externalId"` + Id *string `pulumi:"id"` + IdentitySourceId string `pulumi:"identitySourceId"` +} + +// A collection of values returned by getIdentitySourceUsers. +type GetIdentitySourceUsersResult struct { + Created string `pulumi:"created"` + ExternalId string `pulumi:"externalId"` + Id string `pulumi:"id"` + IdentitySourceId string `pulumi:"identitySourceId"` + LastUpdated string `pulumi:"lastUpdated"` + Profile GetIdentitySourceUsersProfile `pulumi:"profile"` +} + +func GetIdentitySourceUsersOutput(ctx *pulumi.Context, args GetIdentitySourceUsersOutputArgs, opts ...pulumi.InvokeOption) GetIdentitySourceUsersResultOutput { + return pulumi.ToOutputWithContext(ctx.Context(), args). + ApplyT(func(v interface{}) (GetIdentitySourceUsersResultOutput, error) { + args := v.(GetIdentitySourceUsersArgs) + options := pulumi.InvokeOutputOptions{InvokeOptions: internal.PkgInvokeDefaultOpts(opts)} + return ctx.InvokeOutput("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", args, GetIdentitySourceUsersResultOutput{}, options).(GetIdentitySourceUsersResultOutput), nil + }).(GetIdentitySourceUsersResultOutput) +} + +// A collection of arguments for invoking getIdentitySourceUsers. +type GetIdentitySourceUsersOutputArgs struct { + ExternalId pulumi.StringInput `pulumi:"externalId"` + Id pulumi.StringPtrInput `pulumi:"id"` + IdentitySourceId pulumi.StringInput `pulumi:"identitySourceId"` +} + +func (GetIdentitySourceUsersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceUsersArgs)(nil)).Elem() +} + +// A collection of values returned by getIdentitySourceUsers. +type GetIdentitySourceUsersResultOutput struct{ *pulumi.OutputState } + +func (GetIdentitySourceUsersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceUsersResult)(nil)).Elem() +} + +func (o GetIdentitySourceUsersResultOutput) ToGetIdentitySourceUsersResultOutput() GetIdentitySourceUsersResultOutput { + return o +} + +func (o GetIdentitySourceUsersResultOutput) ToGetIdentitySourceUsersResultOutputWithContext(ctx context.Context) GetIdentitySourceUsersResultOutput { + return o +} + +func (o GetIdentitySourceUsersResultOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersResult) string { return v.Created }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersResultOutput) ExternalId() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersResult) string { return v.ExternalId }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersResultOutput) IdentitySourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersResult) string { return v.IdentitySourceId }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersResultOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersResult) string { return v.LastUpdated }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersResultOutput) Profile() GetIdentitySourceUsersProfileOutput { + return o.ApplyT(func(v GetIdentitySourceUsersResult) GetIdentitySourceUsersProfile { return v.Profile }).(GetIdentitySourceUsersProfileOutput) +} + +func init() { + pulumi.RegisterOutputType(GetIdentitySourceUsersResultOutput{}) +} diff --git a/sdk/go/okta/getRequestSettingResource.go b/sdk/go/okta/getRequestSettingResource.go index 3892c24ad..349627d0b 100644 --- a/sdk/go/okta/getRequestSettingResource.go +++ b/sdk/go/okta/getRequestSettingResource.go @@ -14,6 +14,30 @@ import ( // Retrieves the request settings for a resource. // // ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := okta.GetRequestSettingResource(ctx, &okta.LookupRequestSettingResourceArgs{ +// Id: "", +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` func LookupRequestSettingResource(ctx *pulumi.Context, args *LookupRequestSettingResourceArgs, opts ...pulumi.InvokeOption) (*LookupRequestSettingResourceResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv LookupRequestSettingResourceResult diff --git a/sdk/go/okta/identitySourceGroup.go b/sdk/go/okta/identitySourceGroup.go new file mode 100644 index 000000000..5c5140297 --- /dev/null +++ b/sdk/go/okta/identitySourceGroup.go @@ -0,0 +1,291 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Manages a group within an Okta Identity Source. Groups created here are staged for import via a session; use `IdentitySourceImport` to trigger the actual sync into Okta. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := okta.NewIdentitySourceGroup(ctx, "example", &okta.IdentitySourceGroupArgs{ +// IdentitySourceId: pulumi.String(""), +// ExternalId: pulumi.String("GRPEXT123456EXAMPLE"), +// Profile: &okta.IdentitySourceGroupProfileArgs{ +// DisplayName: pulumi.String("Engineering"), +// Description: pulumi.String("Engineering team group"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Import using `{identity_source_id}/{id}`: +// +// ```sh +// $ pulumi import okta:index/identitySourceGroup:IdentitySourceGroup example / +// ``` +type IdentitySourceGroup struct { + pulumi.CustomResourceState + + // The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + ExternalId pulumi.StringOutput `pulumi:"externalId"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringOutput `pulumi:"identitySourceId"` + // Display attributes for the group. + Profile IdentitySourceGroupProfilePtrOutput `pulumi:"profile"` +} + +// NewIdentitySourceGroup registers a new resource with the given unique name, arguments, and options. +func NewIdentitySourceGroup(ctx *pulumi.Context, + name string, args *IdentitySourceGroupArgs, opts ...pulumi.ResourceOption) (*IdentitySourceGroup, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ExternalId == nil { + return nil, errors.New("invalid value for required argument 'ExternalId'") + } + if args.IdentitySourceId == nil { + return nil, errors.New("invalid value for required argument 'IdentitySourceId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource IdentitySourceGroup + err := ctx.RegisterResource("okta:index/identitySourceGroup:IdentitySourceGroup", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIdentitySourceGroup gets an existing IdentitySourceGroup resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIdentitySourceGroup(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IdentitySourceGroupState, opts ...pulumi.ResourceOption) (*IdentitySourceGroup, error) { + var resource IdentitySourceGroup + err := ctx.ReadResource("okta:index/identitySourceGroup:IdentitySourceGroup", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IdentitySourceGroup resources. +type identitySourceGroupState struct { + // The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + ExternalId *string `pulumi:"externalId"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId *string `pulumi:"identitySourceId"` + // Display attributes for the group. + Profile *IdentitySourceGroupProfile `pulumi:"profile"` +} + +type IdentitySourceGroupState struct { + // The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + ExternalId pulumi.StringPtrInput + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringPtrInput + // Display attributes for the group. + Profile IdentitySourceGroupProfilePtrInput +} + +func (IdentitySourceGroupState) ElementType() reflect.Type { + return reflect.TypeOf((*identitySourceGroupState)(nil)).Elem() +} + +type identitySourceGroupArgs struct { + // The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + ExternalId string `pulumi:"externalId"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId string `pulumi:"identitySourceId"` + // Display attributes for the group. + Profile *IdentitySourceGroupProfile `pulumi:"profile"` +} + +// The set of arguments for constructing a IdentitySourceGroup resource. +type IdentitySourceGroupArgs struct { + // The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + ExternalId pulumi.StringInput + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringInput + // Display attributes for the group. + Profile IdentitySourceGroupProfilePtrInput +} + +func (IdentitySourceGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*identitySourceGroupArgs)(nil)).Elem() +} + +type IdentitySourceGroupInput interface { + pulumi.Input + + ToIdentitySourceGroupOutput() IdentitySourceGroupOutput + ToIdentitySourceGroupOutputWithContext(ctx context.Context) IdentitySourceGroupOutput +} + +func (*IdentitySourceGroup) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceGroup)(nil)).Elem() +} + +func (i *IdentitySourceGroup) ToIdentitySourceGroupOutput() IdentitySourceGroupOutput { + return i.ToIdentitySourceGroupOutputWithContext(context.Background()) +} + +func (i *IdentitySourceGroup) ToIdentitySourceGroupOutputWithContext(ctx context.Context) IdentitySourceGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceGroupOutput) +} + +// IdentitySourceGroupArrayInput is an input type that accepts IdentitySourceGroupArray and IdentitySourceGroupArrayOutput values. +// You can construct a concrete instance of `IdentitySourceGroupArrayInput` via: +// +// IdentitySourceGroupArray{ IdentitySourceGroupArgs{...} } +type IdentitySourceGroupArrayInput interface { + pulumi.Input + + ToIdentitySourceGroupArrayOutput() IdentitySourceGroupArrayOutput + ToIdentitySourceGroupArrayOutputWithContext(context.Context) IdentitySourceGroupArrayOutput +} + +type IdentitySourceGroupArray []IdentitySourceGroupInput + +func (IdentitySourceGroupArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IdentitySourceGroup)(nil)).Elem() +} + +func (i IdentitySourceGroupArray) ToIdentitySourceGroupArrayOutput() IdentitySourceGroupArrayOutput { + return i.ToIdentitySourceGroupArrayOutputWithContext(context.Background()) +} + +func (i IdentitySourceGroupArray) ToIdentitySourceGroupArrayOutputWithContext(ctx context.Context) IdentitySourceGroupArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceGroupArrayOutput) +} + +// IdentitySourceGroupMapInput is an input type that accepts IdentitySourceGroupMap and IdentitySourceGroupMapOutput values. +// You can construct a concrete instance of `IdentitySourceGroupMapInput` via: +// +// IdentitySourceGroupMap{ "key": IdentitySourceGroupArgs{...} } +type IdentitySourceGroupMapInput interface { + pulumi.Input + + ToIdentitySourceGroupMapOutput() IdentitySourceGroupMapOutput + ToIdentitySourceGroupMapOutputWithContext(context.Context) IdentitySourceGroupMapOutput +} + +type IdentitySourceGroupMap map[string]IdentitySourceGroupInput + +func (IdentitySourceGroupMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IdentitySourceGroup)(nil)).Elem() +} + +func (i IdentitySourceGroupMap) ToIdentitySourceGroupMapOutput() IdentitySourceGroupMapOutput { + return i.ToIdentitySourceGroupMapOutputWithContext(context.Background()) +} + +func (i IdentitySourceGroupMap) ToIdentitySourceGroupMapOutputWithContext(ctx context.Context) IdentitySourceGroupMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceGroupMapOutput) +} + +type IdentitySourceGroupOutput struct{ *pulumi.OutputState } + +func (IdentitySourceGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceGroup)(nil)).Elem() +} + +func (o IdentitySourceGroupOutput) ToIdentitySourceGroupOutput() IdentitySourceGroupOutput { + return o +} + +func (o IdentitySourceGroupOutput) ToIdentitySourceGroupOutputWithContext(ctx context.Context) IdentitySourceGroupOutput { + return o +} + +// The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. +func (o IdentitySourceGroupOutput) ExternalId() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceGroup) pulumi.StringOutput { return v.ExternalId }).(pulumi.StringOutput) +} + +// ID of the identity source. Forces replacement when changed. +func (o IdentitySourceGroupOutput) IdentitySourceId() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceGroup) pulumi.StringOutput { return v.IdentitySourceId }).(pulumi.StringOutput) +} + +// Display attributes for the group. +func (o IdentitySourceGroupOutput) Profile() IdentitySourceGroupProfilePtrOutput { + return o.ApplyT(func(v *IdentitySourceGroup) IdentitySourceGroupProfilePtrOutput { return v.Profile }).(IdentitySourceGroupProfilePtrOutput) +} + +type IdentitySourceGroupArrayOutput struct{ *pulumi.OutputState } + +func (IdentitySourceGroupArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IdentitySourceGroup)(nil)).Elem() +} + +func (o IdentitySourceGroupArrayOutput) ToIdentitySourceGroupArrayOutput() IdentitySourceGroupArrayOutput { + return o +} + +func (o IdentitySourceGroupArrayOutput) ToIdentitySourceGroupArrayOutputWithContext(ctx context.Context) IdentitySourceGroupArrayOutput { + return o +} + +func (o IdentitySourceGroupArrayOutput) Index(i pulumi.IntInput) IdentitySourceGroupOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdentitySourceGroup { + return vs[0].([]*IdentitySourceGroup)[vs[1].(int)] + }).(IdentitySourceGroupOutput) +} + +type IdentitySourceGroupMapOutput struct{ *pulumi.OutputState } + +func (IdentitySourceGroupMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IdentitySourceGroup)(nil)).Elem() +} + +func (o IdentitySourceGroupMapOutput) ToIdentitySourceGroupMapOutput() IdentitySourceGroupMapOutput { + return o +} + +func (o IdentitySourceGroupMapOutput) ToIdentitySourceGroupMapOutputWithContext(ctx context.Context) IdentitySourceGroupMapOutput { + return o +} + +func (o IdentitySourceGroupMapOutput) MapIndex(k pulumi.StringInput) IdentitySourceGroupOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdentitySourceGroup { + return vs[0].(map[string]*IdentitySourceGroup)[vs[1].(string)] + }).(IdentitySourceGroupOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceGroupInput)(nil)).Elem(), &IdentitySourceGroup{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceGroupArrayInput)(nil)).Elem(), IdentitySourceGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceGroupMapInput)(nil)).Elem(), IdentitySourceGroupMap{}) + pulumi.RegisterOutputType(IdentitySourceGroupOutput{}) + pulumi.RegisterOutputType(IdentitySourceGroupArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceGroupMapOutput{}) +} diff --git a/sdk/go/okta/identitySourceGroupMembership.go b/sdk/go/okta/identitySourceGroupMembership.go new file mode 100644 index 000000000..40ab96830 --- /dev/null +++ b/sdk/go/okta/identitySourceGroupMembership.go @@ -0,0 +1,302 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Manages a single member association between a user and a group in an Okta Identity Source. Each resource instance adds one user (identified by `memberExternalId`) to the specified identity source group. All three key attributes force resource replacement when changed. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := okta.NewIdentitySourceGroupMembership(ctx, "example", &okta.IdentitySourceGroupMembershipArgs{ +// IdentitySourceId: pulumi.String(""), +// GroupOrExternalId: pulumi.String("GRPEXT123456EXAMPLE"), +// MemberExternalId: pulumi.String("USEREXT123456EXAMPLE"), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Import using `{identity_source_id}/{group_or_external_id}/{id}`: +// +// ```sh +// $ pulumi import okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership example // +// ``` +type IdentitySourceGroupMembership struct { + pulumi.CustomResourceState + + // External ID of the identity source group. Forces replacement when changed. + GroupOrExternalId pulumi.StringOutput `pulumi:"groupOrExternalId"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringOutput `pulumi:"identitySourceId"` + // The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + MemberExternalId pulumi.StringOutput `pulumi:"memberExternalId"` + // A list of all member external IDs currently in the group (populated after creation). + MemberExternalIds pulumi.StringArrayOutput `pulumi:"memberExternalIds"` +} + +// NewIdentitySourceGroupMembership registers a new resource with the given unique name, arguments, and options. +func NewIdentitySourceGroupMembership(ctx *pulumi.Context, + name string, args *IdentitySourceGroupMembershipArgs, opts ...pulumi.ResourceOption) (*IdentitySourceGroupMembership, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.GroupOrExternalId == nil { + return nil, errors.New("invalid value for required argument 'GroupOrExternalId'") + } + if args.IdentitySourceId == nil { + return nil, errors.New("invalid value for required argument 'IdentitySourceId'") + } + if args.MemberExternalId == nil { + return nil, errors.New("invalid value for required argument 'MemberExternalId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource IdentitySourceGroupMembership + err := ctx.RegisterResource("okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIdentitySourceGroupMembership gets an existing IdentitySourceGroupMembership resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIdentitySourceGroupMembership(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IdentitySourceGroupMembershipState, opts ...pulumi.ResourceOption) (*IdentitySourceGroupMembership, error) { + var resource IdentitySourceGroupMembership + err := ctx.ReadResource("okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IdentitySourceGroupMembership resources. +type identitySourceGroupMembershipState struct { + // External ID of the identity source group. Forces replacement when changed. + GroupOrExternalId *string `pulumi:"groupOrExternalId"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId *string `pulumi:"identitySourceId"` + // The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + MemberExternalId *string `pulumi:"memberExternalId"` + // A list of all member external IDs currently in the group (populated after creation). + MemberExternalIds []string `pulumi:"memberExternalIds"` +} + +type IdentitySourceGroupMembershipState struct { + // External ID of the identity source group. Forces replacement when changed. + GroupOrExternalId pulumi.StringPtrInput + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringPtrInput + // The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + MemberExternalId pulumi.StringPtrInput + // A list of all member external IDs currently in the group (populated after creation). + MemberExternalIds pulumi.StringArrayInput +} + +func (IdentitySourceGroupMembershipState) ElementType() reflect.Type { + return reflect.TypeOf((*identitySourceGroupMembershipState)(nil)).Elem() +} + +type identitySourceGroupMembershipArgs struct { + // External ID of the identity source group. Forces replacement when changed. + GroupOrExternalId string `pulumi:"groupOrExternalId"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId string `pulumi:"identitySourceId"` + // The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + MemberExternalId string `pulumi:"memberExternalId"` +} + +// The set of arguments for constructing a IdentitySourceGroupMembership resource. +type IdentitySourceGroupMembershipArgs struct { + // External ID of the identity source group. Forces replacement when changed. + GroupOrExternalId pulumi.StringInput + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringInput + // The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + MemberExternalId pulumi.StringInput +} + +func (IdentitySourceGroupMembershipArgs) ElementType() reflect.Type { + return reflect.TypeOf((*identitySourceGroupMembershipArgs)(nil)).Elem() +} + +type IdentitySourceGroupMembershipInput interface { + pulumi.Input + + ToIdentitySourceGroupMembershipOutput() IdentitySourceGroupMembershipOutput + ToIdentitySourceGroupMembershipOutputWithContext(ctx context.Context) IdentitySourceGroupMembershipOutput +} + +func (*IdentitySourceGroupMembership) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceGroupMembership)(nil)).Elem() +} + +func (i *IdentitySourceGroupMembership) ToIdentitySourceGroupMembershipOutput() IdentitySourceGroupMembershipOutput { + return i.ToIdentitySourceGroupMembershipOutputWithContext(context.Background()) +} + +func (i *IdentitySourceGroupMembership) ToIdentitySourceGroupMembershipOutputWithContext(ctx context.Context) IdentitySourceGroupMembershipOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceGroupMembershipOutput) +} + +// IdentitySourceGroupMembershipArrayInput is an input type that accepts IdentitySourceGroupMembershipArray and IdentitySourceGroupMembershipArrayOutput values. +// You can construct a concrete instance of `IdentitySourceGroupMembershipArrayInput` via: +// +// IdentitySourceGroupMembershipArray{ IdentitySourceGroupMembershipArgs{...} } +type IdentitySourceGroupMembershipArrayInput interface { + pulumi.Input + + ToIdentitySourceGroupMembershipArrayOutput() IdentitySourceGroupMembershipArrayOutput + ToIdentitySourceGroupMembershipArrayOutputWithContext(context.Context) IdentitySourceGroupMembershipArrayOutput +} + +type IdentitySourceGroupMembershipArray []IdentitySourceGroupMembershipInput + +func (IdentitySourceGroupMembershipArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IdentitySourceGroupMembership)(nil)).Elem() +} + +func (i IdentitySourceGroupMembershipArray) ToIdentitySourceGroupMembershipArrayOutput() IdentitySourceGroupMembershipArrayOutput { + return i.ToIdentitySourceGroupMembershipArrayOutputWithContext(context.Background()) +} + +func (i IdentitySourceGroupMembershipArray) ToIdentitySourceGroupMembershipArrayOutputWithContext(ctx context.Context) IdentitySourceGroupMembershipArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceGroupMembershipArrayOutput) +} + +// IdentitySourceGroupMembershipMapInput is an input type that accepts IdentitySourceGroupMembershipMap and IdentitySourceGroupMembershipMapOutput values. +// You can construct a concrete instance of `IdentitySourceGroupMembershipMapInput` via: +// +// IdentitySourceGroupMembershipMap{ "key": IdentitySourceGroupMembershipArgs{...} } +type IdentitySourceGroupMembershipMapInput interface { + pulumi.Input + + ToIdentitySourceGroupMembershipMapOutput() IdentitySourceGroupMembershipMapOutput + ToIdentitySourceGroupMembershipMapOutputWithContext(context.Context) IdentitySourceGroupMembershipMapOutput +} + +type IdentitySourceGroupMembershipMap map[string]IdentitySourceGroupMembershipInput + +func (IdentitySourceGroupMembershipMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IdentitySourceGroupMembership)(nil)).Elem() +} + +func (i IdentitySourceGroupMembershipMap) ToIdentitySourceGroupMembershipMapOutput() IdentitySourceGroupMembershipMapOutput { + return i.ToIdentitySourceGroupMembershipMapOutputWithContext(context.Background()) +} + +func (i IdentitySourceGroupMembershipMap) ToIdentitySourceGroupMembershipMapOutputWithContext(ctx context.Context) IdentitySourceGroupMembershipMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceGroupMembershipMapOutput) +} + +type IdentitySourceGroupMembershipOutput struct{ *pulumi.OutputState } + +func (IdentitySourceGroupMembershipOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceGroupMembership)(nil)).Elem() +} + +func (o IdentitySourceGroupMembershipOutput) ToIdentitySourceGroupMembershipOutput() IdentitySourceGroupMembershipOutput { + return o +} + +func (o IdentitySourceGroupMembershipOutput) ToIdentitySourceGroupMembershipOutputWithContext(ctx context.Context) IdentitySourceGroupMembershipOutput { + return o +} + +// External ID of the identity source group. Forces replacement when changed. +func (o IdentitySourceGroupMembershipOutput) GroupOrExternalId() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceGroupMembership) pulumi.StringOutput { return v.GroupOrExternalId }).(pulumi.StringOutput) +} + +// ID of the identity source. Forces replacement when changed. +func (o IdentitySourceGroupMembershipOutput) IdentitySourceId() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceGroupMembership) pulumi.StringOutput { return v.IdentitySourceId }).(pulumi.StringOutput) +} + +// The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. +func (o IdentitySourceGroupMembershipOutput) MemberExternalId() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceGroupMembership) pulumi.StringOutput { return v.MemberExternalId }).(pulumi.StringOutput) +} + +// A list of all member external IDs currently in the group (populated after creation). +func (o IdentitySourceGroupMembershipOutput) MemberExternalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IdentitySourceGroupMembership) pulumi.StringArrayOutput { return v.MemberExternalIds }).(pulumi.StringArrayOutput) +} + +type IdentitySourceGroupMembershipArrayOutput struct{ *pulumi.OutputState } + +func (IdentitySourceGroupMembershipArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IdentitySourceGroupMembership)(nil)).Elem() +} + +func (o IdentitySourceGroupMembershipArrayOutput) ToIdentitySourceGroupMembershipArrayOutput() IdentitySourceGroupMembershipArrayOutput { + return o +} + +func (o IdentitySourceGroupMembershipArrayOutput) ToIdentitySourceGroupMembershipArrayOutputWithContext(ctx context.Context) IdentitySourceGroupMembershipArrayOutput { + return o +} + +func (o IdentitySourceGroupMembershipArrayOutput) Index(i pulumi.IntInput) IdentitySourceGroupMembershipOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdentitySourceGroupMembership { + return vs[0].([]*IdentitySourceGroupMembership)[vs[1].(int)] + }).(IdentitySourceGroupMembershipOutput) +} + +type IdentitySourceGroupMembershipMapOutput struct{ *pulumi.OutputState } + +func (IdentitySourceGroupMembershipMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IdentitySourceGroupMembership)(nil)).Elem() +} + +func (o IdentitySourceGroupMembershipMapOutput) ToIdentitySourceGroupMembershipMapOutput() IdentitySourceGroupMembershipMapOutput { + return o +} + +func (o IdentitySourceGroupMembershipMapOutput) ToIdentitySourceGroupMembershipMapOutputWithContext(ctx context.Context) IdentitySourceGroupMembershipMapOutput { + return o +} + +func (o IdentitySourceGroupMembershipMapOutput) MapIndex(k pulumi.StringInput) IdentitySourceGroupMembershipOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdentitySourceGroupMembership { + return vs[0].(map[string]*IdentitySourceGroupMembership)[vs[1].(string)] + }).(IdentitySourceGroupMembershipOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceGroupMembershipInput)(nil)).Elem(), &IdentitySourceGroupMembership{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceGroupMembershipArrayInput)(nil)).Elem(), IdentitySourceGroupMembershipArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceGroupMembershipMapInput)(nil)).Elem(), IdentitySourceGroupMembershipMap{}) + pulumi.RegisterOutputType(IdentitySourceGroupMembershipOutput{}) + pulumi.RegisterOutputType(IdentitySourceGroupMembershipArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceGroupMembershipMapOutput{}) +} diff --git a/sdk/go/okta/identitySourceImport.go b/sdk/go/okta/identitySourceImport.go new file mode 100644 index 000000000..627aab7f6 --- /dev/null +++ b/sdk/go/okta/identitySourceImport.go @@ -0,0 +1,459 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Orchestrates a full Okta Identity Source import job in one resource. On each apply it: +// +// 1. Creates a new import session. +// 2. Uploads any combination of staged data (upsert/delete for users, groups, and group memberships). +// 3. Triggers the import via `startImportFromIdentitySource`. +// +// If any upload step fails the session is automatically deleted so a corrected re-apply is not blocked by Okta's rate limit (*"Only one active import session per identity source is allowed to be created every 5 minutes"*). +// +// > **Note:** This resource does not support deletion. Removing it from configuration will emit a warning but does not undo the import in Okta. To re-run the import, change at least one attribute so Terraform creates a new resource. +// +// ## Example Usage +// +// ### Upsert users and group memberships +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := okta.NewIdentitySourceImport(ctx, "example", &okta.IdentitySourceImportArgs{ +// IdentitySourceId: pulumi.String(""), +// UpsertUsers: &okta.IdentitySourceImportUpsertUsersArgs{ +// EntityType: pulumi.String("USERS"), +// Profiles: okta.IdentitySourceImportUpsertUsersProfileArray{ +// &okta.IdentitySourceImportUpsertUsersProfileArgs{ +// ExternalId: pulumi.String("USEREXT001"), +// Profile: &okta.IdentitySourceImportUpsertUsersProfileProfileArgs{ +// UserName: pulumi.String("jdoe@example.com"), +// Email: pulumi.String("jdoe@example.com"), +// FirstName: pulumi.String("Jane"), +// LastName: pulumi.String("Doe"), +// }, +// }, +// }, +// }, +// UpsertGroupMemberships: &okta.IdentitySourceImportUpsertGroupMembershipsArgs{ +// Memberships: okta.IdentitySourceImportUpsertGroupMembershipsMembershipArray{ +// &okta.IdentitySourceImportUpsertGroupMembershipsMembershipArgs{ +// GroupExternalId: pulumi.String("GROUPEXT001"), +// MemberExternalIds: pulumi.StringArray{ +// pulumi.String("USEREXT001"), +// }, +// }, +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ### Upsert and delete in the same job +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := okta.NewIdentitySourceImport(ctx, "example", &okta.IdentitySourceImportArgs{ +// IdentitySourceId: pulumi.String(""), +// UpsertUsers: &okta.IdentitySourceImportUpsertUsersArgs{ +// EntityType: pulumi.String("USERS"), +// Profiles: okta.IdentitySourceImportUpsertUsersProfileArray{ +// &okta.IdentitySourceImportUpsertUsersProfileArgs{ +// ExternalId: pulumi.String("USEREXT_NEW"), +// Profile: &okta.IdentitySourceImportUpsertUsersProfileProfileArgs{ +// UserName: pulumi.String("new.user@example.com"), +// Email: pulumi.String("new.user@example.com"), +// FirstName: pulumi.String("New"), +// LastName: pulumi.String("User"), +// }, +// }, +// }, +// }, +// DeleteUsers: &okta.IdentitySourceImportDeleteUsersArgs{ +// EntityType: pulumi.String("USERS"), +// Profiles: okta.IdentitySourceImportDeleteUsersProfileArray{ +// &okta.IdentitySourceImportDeleteUsersProfileArgs{ +// ExternalId: pulumi.String("USEREXT_OLD"), +// }, +// }, +// }, +// UpsertGroups: &okta.IdentitySourceImportUpsertGroupsArgs{ +// Profiles: okta.IdentitySourceImportUpsertGroupsProfileArray{ +// &okta.IdentitySourceImportUpsertGroupsProfileArgs{ +// ExternalId: pulumi.String("GROUPEXT001"), +// GroupProfile: &okta.IdentitySourceImportUpsertGroupsProfileGroupProfileArgs{ +// DisplayName: pulumi.String("Engineering"), +// Description: pulumi.String("Engineering team"), +// }, +// }, +// }, +// }, +// DeleteGroups: &okta.IdentitySourceImportDeleteGroupsArgs{ +// ExternalIds: pulumi.StringArray{ +// pulumi.String("GROUPEXT_DEPRECATED"), +// }, +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +type IdentitySourceImport struct { + pulumi.CustomResourceState + + // Group memberships to delete in Okta. + DeleteGroupMemberships IdentitySourceImportDeleteGroupMembershipsPtrOutput `pulumi:"deleteGroupMemberships"` + // Groups to delete from Okta. + DeleteGroups IdentitySourceImportDeleteGroupsPtrOutput `pulumi:"deleteGroups"` + // Users to delete from Okta. + DeleteUsers IdentitySourceImportDeleteUsersPtrOutput `pulumi:"deleteUsers"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringOutput `pulumi:"identitySourceId"` + // Session ID created for this import job. + SessionId pulumi.StringOutput `pulumi:"sessionId"` + // Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + SessionStatus pulumi.StringOutput `pulumi:"sessionStatus"` + // Group memberships to create or update in Okta. + UpsertGroupMemberships IdentitySourceImportUpsertGroupMembershipsPtrOutput `pulumi:"upsertGroupMemberships"` + // Groups to create or update in Okta. + UpsertGroups IdentitySourceImportUpsertGroupsPtrOutput `pulumi:"upsertGroups"` + // Users to create or update in Okta. + UpsertUsers IdentitySourceImportUpsertUsersPtrOutput `pulumi:"upsertUsers"` +} + +// NewIdentitySourceImport registers a new resource with the given unique name, arguments, and options. +func NewIdentitySourceImport(ctx *pulumi.Context, + name string, args *IdentitySourceImportArgs, opts ...pulumi.ResourceOption) (*IdentitySourceImport, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.IdentitySourceId == nil { + return nil, errors.New("invalid value for required argument 'IdentitySourceId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource IdentitySourceImport + err := ctx.RegisterResource("okta:index/identitySourceImport:IdentitySourceImport", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIdentitySourceImport gets an existing IdentitySourceImport resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIdentitySourceImport(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IdentitySourceImportState, opts ...pulumi.ResourceOption) (*IdentitySourceImport, error) { + var resource IdentitySourceImport + err := ctx.ReadResource("okta:index/identitySourceImport:IdentitySourceImport", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IdentitySourceImport resources. +type identitySourceImportState struct { + // Group memberships to delete in Okta. + DeleteGroupMemberships *IdentitySourceImportDeleteGroupMemberships `pulumi:"deleteGroupMemberships"` + // Groups to delete from Okta. + DeleteGroups *IdentitySourceImportDeleteGroups `pulumi:"deleteGroups"` + // Users to delete from Okta. + DeleteUsers *IdentitySourceImportDeleteUsers `pulumi:"deleteUsers"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId *string `pulumi:"identitySourceId"` + // Session ID created for this import job. + SessionId *string `pulumi:"sessionId"` + // Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + SessionStatus *string `pulumi:"sessionStatus"` + // Group memberships to create or update in Okta. + UpsertGroupMemberships *IdentitySourceImportUpsertGroupMemberships `pulumi:"upsertGroupMemberships"` + // Groups to create or update in Okta. + UpsertGroups *IdentitySourceImportUpsertGroups `pulumi:"upsertGroups"` + // Users to create or update in Okta. + UpsertUsers *IdentitySourceImportUpsertUsers `pulumi:"upsertUsers"` +} + +type IdentitySourceImportState struct { + // Group memberships to delete in Okta. + DeleteGroupMemberships IdentitySourceImportDeleteGroupMembershipsPtrInput + // Groups to delete from Okta. + DeleteGroups IdentitySourceImportDeleteGroupsPtrInput + // Users to delete from Okta. + DeleteUsers IdentitySourceImportDeleteUsersPtrInput + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringPtrInput + // Session ID created for this import job. + SessionId pulumi.StringPtrInput + // Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + SessionStatus pulumi.StringPtrInput + // Group memberships to create or update in Okta. + UpsertGroupMemberships IdentitySourceImportUpsertGroupMembershipsPtrInput + // Groups to create or update in Okta. + UpsertGroups IdentitySourceImportUpsertGroupsPtrInput + // Users to create or update in Okta. + UpsertUsers IdentitySourceImportUpsertUsersPtrInput +} + +func (IdentitySourceImportState) ElementType() reflect.Type { + return reflect.TypeOf((*identitySourceImportState)(nil)).Elem() +} + +type identitySourceImportArgs struct { + // Group memberships to delete in Okta. + DeleteGroupMemberships *IdentitySourceImportDeleteGroupMemberships `pulumi:"deleteGroupMemberships"` + // Groups to delete from Okta. + DeleteGroups *IdentitySourceImportDeleteGroups `pulumi:"deleteGroups"` + // Users to delete from Okta. + DeleteUsers *IdentitySourceImportDeleteUsers `pulumi:"deleteUsers"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId string `pulumi:"identitySourceId"` + // Group memberships to create or update in Okta. + UpsertGroupMemberships *IdentitySourceImportUpsertGroupMemberships `pulumi:"upsertGroupMemberships"` + // Groups to create or update in Okta. + UpsertGroups *IdentitySourceImportUpsertGroups `pulumi:"upsertGroups"` + // Users to create or update in Okta. + UpsertUsers *IdentitySourceImportUpsertUsers `pulumi:"upsertUsers"` +} + +// The set of arguments for constructing a IdentitySourceImport resource. +type IdentitySourceImportArgs struct { + // Group memberships to delete in Okta. + DeleteGroupMemberships IdentitySourceImportDeleteGroupMembershipsPtrInput + // Groups to delete from Okta. + DeleteGroups IdentitySourceImportDeleteGroupsPtrInput + // Users to delete from Okta. + DeleteUsers IdentitySourceImportDeleteUsersPtrInput + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringInput + // Group memberships to create or update in Okta. + UpsertGroupMemberships IdentitySourceImportUpsertGroupMembershipsPtrInput + // Groups to create or update in Okta. + UpsertGroups IdentitySourceImportUpsertGroupsPtrInput + // Users to create or update in Okta. + UpsertUsers IdentitySourceImportUpsertUsersPtrInput +} + +func (IdentitySourceImportArgs) ElementType() reflect.Type { + return reflect.TypeOf((*identitySourceImportArgs)(nil)).Elem() +} + +type IdentitySourceImportInput interface { + pulumi.Input + + ToIdentitySourceImportOutput() IdentitySourceImportOutput + ToIdentitySourceImportOutputWithContext(ctx context.Context) IdentitySourceImportOutput +} + +func (*IdentitySourceImport) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImport)(nil)).Elem() +} + +func (i *IdentitySourceImport) ToIdentitySourceImportOutput() IdentitySourceImportOutput { + return i.ToIdentitySourceImportOutputWithContext(context.Background()) +} + +func (i *IdentitySourceImport) ToIdentitySourceImportOutputWithContext(ctx context.Context) IdentitySourceImportOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportOutput) +} + +// IdentitySourceImportArrayInput is an input type that accepts IdentitySourceImportArray and IdentitySourceImportArrayOutput values. +// You can construct a concrete instance of `IdentitySourceImportArrayInput` via: +// +// IdentitySourceImportArray{ IdentitySourceImportArgs{...} } +type IdentitySourceImportArrayInput interface { + pulumi.Input + + ToIdentitySourceImportArrayOutput() IdentitySourceImportArrayOutput + ToIdentitySourceImportArrayOutputWithContext(context.Context) IdentitySourceImportArrayOutput +} + +type IdentitySourceImportArray []IdentitySourceImportInput + +func (IdentitySourceImportArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IdentitySourceImport)(nil)).Elem() +} + +func (i IdentitySourceImportArray) ToIdentitySourceImportArrayOutput() IdentitySourceImportArrayOutput { + return i.ToIdentitySourceImportArrayOutputWithContext(context.Background()) +} + +func (i IdentitySourceImportArray) ToIdentitySourceImportArrayOutputWithContext(ctx context.Context) IdentitySourceImportArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportArrayOutput) +} + +// IdentitySourceImportMapInput is an input type that accepts IdentitySourceImportMap and IdentitySourceImportMapOutput values. +// You can construct a concrete instance of `IdentitySourceImportMapInput` via: +// +// IdentitySourceImportMap{ "key": IdentitySourceImportArgs{...} } +type IdentitySourceImportMapInput interface { + pulumi.Input + + ToIdentitySourceImportMapOutput() IdentitySourceImportMapOutput + ToIdentitySourceImportMapOutputWithContext(context.Context) IdentitySourceImportMapOutput +} + +type IdentitySourceImportMap map[string]IdentitySourceImportInput + +func (IdentitySourceImportMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IdentitySourceImport)(nil)).Elem() +} + +func (i IdentitySourceImportMap) ToIdentitySourceImportMapOutput() IdentitySourceImportMapOutput { + return i.ToIdentitySourceImportMapOutputWithContext(context.Background()) +} + +func (i IdentitySourceImportMap) ToIdentitySourceImportMapOutputWithContext(ctx context.Context) IdentitySourceImportMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportMapOutput) +} + +type IdentitySourceImportOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImport)(nil)).Elem() +} + +func (o IdentitySourceImportOutput) ToIdentitySourceImportOutput() IdentitySourceImportOutput { + return o +} + +func (o IdentitySourceImportOutput) ToIdentitySourceImportOutputWithContext(ctx context.Context) IdentitySourceImportOutput { + return o +} + +// Group memberships to delete in Okta. +func (o IdentitySourceImportOutput) DeleteGroupMemberships() IdentitySourceImportDeleteGroupMembershipsPtrOutput { + return o.ApplyT(func(v *IdentitySourceImport) IdentitySourceImportDeleteGroupMembershipsPtrOutput { + return v.DeleteGroupMemberships + }).(IdentitySourceImportDeleteGroupMembershipsPtrOutput) +} + +// Groups to delete from Okta. +func (o IdentitySourceImportOutput) DeleteGroups() IdentitySourceImportDeleteGroupsPtrOutput { + return o.ApplyT(func(v *IdentitySourceImport) IdentitySourceImportDeleteGroupsPtrOutput { return v.DeleteGroups }).(IdentitySourceImportDeleteGroupsPtrOutput) +} + +// Users to delete from Okta. +func (o IdentitySourceImportOutput) DeleteUsers() IdentitySourceImportDeleteUsersPtrOutput { + return o.ApplyT(func(v *IdentitySourceImport) IdentitySourceImportDeleteUsersPtrOutput { return v.DeleteUsers }).(IdentitySourceImportDeleteUsersPtrOutput) +} + +// ID of the identity source. Forces replacement when changed. +func (o IdentitySourceImportOutput) IdentitySourceId() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceImport) pulumi.StringOutput { return v.IdentitySourceId }).(pulumi.StringOutput) +} + +// Session ID created for this import job. +func (o IdentitySourceImportOutput) SessionId() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceImport) pulumi.StringOutput { return v.SessionId }).(pulumi.StringOutput) +} + +// Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). +func (o IdentitySourceImportOutput) SessionStatus() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceImport) pulumi.StringOutput { return v.SessionStatus }).(pulumi.StringOutput) +} + +// Group memberships to create or update in Okta. +func (o IdentitySourceImportOutput) UpsertGroupMemberships() IdentitySourceImportUpsertGroupMembershipsPtrOutput { + return o.ApplyT(func(v *IdentitySourceImport) IdentitySourceImportUpsertGroupMembershipsPtrOutput { + return v.UpsertGroupMemberships + }).(IdentitySourceImportUpsertGroupMembershipsPtrOutput) +} + +// Groups to create or update in Okta. +func (o IdentitySourceImportOutput) UpsertGroups() IdentitySourceImportUpsertGroupsPtrOutput { + return o.ApplyT(func(v *IdentitySourceImport) IdentitySourceImportUpsertGroupsPtrOutput { return v.UpsertGroups }).(IdentitySourceImportUpsertGroupsPtrOutput) +} + +// Users to create or update in Okta. +func (o IdentitySourceImportOutput) UpsertUsers() IdentitySourceImportUpsertUsersPtrOutput { + return o.ApplyT(func(v *IdentitySourceImport) IdentitySourceImportUpsertUsersPtrOutput { return v.UpsertUsers }).(IdentitySourceImportUpsertUsersPtrOutput) +} + +type IdentitySourceImportArrayOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IdentitySourceImport)(nil)).Elem() +} + +func (o IdentitySourceImportArrayOutput) ToIdentitySourceImportArrayOutput() IdentitySourceImportArrayOutput { + return o +} + +func (o IdentitySourceImportArrayOutput) ToIdentitySourceImportArrayOutputWithContext(ctx context.Context) IdentitySourceImportArrayOutput { + return o +} + +func (o IdentitySourceImportArrayOutput) Index(i pulumi.IntInput) IdentitySourceImportOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdentitySourceImport { + return vs[0].([]*IdentitySourceImport)[vs[1].(int)] + }).(IdentitySourceImportOutput) +} + +type IdentitySourceImportMapOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IdentitySourceImport)(nil)).Elem() +} + +func (o IdentitySourceImportMapOutput) ToIdentitySourceImportMapOutput() IdentitySourceImportMapOutput { + return o +} + +func (o IdentitySourceImportMapOutput) ToIdentitySourceImportMapOutputWithContext(ctx context.Context) IdentitySourceImportMapOutput { + return o +} + +func (o IdentitySourceImportMapOutput) MapIndex(k pulumi.StringInput) IdentitySourceImportOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdentitySourceImport { + return vs[0].(map[string]*IdentitySourceImport)[vs[1].(string)] + }).(IdentitySourceImportOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportInput)(nil)).Elem(), &IdentitySourceImport{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportArrayInput)(nil)).Elem(), IdentitySourceImportArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportMapInput)(nil)).Elem(), IdentitySourceImportMap{}) + pulumi.RegisterOutputType(IdentitySourceImportOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportMapOutput{}) +} diff --git a/sdk/go/okta/identitySourceUser.go b/sdk/go/okta/identitySourceUser.go new file mode 100644 index 000000000..dbf707435 --- /dev/null +++ b/sdk/go/okta/identitySourceUser.go @@ -0,0 +1,315 @@ +// Code generated by pulumi-language-go DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package okta + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Manages an individual user in an Okta Identity Source. This resource creates or updates a single user record directly in the identity source (without requiring a session), using the external ID as the unique key. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := okta.NewIdentitySourceUser(ctx, "example", &okta.IdentitySourceUserArgs{ +// IdentitySourceId: pulumi.String(""), +// IdentitySourceUserId: pulumi.String("USEREXT123456EXAMPLE"), +// Profile: &okta.IdentitySourceUserProfileArgs{ +// UserName: pulumi.String("jdoe@example.com"), +// Email: pulumi.String("jdoe@example.com"), +// FirstName: pulumi.String("Jane"), +// LastName: pulumi.String("Doe"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Import using `{identity_source_id}/{id}`: +// +// ```sh +// $ pulumi import okta:index/identitySourceUser:IdentitySourceUser example / +// ``` +type IdentitySourceUser struct { + pulumi.CustomResourceState + + // Timestamp when the user was created in the identity source (RFC3339). + Created pulumi.StringOutput `pulumi:"created"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringOutput `pulumi:"identitySourceId"` + // The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + IdentitySourceUserId pulumi.StringOutput `pulumi:"identitySourceUserId"` + // Timestamp when the user was last updated in the identity source (RFC3339). + LastUpdated pulumi.StringOutput `pulumi:"lastUpdated"` + // User profile attributes. + Profile IdentitySourceUserProfilePtrOutput `pulumi:"profile"` +} + +// NewIdentitySourceUser registers a new resource with the given unique name, arguments, and options. +func NewIdentitySourceUser(ctx *pulumi.Context, + name string, args *IdentitySourceUserArgs, opts ...pulumi.ResourceOption) (*IdentitySourceUser, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.IdentitySourceId == nil { + return nil, errors.New("invalid value for required argument 'IdentitySourceId'") + } + if args.IdentitySourceUserId == nil { + return nil, errors.New("invalid value for required argument 'IdentitySourceUserId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource IdentitySourceUser + err := ctx.RegisterResource("okta:index/identitySourceUser:IdentitySourceUser", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetIdentitySourceUser gets an existing IdentitySourceUser resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetIdentitySourceUser(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *IdentitySourceUserState, opts ...pulumi.ResourceOption) (*IdentitySourceUser, error) { + var resource IdentitySourceUser + err := ctx.ReadResource("okta:index/identitySourceUser:IdentitySourceUser", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering IdentitySourceUser resources. +type identitySourceUserState struct { + // Timestamp when the user was created in the identity source (RFC3339). + Created *string `pulumi:"created"` + // ID of the identity source. Forces replacement when changed. + IdentitySourceId *string `pulumi:"identitySourceId"` + // The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + IdentitySourceUserId *string `pulumi:"identitySourceUserId"` + // Timestamp when the user was last updated in the identity source (RFC3339). + LastUpdated *string `pulumi:"lastUpdated"` + // User profile attributes. + Profile *IdentitySourceUserProfile `pulumi:"profile"` +} + +type IdentitySourceUserState struct { + // Timestamp when the user was created in the identity source (RFC3339). + Created pulumi.StringPtrInput + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringPtrInput + // The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + IdentitySourceUserId pulumi.StringPtrInput + // Timestamp when the user was last updated in the identity source (RFC3339). + LastUpdated pulumi.StringPtrInput + // User profile attributes. + Profile IdentitySourceUserProfilePtrInput +} + +func (IdentitySourceUserState) ElementType() reflect.Type { + return reflect.TypeOf((*identitySourceUserState)(nil)).Elem() +} + +type identitySourceUserArgs struct { + // ID of the identity source. Forces replacement when changed. + IdentitySourceId string `pulumi:"identitySourceId"` + // The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + IdentitySourceUserId string `pulumi:"identitySourceUserId"` + // User profile attributes. + Profile *IdentitySourceUserProfile `pulumi:"profile"` +} + +// The set of arguments for constructing a IdentitySourceUser resource. +type IdentitySourceUserArgs struct { + // ID of the identity source. Forces replacement when changed. + IdentitySourceId pulumi.StringInput + // The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + IdentitySourceUserId pulumi.StringInput + // User profile attributes. + Profile IdentitySourceUserProfilePtrInput +} + +func (IdentitySourceUserArgs) ElementType() reflect.Type { + return reflect.TypeOf((*identitySourceUserArgs)(nil)).Elem() +} + +type IdentitySourceUserInput interface { + pulumi.Input + + ToIdentitySourceUserOutput() IdentitySourceUserOutput + ToIdentitySourceUserOutputWithContext(ctx context.Context) IdentitySourceUserOutput +} + +func (*IdentitySourceUser) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceUser)(nil)).Elem() +} + +func (i *IdentitySourceUser) ToIdentitySourceUserOutput() IdentitySourceUserOutput { + return i.ToIdentitySourceUserOutputWithContext(context.Background()) +} + +func (i *IdentitySourceUser) ToIdentitySourceUserOutputWithContext(ctx context.Context) IdentitySourceUserOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceUserOutput) +} + +// IdentitySourceUserArrayInput is an input type that accepts IdentitySourceUserArray and IdentitySourceUserArrayOutput values. +// You can construct a concrete instance of `IdentitySourceUserArrayInput` via: +// +// IdentitySourceUserArray{ IdentitySourceUserArgs{...} } +type IdentitySourceUserArrayInput interface { + pulumi.Input + + ToIdentitySourceUserArrayOutput() IdentitySourceUserArrayOutput + ToIdentitySourceUserArrayOutputWithContext(context.Context) IdentitySourceUserArrayOutput +} + +type IdentitySourceUserArray []IdentitySourceUserInput + +func (IdentitySourceUserArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IdentitySourceUser)(nil)).Elem() +} + +func (i IdentitySourceUserArray) ToIdentitySourceUserArrayOutput() IdentitySourceUserArrayOutput { + return i.ToIdentitySourceUserArrayOutputWithContext(context.Background()) +} + +func (i IdentitySourceUserArray) ToIdentitySourceUserArrayOutputWithContext(ctx context.Context) IdentitySourceUserArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceUserArrayOutput) +} + +// IdentitySourceUserMapInput is an input type that accepts IdentitySourceUserMap and IdentitySourceUserMapOutput values. +// You can construct a concrete instance of `IdentitySourceUserMapInput` via: +// +// IdentitySourceUserMap{ "key": IdentitySourceUserArgs{...} } +type IdentitySourceUserMapInput interface { + pulumi.Input + + ToIdentitySourceUserMapOutput() IdentitySourceUserMapOutput + ToIdentitySourceUserMapOutputWithContext(context.Context) IdentitySourceUserMapOutput +} + +type IdentitySourceUserMap map[string]IdentitySourceUserInput + +func (IdentitySourceUserMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IdentitySourceUser)(nil)).Elem() +} + +func (i IdentitySourceUserMap) ToIdentitySourceUserMapOutput() IdentitySourceUserMapOutput { + return i.ToIdentitySourceUserMapOutputWithContext(context.Background()) +} + +func (i IdentitySourceUserMap) ToIdentitySourceUserMapOutputWithContext(ctx context.Context) IdentitySourceUserMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceUserMapOutput) +} + +type IdentitySourceUserOutput struct{ *pulumi.OutputState } + +func (IdentitySourceUserOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceUser)(nil)).Elem() +} + +func (o IdentitySourceUserOutput) ToIdentitySourceUserOutput() IdentitySourceUserOutput { + return o +} + +func (o IdentitySourceUserOutput) ToIdentitySourceUserOutputWithContext(ctx context.Context) IdentitySourceUserOutput { + return o +} + +// Timestamp when the user was created in the identity source (RFC3339). +func (o IdentitySourceUserOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceUser) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) +} + +// ID of the identity source. Forces replacement when changed. +func (o IdentitySourceUserOutput) IdentitySourceId() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceUser) pulumi.StringOutput { return v.IdentitySourceId }).(pulumi.StringOutput) +} + +// The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. +func (o IdentitySourceUserOutput) IdentitySourceUserId() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceUser) pulumi.StringOutput { return v.IdentitySourceUserId }).(pulumi.StringOutput) +} + +// Timestamp when the user was last updated in the identity source (RFC3339). +func (o IdentitySourceUserOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *IdentitySourceUser) pulumi.StringOutput { return v.LastUpdated }).(pulumi.StringOutput) +} + +// User profile attributes. +func (o IdentitySourceUserOutput) Profile() IdentitySourceUserProfilePtrOutput { + return o.ApplyT(func(v *IdentitySourceUser) IdentitySourceUserProfilePtrOutput { return v.Profile }).(IdentitySourceUserProfilePtrOutput) +} + +type IdentitySourceUserArrayOutput struct{ *pulumi.OutputState } + +func (IdentitySourceUserArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*IdentitySourceUser)(nil)).Elem() +} + +func (o IdentitySourceUserArrayOutput) ToIdentitySourceUserArrayOutput() IdentitySourceUserArrayOutput { + return o +} + +func (o IdentitySourceUserArrayOutput) ToIdentitySourceUserArrayOutputWithContext(ctx context.Context) IdentitySourceUserArrayOutput { + return o +} + +func (o IdentitySourceUserArrayOutput) Index(i pulumi.IntInput) IdentitySourceUserOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *IdentitySourceUser { + return vs[0].([]*IdentitySourceUser)[vs[1].(int)] + }).(IdentitySourceUserOutput) +} + +type IdentitySourceUserMapOutput struct{ *pulumi.OutputState } + +func (IdentitySourceUserMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*IdentitySourceUser)(nil)).Elem() +} + +func (o IdentitySourceUserMapOutput) ToIdentitySourceUserMapOutput() IdentitySourceUserMapOutput { + return o +} + +func (o IdentitySourceUserMapOutput) ToIdentitySourceUserMapOutputWithContext(ctx context.Context) IdentitySourceUserMapOutput { + return o +} + +func (o IdentitySourceUserMapOutput) MapIndex(k pulumi.StringInput) IdentitySourceUserOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *IdentitySourceUser { + return vs[0].(map[string]*IdentitySourceUser)[vs[1].(string)] + }).(IdentitySourceUserOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceUserInput)(nil)).Elem(), &IdentitySourceUser{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceUserArrayInput)(nil)).Elem(), IdentitySourceUserArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceUserMapInput)(nil)).Elem(), IdentitySourceUserMap{}) + pulumi.RegisterOutputType(IdentitySourceUserOutput{}) + pulumi.RegisterOutputType(IdentitySourceUserArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceUserMapOutput{}) +} diff --git a/sdk/go/okta/init.go b/sdk/go/okta/init.go index 5c601d274..b195249aa 100644 --- a/sdk/go/okta/init.go +++ b/sdk/go/okta/init.go @@ -55,6 +55,10 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &AuthServerDefault{} case "okta:index/authenticator:Authenticator": r = &Authenticator{} + case "okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn": + r = &AuthenticatorMethodWebauthn{} + case "okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid": + r = &AuthenticatorWebauthnCustomAaguid{} case "okta:index/behaviour:Behaviour": r = &Behaviour{} case "okta:index/brand:Brand": @@ -111,6 +115,14 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &GroupSchemaProperty{} case "okta:index/hookKey:HookKey": r = &HookKey{} + case "okta:index/identitySourceGroup:IdentitySourceGroup": + r = &IdentitySourceGroup{} + case "okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership": + r = &IdentitySourceGroupMembership{} + case "okta:index/identitySourceImport:IdentitySourceImport": + r = &IdentitySourceImport{} + case "okta:index/identitySourceUser:IdentitySourceUser": + r = &IdentitySourceUser{} case "okta:index/linkDefinition:LinkDefinition": r = &LinkDefinition{} case "okta:index/linkValue:LinkValue": @@ -309,6 +321,16 @@ func init() { "index/authenticator", &module{version}, ) + pulumi.RegisterResourceModule( + "okta", + "index/authenticatorMethodWebauthn", + &module{version}, + ) + pulumi.RegisterResourceModule( + "okta", + "index/authenticatorWebauthnCustomAaguid", + &module{version}, + ) pulumi.RegisterResourceModule( "okta", "index/behaviour", @@ -449,6 +471,26 @@ func init() { "index/hookKey", &module{version}, ) + pulumi.RegisterResourceModule( + "okta", + "index/identitySourceGroup", + &module{version}, + ) + pulumi.RegisterResourceModule( + "okta", + "index/identitySourceGroupMembership", + &module{version}, + ) + pulumi.RegisterResourceModule( + "okta", + "index/identitySourceImport", + &module{version}, + ) + pulumi.RegisterResourceModule( + "okta", + "index/identitySourceUser", + &module{version}, + ) pulumi.RegisterResourceModule( "okta", "index/linkDefinition", diff --git a/sdk/go/okta/policy/password.go b/sdk/go/okta/policy/password.go index d22994117..7f88c85ce 100644 --- a/sdk/go/okta/policy/password.go +++ b/sdk/go/okta/policy/password.go @@ -55,6 +55,12 @@ type Password struct { // Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` AuthProvider pulumi.StringPtrOutput `pulumi:"authProvider"` + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId pulumi.StringPtrOutput `pulumi:"breachedPasswordDelegatedWorkflowId"` + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays pulumi.IntPtrOutput `pulumi:"breachedPasswordExpireAfterDays"` + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled pulumi.BoolPtrOutput `pulumi:"breachedPasswordLogoutEnabled"` // Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` CallRecovery pulumi.StringPtrOutput `pulumi:"callRecovery"` // Policy Description @@ -147,6 +153,12 @@ func GetPassword(ctx *pulumi.Context, type passwordState struct { // Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` AuthProvider *string `pulumi:"authProvider"` + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId *string `pulumi:"breachedPasswordDelegatedWorkflowId"` + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays *int `pulumi:"breachedPasswordExpireAfterDays"` + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled *bool `pulumi:"breachedPasswordLogoutEnabled"` // Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` CallRecovery *string `pulumi:"callRecovery"` // Policy Description @@ -210,6 +222,12 @@ type passwordState struct { type PasswordState struct { // Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` AuthProvider pulumi.StringPtrInput + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId pulumi.StringPtrInput + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays pulumi.IntPtrInput + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled pulumi.BoolPtrInput // Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` CallRecovery pulumi.StringPtrInput // Policy Description @@ -277,6 +295,12 @@ func (PasswordState) ElementType() reflect.Type { type passwordArgs struct { // Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` AuthProvider *string `pulumi:"authProvider"` + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId *string `pulumi:"breachedPasswordDelegatedWorkflowId"` + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays *int `pulumi:"breachedPasswordExpireAfterDays"` + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled *bool `pulumi:"breachedPasswordLogoutEnabled"` // Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` CallRecovery *string `pulumi:"callRecovery"` // Policy Description @@ -341,6 +365,12 @@ type passwordArgs struct { type PasswordArgs struct { // Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` AuthProvider pulumi.StringPtrInput + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId pulumi.StringPtrInput + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays pulumi.IntPtrInput + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled pulumi.BoolPtrInput // Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` CallRecovery pulumi.StringPtrInput // Policy Description @@ -493,6 +523,21 @@ func (o PasswordOutput) AuthProvider() pulumi.StringPtrOutput { return o.ApplyT(func(v *Password) pulumi.StringPtrOutput { return v.AuthProvider }).(pulumi.StringPtrOutput) } +// The ID of the workflow to run when a breached password is found during a sign-in attempt. +func (o PasswordOutput) BreachedPasswordDelegatedWorkflowId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *Password) pulumi.StringPtrOutput { return v.BreachedPasswordDelegatedWorkflowId }).(pulumi.StringPtrOutput) +} + +// Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. +func (o PasswordOutput) BreachedPasswordExpireAfterDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v *Password) pulumi.IntPtrOutput { return v.BreachedPasswordExpireAfterDays }).(pulumi.IntPtrOutput) +} + +// If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` +func (o PasswordOutput) BreachedPasswordLogoutEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Password) pulumi.BoolPtrOutput { return v.BreachedPasswordLogoutEnabled }).(pulumi.BoolPtrOutput) +} + // Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` func (o PasswordOutput) CallRecovery() pulumi.StringPtrOutput { return o.ApplyT(func(v *Password) pulumi.StringPtrOutput { return v.CallRecovery }).(pulumi.StringPtrOutput) diff --git a/sdk/go/okta/policyPasswordDefault.go b/sdk/go/okta/policyPasswordDefault.go index d7b768f4d..c8f82bcdb 100644 --- a/sdk/go/okta/policyPasswordDefault.go +++ b/sdk/go/okta/policyPasswordDefault.go @@ -11,7 +11,14 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// Configures default password policy. This resource allows you to configure default password policy. +// Configures the default password policy. This resource allows you to configure the default password policy. +// +// > **Note:** If your configuration also manages other `policy.Password` resources, add +// `dependsOn = [okta_policy_password.]` pointing to the last non-default policy in your +// dependency chain. The default policy's `priority` is read-only and shifts whenever other password policies +// are created or deleted. Using `dependsOn` ensures all sibling policies are fully created before this +// resource is read or updated, so the provider sees the correct priority value and the Okta API does not +// reject the request with E0000077. // // ## Example Usage // @@ -21,13 +28,29 @@ import ( // import ( // // "github.com/pulumi/pulumi-okta/sdk/v6/go/okta" +// "github.com/pulumi/pulumi-okta/sdk/v6/go/okta/policy" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" // // ) // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := okta.NewPolicyPasswordDefault(ctx, "default", nil) +// custom, err := policy.NewPassword(ctx, "custom", &policy.PasswordArgs{ +// Name: pulumi.String("Custom Password Policy"), +// GroupsIncludeds: pulumi.StringArray{ +// example.Id, +// }, +// Status: pulumi.String("ACTIVE"), +// Priority: pulumi.Int(1), +// }) +// if err != nil { +// return err +// } +// _, err = okta.NewPolicyPasswordDefault(ctx, "default", &okta.PolicyPasswordDefaultArgs{ +// PasswordHistoryCount: pulumi.Int(5), +// }, pulumi.DependsOn([]pulumi.Resource{ +// custom, +// })) // if err != nil { // return err // } @@ -45,6 +68,12 @@ import ( type PolicyPasswordDefault struct { pulumi.CustomResourceState + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId pulumi.StringPtrOutput `pulumi:"breachedPasswordDelegatedWorkflowId"` + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays pulumi.IntPtrOutput `pulumi:"breachedPasswordExpireAfterDays"` + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled pulumi.BoolPtrOutput `pulumi:"breachedPasswordLogoutEnabled"` // Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` CallRecovery pulumi.StringPtrOutput `pulumi:"callRecovery"` // Default Authentication Provider @@ -137,6 +166,12 @@ func GetPolicyPasswordDefault(ctx *pulumi.Context, // Input properties used for looking up and filtering PolicyPasswordDefault resources. type policyPasswordDefaultState struct { + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId *string `pulumi:"breachedPasswordDelegatedWorkflowId"` + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays *int `pulumi:"breachedPasswordExpireAfterDays"` + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled *bool `pulumi:"breachedPasswordLogoutEnabled"` // Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` CallRecovery *string `pulumi:"callRecovery"` // Default Authentication Provider @@ -200,6 +235,12 @@ type policyPasswordDefaultState struct { } type PolicyPasswordDefaultState struct { + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId pulumi.StringPtrInput + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays pulumi.IntPtrInput + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled pulumi.BoolPtrInput // Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` CallRecovery pulumi.StringPtrInput // Default Authentication Provider @@ -267,6 +308,12 @@ func (PolicyPasswordDefaultState) ElementType() reflect.Type { } type policyPasswordDefaultArgs struct { + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId *string `pulumi:"breachedPasswordDelegatedWorkflowId"` + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays *int `pulumi:"breachedPasswordExpireAfterDays"` + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled *bool `pulumi:"breachedPasswordLogoutEnabled"` // Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` CallRecovery *string `pulumi:"callRecovery"` // Enable or disable email password recovery: ACTIVE or INACTIVE. Default: `ACTIVE` @@ -319,6 +366,12 @@ type policyPasswordDefaultArgs struct { // The set of arguments for constructing a PolicyPasswordDefault resource. type PolicyPasswordDefaultArgs struct { + // The ID of the workflow to run when a breached password is found during a sign-in attempt. + BreachedPasswordDelegatedWorkflowId pulumi.StringPtrInput + // Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + BreachedPasswordExpireAfterDays pulumi.IntPtrInput + // If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + BreachedPasswordLogoutEnabled pulumi.BoolPtrInput // Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` CallRecovery pulumi.StringPtrInput // Enable or disable email password recovery: ACTIVE or INACTIVE. Default: `ACTIVE` @@ -456,6 +509,21 @@ func (o PolicyPasswordDefaultOutput) ToPolicyPasswordDefaultOutputWithContext(ct return o } +// The ID of the workflow to run when a breached password is found during a sign-in attempt. +func (o PolicyPasswordDefaultOutput) BreachedPasswordDelegatedWorkflowId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PolicyPasswordDefault) pulumi.StringPtrOutput { return v.BreachedPasswordDelegatedWorkflowId }).(pulumi.StringPtrOutput) +} + +// Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. +func (o PolicyPasswordDefaultOutput) BreachedPasswordExpireAfterDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v *PolicyPasswordDefault) pulumi.IntPtrOutput { return v.BreachedPasswordExpireAfterDays }).(pulumi.IntPtrOutput) +} + +// If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` +func (o PolicyPasswordDefaultOutput) BreachedPasswordLogoutEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PolicyPasswordDefault) pulumi.BoolPtrOutput { return v.BreachedPasswordLogoutEnabled }).(pulumi.BoolPtrOutput) +} + // Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` func (o PolicyPasswordDefaultOutput) CallRecovery() pulumi.StringPtrOutput { return o.ApplyT(func(v *PolicyPasswordDefault) pulumi.StringPtrOutput { return v.CallRecovery }).(pulumi.StringPtrOutput) diff --git a/sdk/go/okta/pulumiTypes.go b/sdk/go/okta/pulumiTypes.go index bdd70a47c..377dfaa95 100644 --- a/sdk/go/okta/pulumiTypes.go +++ b/sdk/go/okta/pulumiTypes.go @@ -719,6 +719,162 @@ func (o AppGroupAssignmentsGroupArrayOutput) Index(i pulumi.IntInput) AppGroupAs }).(AppGroupAssignmentsGroupOutput) } +type AppSignonPolicyRuleKeepMeSignedIn struct { + // Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + PostAuth *string `pulumi:"postAuth"` + // How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + PostAuthPromptFrequency *string `pulumi:"postAuthPromptFrequency"` +} + +// AppSignonPolicyRuleKeepMeSignedInInput is an input type that accepts AppSignonPolicyRuleKeepMeSignedInArgs and AppSignonPolicyRuleKeepMeSignedInOutput values. +// You can construct a concrete instance of `AppSignonPolicyRuleKeepMeSignedInInput` via: +// +// AppSignonPolicyRuleKeepMeSignedInArgs{...} +type AppSignonPolicyRuleKeepMeSignedInInput interface { + pulumi.Input + + ToAppSignonPolicyRuleKeepMeSignedInOutput() AppSignonPolicyRuleKeepMeSignedInOutput + ToAppSignonPolicyRuleKeepMeSignedInOutputWithContext(context.Context) AppSignonPolicyRuleKeepMeSignedInOutput +} + +type AppSignonPolicyRuleKeepMeSignedInArgs struct { + // Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + PostAuth pulumi.StringPtrInput `pulumi:"postAuth"` + // How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + PostAuthPromptFrequency pulumi.StringPtrInput `pulumi:"postAuthPromptFrequency"` +} + +func (AppSignonPolicyRuleKeepMeSignedInArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AppSignonPolicyRuleKeepMeSignedIn)(nil)).Elem() +} + +func (i AppSignonPolicyRuleKeepMeSignedInArgs) ToAppSignonPolicyRuleKeepMeSignedInOutput() AppSignonPolicyRuleKeepMeSignedInOutput { + return i.ToAppSignonPolicyRuleKeepMeSignedInOutputWithContext(context.Background()) +} + +func (i AppSignonPolicyRuleKeepMeSignedInArgs) ToAppSignonPolicyRuleKeepMeSignedInOutputWithContext(ctx context.Context) AppSignonPolicyRuleKeepMeSignedInOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSignonPolicyRuleKeepMeSignedInOutput) +} + +func (i AppSignonPolicyRuleKeepMeSignedInArgs) ToAppSignonPolicyRuleKeepMeSignedInPtrOutput() AppSignonPolicyRuleKeepMeSignedInPtrOutput { + return i.ToAppSignonPolicyRuleKeepMeSignedInPtrOutputWithContext(context.Background()) +} + +func (i AppSignonPolicyRuleKeepMeSignedInArgs) ToAppSignonPolicyRuleKeepMeSignedInPtrOutputWithContext(ctx context.Context) AppSignonPolicyRuleKeepMeSignedInPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSignonPolicyRuleKeepMeSignedInOutput).ToAppSignonPolicyRuleKeepMeSignedInPtrOutputWithContext(ctx) +} + +// AppSignonPolicyRuleKeepMeSignedInPtrInput is an input type that accepts AppSignonPolicyRuleKeepMeSignedInArgs, AppSignonPolicyRuleKeepMeSignedInPtr and AppSignonPolicyRuleKeepMeSignedInPtrOutput values. +// You can construct a concrete instance of `AppSignonPolicyRuleKeepMeSignedInPtrInput` via: +// +// AppSignonPolicyRuleKeepMeSignedInArgs{...} +// +// or: +// +// nil +type AppSignonPolicyRuleKeepMeSignedInPtrInput interface { + pulumi.Input + + ToAppSignonPolicyRuleKeepMeSignedInPtrOutput() AppSignonPolicyRuleKeepMeSignedInPtrOutput + ToAppSignonPolicyRuleKeepMeSignedInPtrOutputWithContext(context.Context) AppSignonPolicyRuleKeepMeSignedInPtrOutput +} + +type appSignonPolicyRuleKeepMeSignedInPtrType AppSignonPolicyRuleKeepMeSignedInArgs + +func AppSignonPolicyRuleKeepMeSignedInPtr(v *AppSignonPolicyRuleKeepMeSignedInArgs) AppSignonPolicyRuleKeepMeSignedInPtrInput { + return (*appSignonPolicyRuleKeepMeSignedInPtrType)(v) +} + +func (*appSignonPolicyRuleKeepMeSignedInPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AppSignonPolicyRuleKeepMeSignedIn)(nil)).Elem() +} + +func (i *appSignonPolicyRuleKeepMeSignedInPtrType) ToAppSignonPolicyRuleKeepMeSignedInPtrOutput() AppSignonPolicyRuleKeepMeSignedInPtrOutput { + return i.ToAppSignonPolicyRuleKeepMeSignedInPtrOutputWithContext(context.Background()) +} + +func (i *appSignonPolicyRuleKeepMeSignedInPtrType) ToAppSignonPolicyRuleKeepMeSignedInPtrOutputWithContext(ctx context.Context) AppSignonPolicyRuleKeepMeSignedInPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AppSignonPolicyRuleKeepMeSignedInPtrOutput) +} + +type AppSignonPolicyRuleKeepMeSignedInOutput struct{ *pulumi.OutputState } + +func (AppSignonPolicyRuleKeepMeSignedInOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AppSignonPolicyRuleKeepMeSignedIn)(nil)).Elem() +} + +func (o AppSignonPolicyRuleKeepMeSignedInOutput) ToAppSignonPolicyRuleKeepMeSignedInOutput() AppSignonPolicyRuleKeepMeSignedInOutput { + return o +} + +func (o AppSignonPolicyRuleKeepMeSignedInOutput) ToAppSignonPolicyRuleKeepMeSignedInOutputWithContext(ctx context.Context) AppSignonPolicyRuleKeepMeSignedInOutput { + return o +} + +func (o AppSignonPolicyRuleKeepMeSignedInOutput) ToAppSignonPolicyRuleKeepMeSignedInPtrOutput() AppSignonPolicyRuleKeepMeSignedInPtrOutput { + return o.ToAppSignonPolicyRuleKeepMeSignedInPtrOutputWithContext(context.Background()) +} + +func (o AppSignonPolicyRuleKeepMeSignedInOutput) ToAppSignonPolicyRuleKeepMeSignedInPtrOutputWithContext(ctx context.Context) AppSignonPolicyRuleKeepMeSignedInPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AppSignonPolicyRuleKeepMeSignedIn) *AppSignonPolicyRuleKeepMeSignedIn { + return &v + }).(AppSignonPolicyRuleKeepMeSignedInPtrOutput) +} + +// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. +func (o AppSignonPolicyRuleKeepMeSignedInOutput) PostAuth() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppSignonPolicyRuleKeepMeSignedIn) *string { return v.PostAuth }).(pulumi.StringPtrOutput) +} + +// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). +func (o AppSignonPolicyRuleKeepMeSignedInOutput) PostAuthPromptFrequency() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppSignonPolicyRuleKeepMeSignedIn) *string { return v.PostAuthPromptFrequency }).(pulumi.StringPtrOutput) +} + +type AppSignonPolicyRuleKeepMeSignedInPtrOutput struct{ *pulumi.OutputState } + +func (AppSignonPolicyRuleKeepMeSignedInPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AppSignonPolicyRuleKeepMeSignedIn)(nil)).Elem() +} + +func (o AppSignonPolicyRuleKeepMeSignedInPtrOutput) ToAppSignonPolicyRuleKeepMeSignedInPtrOutput() AppSignonPolicyRuleKeepMeSignedInPtrOutput { + return o +} + +func (o AppSignonPolicyRuleKeepMeSignedInPtrOutput) ToAppSignonPolicyRuleKeepMeSignedInPtrOutputWithContext(ctx context.Context) AppSignonPolicyRuleKeepMeSignedInPtrOutput { + return o +} + +func (o AppSignonPolicyRuleKeepMeSignedInPtrOutput) Elem() AppSignonPolicyRuleKeepMeSignedInOutput { + return o.ApplyT(func(v *AppSignonPolicyRuleKeepMeSignedIn) AppSignonPolicyRuleKeepMeSignedIn { + if v != nil { + return *v + } + var ret AppSignonPolicyRuleKeepMeSignedIn + return ret + }).(AppSignonPolicyRuleKeepMeSignedInOutput) +} + +// Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. +func (o AppSignonPolicyRuleKeepMeSignedInPtrOutput) PostAuth() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppSignonPolicyRuleKeepMeSignedIn) *string { + if v == nil { + return nil + } + return v.PostAuth + }).(pulumi.StringPtrOutput) +} + +// How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). +func (o AppSignonPolicyRuleKeepMeSignedInPtrOutput) PostAuthPromptFrequency() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppSignonPolicyRuleKeepMeSignedIn) *string { + if v == nil { + return nil + } + return v.PostAuthPromptFrequency + }).(pulumi.StringPtrOutput) +} + type AppSignonPolicyRulePlatformInclude struct { // Only available with OTHER OS type OsExpression *string `pulumi:"osExpression"` @@ -1040,7018 +1196,11520 @@ func (o AppUserSchemaPropertyOneOfArrayOutput) Index(i pulumi.IntInput) AppUserS }).(AppUserSchemaPropertyOneOfOutput) } -type CampaignNotificationSettings struct { - // To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. - NotifyReviewPeriodEnd bool `pulumi:"notifyReviewPeriodEnd"` - // To indicate whether a notification should be sent to the reviewers when campaign has come to an end. - NotifyReviewerAtCampaignEnd bool `pulumi:"notifyReviewerAtCampaignEnd"` - // To indicate whether a notification should be sent to the reviewer during the midpoint of the review process. - NotifyReviewerDuringMidpointOfReview bool `pulumi:"notifyReviewerDuringMidpointOfReview"` - // To indicate whether a notification should be sent to the reviewer when the review is overdue. - NotifyReviewerWhenOverdue bool `pulumi:"notifyReviewerWhenOverdue"` - // To indicate whether a notification should be sent to the reviewer when actionable reviews are assigned. - NotifyReviewerWhenReviewAssigned bool `pulumi:"notifyReviewerWhenReviewAssigned"` - // Specifies times (in seconds) to send reminders to reviewers before the campaign closes. Max 3 values. Example: [86400, 172800, 604800] - RemindersReviewerBeforeCampaignCloseInSecs []int `pulumi:"remindersReviewerBeforeCampaignCloseInSecs"` +type AuthenticatorMethodWebauthnAaguidGroup struct { + // A list of FIDO2 AAGUIDs in this group. + Aaguids []string `pulumi:"aaguids"` + // A name to identify the group of FIDO2 AAGUIDs. + Name string `pulumi:"name"` } -// CampaignNotificationSettingsInput is an input type that accepts CampaignNotificationSettingsArgs and CampaignNotificationSettingsOutput values. -// You can construct a concrete instance of `CampaignNotificationSettingsInput` via: +// AuthenticatorMethodWebauthnAaguidGroupInput is an input type that accepts AuthenticatorMethodWebauthnAaguidGroupArgs and AuthenticatorMethodWebauthnAaguidGroupOutput values. +// You can construct a concrete instance of `AuthenticatorMethodWebauthnAaguidGroupInput` via: // -// CampaignNotificationSettingsArgs{...} -type CampaignNotificationSettingsInput interface { +// AuthenticatorMethodWebauthnAaguidGroupArgs{...} +type AuthenticatorMethodWebauthnAaguidGroupInput interface { pulumi.Input - ToCampaignNotificationSettingsOutput() CampaignNotificationSettingsOutput - ToCampaignNotificationSettingsOutputWithContext(context.Context) CampaignNotificationSettingsOutput + ToAuthenticatorMethodWebauthnAaguidGroupOutput() AuthenticatorMethodWebauthnAaguidGroupOutput + ToAuthenticatorMethodWebauthnAaguidGroupOutputWithContext(context.Context) AuthenticatorMethodWebauthnAaguidGroupOutput } -type CampaignNotificationSettingsArgs struct { - // To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. - NotifyReviewPeriodEnd pulumi.BoolInput `pulumi:"notifyReviewPeriodEnd"` - // To indicate whether a notification should be sent to the reviewers when campaign has come to an end. - NotifyReviewerAtCampaignEnd pulumi.BoolInput `pulumi:"notifyReviewerAtCampaignEnd"` - // To indicate whether a notification should be sent to the reviewer during the midpoint of the review process. - NotifyReviewerDuringMidpointOfReview pulumi.BoolInput `pulumi:"notifyReviewerDuringMidpointOfReview"` - // To indicate whether a notification should be sent to the reviewer when the review is overdue. - NotifyReviewerWhenOverdue pulumi.BoolInput `pulumi:"notifyReviewerWhenOverdue"` - // To indicate whether a notification should be sent to the reviewer when actionable reviews are assigned. - NotifyReviewerWhenReviewAssigned pulumi.BoolInput `pulumi:"notifyReviewerWhenReviewAssigned"` - // Specifies times (in seconds) to send reminders to reviewers before the campaign closes. Max 3 values. Example: [86400, 172800, 604800] - RemindersReviewerBeforeCampaignCloseInSecs pulumi.IntArrayInput `pulumi:"remindersReviewerBeforeCampaignCloseInSecs"` +type AuthenticatorMethodWebauthnAaguidGroupArgs struct { + // A list of FIDO2 AAGUIDs in this group. + Aaguids pulumi.StringArrayInput `pulumi:"aaguids"` + // A name to identify the group of FIDO2 AAGUIDs. + Name pulumi.StringInput `pulumi:"name"` } -func (CampaignNotificationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignNotificationSettings)(nil)).Elem() +func (AuthenticatorMethodWebauthnAaguidGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorMethodWebauthnAaguidGroup)(nil)).Elem() } -func (i CampaignNotificationSettingsArgs) ToCampaignNotificationSettingsOutput() CampaignNotificationSettingsOutput { - return i.ToCampaignNotificationSettingsOutputWithContext(context.Background()) +func (i AuthenticatorMethodWebauthnAaguidGroupArgs) ToAuthenticatorMethodWebauthnAaguidGroupOutput() AuthenticatorMethodWebauthnAaguidGroupOutput { + return i.ToAuthenticatorMethodWebauthnAaguidGroupOutputWithContext(context.Background()) } -func (i CampaignNotificationSettingsArgs) ToCampaignNotificationSettingsOutputWithContext(ctx context.Context) CampaignNotificationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignNotificationSettingsOutput) +func (i AuthenticatorMethodWebauthnAaguidGroupArgs) ToAuthenticatorMethodWebauthnAaguidGroupOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnAaguidGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnAaguidGroupOutput) } -func (i CampaignNotificationSettingsArgs) ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput { - return i.ToCampaignNotificationSettingsPtrOutputWithContext(context.Background()) +// AuthenticatorMethodWebauthnAaguidGroupArrayInput is an input type that accepts AuthenticatorMethodWebauthnAaguidGroupArray and AuthenticatorMethodWebauthnAaguidGroupArrayOutput values. +// You can construct a concrete instance of `AuthenticatorMethodWebauthnAaguidGroupArrayInput` via: +// +// AuthenticatorMethodWebauthnAaguidGroupArray{ AuthenticatorMethodWebauthnAaguidGroupArgs{...} } +type AuthenticatorMethodWebauthnAaguidGroupArrayInput interface { + pulumi.Input + + ToAuthenticatorMethodWebauthnAaguidGroupArrayOutput() AuthenticatorMethodWebauthnAaguidGroupArrayOutput + ToAuthenticatorMethodWebauthnAaguidGroupArrayOutputWithContext(context.Context) AuthenticatorMethodWebauthnAaguidGroupArrayOutput } -func (i CampaignNotificationSettingsArgs) ToCampaignNotificationSettingsPtrOutputWithContext(ctx context.Context) CampaignNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignNotificationSettingsOutput).ToCampaignNotificationSettingsPtrOutputWithContext(ctx) +type AuthenticatorMethodWebauthnAaguidGroupArray []AuthenticatorMethodWebauthnAaguidGroupInput + +func (AuthenticatorMethodWebauthnAaguidGroupArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AuthenticatorMethodWebauthnAaguidGroup)(nil)).Elem() } -// CampaignNotificationSettingsPtrInput is an input type that accepts CampaignNotificationSettingsArgs, CampaignNotificationSettingsPtr and CampaignNotificationSettingsPtrOutput values. -// You can construct a concrete instance of `CampaignNotificationSettingsPtrInput` via: -// -// CampaignNotificationSettingsArgs{...} -// -// or: -// -// nil -type CampaignNotificationSettingsPtrInput interface { - pulumi.Input +func (i AuthenticatorMethodWebauthnAaguidGroupArray) ToAuthenticatorMethodWebauthnAaguidGroupArrayOutput() AuthenticatorMethodWebauthnAaguidGroupArrayOutput { + return i.ToAuthenticatorMethodWebauthnAaguidGroupArrayOutputWithContext(context.Background()) +} - ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput - ToCampaignNotificationSettingsPtrOutputWithContext(context.Context) CampaignNotificationSettingsPtrOutput +func (i AuthenticatorMethodWebauthnAaguidGroupArray) ToAuthenticatorMethodWebauthnAaguidGroupArrayOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnAaguidGroupArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnAaguidGroupArrayOutput) } -type campaignNotificationSettingsPtrType CampaignNotificationSettingsArgs +type AuthenticatorMethodWebauthnAaguidGroupOutput struct{ *pulumi.OutputState } -func CampaignNotificationSettingsPtr(v *CampaignNotificationSettingsArgs) CampaignNotificationSettingsPtrInput { - return (*campaignNotificationSettingsPtrType)(v) +func (AuthenticatorMethodWebauthnAaguidGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorMethodWebauthnAaguidGroup)(nil)).Elem() } -func (*campaignNotificationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignNotificationSettings)(nil)).Elem() +func (o AuthenticatorMethodWebauthnAaguidGroupOutput) ToAuthenticatorMethodWebauthnAaguidGroupOutput() AuthenticatorMethodWebauthnAaguidGroupOutput { + return o } -func (i *campaignNotificationSettingsPtrType) ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput { - return i.ToCampaignNotificationSettingsPtrOutputWithContext(context.Background()) +func (o AuthenticatorMethodWebauthnAaguidGroupOutput) ToAuthenticatorMethodWebauthnAaguidGroupOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnAaguidGroupOutput { + return o } -func (i *campaignNotificationSettingsPtrType) ToCampaignNotificationSettingsPtrOutputWithContext(ctx context.Context) CampaignNotificationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignNotificationSettingsPtrOutput) +// A list of FIDO2 AAGUIDs in this group. +func (o AuthenticatorMethodWebauthnAaguidGroupOutput) Aaguids() pulumi.StringArrayOutput { + return o.ApplyT(func(v AuthenticatorMethodWebauthnAaguidGroup) []string { return v.Aaguids }).(pulumi.StringArrayOutput) } -type CampaignNotificationSettingsOutput struct{ *pulumi.OutputState } +// A name to identify the group of FIDO2 AAGUIDs. +func (o AuthenticatorMethodWebauthnAaguidGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v AuthenticatorMethodWebauthnAaguidGroup) string { return v.Name }).(pulumi.StringOutput) +} -func (CampaignNotificationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignNotificationSettings)(nil)).Elem() +type AuthenticatorMethodWebauthnAaguidGroupArrayOutput struct{ *pulumi.OutputState } + +func (AuthenticatorMethodWebauthnAaguidGroupArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AuthenticatorMethodWebauthnAaguidGroup)(nil)).Elem() } -func (o CampaignNotificationSettingsOutput) ToCampaignNotificationSettingsOutput() CampaignNotificationSettingsOutput { +func (o AuthenticatorMethodWebauthnAaguidGroupArrayOutput) ToAuthenticatorMethodWebauthnAaguidGroupArrayOutput() AuthenticatorMethodWebauthnAaguidGroupArrayOutput { return o } -func (o CampaignNotificationSettingsOutput) ToCampaignNotificationSettingsOutputWithContext(ctx context.Context) CampaignNotificationSettingsOutput { +func (o AuthenticatorMethodWebauthnAaguidGroupArrayOutput) ToAuthenticatorMethodWebauthnAaguidGroupArrayOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnAaguidGroupArrayOutput { return o } -func (o CampaignNotificationSettingsOutput) ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput { - return o.ToCampaignNotificationSettingsPtrOutputWithContext(context.Background()) +func (o AuthenticatorMethodWebauthnAaguidGroupArrayOutput) Index(i pulumi.IntInput) AuthenticatorMethodWebauthnAaguidGroupOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthenticatorMethodWebauthnAaguidGroup { + return vs[0].([]AuthenticatorMethodWebauthnAaguidGroup)[vs[1].(int)] + }).(AuthenticatorMethodWebauthnAaguidGroupOutput) } -func (o CampaignNotificationSettingsOutput) ToCampaignNotificationSettingsPtrOutputWithContext(ctx context.Context) CampaignNotificationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignNotificationSettings) *CampaignNotificationSettings { - return &v - }).(CampaignNotificationSettingsPtrOutput) +type AuthenticatorMethodWebauthnRpId struct { + // The RP domain configuration. Contains: + Domain *AuthenticatorMethodWebauthnRpIdDomain `pulumi:"domain"` + // Whether the RP ID is active and used for WebAuthn operations. + Enabled *bool `pulumi:"enabled"` } -// To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. -func (o CampaignNotificationSettingsOutput) NotifyReviewPeriodEnd() pulumi.BoolOutput { - return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewPeriodEnd }).(pulumi.BoolOutput) +// AuthenticatorMethodWebauthnRpIdInput is an input type that accepts AuthenticatorMethodWebauthnRpIdArgs and AuthenticatorMethodWebauthnRpIdOutput values. +// You can construct a concrete instance of `AuthenticatorMethodWebauthnRpIdInput` via: +// +// AuthenticatorMethodWebauthnRpIdArgs{...} +type AuthenticatorMethodWebauthnRpIdInput interface { + pulumi.Input + + ToAuthenticatorMethodWebauthnRpIdOutput() AuthenticatorMethodWebauthnRpIdOutput + ToAuthenticatorMethodWebauthnRpIdOutputWithContext(context.Context) AuthenticatorMethodWebauthnRpIdOutput } -// To indicate whether a notification should be sent to the reviewers when campaign has come to an end. -func (o CampaignNotificationSettingsOutput) NotifyReviewerAtCampaignEnd() pulumi.BoolOutput { - return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewerAtCampaignEnd }).(pulumi.BoolOutput) +type AuthenticatorMethodWebauthnRpIdArgs struct { + // The RP domain configuration. Contains: + Domain AuthenticatorMethodWebauthnRpIdDomainPtrInput `pulumi:"domain"` + // Whether the RP ID is active and used for WebAuthn operations. + Enabled pulumi.BoolPtrInput `pulumi:"enabled"` } -// To indicate whether a notification should be sent to the reviewer during the midpoint of the review process. -func (o CampaignNotificationSettingsOutput) NotifyReviewerDuringMidpointOfReview() pulumi.BoolOutput { - return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewerDuringMidpointOfReview }).(pulumi.BoolOutput) +func (AuthenticatorMethodWebauthnRpIdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorMethodWebauthnRpId)(nil)).Elem() } -// To indicate whether a notification should be sent to the reviewer when the review is overdue. -func (o CampaignNotificationSettingsOutput) NotifyReviewerWhenOverdue() pulumi.BoolOutput { - return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewerWhenOverdue }).(pulumi.BoolOutput) +func (i AuthenticatorMethodWebauthnRpIdArgs) ToAuthenticatorMethodWebauthnRpIdOutput() AuthenticatorMethodWebauthnRpIdOutput { + return i.ToAuthenticatorMethodWebauthnRpIdOutputWithContext(context.Background()) } -// To indicate whether a notification should be sent to the reviewer when actionable reviews are assigned. -func (o CampaignNotificationSettingsOutput) NotifyReviewerWhenReviewAssigned() pulumi.BoolOutput { - return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewerWhenReviewAssigned }).(pulumi.BoolOutput) +func (i AuthenticatorMethodWebauthnRpIdArgs) ToAuthenticatorMethodWebauthnRpIdOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnRpIdOutput) } -// Specifies times (in seconds) to send reminders to reviewers before the campaign closes. Max 3 values. Example: [86400, 172800, 604800] -func (o CampaignNotificationSettingsOutput) RemindersReviewerBeforeCampaignCloseInSecs() pulumi.IntArrayOutput { - return o.ApplyT(func(v CampaignNotificationSettings) []int { return v.RemindersReviewerBeforeCampaignCloseInSecs }).(pulumi.IntArrayOutput) +func (i AuthenticatorMethodWebauthnRpIdArgs) ToAuthenticatorMethodWebauthnRpIdPtrOutput() AuthenticatorMethodWebauthnRpIdPtrOutput { + return i.ToAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(context.Background()) } -type CampaignNotificationSettingsPtrOutput struct{ *pulumi.OutputState } +func (i AuthenticatorMethodWebauthnRpIdArgs) ToAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnRpIdOutput).ToAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx) +} -func (CampaignNotificationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignNotificationSettings)(nil)).Elem() +// AuthenticatorMethodWebauthnRpIdPtrInput is an input type that accepts AuthenticatorMethodWebauthnRpIdArgs, AuthenticatorMethodWebauthnRpIdPtr and AuthenticatorMethodWebauthnRpIdPtrOutput values. +// You can construct a concrete instance of `AuthenticatorMethodWebauthnRpIdPtrInput` via: +// +// AuthenticatorMethodWebauthnRpIdArgs{...} +// +// or: +// +// nil +type AuthenticatorMethodWebauthnRpIdPtrInput interface { + pulumi.Input + + ToAuthenticatorMethodWebauthnRpIdPtrOutput() AuthenticatorMethodWebauthnRpIdPtrOutput + ToAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(context.Context) AuthenticatorMethodWebauthnRpIdPtrOutput } -func (o CampaignNotificationSettingsPtrOutput) ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput { +type authenticatorMethodWebauthnRpIdPtrType AuthenticatorMethodWebauthnRpIdArgs + +func AuthenticatorMethodWebauthnRpIdPtr(v *AuthenticatorMethodWebauthnRpIdArgs) AuthenticatorMethodWebauthnRpIdPtrInput { + return (*authenticatorMethodWebauthnRpIdPtrType)(v) +} + +func (*authenticatorMethodWebauthnRpIdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorMethodWebauthnRpId)(nil)).Elem() +} + +func (i *authenticatorMethodWebauthnRpIdPtrType) ToAuthenticatorMethodWebauthnRpIdPtrOutput() AuthenticatorMethodWebauthnRpIdPtrOutput { + return i.ToAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(context.Background()) +} + +func (i *authenticatorMethodWebauthnRpIdPtrType) ToAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnRpIdPtrOutput) +} + +type AuthenticatorMethodWebauthnRpIdOutput struct{ *pulumi.OutputState } + +func (AuthenticatorMethodWebauthnRpIdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorMethodWebauthnRpId)(nil)).Elem() +} + +func (o AuthenticatorMethodWebauthnRpIdOutput) ToAuthenticatorMethodWebauthnRpIdOutput() AuthenticatorMethodWebauthnRpIdOutput { return o } -func (o CampaignNotificationSettingsPtrOutput) ToCampaignNotificationSettingsPtrOutputWithContext(ctx context.Context) CampaignNotificationSettingsPtrOutput { +func (o AuthenticatorMethodWebauthnRpIdOutput) ToAuthenticatorMethodWebauthnRpIdOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdOutput { return o } -func (o CampaignNotificationSettingsPtrOutput) Elem() CampaignNotificationSettingsOutput { - return o.ApplyT(func(v *CampaignNotificationSettings) CampaignNotificationSettings { +func (o AuthenticatorMethodWebauthnRpIdOutput) ToAuthenticatorMethodWebauthnRpIdPtrOutput() AuthenticatorMethodWebauthnRpIdPtrOutput { + return o.ToAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(context.Background()) +} + +func (o AuthenticatorMethodWebauthnRpIdOutput) ToAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AuthenticatorMethodWebauthnRpId) *AuthenticatorMethodWebauthnRpId { + return &v + }).(AuthenticatorMethodWebauthnRpIdPtrOutput) +} + +// The RP domain configuration. Contains: +func (o AuthenticatorMethodWebauthnRpIdOutput) Domain() AuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return o.ApplyT(func(v AuthenticatorMethodWebauthnRpId) *AuthenticatorMethodWebauthnRpIdDomain { return v.Domain }).(AuthenticatorMethodWebauthnRpIdDomainPtrOutput) +} + +// Whether the RP ID is active and used for WebAuthn operations. +func (o AuthenticatorMethodWebauthnRpIdOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AuthenticatorMethodWebauthnRpId) *bool { return v.Enabled }).(pulumi.BoolPtrOutput) +} + +type AuthenticatorMethodWebauthnRpIdPtrOutput struct{ *pulumi.OutputState } + +func (AuthenticatorMethodWebauthnRpIdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorMethodWebauthnRpId)(nil)).Elem() +} + +func (o AuthenticatorMethodWebauthnRpIdPtrOutput) ToAuthenticatorMethodWebauthnRpIdPtrOutput() AuthenticatorMethodWebauthnRpIdPtrOutput { + return o +} + +func (o AuthenticatorMethodWebauthnRpIdPtrOutput) ToAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdPtrOutput { + return o +} + +func (o AuthenticatorMethodWebauthnRpIdPtrOutput) Elem() AuthenticatorMethodWebauthnRpIdOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthnRpId) AuthenticatorMethodWebauthnRpId { if v != nil { return *v } - var ret CampaignNotificationSettings + var ret AuthenticatorMethodWebauthnRpId return ret - }).(CampaignNotificationSettingsOutput) + }).(AuthenticatorMethodWebauthnRpIdOutput) } -// To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. -func (o CampaignNotificationSettingsPtrOutput) NotifyReviewPeriodEnd() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignNotificationSettings) *bool { +// The RP domain configuration. Contains: +func (o AuthenticatorMethodWebauthnRpIdPtrOutput) Domain() AuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthnRpId) *AuthenticatorMethodWebauthnRpIdDomain { if v == nil { return nil } - return &v.NotifyReviewPeriodEnd - }).(pulumi.BoolPtrOutput) + return v.Domain + }).(AuthenticatorMethodWebauthnRpIdDomainPtrOutput) } -// To indicate whether a notification should be sent to the reviewers when campaign has come to an end. -func (o CampaignNotificationSettingsPtrOutput) NotifyReviewerAtCampaignEnd() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignNotificationSettings) *bool { +// Whether the RP ID is active and used for WebAuthn operations. +func (o AuthenticatorMethodWebauthnRpIdPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthnRpId) *bool { if v == nil { return nil } - return &v.NotifyReviewerAtCampaignEnd + return v.Enabled }).(pulumi.BoolPtrOutput) } -// To indicate whether a notification should be sent to the reviewer during the midpoint of the review process. -func (o CampaignNotificationSettingsPtrOutput) NotifyReviewerDuringMidpointOfReview() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignNotificationSettings) *bool { - if v == nil { - return nil - } - return &v.NotifyReviewerDuringMidpointOfReview - }).(pulumi.BoolPtrOutput) +type AuthenticatorMethodWebauthnRpIdDomain struct { + // The RP ID domain value used for WebAuthn operations. + Name *string `pulumi:"name"` + // The validation status of the domain. + ValidationStatus *string `pulumi:"validationStatus"` } -// To indicate whether a notification should be sent to the reviewer when the review is overdue. -func (o CampaignNotificationSettingsPtrOutput) NotifyReviewerWhenOverdue() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignNotificationSettings) *bool { - if v == nil { - return nil - } - return &v.NotifyReviewerWhenOverdue - }).(pulumi.BoolPtrOutput) -} - -// To indicate whether a notification should be sent to the reviewer when actionable reviews are assigned. -func (o CampaignNotificationSettingsPtrOutput) NotifyReviewerWhenReviewAssigned() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignNotificationSettings) *bool { - if v == nil { - return nil - } - return &v.NotifyReviewerWhenReviewAssigned - }).(pulumi.BoolPtrOutput) -} - -// Specifies times (in seconds) to send reminders to reviewers before the campaign closes. Max 3 values. Example: [86400, 172800, 604800] -func (o CampaignNotificationSettingsPtrOutput) RemindersReviewerBeforeCampaignCloseInSecs() pulumi.IntArrayOutput { - return o.ApplyT(func(v *CampaignNotificationSettings) []int { - if v == nil { - return nil - } - return v.RemindersReviewerBeforeCampaignCloseInSecs - }).(pulumi.IntArrayOutput) -} - -type CampaignPrincipalScopeSettings struct { - // An array of Okta user IDs excluded from access certification or the campaign. This field is optional. A maximum of 50 users can be specified in the array. - ExcludedUserIds []string `pulumi:"excludedUserIds"` - // An array of Okta group IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 5 groups can be specified in the array. - GroupIds []string `pulumi:"groupIds"` - // If set to true, only active Okta users are included in the campaign. - IncludeOnlyActiveUsers *bool `pulumi:"includeOnlyActiveUsers"` - // If set to true, only includes users that have at least one SOD conflict that was caused due to entitlement(s) within Campaign scope. - OnlyIncludeUsersWithSodConflicts *bool `pulumi:"onlyIncludeUsersWithSodConflicts"` - PredefinedInactiveUsersScopes []CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope `pulumi:"predefinedInactiveUsersScopes"` - // Specifies the type for principal_scope_settings. - Type string `pulumi:"type"` - // An array of Okta user IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 100 users can be specified in the array. - UserIds []string `pulumi:"userIds"` - // The Okta expression language user expression on the resourceSettings to include users in the campaign. - UserScopeExpression *string `pulumi:"userScopeExpression"` -} - -// CampaignPrincipalScopeSettingsInput is an input type that accepts CampaignPrincipalScopeSettingsArgs and CampaignPrincipalScopeSettingsOutput values. -// You can construct a concrete instance of `CampaignPrincipalScopeSettingsInput` via: +// AuthenticatorMethodWebauthnRpIdDomainInput is an input type that accepts AuthenticatorMethodWebauthnRpIdDomainArgs and AuthenticatorMethodWebauthnRpIdDomainOutput values. +// You can construct a concrete instance of `AuthenticatorMethodWebauthnRpIdDomainInput` via: // -// CampaignPrincipalScopeSettingsArgs{...} -type CampaignPrincipalScopeSettingsInput interface { +// AuthenticatorMethodWebauthnRpIdDomainArgs{...} +type AuthenticatorMethodWebauthnRpIdDomainInput interface { pulumi.Input - ToCampaignPrincipalScopeSettingsOutput() CampaignPrincipalScopeSettingsOutput - ToCampaignPrincipalScopeSettingsOutputWithContext(context.Context) CampaignPrincipalScopeSettingsOutput + ToAuthenticatorMethodWebauthnRpIdDomainOutput() AuthenticatorMethodWebauthnRpIdDomainOutput + ToAuthenticatorMethodWebauthnRpIdDomainOutputWithContext(context.Context) AuthenticatorMethodWebauthnRpIdDomainOutput } -type CampaignPrincipalScopeSettingsArgs struct { - // An array of Okta user IDs excluded from access certification or the campaign. This field is optional. A maximum of 50 users can be specified in the array. - ExcludedUserIds pulumi.StringArrayInput `pulumi:"excludedUserIds"` - // An array of Okta group IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 5 groups can be specified in the array. - GroupIds pulumi.StringArrayInput `pulumi:"groupIds"` - // If set to true, only active Okta users are included in the campaign. - IncludeOnlyActiveUsers pulumi.BoolPtrInput `pulumi:"includeOnlyActiveUsers"` - // If set to true, only includes users that have at least one SOD conflict that was caused due to entitlement(s) within Campaign scope. - OnlyIncludeUsersWithSodConflicts pulumi.BoolPtrInput `pulumi:"onlyIncludeUsersWithSodConflicts"` - PredefinedInactiveUsersScopes CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayInput `pulumi:"predefinedInactiveUsersScopes"` - // Specifies the type for principal_scope_settings. - Type pulumi.StringInput `pulumi:"type"` - // An array of Okta user IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 100 users can be specified in the array. - UserIds pulumi.StringArrayInput `pulumi:"userIds"` - // The Okta expression language user expression on the resourceSettings to include users in the campaign. - UserScopeExpression pulumi.StringPtrInput `pulumi:"userScopeExpression"` +type AuthenticatorMethodWebauthnRpIdDomainArgs struct { + // The RP ID domain value used for WebAuthn operations. + Name pulumi.StringPtrInput `pulumi:"name"` + // The validation status of the domain. + ValidationStatus pulumi.StringPtrInput `pulumi:"validationStatus"` } -func (CampaignPrincipalScopeSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignPrincipalScopeSettings)(nil)).Elem() +func (AuthenticatorMethodWebauthnRpIdDomainArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorMethodWebauthnRpIdDomain)(nil)).Elem() } -func (i CampaignPrincipalScopeSettingsArgs) ToCampaignPrincipalScopeSettingsOutput() CampaignPrincipalScopeSettingsOutput { - return i.ToCampaignPrincipalScopeSettingsOutputWithContext(context.Background()) +func (i AuthenticatorMethodWebauthnRpIdDomainArgs) ToAuthenticatorMethodWebauthnRpIdDomainOutput() AuthenticatorMethodWebauthnRpIdDomainOutput { + return i.ToAuthenticatorMethodWebauthnRpIdDomainOutputWithContext(context.Background()) } -func (i CampaignPrincipalScopeSettingsArgs) ToCampaignPrincipalScopeSettingsOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsOutput) +func (i AuthenticatorMethodWebauthnRpIdDomainArgs) ToAuthenticatorMethodWebauthnRpIdDomainOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdDomainOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnRpIdDomainOutput) } -func (i CampaignPrincipalScopeSettingsArgs) ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput { - return i.ToCampaignPrincipalScopeSettingsPtrOutputWithContext(context.Background()) +func (i AuthenticatorMethodWebauthnRpIdDomainArgs) ToAuthenticatorMethodWebauthnRpIdDomainPtrOutput() AuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return i.ToAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(context.Background()) } -func (i CampaignPrincipalScopeSettingsArgs) ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsOutput).ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx) +func (i AuthenticatorMethodWebauthnRpIdDomainArgs) ToAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnRpIdDomainOutput).ToAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx) } -// CampaignPrincipalScopeSettingsPtrInput is an input type that accepts CampaignPrincipalScopeSettingsArgs, CampaignPrincipalScopeSettingsPtr and CampaignPrincipalScopeSettingsPtrOutput values. -// You can construct a concrete instance of `CampaignPrincipalScopeSettingsPtrInput` via: +// AuthenticatorMethodWebauthnRpIdDomainPtrInput is an input type that accepts AuthenticatorMethodWebauthnRpIdDomainArgs, AuthenticatorMethodWebauthnRpIdDomainPtr and AuthenticatorMethodWebauthnRpIdDomainPtrOutput values. +// You can construct a concrete instance of `AuthenticatorMethodWebauthnRpIdDomainPtrInput` via: // -// CampaignPrincipalScopeSettingsArgs{...} +// AuthenticatorMethodWebauthnRpIdDomainArgs{...} // // or: // // nil -type CampaignPrincipalScopeSettingsPtrInput interface { +type AuthenticatorMethodWebauthnRpIdDomainPtrInput interface { pulumi.Input - ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput - ToCampaignPrincipalScopeSettingsPtrOutputWithContext(context.Context) CampaignPrincipalScopeSettingsPtrOutput + ToAuthenticatorMethodWebauthnRpIdDomainPtrOutput() AuthenticatorMethodWebauthnRpIdDomainPtrOutput + ToAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(context.Context) AuthenticatorMethodWebauthnRpIdDomainPtrOutput } -type campaignPrincipalScopeSettingsPtrType CampaignPrincipalScopeSettingsArgs +type authenticatorMethodWebauthnRpIdDomainPtrType AuthenticatorMethodWebauthnRpIdDomainArgs -func CampaignPrincipalScopeSettingsPtr(v *CampaignPrincipalScopeSettingsArgs) CampaignPrincipalScopeSettingsPtrInput { - return (*campaignPrincipalScopeSettingsPtrType)(v) +func AuthenticatorMethodWebauthnRpIdDomainPtr(v *AuthenticatorMethodWebauthnRpIdDomainArgs) AuthenticatorMethodWebauthnRpIdDomainPtrInput { + return (*authenticatorMethodWebauthnRpIdDomainPtrType)(v) } -func (*campaignPrincipalScopeSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignPrincipalScopeSettings)(nil)).Elem() +func (*authenticatorMethodWebauthnRpIdDomainPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorMethodWebauthnRpIdDomain)(nil)).Elem() } -func (i *campaignPrincipalScopeSettingsPtrType) ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput { - return i.ToCampaignPrincipalScopeSettingsPtrOutputWithContext(context.Background()) +func (i *authenticatorMethodWebauthnRpIdDomainPtrType) ToAuthenticatorMethodWebauthnRpIdDomainPtrOutput() AuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return i.ToAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(context.Background()) } -func (i *campaignPrincipalScopeSettingsPtrType) ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsPtrOutput) +func (i *authenticatorMethodWebauthnRpIdDomainPtrType) ToAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorMethodWebauthnRpIdDomainPtrOutput) } -type CampaignPrincipalScopeSettingsOutput struct{ *pulumi.OutputState } +type AuthenticatorMethodWebauthnRpIdDomainOutput struct{ *pulumi.OutputState } -func (CampaignPrincipalScopeSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignPrincipalScopeSettings)(nil)).Elem() +func (AuthenticatorMethodWebauthnRpIdDomainOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorMethodWebauthnRpIdDomain)(nil)).Elem() } -func (o CampaignPrincipalScopeSettingsOutput) ToCampaignPrincipalScopeSettingsOutput() CampaignPrincipalScopeSettingsOutput { +func (o AuthenticatorMethodWebauthnRpIdDomainOutput) ToAuthenticatorMethodWebauthnRpIdDomainOutput() AuthenticatorMethodWebauthnRpIdDomainOutput { return o } -func (o CampaignPrincipalScopeSettingsOutput) ToCampaignPrincipalScopeSettingsOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsOutput { +func (o AuthenticatorMethodWebauthnRpIdDomainOutput) ToAuthenticatorMethodWebauthnRpIdDomainOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdDomainOutput { return o } -func (o CampaignPrincipalScopeSettingsOutput) ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput { - return o.ToCampaignPrincipalScopeSettingsPtrOutputWithContext(context.Background()) +func (o AuthenticatorMethodWebauthnRpIdDomainOutput) ToAuthenticatorMethodWebauthnRpIdDomainPtrOutput() AuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return o.ToAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(context.Background()) } -func (o CampaignPrincipalScopeSettingsOutput) ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignPrincipalScopeSettings) *CampaignPrincipalScopeSettings { +func (o AuthenticatorMethodWebauthnRpIdDomainOutput) ToAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AuthenticatorMethodWebauthnRpIdDomain) *AuthenticatorMethodWebauthnRpIdDomain { return &v - }).(CampaignPrincipalScopeSettingsPtrOutput) -} - -// An array of Okta user IDs excluded from access certification or the campaign. This field is optional. A maximum of 50 users can be specified in the array. -func (o CampaignPrincipalScopeSettingsOutput) ExcludedUserIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v CampaignPrincipalScopeSettings) []string { return v.ExcludedUserIds }).(pulumi.StringArrayOutput) -} - -// An array of Okta group IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 5 groups can be specified in the array. -func (o CampaignPrincipalScopeSettingsOutput) GroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v CampaignPrincipalScopeSettings) []string { return v.GroupIds }).(pulumi.StringArrayOutput) -} - -// If set to true, only active Okta users are included in the campaign. -func (o CampaignPrincipalScopeSettingsOutput) IncludeOnlyActiveUsers() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignPrincipalScopeSettings) *bool { return v.IncludeOnlyActiveUsers }).(pulumi.BoolPtrOutput) -} - -// If set to true, only includes users that have at least one SOD conflict that was caused due to entitlement(s) within Campaign scope. -func (o CampaignPrincipalScopeSettingsOutput) OnlyIncludeUsersWithSodConflicts() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignPrincipalScopeSettings) *bool { return v.OnlyIncludeUsersWithSodConflicts }).(pulumi.BoolPtrOutput) -} - -func (o CampaignPrincipalScopeSettingsOutput) PredefinedInactiveUsersScopes() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { - return o.ApplyT(func(v CampaignPrincipalScopeSettings) []CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope { - return v.PredefinedInactiveUsersScopes - }).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) -} - -// Specifies the type for principal_scope_settings. -func (o CampaignPrincipalScopeSettingsOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v CampaignPrincipalScopeSettings) string { return v.Type }).(pulumi.StringOutput) + }).(AuthenticatorMethodWebauthnRpIdDomainPtrOutput) } -// An array of Okta user IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 100 users can be specified in the array. -func (o CampaignPrincipalScopeSettingsOutput) UserIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v CampaignPrincipalScopeSettings) []string { return v.UserIds }).(pulumi.StringArrayOutput) +// The RP ID domain value used for WebAuthn operations. +func (o AuthenticatorMethodWebauthnRpIdDomainOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v AuthenticatorMethodWebauthnRpIdDomain) *string { return v.Name }).(pulumi.StringPtrOutput) } -// The Okta expression language user expression on the resourceSettings to include users in the campaign. -func (o CampaignPrincipalScopeSettingsOutput) UserScopeExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignPrincipalScopeSettings) *string { return v.UserScopeExpression }).(pulumi.StringPtrOutput) +// The validation status of the domain. +func (o AuthenticatorMethodWebauthnRpIdDomainOutput) ValidationStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v AuthenticatorMethodWebauthnRpIdDomain) *string { return v.ValidationStatus }).(pulumi.StringPtrOutput) } -type CampaignPrincipalScopeSettingsPtrOutput struct{ *pulumi.OutputState } +type AuthenticatorMethodWebauthnRpIdDomainPtrOutput struct{ *pulumi.OutputState } -func (CampaignPrincipalScopeSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignPrincipalScopeSettings)(nil)).Elem() +func (AuthenticatorMethodWebauthnRpIdDomainPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorMethodWebauthnRpIdDomain)(nil)).Elem() } -func (o CampaignPrincipalScopeSettingsPtrOutput) ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput { +func (o AuthenticatorMethodWebauthnRpIdDomainPtrOutput) ToAuthenticatorMethodWebauthnRpIdDomainPtrOutput() AuthenticatorMethodWebauthnRpIdDomainPtrOutput { return o } -func (o CampaignPrincipalScopeSettingsPtrOutput) ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPtrOutput { +func (o AuthenticatorMethodWebauthnRpIdDomainPtrOutput) ToAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx context.Context) AuthenticatorMethodWebauthnRpIdDomainPtrOutput { return o } -func (o CampaignPrincipalScopeSettingsPtrOutput) Elem() CampaignPrincipalScopeSettingsOutput { - return o.ApplyT(func(v *CampaignPrincipalScopeSettings) CampaignPrincipalScopeSettings { +func (o AuthenticatorMethodWebauthnRpIdDomainPtrOutput) Elem() AuthenticatorMethodWebauthnRpIdDomainOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthnRpIdDomain) AuthenticatorMethodWebauthnRpIdDomain { if v != nil { return *v } - var ret CampaignPrincipalScopeSettings + var ret AuthenticatorMethodWebauthnRpIdDomain return ret - }).(CampaignPrincipalScopeSettingsOutput) + }).(AuthenticatorMethodWebauthnRpIdDomainOutput) } -// An array of Okta user IDs excluded from access certification or the campaign. This field is optional. A maximum of 50 users can be specified in the array. -func (o CampaignPrincipalScopeSettingsPtrOutput) ExcludedUserIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CampaignPrincipalScopeSettings) []string { +// The RP ID domain value used for WebAuthn operations. +func (o AuthenticatorMethodWebauthnRpIdDomainPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthnRpIdDomain) *string { if v == nil { return nil } - return v.ExcludedUserIds - }).(pulumi.StringArrayOutput) + return v.Name + }).(pulumi.StringPtrOutput) } -// An array of Okta group IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 5 groups can be specified in the array. -func (o CampaignPrincipalScopeSettingsPtrOutput) GroupIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CampaignPrincipalScopeSettings) []string { +// The validation status of the domain. +func (o AuthenticatorMethodWebauthnRpIdDomainPtrOutput) ValidationStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AuthenticatorMethodWebauthnRpIdDomain) *string { if v == nil { return nil } - return v.GroupIds - }).(pulumi.StringArrayOutput) + return v.ValidationStatus + }).(pulumi.StringPtrOutput) } -// If set to true, only active Okta users are included in the campaign. -func (o CampaignPrincipalScopeSettingsPtrOutput) IncludeOnlyActiveUsers() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignPrincipalScopeSettings) *bool { - if v == nil { - return nil - } - return v.IncludeOnlyActiveUsers - }).(pulumi.BoolPtrOutput) +type AuthenticatorWebauthnCustomAaguidAttestationRootCertificate struct { + // Expiry date of the certificate. + Expiry *string `pulumi:"expiry"` + // Issuer of the certificate. + Issuer *string `pulumi:"issuer"` + // X.509 certificate chain (base64-encoded). + X5c string `pulumi:"x5c"` + // SHA-256 hash (thumbprint) of the X.509 certificate. + X5tS256 *string `pulumi:"x5tS256"` } -// If set to true, only includes users that have at least one SOD conflict that was caused due to entitlement(s) within Campaign scope. -func (o CampaignPrincipalScopeSettingsPtrOutput) OnlyIncludeUsersWithSodConflicts() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignPrincipalScopeSettings) *bool { - if v == nil { - return nil - } - return v.OnlyIncludeUsersWithSodConflicts - }).(pulumi.BoolPtrOutput) -} +// AuthenticatorWebauthnCustomAaguidAttestationRootCertificateInput is an input type that accepts AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs and AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput values. +// You can construct a concrete instance of `AuthenticatorWebauthnCustomAaguidAttestationRootCertificateInput` via: +// +// AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs{...} +type AuthenticatorWebauthnCustomAaguidAttestationRootCertificateInput interface { + pulumi.Input -func (o CampaignPrincipalScopeSettingsPtrOutput) PredefinedInactiveUsersScopes() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { - return o.ApplyT(func(v *CampaignPrincipalScopeSettings) []CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope { - if v == nil { - return nil - } - return v.PredefinedInactiveUsersScopes - }).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) + ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput() AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput + ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutputWithContext(context.Context) AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput } -// Specifies the type for principal_scope_settings. -func (o CampaignPrincipalScopeSettingsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignPrincipalScopeSettings) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) +type AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs struct { + // Expiry date of the certificate. + Expiry pulumi.StringPtrInput `pulumi:"expiry"` + // Issuer of the certificate. + Issuer pulumi.StringPtrInput `pulumi:"issuer"` + // X.509 certificate chain (base64-encoded). + X5c pulumi.StringInput `pulumi:"x5c"` + // SHA-256 hash (thumbprint) of the X.509 certificate. + X5tS256 pulumi.StringPtrInput `pulumi:"x5tS256"` } -// An array of Okta user IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 100 users can be specified in the array. -func (o CampaignPrincipalScopeSettingsPtrOutput) UserIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CampaignPrincipalScopeSettings) []string { - if v == nil { - return nil - } - return v.UserIds - }).(pulumi.StringArrayOutput) +func (AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidAttestationRootCertificate)(nil)).Elem() } -// The Okta expression language user expression on the resourceSettings to include users in the campaign. -func (o CampaignPrincipalScopeSettingsPtrOutput) UserScopeExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignPrincipalScopeSettings) *string { - if v == nil { - return nil - } - return v.UserScopeExpression - }).(pulumi.StringPtrOutput) +func (i AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs) ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput() AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput { + return i.ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutputWithContext(context.Background()) } -type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope struct { - // The duration the users have not used single sign on (SSO) to access their account within the specific time frame. Minimum 30 days and maximum 365 days are supported. - InactiveDays *int `pulumi:"inactiveDays"` +func (i AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs) ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput) } -// CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeInput is an input type that accepts CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs and CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput values. -// You can construct a concrete instance of `CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeInput` via: +// AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayInput is an input type that accepts AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArray and AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput values. +// You can construct a concrete instance of `AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayInput` via: // -// CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs{...} -type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeInput interface { +// AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArray{ AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs{...} } +type AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayInput interface { pulumi.Input - ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput - ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutputWithContext(context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput + ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput() AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput + ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutputWithContext(context.Context) AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput } -type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs struct { - // The duration the users have not used single sign on (SSO) to access their account within the specific time frame. Minimum 30 days and maximum 365 days are supported. - InactiveDays pulumi.IntPtrInput `pulumi:"inactiveDays"` +type AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArray []AuthenticatorWebauthnCustomAaguidAttestationRootCertificateInput + +func (AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AuthenticatorWebauthnCustomAaguidAttestationRootCertificate)(nil)).Elem() } -func (CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)(nil)).Elem() +func (i AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArray) ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput() AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput { + return i.ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutputWithContext(context.Background()) } -func (i CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { - return i.ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutputWithContext(context.Background()) +func (i AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArray) ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput) } -func (i CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) +type AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput struct{ *pulumi.OutputState } + +func (AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidAttestationRootCertificate)(nil)).Elem() } -// CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayInput is an input type that accepts CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray and CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput values. -// You can construct a concrete instance of `CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayInput` via: -// -// CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray{ CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs{...} } -type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayInput interface { - pulumi.Input +func (o AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput) ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput() AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput { + return o +} - ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput - ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutputWithContext(context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput +func (o AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput) ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput { + return o } -type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray []CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeInput +// Expiry date of the certificate. +func (o AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput) Expiry() pulumi.StringPtrOutput { + return o.ApplyT(func(v AuthenticatorWebauthnCustomAaguidAttestationRootCertificate) *string { return v.Expiry }).(pulumi.StringPtrOutput) +} -func (CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)(nil)).Elem() +// Issuer of the certificate. +func (o AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput) Issuer() pulumi.StringPtrOutput { + return o.ApplyT(func(v AuthenticatorWebauthnCustomAaguidAttestationRootCertificate) *string { return v.Issuer }).(pulumi.StringPtrOutput) } -func (i CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { - return i.ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutputWithContext(context.Background()) +// X.509 certificate chain (base64-encoded). +func (o AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput) X5c() pulumi.StringOutput { + return o.ApplyT(func(v AuthenticatorWebauthnCustomAaguidAttestationRootCertificate) string { return v.X5c }).(pulumi.StringOutput) } -func (i CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) +// SHA-256 hash (thumbprint) of the X.509 certificate. +func (o AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput) X5tS256() pulumi.StringPtrOutput { + return o.ApplyT(func(v AuthenticatorWebauthnCustomAaguidAttestationRootCertificate) *string { return v.X5tS256 }).(pulumi.StringPtrOutput) } -type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput struct{ *pulumi.OutputState } +type AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput struct{ *pulumi.OutputState } -func (CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)(nil)).Elem() +func (AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AuthenticatorWebauthnCustomAaguidAttestationRootCertificate)(nil)).Elem() } -func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { +func (o AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput) ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput() AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput { return o } -func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { - return o -} - -// The duration the users have not used single sign on (SSO) to access their account within the specific time frame. Minimum 30 days and maximum 365 days are supported. -func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) InactiveDays() pulumi.IntPtrOutput { - return o.ApplyT(func(v CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope) *int { return v.InactiveDays }).(pulumi.IntPtrOutput) -} - -type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput struct{ *pulumi.OutputState } - -func (CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)(nil)).Elem() -} - -func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { +func (o AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput) ToAuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput { return o } -func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { - return o -} - -func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) Index(i pulumi.IntInput) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope { - return vs[0].([]CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)[vs[1].(int)] - }).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) +func (o AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput) Index(i pulumi.IntInput) AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthenticatorWebauthnCustomAaguidAttestationRootCertificate { + return vs[0].([]AuthenticatorWebauthnCustomAaguidAttestationRootCertificate)[vs[1].(int)] + }).(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput) } -type CampaignRemediationSettings struct { - // Specifies the action by default if the reviewer approves access. NO_ACTION indicates there is no remediation action and the user retains access. - AccessApproved string `pulumi:"accessApproved"` - // Specifies the action if the reviewer revokes access. NO_ACTION indicates the user retains the same access. DENY indicates the user will have their access revoked as long as they are not assigned to a group through Group Rules. - AccessRevoked string `pulumi:"accessRevoked"` - AutoRemediationSettings *CampaignRemediationSettingsAutoRemediationSettings `pulumi:"autoRemediationSettings"` - // Specifies the action if the reviewer doesn't respond to the request or if the campaign is closed before an action is taken. - NoResponse string `pulumi:"noResponse"` +type AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics struct { + // Indicates whether the authenticator meets FIPS compliance requirements. + FipsCompliant *bool `pulumi:"fipsCompliant"` + // Indicates whether the authenticator stores the private key on a hardware component. + HardwareProtected *bool `pulumi:"hardwareProtected"` + // Indicates whether the custom AAGUID is built into the authenticator or is external. + PlatformAttached *bool `pulumi:"platformAttached"` } -// CampaignRemediationSettingsInput is an input type that accepts CampaignRemediationSettingsArgs and CampaignRemediationSettingsOutput values. -// You can construct a concrete instance of `CampaignRemediationSettingsInput` via: +// AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsInput is an input type that accepts AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs and AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput values. +// You can construct a concrete instance of `AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsInput` via: // -// CampaignRemediationSettingsArgs{...} -type CampaignRemediationSettingsInput interface { +// AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs{...} +type AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsInput interface { pulumi.Input - ToCampaignRemediationSettingsOutput() CampaignRemediationSettingsOutput - ToCampaignRemediationSettingsOutputWithContext(context.Context) CampaignRemediationSettingsOutput + ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput + ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutputWithContext(context.Context) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput } -type CampaignRemediationSettingsArgs struct { - // Specifies the action by default if the reviewer approves access. NO_ACTION indicates there is no remediation action and the user retains access. - AccessApproved pulumi.StringInput `pulumi:"accessApproved"` - // Specifies the action if the reviewer revokes access. NO_ACTION indicates the user retains the same access. DENY indicates the user will have their access revoked as long as they are not assigned to a group through Group Rules. - AccessRevoked pulumi.StringInput `pulumi:"accessRevoked"` - AutoRemediationSettings CampaignRemediationSettingsAutoRemediationSettingsPtrInput `pulumi:"autoRemediationSettings"` - // Specifies the action if the reviewer doesn't respond to the request or if the campaign is closed before an action is taken. - NoResponse pulumi.StringInput `pulumi:"noResponse"` +type AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs struct { + // Indicates whether the authenticator meets FIPS compliance requirements. + FipsCompliant pulumi.BoolPtrInput `pulumi:"fipsCompliant"` + // Indicates whether the authenticator stores the private key on a hardware component. + HardwareProtected pulumi.BoolPtrInput `pulumi:"hardwareProtected"` + // Indicates whether the custom AAGUID is built into the authenticator or is external. + PlatformAttached pulumi.BoolPtrInput `pulumi:"platformAttached"` } -func (CampaignRemediationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignRemediationSettings)(nil)).Elem() +func (AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics)(nil)).Elem() } -func (i CampaignRemediationSettingsArgs) ToCampaignRemediationSettingsOutput() CampaignRemediationSettingsOutput { - return i.ToCampaignRemediationSettingsOutputWithContext(context.Background()) +func (i AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput { + return i.ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutputWithContext(context.Background()) } -func (i CampaignRemediationSettingsArgs) ToCampaignRemediationSettingsOutputWithContext(ctx context.Context) CampaignRemediationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsOutput) +func (i AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) } -func (i CampaignRemediationSettingsArgs) ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput { - return i.ToCampaignRemediationSettingsPtrOutputWithContext(context.Background()) +func (i AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return i.ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(context.Background()) } -func (i CampaignRemediationSettingsArgs) ToCampaignRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsOutput).ToCampaignRemediationSettingsPtrOutputWithContext(ctx) +func (i AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput).ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx) } -// CampaignRemediationSettingsPtrInput is an input type that accepts CampaignRemediationSettingsArgs, CampaignRemediationSettingsPtr and CampaignRemediationSettingsPtrOutput values. -// You can construct a concrete instance of `CampaignRemediationSettingsPtrInput` via: +// AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrInput is an input type that accepts AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs, AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtr and AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput values. +// You can construct a concrete instance of `AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrInput` via: // -// CampaignRemediationSettingsArgs{...} +// AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs{...} // // or: // // nil -type CampaignRemediationSettingsPtrInput interface { +type AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrInput interface { pulumi.Input - ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput - ToCampaignRemediationSettingsPtrOutputWithContext(context.Context) CampaignRemediationSettingsPtrOutput + ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput + ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(context.Context) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput } -type campaignRemediationSettingsPtrType CampaignRemediationSettingsArgs +type authenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrType AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs -func CampaignRemediationSettingsPtr(v *CampaignRemediationSettingsArgs) CampaignRemediationSettingsPtrInput { - return (*campaignRemediationSettingsPtrType)(v) +func AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtr(v *AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrInput { + return (*authenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrType)(v) } -func (*campaignRemediationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignRemediationSettings)(nil)).Elem() +func (*authenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics)(nil)).Elem() } -func (i *campaignRemediationSettingsPtrType) ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput { - return i.ToCampaignRemediationSettingsPtrOutputWithContext(context.Background()) +func (i *authenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrType) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return i.ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(context.Background()) } -func (i *campaignRemediationSettingsPtrType) ToCampaignRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsPtrOutput) +func (i *authenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrType) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) } -type CampaignRemediationSettingsOutput struct{ *pulumi.OutputState } +type AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput struct{ *pulumi.OutputState } -func (CampaignRemediationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignRemediationSettings)(nil)).Elem() +func (AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics)(nil)).Elem() } -func (o CampaignRemediationSettingsOutput) ToCampaignRemediationSettingsOutput() CampaignRemediationSettingsOutput { +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput { return o } -func (o CampaignRemediationSettingsOutput) ToCampaignRemediationSettingsOutputWithContext(ctx context.Context) CampaignRemediationSettingsOutput { +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput { return o } -func (o CampaignRemediationSettingsOutput) ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput { - return o.ToCampaignRemediationSettingsPtrOutputWithContext(context.Background()) +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return o.ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(context.Background()) } -func (o CampaignRemediationSettingsOutput) ToCampaignRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignRemediationSettings) *CampaignRemediationSettings { +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics) *AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics { return &v - }).(CampaignRemediationSettingsPtrOutput) -} - -// Specifies the action by default if the reviewer approves access. NO_ACTION indicates there is no remediation action and the user retains access. -func (o CampaignRemediationSettingsOutput) AccessApproved() pulumi.StringOutput { - return o.ApplyT(func(v CampaignRemediationSettings) string { return v.AccessApproved }).(pulumi.StringOutput) + }).(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) } -// Specifies the action if the reviewer revokes access. NO_ACTION indicates the user retains the same access. DENY indicates the user will have their access revoked as long as they are not assigned to a group through Group Rules. -func (o CampaignRemediationSettingsOutput) AccessRevoked() pulumi.StringOutput { - return o.ApplyT(func(v CampaignRemediationSettings) string { return v.AccessRevoked }).(pulumi.StringOutput) +// Indicates whether the authenticator meets FIPS compliance requirements. +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) FipsCompliant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics) *bool { return v.FipsCompliant }).(pulumi.BoolPtrOutput) } -func (o CampaignRemediationSettingsOutput) AutoRemediationSettings() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { - return o.ApplyT(func(v CampaignRemediationSettings) *CampaignRemediationSettingsAutoRemediationSettings { - return v.AutoRemediationSettings - }).(CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) +// Indicates whether the authenticator stores the private key on a hardware component. +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) HardwareProtected() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics) *bool { + return v.HardwareProtected + }).(pulumi.BoolPtrOutput) } -// Specifies the action if the reviewer doesn't respond to the request or if the campaign is closed before an action is taken. -func (o CampaignRemediationSettingsOutput) NoResponse() pulumi.StringOutput { - return o.ApplyT(func(v CampaignRemediationSettings) string { return v.NoResponse }).(pulumi.StringOutput) +// Indicates whether the custom AAGUID is built into the authenticator or is external. +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) PlatformAttached() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics) *bool { return v.PlatformAttached }).(pulumi.BoolPtrOutput) } -type CampaignRemediationSettingsPtrOutput struct{ *pulumi.OutputState } +type AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput struct{ *pulumi.OutputState } -func (CampaignRemediationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignRemediationSettings)(nil)).Elem() +func (AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics)(nil)).Elem() } -func (o CampaignRemediationSettingsPtrOutput) ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput { +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { return o } -func (o CampaignRemediationSettingsPtrOutput) ToCampaignRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsPtrOutput { +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) ToAuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx context.Context) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput { return o } -func (o CampaignRemediationSettingsPtrOutput) Elem() CampaignRemediationSettingsOutput { - return o.ApplyT(func(v *CampaignRemediationSettings) CampaignRemediationSettings { +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) Elem() AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput { + return o.ApplyT(func(v *AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics) AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics { if v != nil { return *v } - var ret CampaignRemediationSettings + var ret AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics return ret - }).(CampaignRemediationSettingsOutput) -} - -// Specifies the action by default if the reviewer approves access. NO_ACTION indicates there is no remediation action and the user retains access. -func (o CampaignRemediationSettingsPtrOutput) AccessApproved() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignRemediationSettings) *string { - if v == nil { - return nil - } - return &v.AccessApproved - }).(pulumi.StringPtrOutput) + }).(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput) } -// Specifies the action if the reviewer revokes access. NO_ACTION indicates the user retains the same access. DENY indicates the user will have their access revoked as long as they are not assigned to a group through Group Rules. -func (o CampaignRemediationSettingsPtrOutput) AccessRevoked() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignRemediationSettings) *string { +// Indicates whether the authenticator meets FIPS compliance requirements. +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) FipsCompliant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics) *bool { if v == nil { return nil } - return &v.AccessRevoked - }).(pulumi.StringPtrOutput) + return v.FipsCompliant + }).(pulumi.BoolPtrOutput) } -func (o CampaignRemediationSettingsPtrOutput) AutoRemediationSettings() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { - return o.ApplyT(func(v *CampaignRemediationSettings) *CampaignRemediationSettingsAutoRemediationSettings { +// Indicates whether the authenticator stores the private key on a hardware component. +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) HardwareProtected() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics) *bool { if v == nil { return nil } - return v.AutoRemediationSettings - }).(CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) + return v.HardwareProtected + }).(pulumi.BoolPtrOutput) } -// Specifies the action if the reviewer doesn't respond to the request or if the campaign is closed before an action is taken. -func (o CampaignRemediationSettingsPtrOutput) NoResponse() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignRemediationSettings) *string { +// Indicates whether the custom AAGUID is built into the authenticator or is external. +func (o AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput) PlatformAttached() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics) *bool { if v == nil { return nil } - return &v.NoResponse - }).(pulumi.StringPtrOutput) + return v.PlatformAttached + }).(pulumi.BoolPtrOutput) } -type CampaignRemediationSettingsAutoRemediationSettings struct { - // If true, all indirect assignments will be included in the campaign. If false, only direct assignments will be included. - IncludeAllIndirectAssignments *bool `pulumi:"includeAllIndirectAssignments"` - IncludeOnlies []CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly `pulumi:"includeOnlies"` +type CampaignNotificationSettings struct { + // To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. + NotifyReviewPeriodEnd bool `pulumi:"notifyReviewPeriodEnd"` + // To indicate whether a notification should be sent to the reviewers when campaign has come to an end. + NotifyReviewerAtCampaignEnd bool `pulumi:"notifyReviewerAtCampaignEnd"` + // To indicate whether a notification should be sent to the reviewer during the midpoint of the review process. + NotifyReviewerDuringMidpointOfReview bool `pulumi:"notifyReviewerDuringMidpointOfReview"` + // To indicate whether a notification should be sent to the reviewer when the review is overdue. + NotifyReviewerWhenOverdue bool `pulumi:"notifyReviewerWhenOverdue"` + // To indicate whether a notification should be sent to the reviewer when actionable reviews are assigned. + NotifyReviewerWhenReviewAssigned bool `pulumi:"notifyReviewerWhenReviewAssigned"` + // Specifies times (in seconds) to send reminders to reviewers before the campaign closes. Max 3 values. Example: [86400, 172800, 604800] + RemindersReviewerBeforeCampaignCloseInSecs []int `pulumi:"remindersReviewerBeforeCampaignCloseInSecs"` } -// CampaignRemediationSettingsAutoRemediationSettingsInput is an input type that accepts CampaignRemediationSettingsAutoRemediationSettingsArgs and CampaignRemediationSettingsAutoRemediationSettingsOutput values. -// You can construct a concrete instance of `CampaignRemediationSettingsAutoRemediationSettingsInput` via: +// CampaignNotificationSettingsInput is an input type that accepts CampaignNotificationSettingsArgs and CampaignNotificationSettingsOutput values. +// You can construct a concrete instance of `CampaignNotificationSettingsInput` via: // -// CampaignRemediationSettingsAutoRemediationSettingsArgs{...} -type CampaignRemediationSettingsAutoRemediationSettingsInput interface { +// CampaignNotificationSettingsArgs{...} +type CampaignNotificationSettingsInput interface { pulumi.Input - ToCampaignRemediationSettingsAutoRemediationSettingsOutput() CampaignRemediationSettingsAutoRemediationSettingsOutput - ToCampaignRemediationSettingsAutoRemediationSettingsOutputWithContext(context.Context) CampaignRemediationSettingsAutoRemediationSettingsOutput + ToCampaignNotificationSettingsOutput() CampaignNotificationSettingsOutput + ToCampaignNotificationSettingsOutputWithContext(context.Context) CampaignNotificationSettingsOutput } -type CampaignRemediationSettingsAutoRemediationSettingsArgs struct { - // If true, all indirect assignments will be included in the campaign. If false, only direct assignments will be included. - IncludeAllIndirectAssignments pulumi.BoolPtrInput `pulumi:"includeAllIndirectAssignments"` - IncludeOnlies CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayInput `pulumi:"includeOnlies"` +type CampaignNotificationSettingsArgs struct { + // To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. + NotifyReviewPeriodEnd pulumi.BoolInput `pulumi:"notifyReviewPeriodEnd"` + // To indicate whether a notification should be sent to the reviewers when campaign has come to an end. + NotifyReviewerAtCampaignEnd pulumi.BoolInput `pulumi:"notifyReviewerAtCampaignEnd"` + // To indicate whether a notification should be sent to the reviewer during the midpoint of the review process. + NotifyReviewerDuringMidpointOfReview pulumi.BoolInput `pulumi:"notifyReviewerDuringMidpointOfReview"` + // To indicate whether a notification should be sent to the reviewer when the review is overdue. + NotifyReviewerWhenOverdue pulumi.BoolInput `pulumi:"notifyReviewerWhenOverdue"` + // To indicate whether a notification should be sent to the reviewer when actionable reviews are assigned. + NotifyReviewerWhenReviewAssigned pulumi.BoolInput `pulumi:"notifyReviewerWhenReviewAssigned"` + // Specifies times (in seconds) to send reminders to reviewers before the campaign closes. Max 3 values. Example: [86400, 172800, 604800] + RemindersReviewerBeforeCampaignCloseInSecs pulumi.IntArrayInput `pulumi:"remindersReviewerBeforeCampaignCloseInSecs"` } -func (CampaignRemediationSettingsAutoRemediationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignRemediationSettingsAutoRemediationSettings)(nil)).Elem() +func (CampaignNotificationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignNotificationSettings)(nil)).Elem() } -func (i CampaignRemediationSettingsAutoRemediationSettingsArgs) ToCampaignRemediationSettingsAutoRemediationSettingsOutput() CampaignRemediationSettingsAutoRemediationSettingsOutput { - return i.ToCampaignRemediationSettingsAutoRemediationSettingsOutputWithContext(context.Background()) +func (i CampaignNotificationSettingsArgs) ToCampaignNotificationSettingsOutput() CampaignNotificationSettingsOutput { + return i.ToCampaignNotificationSettingsOutputWithContext(context.Background()) } -func (i CampaignRemediationSettingsAutoRemediationSettingsArgs) ToCampaignRemediationSettingsAutoRemediationSettingsOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsOutput) +func (i CampaignNotificationSettingsArgs) ToCampaignNotificationSettingsOutputWithContext(ctx context.Context) CampaignNotificationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignNotificationSettingsOutput) } -func (i CampaignRemediationSettingsAutoRemediationSettingsArgs) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { - return i.ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(context.Background()) +func (i CampaignNotificationSettingsArgs) ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput { + return i.ToCampaignNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i CampaignRemediationSettingsAutoRemediationSettingsArgs) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsOutput).ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx) +func (i CampaignNotificationSettingsArgs) ToCampaignNotificationSettingsPtrOutputWithContext(ctx context.Context) CampaignNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignNotificationSettingsOutput).ToCampaignNotificationSettingsPtrOutputWithContext(ctx) } -// CampaignRemediationSettingsAutoRemediationSettingsPtrInput is an input type that accepts CampaignRemediationSettingsAutoRemediationSettingsArgs, CampaignRemediationSettingsAutoRemediationSettingsPtr and CampaignRemediationSettingsAutoRemediationSettingsPtrOutput values. -// You can construct a concrete instance of `CampaignRemediationSettingsAutoRemediationSettingsPtrInput` via: +// CampaignNotificationSettingsPtrInput is an input type that accepts CampaignNotificationSettingsArgs, CampaignNotificationSettingsPtr and CampaignNotificationSettingsPtrOutput values. +// You can construct a concrete instance of `CampaignNotificationSettingsPtrInput` via: // -// CampaignRemediationSettingsAutoRemediationSettingsArgs{...} +// CampaignNotificationSettingsArgs{...} // // or: // // nil -type CampaignRemediationSettingsAutoRemediationSettingsPtrInput interface { +type CampaignNotificationSettingsPtrInput interface { pulumi.Input - ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput - ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput + ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput + ToCampaignNotificationSettingsPtrOutputWithContext(context.Context) CampaignNotificationSettingsPtrOutput } -type campaignRemediationSettingsAutoRemediationSettingsPtrType CampaignRemediationSettingsAutoRemediationSettingsArgs +type campaignNotificationSettingsPtrType CampaignNotificationSettingsArgs -func CampaignRemediationSettingsAutoRemediationSettingsPtr(v *CampaignRemediationSettingsAutoRemediationSettingsArgs) CampaignRemediationSettingsAutoRemediationSettingsPtrInput { - return (*campaignRemediationSettingsAutoRemediationSettingsPtrType)(v) +func CampaignNotificationSettingsPtr(v *CampaignNotificationSettingsArgs) CampaignNotificationSettingsPtrInput { + return (*campaignNotificationSettingsPtrType)(v) } -func (*campaignRemediationSettingsAutoRemediationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignRemediationSettingsAutoRemediationSettings)(nil)).Elem() +func (*campaignNotificationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignNotificationSettings)(nil)).Elem() } -func (i *campaignRemediationSettingsAutoRemediationSettingsPtrType) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { - return i.ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(context.Background()) +func (i *campaignNotificationSettingsPtrType) ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput { + return i.ToCampaignNotificationSettingsPtrOutputWithContext(context.Background()) } -func (i *campaignRemediationSettingsAutoRemediationSettingsPtrType) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) +func (i *campaignNotificationSettingsPtrType) ToCampaignNotificationSettingsPtrOutputWithContext(ctx context.Context) CampaignNotificationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignNotificationSettingsPtrOutput) } -type CampaignRemediationSettingsAutoRemediationSettingsOutput struct{ *pulumi.OutputState } +type CampaignNotificationSettingsOutput struct{ *pulumi.OutputState } -func (CampaignRemediationSettingsAutoRemediationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignRemediationSettingsAutoRemediationSettings)(nil)).Elem() +func (CampaignNotificationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignNotificationSettings)(nil)).Elem() } -func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) ToCampaignRemediationSettingsAutoRemediationSettingsOutput() CampaignRemediationSettingsAutoRemediationSettingsOutput { +func (o CampaignNotificationSettingsOutput) ToCampaignNotificationSettingsOutput() CampaignNotificationSettingsOutput { return o } -func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) ToCampaignRemediationSettingsAutoRemediationSettingsOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsOutput { +func (o CampaignNotificationSettingsOutput) ToCampaignNotificationSettingsOutputWithContext(ctx context.Context) CampaignNotificationSettingsOutput { return o } -func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { - return o.ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(context.Background()) +func (o CampaignNotificationSettingsOutput) ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput { + return o.ToCampaignNotificationSettingsPtrOutputWithContext(context.Background()) } -func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignRemediationSettingsAutoRemediationSettings) *CampaignRemediationSettingsAutoRemediationSettings { +func (o CampaignNotificationSettingsOutput) ToCampaignNotificationSettingsPtrOutputWithContext(ctx context.Context) CampaignNotificationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignNotificationSettings) *CampaignNotificationSettings { return &v - }).(CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) -} - -// If true, all indirect assignments will be included in the campaign. If false, only direct assignments will be included. -func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) IncludeAllIndirectAssignments() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignRemediationSettingsAutoRemediationSettings) *bool { - return v.IncludeAllIndirectAssignments - }).(pulumi.BoolPtrOutput) + }).(CampaignNotificationSettingsPtrOutput) } -func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) IncludeOnlies() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { - return o.ApplyT(func(v CampaignRemediationSettingsAutoRemediationSettings) []CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly { - return v.IncludeOnlies - }).(CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) +// To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. +func (o CampaignNotificationSettingsOutput) NotifyReviewPeriodEnd() pulumi.BoolOutput { + return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewPeriodEnd }).(pulumi.BoolOutput) } -type CampaignRemediationSettingsAutoRemediationSettingsPtrOutput struct{ *pulumi.OutputState } +// To indicate whether a notification should be sent to the reviewers when campaign has come to an end. +func (o CampaignNotificationSettingsOutput) NotifyReviewerAtCampaignEnd() pulumi.BoolOutput { + return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewerAtCampaignEnd }).(pulumi.BoolOutput) +} -func (CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignRemediationSettingsAutoRemediationSettings)(nil)).Elem() +// To indicate whether a notification should be sent to the reviewer during the midpoint of the review process. +func (o CampaignNotificationSettingsOutput) NotifyReviewerDuringMidpointOfReview() pulumi.BoolOutput { + return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewerDuringMidpointOfReview }).(pulumi.BoolOutput) } -func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { +// To indicate whether a notification should be sent to the reviewer when the review is overdue. +func (o CampaignNotificationSettingsOutput) NotifyReviewerWhenOverdue() pulumi.BoolOutput { + return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewerWhenOverdue }).(pulumi.BoolOutput) +} + +// To indicate whether a notification should be sent to the reviewer when actionable reviews are assigned. +func (o CampaignNotificationSettingsOutput) NotifyReviewerWhenReviewAssigned() pulumi.BoolOutput { + return o.ApplyT(func(v CampaignNotificationSettings) bool { return v.NotifyReviewerWhenReviewAssigned }).(pulumi.BoolOutput) +} + +// Specifies times (in seconds) to send reminders to reviewers before the campaign closes. Max 3 values. Example: [86400, 172800, 604800] +func (o CampaignNotificationSettingsOutput) RemindersReviewerBeforeCampaignCloseInSecs() pulumi.IntArrayOutput { + return o.ApplyT(func(v CampaignNotificationSettings) []int { return v.RemindersReviewerBeforeCampaignCloseInSecs }).(pulumi.IntArrayOutput) +} + +type CampaignNotificationSettingsPtrOutput struct{ *pulumi.OutputState } + +func (CampaignNotificationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignNotificationSettings)(nil)).Elem() +} + +func (o CampaignNotificationSettingsPtrOutput) ToCampaignNotificationSettingsPtrOutput() CampaignNotificationSettingsPtrOutput { return o } -func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { +func (o CampaignNotificationSettingsPtrOutput) ToCampaignNotificationSettingsPtrOutputWithContext(ctx context.Context) CampaignNotificationSettingsPtrOutput { return o } -func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) Elem() CampaignRemediationSettingsAutoRemediationSettingsOutput { - return o.ApplyT(func(v *CampaignRemediationSettingsAutoRemediationSettings) CampaignRemediationSettingsAutoRemediationSettings { +func (o CampaignNotificationSettingsPtrOutput) Elem() CampaignNotificationSettingsOutput { + return o.ApplyT(func(v *CampaignNotificationSettings) CampaignNotificationSettings { if v != nil { return *v } - var ret CampaignRemediationSettingsAutoRemediationSettings + var ret CampaignNotificationSettings return ret - }).(CampaignRemediationSettingsAutoRemediationSettingsOutput) + }).(CampaignNotificationSettingsOutput) } -// If true, all indirect assignments will be included in the campaign. If false, only direct assignments will be included. -func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) IncludeAllIndirectAssignments() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignRemediationSettingsAutoRemediationSettings) *bool { +// To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. +func (o CampaignNotificationSettingsPtrOutput) NotifyReviewPeriodEnd() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignNotificationSettings) *bool { if v == nil { return nil } - return v.IncludeAllIndirectAssignments + return &v.NotifyReviewPeriodEnd }).(pulumi.BoolPtrOutput) } -func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) IncludeOnlies() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { - return o.ApplyT(func(v *CampaignRemediationSettingsAutoRemediationSettings) []CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly { +// To indicate whether a notification should be sent to the reviewers when campaign has come to an end. +func (o CampaignNotificationSettingsPtrOutput) NotifyReviewerAtCampaignEnd() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignNotificationSettings) *bool { if v == nil { return nil } - return v.IncludeOnlies - }).(CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) + return &v.NotifyReviewerAtCampaignEnd + }).(pulumi.BoolPtrOutput) } -type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly struct { - // The ID of the resource to include in the campaign. - ResourceId *string `pulumi:"resourceId"` - // The type of the resource to include in the campaign. Valid values are 'APPLICATION', 'GROUP', 'ENTITLEMENT', 'ENTITLEMENT_BUNDLE'. - ResourceType *string `pulumi:"resourceType"` +// To indicate whether a notification should be sent to the reviewer during the midpoint of the review process. +func (o CampaignNotificationSettingsPtrOutput) NotifyReviewerDuringMidpointOfReview() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignNotificationSettings) *bool { + if v == nil { + return nil + } + return &v.NotifyReviewerDuringMidpointOfReview + }).(pulumi.BoolPtrOutput) } -// CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyInput is an input type that accepts CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs and CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput values. -// You can construct a concrete instance of `CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyInput` via: +// To indicate whether a notification should be sent to the reviewer when the review is overdue. +func (o CampaignNotificationSettingsPtrOutput) NotifyReviewerWhenOverdue() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignNotificationSettings) *bool { + if v == nil { + return nil + } + return &v.NotifyReviewerWhenOverdue + }).(pulumi.BoolPtrOutput) +} + +// To indicate whether a notification should be sent to the reviewer when actionable reviews are assigned. +func (o CampaignNotificationSettingsPtrOutput) NotifyReviewerWhenReviewAssigned() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignNotificationSettings) *bool { + if v == nil { + return nil + } + return &v.NotifyReviewerWhenReviewAssigned + }).(pulumi.BoolPtrOutput) +} + +// Specifies times (in seconds) to send reminders to reviewers before the campaign closes. Max 3 values. Example: [86400, 172800, 604800] +func (o CampaignNotificationSettingsPtrOutput) RemindersReviewerBeforeCampaignCloseInSecs() pulumi.IntArrayOutput { + return o.ApplyT(func(v *CampaignNotificationSettings) []int { + if v == nil { + return nil + } + return v.RemindersReviewerBeforeCampaignCloseInSecs + }).(pulumi.IntArrayOutput) +} + +type CampaignPrincipalScopeSettings struct { + // An array of Okta user IDs excluded from access certification or the campaign. This field is optional. A maximum of 50 users can be specified in the array. + ExcludedUserIds []string `pulumi:"excludedUserIds"` + // An array of Okta group IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 5 groups can be specified in the array. + GroupIds []string `pulumi:"groupIds"` + // If set to true, only active Okta users are included in the campaign. + IncludeOnlyActiveUsers *bool `pulumi:"includeOnlyActiveUsers"` + // If set to true, only includes users that have at least one SOD conflict that was caused due to entitlement(s) within Campaign scope. + OnlyIncludeUsersWithSodConflicts *bool `pulumi:"onlyIncludeUsersWithSodConflicts"` + PredefinedInactiveUsersScopes []CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope `pulumi:"predefinedInactiveUsersScopes"` + // Specifies the type for principal_scope_settings. + Type string `pulumi:"type"` + // An array of Okta user IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 100 users can be specified in the array. + UserIds []string `pulumi:"userIds"` + // The Okta expression language user expression on the resourceSettings to include users in the campaign. + UserScopeExpression *string `pulumi:"userScopeExpression"` +} + +// CampaignPrincipalScopeSettingsInput is an input type that accepts CampaignPrincipalScopeSettingsArgs and CampaignPrincipalScopeSettingsOutput values. +// You can construct a concrete instance of `CampaignPrincipalScopeSettingsInput` via: // -// CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs{...} -type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyInput interface { +// CampaignPrincipalScopeSettingsArgs{...} +type CampaignPrincipalScopeSettingsInput interface { pulumi.Input - ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput - ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutputWithContext(context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput + ToCampaignPrincipalScopeSettingsOutput() CampaignPrincipalScopeSettingsOutput + ToCampaignPrincipalScopeSettingsOutputWithContext(context.Context) CampaignPrincipalScopeSettingsOutput } -type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs struct { - // The ID of the resource to include in the campaign. - ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` - // The type of the resource to include in the campaign. Valid values are 'APPLICATION', 'GROUP', 'ENTITLEMENT', 'ENTITLEMENT_BUNDLE'. - ResourceType pulumi.StringPtrInput `pulumi:"resourceType"` +type CampaignPrincipalScopeSettingsArgs struct { + // An array of Okta user IDs excluded from access certification or the campaign. This field is optional. A maximum of 50 users can be specified in the array. + ExcludedUserIds pulumi.StringArrayInput `pulumi:"excludedUserIds"` + // An array of Okta group IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 5 groups can be specified in the array. + GroupIds pulumi.StringArrayInput `pulumi:"groupIds"` + // If set to true, only active Okta users are included in the campaign. + IncludeOnlyActiveUsers pulumi.BoolPtrInput `pulumi:"includeOnlyActiveUsers"` + // If set to true, only includes users that have at least one SOD conflict that was caused due to entitlement(s) within Campaign scope. + OnlyIncludeUsersWithSodConflicts pulumi.BoolPtrInput `pulumi:"onlyIncludeUsersWithSodConflicts"` + PredefinedInactiveUsersScopes CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayInput `pulumi:"predefinedInactiveUsersScopes"` + // Specifies the type for principal_scope_settings. + Type pulumi.StringInput `pulumi:"type"` + // An array of Okta user IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 100 users can be specified in the array. + UserIds pulumi.StringArrayInput `pulumi:"userIds"` + // The Okta expression language user expression on the resourceSettings to include users in the campaign. + UserScopeExpression pulumi.StringPtrInput `pulumi:"userScopeExpression"` } -func (CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly)(nil)).Elem() +func (CampaignPrincipalScopeSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignPrincipalScopeSettings)(nil)).Elem() } -func (i CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { - return i.ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutputWithContext(context.Background()) +func (i CampaignPrincipalScopeSettingsArgs) ToCampaignPrincipalScopeSettingsOutput() CampaignPrincipalScopeSettingsOutput { + return i.ToCampaignPrincipalScopeSettingsOutputWithContext(context.Background()) } -func (i CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) +func (i CampaignPrincipalScopeSettingsArgs) ToCampaignPrincipalScopeSettingsOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsOutput) } -// CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayInput is an input type that accepts CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray and CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput values. -// You can construct a concrete instance of `CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayInput` via: +func (i CampaignPrincipalScopeSettingsArgs) ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput { + return i.ToCampaignPrincipalScopeSettingsPtrOutputWithContext(context.Background()) +} + +func (i CampaignPrincipalScopeSettingsArgs) ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsOutput).ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx) +} + +// CampaignPrincipalScopeSettingsPtrInput is an input type that accepts CampaignPrincipalScopeSettingsArgs, CampaignPrincipalScopeSettingsPtr and CampaignPrincipalScopeSettingsPtrOutput values. +// You can construct a concrete instance of `CampaignPrincipalScopeSettingsPtrInput` via: // -// CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray{ CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs{...} } -type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayInput interface { +// CampaignPrincipalScopeSettingsArgs{...} +// +// or: +// +// nil +type CampaignPrincipalScopeSettingsPtrInput interface { pulumi.Input - ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput - ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutputWithContext(context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput + ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput + ToCampaignPrincipalScopeSettingsPtrOutputWithContext(context.Context) CampaignPrincipalScopeSettingsPtrOutput } -type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray []CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyInput +type campaignPrincipalScopeSettingsPtrType CampaignPrincipalScopeSettingsArgs -func (CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly)(nil)).Elem() +func CampaignPrincipalScopeSettingsPtr(v *CampaignPrincipalScopeSettingsArgs) CampaignPrincipalScopeSettingsPtrInput { + return (*campaignPrincipalScopeSettingsPtrType)(v) } -func (i CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { - return i.ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutputWithContext(context.Background()) +func (*campaignPrincipalScopeSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignPrincipalScopeSettings)(nil)).Elem() } -func (i CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) +func (i *campaignPrincipalScopeSettingsPtrType) ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput { + return i.ToCampaignPrincipalScopeSettingsPtrOutputWithContext(context.Background()) } -type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput struct{ *pulumi.OutputState } +func (i *campaignPrincipalScopeSettingsPtrType) ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsPtrOutput) +} -func (CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly)(nil)).Elem() +type CampaignPrincipalScopeSettingsOutput struct{ *pulumi.OutputState } + +func (CampaignPrincipalScopeSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignPrincipalScopeSettings)(nil)).Elem() } -func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { +func (o CampaignPrincipalScopeSettingsOutput) ToCampaignPrincipalScopeSettingsOutput() CampaignPrincipalScopeSettingsOutput { return o } -func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { +func (o CampaignPrincipalScopeSettingsOutput) ToCampaignPrincipalScopeSettingsOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsOutput { return o } -// The ID of the resource to include in the campaign. -func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly) *string { return v.ResourceId }).(pulumi.StringPtrOutput) +func (o CampaignPrincipalScopeSettingsOutput) ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput { + return o.ToCampaignPrincipalScopeSettingsPtrOutputWithContext(context.Background()) } -// The type of the resource to include in the campaign. Valid values are 'APPLICATION', 'GROUP', 'ENTITLEMENT', 'ENTITLEMENT_BUNDLE'. -func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ResourceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly) *string { return v.ResourceType }).(pulumi.StringPtrOutput) +func (o CampaignPrincipalScopeSettingsOutput) ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignPrincipalScopeSettings) *CampaignPrincipalScopeSettings { + return &v + }).(CampaignPrincipalScopeSettingsPtrOutput) } -type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput struct{ *pulumi.OutputState } - -func (CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly)(nil)).Elem() +// An array of Okta user IDs excluded from access certification or the campaign. This field is optional. A maximum of 50 users can be specified in the array. +func (o CampaignPrincipalScopeSettingsOutput) ExcludedUserIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v CampaignPrincipalScopeSettings) []string { return v.ExcludedUserIds }).(pulumi.StringArrayOutput) } -func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { - return o +// An array of Okta group IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 5 groups can be specified in the array. +func (o CampaignPrincipalScopeSettingsOutput) GroupIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v CampaignPrincipalScopeSettings) []string { return v.GroupIds }).(pulumi.StringArrayOutput) } -func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { - return o +// If set to true, only active Okta users are included in the campaign. +func (o CampaignPrincipalScopeSettingsOutput) IncludeOnlyActiveUsers() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignPrincipalScopeSettings) *bool { return v.IncludeOnlyActiveUsers }).(pulumi.BoolPtrOutput) } -func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) Index(i pulumi.IntInput) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly { +// If set to true, only includes users that have at least one SOD conflict that was caused due to entitlement(s) within Campaign scope. +func (o CampaignPrincipalScopeSettingsOutput) OnlyIncludeUsersWithSodConflicts() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignPrincipalScopeSettings) *bool { return v.OnlyIncludeUsersWithSodConflicts }).(pulumi.BoolPtrOutput) +} + +func (o CampaignPrincipalScopeSettingsOutput) PredefinedInactiveUsersScopes() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { + return o.ApplyT(func(v CampaignPrincipalScopeSettings) []CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope { + return v.PredefinedInactiveUsersScopes + }).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) +} + +// Specifies the type for principal_scope_settings. +func (o CampaignPrincipalScopeSettingsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v CampaignPrincipalScopeSettings) string { return v.Type }).(pulumi.StringOutput) +} + +// An array of Okta user IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 100 users can be specified in the array. +func (o CampaignPrincipalScopeSettingsOutput) UserIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v CampaignPrincipalScopeSettings) []string { return v.UserIds }).(pulumi.StringArrayOutput) +} + +// The Okta expression language user expression on the resourceSettings to include users in the campaign. +func (o CampaignPrincipalScopeSettingsOutput) UserScopeExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignPrincipalScopeSettings) *string { return v.UserScopeExpression }).(pulumi.StringPtrOutput) +} + +type CampaignPrincipalScopeSettingsPtrOutput struct{ *pulumi.OutputState } + +func (CampaignPrincipalScopeSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignPrincipalScopeSettings)(nil)).Elem() +} + +func (o CampaignPrincipalScopeSettingsPtrOutput) ToCampaignPrincipalScopeSettingsPtrOutput() CampaignPrincipalScopeSettingsPtrOutput { + return o +} + +func (o CampaignPrincipalScopeSettingsPtrOutput) ToCampaignPrincipalScopeSettingsPtrOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPtrOutput { + return o +} + +func (o CampaignPrincipalScopeSettingsPtrOutput) Elem() CampaignPrincipalScopeSettingsOutput { + return o.ApplyT(func(v *CampaignPrincipalScopeSettings) CampaignPrincipalScopeSettings { + if v != nil { + return *v + } + var ret CampaignPrincipalScopeSettings + return ret + }).(CampaignPrincipalScopeSettingsOutput) +} + +// An array of Okta user IDs excluded from access certification or the campaign. This field is optional. A maximum of 50 users can be specified in the array. +func (o CampaignPrincipalScopeSettingsPtrOutput) ExcludedUserIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CampaignPrincipalScopeSettings) []string { + if v == nil { + return nil + } + return v.ExcludedUserIds + }).(pulumi.StringArrayOutput) +} + +// An array of Okta group IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 5 groups can be specified in the array. +func (o CampaignPrincipalScopeSettingsPtrOutput) GroupIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CampaignPrincipalScopeSettings) []string { + if v == nil { + return nil + } + return v.GroupIds + }).(pulumi.StringArrayOutput) +} + +// If set to true, only active Okta users are included in the campaign. +func (o CampaignPrincipalScopeSettingsPtrOutput) IncludeOnlyActiveUsers() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignPrincipalScopeSettings) *bool { + if v == nil { + return nil + } + return v.IncludeOnlyActiveUsers + }).(pulumi.BoolPtrOutput) +} + +// If set to true, only includes users that have at least one SOD conflict that was caused due to entitlement(s) within Campaign scope. +func (o CampaignPrincipalScopeSettingsPtrOutput) OnlyIncludeUsersWithSodConflicts() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignPrincipalScopeSettings) *bool { + if v == nil { + return nil + } + return v.OnlyIncludeUsersWithSodConflicts + }).(pulumi.BoolPtrOutput) +} + +func (o CampaignPrincipalScopeSettingsPtrOutput) PredefinedInactiveUsersScopes() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { + return o.ApplyT(func(v *CampaignPrincipalScopeSettings) []CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope { + if v == nil { + return nil + } + return v.PredefinedInactiveUsersScopes + }).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) +} + +// Specifies the type for principal_scope_settings. +func (o CampaignPrincipalScopeSettingsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignPrincipalScopeSettings) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +// An array of Okta user IDs included from access certification or the campaign. userIds, groupIds or userScopeExpression is required if campaign type is USER. A maximum of 100 users can be specified in the array. +func (o CampaignPrincipalScopeSettingsPtrOutput) UserIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CampaignPrincipalScopeSettings) []string { + if v == nil { + return nil + } + return v.UserIds + }).(pulumi.StringArrayOutput) +} + +// The Okta expression language user expression on the resourceSettings to include users in the campaign. +func (o CampaignPrincipalScopeSettingsPtrOutput) UserScopeExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignPrincipalScopeSettings) *string { + if v == nil { + return nil + } + return v.UserScopeExpression + }).(pulumi.StringPtrOutput) +} + +type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope struct { + // The duration the users have not used single sign on (SSO) to access their account within the specific time frame. Minimum 30 days and maximum 365 days are supported. + InactiveDays *int `pulumi:"inactiveDays"` +} + +// CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeInput is an input type that accepts CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs and CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput values. +// You can construct a concrete instance of `CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeInput` via: +// +// CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs{...} +type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeInput interface { + pulumi.Input + + ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput + ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutputWithContext(context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput +} + +type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs struct { + // The duration the users have not used single sign on (SSO) to access their account within the specific time frame. Minimum 30 days and maximum 365 days are supported. + InactiveDays pulumi.IntPtrInput `pulumi:"inactiveDays"` +} + +func (CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)(nil)).Elem() +} + +func (i CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { + return i.ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutputWithContext(context.Background()) +} + +func (i CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) +} + +// CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayInput is an input type that accepts CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray and CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput values. +// You can construct a concrete instance of `CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayInput` via: +// +// CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray{ CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArgs{...} } +type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayInput interface { + pulumi.Input + + ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput + ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutputWithContext(context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput +} + +type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray []CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeInput + +func (CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)(nil)).Elem() +} + +func (i CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { + return i.ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutputWithContext(context.Background()) +} + +func (i CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArray) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) +} + +type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput struct{ *pulumi.OutputState } + +func (CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)(nil)).Elem() +} + +func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { + return o +} + +func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { + return o +} + +// The duration the users have not used single sign on (SSO) to access their account within the specific time frame. Minimum 30 days and maximum 365 days are supported. +func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) InactiveDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope) *int { return v.InactiveDays }).(pulumi.IntPtrOutput) +} + +type CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput struct{ *pulumi.OutputState } + +func (CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)(nil)).Elem() +} + +func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput() CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { + return o +} + +func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) ToCampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutputWithContext(ctx context.Context) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput { + return o +} + +func (o CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeArrayOutput) Index(i pulumi.IntInput) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope { + return vs[0].([]CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope)[vs[1].(int)] + }).(CampaignPrincipalScopeSettingsPredefinedInactiveUsersScopeOutput) +} + +type CampaignRemediationSettings struct { + // Specifies the action by default if the reviewer approves access. NO_ACTION indicates there is no remediation action and the user retains access. + AccessApproved string `pulumi:"accessApproved"` + // Specifies the action if the reviewer revokes access. NO_ACTION indicates the user retains the same access. DENY indicates the user will have their access revoked as long as they are not assigned to a group through Group Rules. + AccessRevoked string `pulumi:"accessRevoked"` + AutoRemediationSettings *CampaignRemediationSettingsAutoRemediationSettings `pulumi:"autoRemediationSettings"` + // Specifies the action if the reviewer doesn't respond to the request or if the campaign is closed before an action is taken. + NoResponse string `pulumi:"noResponse"` +} + +// CampaignRemediationSettingsInput is an input type that accepts CampaignRemediationSettingsArgs and CampaignRemediationSettingsOutput values. +// You can construct a concrete instance of `CampaignRemediationSettingsInput` via: +// +// CampaignRemediationSettingsArgs{...} +type CampaignRemediationSettingsInput interface { + pulumi.Input + + ToCampaignRemediationSettingsOutput() CampaignRemediationSettingsOutput + ToCampaignRemediationSettingsOutputWithContext(context.Context) CampaignRemediationSettingsOutput +} + +type CampaignRemediationSettingsArgs struct { + // Specifies the action by default if the reviewer approves access. NO_ACTION indicates there is no remediation action and the user retains access. + AccessApproved pulumi.StringInput `pulumi:"accessApproved"` + // Specifies the action if the reviewer revokes access. NO_ACTION indicates the user retains the same access. DENY indicates the user will have their access revoked as long as they are not assigned to a group through Group Rules. + AccessRevoked pulumi.StringInput `pulumi:"accessRevoked"` + AutoRemediationSettings CampaignRemediationSettingsAutoRemediationSettingsPtrInput `pulumi:"autoRemediationSettings"` + // Specifies the action if the reviewer doesn't respond to the request or if the campaign is closed before an action is taken. + NoResponse pulumi.StringInput `pulumi:"noResponse"` +} + +func (CampaignRemediationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignRemediationSettings)(nil)).Elem() +} + +func (i CampaignRemediationSettingsArgs) ToCampaignRemediationSettingsOutput() CampaignRemediationSettingsOutput { + return i.ToCampaignRemediationSettingsOutputWithContext(context.Background()) +} + +func (i CampaignRemediationSettingsArgs) ToCampaignRemediationSettingsOutputWithContext(ctx context.Context) CampaignRemediationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsOutput) +} + +func (i CampaignRemediationSettingsArgs) ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput { + return i.ToCampaignRemediationSettingsPtrOutputWithContext(context.Background()) +} + +func (i CampaignRemediationSettingsArgs) ToCampaignRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsOutput).ToCampaignRemediationSettingsPtrOutputWithContext(ctx) +} + +// CampaignRemediationSettingsPtrInput is an input type that accepts CampaignRemediationSettingsArgs, CampaignRemediationSettingsPtr and CampaignRemediationSettingsPtrOutput values. +// You can construct a concrete instance of `CampaignRemediationSettingsPtrInput` via: +// +// CampaignRemediationSettingsArgs{...} +// +// or: +// +// nil +type CampaignRemediationSettingsPtrInput interface { + pulumi.Input + + ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput + ToCampaignRemediationSettingsPtrOutputWithContext(context.Context) CampaignRemediationSettingsPtrOutput +} + +type campaignRemediationSettingsPtrType CampaignRemediationSettingsArgs + +func CampaignRemediationSettingsPtr(v *CampaignRemediationSettingsArgs) CampaignRemediationSettingsPtrInput { + return (*campaignRemediationSettingsPtrType)(v) +} + +func (*campaignRemediationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignRemediationSettings)(nil)).Elem() +} + +func (i *campaignRemediationSettingsPtrType) ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput { + return i.ToCampaignRemediationSettingsPtrOutputWithContext(context.Background()) +} + +func (i *campaignRemediationSettingsPtrType) ToCampaignRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsPtrOutput) +} + +type CampaignRemediationSettingsOutput struct{ *pulumi.OutputState } + +func (CampaignRemediationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignRemediationSettings)(nil)).Elem() +} + +func (o CampaignRemediationSettingsOutput) ToCampaignRemediationSettingsOutput() CampaignRemediationSettingsOutput { + return o +} + +func (o CampaignRemediationSettingsOutput) ToCampaignRemediationSettingsOutputWithContext(ctx context.Context) CampaignRemediationSettingsOutput { + return o +} + +func (o CampaignRemediationSettingsOutput) ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput { + return o.ToCampaignRemediationSettingsPtrOutputWithContext(context.Background()) +} + +func (o CampaignRemediationSettingsOutput) ToCampaignRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignRemediationSettings) *CampaignRemediationSettings { + return &v + }).(CampaignRemediationSettingsPtrOutput) +} + +// Specifies the action by default if the reviewer approves access. NO_ACTION indicates there is no remediation action and the user retains access. +func (o CampaignRemediationSettingsOutput) AccessApproved() pulumi.StringOutput { + return o.ApplyT(func(v CampaignRemediationSettings) string { return v.AccessApproved }).(pulumi.StringOutput) +} + +// Specifies the action if the reviewer revokes access. NO_ACTION indicates the user retains the same access. DENY indicates the user will have their access revoked as long as they are not assigned to a group through Group Rules. +func (o CampaignRemediationSettingsOutput) AccessRevoked() pulumi.StringOutput { + return o.ApplyT(func(v CampaignRemediationSettings) string { return v.AccessRevoked }).(pulumi.StringOutput) +} + +func (o CampaignRemediationSettingsOutput) AutoRemediationSettings() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return o.ApplyT(func(v CampaignRemediationSettings) *CampaignRemediationSettingsAutoRemediationSettings { + return v.AutoRemediationSettings + }).(CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) +} + +// Specifies the action if the reviewer doesn't respond to the request or if the campaign is closed before an action is taken. +func (o CampaignRemediationSettingsOutput) NoResponse() pulumi.StringOutput { + return o.ApplyT(func(v CampaignRemediationSettings) string { return v.NoResponse }).(pulumi.StringOutput) +} + +type CampaignRemediationSettingsPtrOutput struct{ *pulumi.OutputState } + +func (CampaignRemediationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignRemediationSettings)(nil)).Elem() +} + +func (o CampaignRemediationSettingsPtrOutput) ToCampaignRemediationSettingsPtrOutput() CampaignRemediationSettingsPtrOutput { + return o +} + +func (o CampaignRemediationSettingsPtrOutput) ToCampaignRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsPtrOutput { + return o +} + +func (o CampaignRemediationSettingsPtrOutput) Elem() CampaignRemediationSettingsOutput { + return o.ApplyT(func(v *CampaignRemediationSettings) CampaignRemediationSettings { + if v != nil { + return *v + } + var ret CampaignRemediationSettings + return ret + }).(CampaignRemediationSettingsOutput) +} + +// Specifies the action by default if the reviewer approves access. NO_ACTION indicates there is no remediation action and the user retains access. +func (o CampaignRemediationSettingsPtrOutput) AccessApproved() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignRemediationSettings) *string { + if v == nil { + return nil + } + return &v.AccessApproved + }).(pulumi.StringPtrOutput) +} + +// Specifies the action if the reviewer revokes access. NO_ACTION indicates the user retains the same access. DENY indicates the user will have their access revoked as long as they are not assigned to a group through Group Rules. +func (o CampaignRemediationSettingsPtrOutput) AccessRevoked() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignRemediationSettings) *string { + if v == nil { + return nil + } + return &v.AccessRevoked + }).(pulumi.StringPtrOutput) +} + +func (o CampaignRemediationSettingsPtrOutput) AutoRemediationSettings() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return o.ApplyT(func(v *CampaignRemediationSettings) *CampaignRemediationSettingsAutoRemediationSettings { + if v == nil { + return nil + } + return v.AutoRemediationSettings + }).(CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) +} + +// Specifies the action if the reviewer doesn't respond to the request or if the campaign is closed before an action is taken. +func (o CampaignRemediationSettingsPtrOutput) NoResponse() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignRemediationSettings) *string { + if v == nil { + return nil + } + return &v.NoResponse + }).(pulumi.StringPtrOutput) +} + +type CampaignRemediationSettingsAutoRemediationSettings struct { + // If true, all indirect assignments will be included in the campaign. If false, only direct assignments will be included. + IncludeAllIndirectAssignments *bool `pulumi:"includeAllIndirectAssignments"` + IncludeOnlies []CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly `pulumi:"includeOnlies"` +} + +// CampaignRemediationSettingsAutoRemediationSettingsInput is an input type that accepts CampaignRemediationSettingsAutoRemediationSettingsArgs and CampaignRemediationSettingsAutoRemediationSettingsOutput values. +// You can construct a concrete instance of `CampaignRemediationSettingsAutoRemediationSettingsInput` via: +// +// CampaignRemediationSettingsAutoRemediationSettingsArgs{...} +type CampaignRemediationSettingsAutoRemediationSettingsInput interface { + pulumi.Input + + ToCampaignRemediationSettingsAutoRemediationSettingsOutput() CampaignRemediationSettingsAutoRemediationSettingsOutput + ToCampaignRemediationSettingsAutoRemediationSettingsOutputWithContext(context.Context) CampaignRemediationSettingsAutoRemediationSettingsOutput +} + +type CampaignRemediationSettingsAutoRemediationSettingsArgs struct { + // If true, all indirect assignments will be included in the campaign. If false, only direct assignments will be included. + IncludeAllIndirectAssignments pulumi.BoolPtrInput `pulumi:"includeAllIndirectAssignments"` + IncludeOnlies CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayInput `pulumi:"includeOnlies"` +} + +func (CampaignRemediationSettingsAutoRemediationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignRemediationSettingsAutoRemediationSettings)(nil)).Elem() +} + +func (i CampaignRemediationSettingsAutoRemediationSettingsArgs) ToCampaignRemediationSettingsAutoRemediationSettingsOutput() CampaignRemediationSettingsAutoRemediationSettingsOutput { + return i.ToCampaignRemediationSettingsAutoRemediationSettingsOutputWithContext(context.Background()) +} + +func (i CampaignRemediationSettingsAutoRemediationSettingsArgs) ToCampaignRemediationSettingsAutoRemediationSettingsOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsOutput) +} + +func (i CampaignRemediationSettingsAutoRemediationSettingsArgs) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return i.ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(context.Background()) +} + +func (i CampaignRemediationSettingsAutoRemediationSettingsArgs) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsOutput).ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx) +} + +// CampaignRemediationSettingsAutoRemediationSettingsPtrInput is an input type that accepts CampaignRemediationSettingsAutoRemediationSettingsArgs, CampaignRemediationSettingsAutoRemediationSettingsPtr and CampaignRemediationSettingsAutoRemediationSettingsPtrOutput values. +// You can construct a concrete instance of `CampaignRemediationSettingsAutoRemediationSettingsPtrInput` via: +// +// CampaignRemediationSettingsAutoRemediationSettingsArgs{...} +// +// or: +// +// nil +type CampaignRemediationSettingsAutoRemediationSettingsPtrInput interface { + pulumi.Input + + ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput + ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput +} + +type campaignRemediationSettingsAutoRemediationSettingsPtrType CampaignRemediationSettingsAutoRemediationSettingsArgs + +func CampaignRemediationSettingsAutoRemediationSettingsPtr(v *CampaignRemediationSettingsAutoRemediationSettingsArgs) CampaignRemediationSettingsAutoRemediationSettingsPtrInput { + return (*campaignRemediationSettingsAutoRemediationSettingsPtrType)(v) +} + +func (*campaignRemediationSettingsAutoRemediationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignRemediationSettingsAutoRemediationSettings)(nil)).Elem() +} + +func (i *campaignRemediationSettingsAutoRemediationSettingsPtrType) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return i.ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(context.Background()) +} + +func (i *campaignRemediationSettingsAutoRemediationSettingsPtrType) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) +} + +type CampaignRemediationSettingsAutoRemediationSettingsOutput struct{ *pulumi.OutputState } + +func (CampaignRemediationSettingsAutoRemediationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignRemediationSettingsAutoRemediationSettings)(nil)).Elem() +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) ToCampaignRemediationSettingsAutoRemediationSettingsOutput() CampaignRemediationSettingsAutoRemediationSettingsOutput { + return o +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) ToCampaignRemediationSettingsAutoRemediationSettingsOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsOutput { + return o +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return o.ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(context.Background()) +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignRemediationSettingsAutoRemediationSettings) *CampaignRemediationSettingsAutoRemediationSettings { + return &v + }).(CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) +} + +// If true, all indirect assignments will be included in the campaign. If false, only direct assignments will be included. +func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) IncludeAllIndirectAssignments() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignRemediationSettingsAutoRemediationSettings) *bool { + return v.IncludeAllIndirectAssignments + }).(pulumi.BoolPtrOutput) +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsOutput) IncludeOnlies() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { + return o.ApplyT(func(v CampaignRemediationSettingsAutoRemediationSettings) []CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly { + return v.IncludeOnlies + }).(CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) +} + +type CampaignRemediationSettingsAutoRemediationSettingsPtrOutput struct{ *pulumi.OutputState } + +func (CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignRemediationSettingsAutoRemediationSettings)(nil)).Elem() +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutput() CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return o +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) ToCampaignRemediationSettingsAutoRemediationSettingsPtrOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsPtrOutput { + return o +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) Elem() CampaignRemediationSettingsAutoRemediationSettingsOutput { + return o.ApplyT(func(v *CampaignRemediationSettingsAutoRemediationSettings) CampaignRemediationSettingsAutoRemediationSettings { + if v != nil { + return *v + } + var ret CampaignRemediationSettingsAutoRemediationSettings + return ret + }).(CampaignRemediationSettingsAutoRemediationSettingsOutput) +} + +// If true, all indirect assignments will be included in the campaign. If false, only direct assignments will be included. +func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) IncludeAllIndirectAssignments() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignRemediationSettingsAutoRemediationSettings) *bool { + if v == nil { + return nil + } + return v.IncludeAllIndirectAssignments + }).(pulumi.BoolPtrOutput) +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsPtrOutput) IncludeOnlies() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { + return o.ApplyT(func(v *CampaignRemediationSettingsAutoRemediationSettings) []CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly { + if v == nil { + return nil + } + return v.IncludeOnlies + }).(CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) +} + +type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly struct { + // The ID of the resource to include in the campaign. + ResourceId *string `pulumi:"resourceId"` + // The type of the resource to include in the campaign. Valid values are 'APPLICATION', 'GROUP', 'ENTITLEMENT', 'ENTITLEMENT_BUNDLE'. + ResourceType *string `pulumi:"resourceType"` +} + +// CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyInput is an input type that accepts CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs and CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput values. +// You can construct a concrete instance of `CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyInput` via: +// +// CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs{...} +type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyInput interface { + pulumi.Input + + ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput + ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutputWithContext(context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput +} + +type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs struct { + // The ID of the resource to include in the campaign. + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + // The type of the resource to include in the campaign. Valid values are 'APPLICATION', 'GROUP', 'ENTITLEMENT', 'ENTITLEMENT_BUNDLE'. + ResourceType pulumi.StringPtrInput `pulumi:"resourceType"` +} + +func (CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly)(nil)).Elem() +} + +func (i CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { + return i.ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutputWithContext(context.Background()) +} + +func (i CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) +} + +// CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayInput is an input type that accepts CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray and CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput values. +// You can construct a concrete instance of `CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayInput` via: +// +// CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray{ CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArgs{...} } +type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayInput interface { + pulumi.Input + + ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput + ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutputWithContext(context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput +} + +type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray []CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyInput + +func (CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly)(nil)).Elem() +} + +func (i CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { + return i.ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutputWithContext(context.Background()) +} + +func (i CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArray) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) +} + +type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput struct{ *pulumi.OutputState } + +func (CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly)(nil)).Elem() +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { + return o +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { + return o +} + +// The ID of the resource to include in the campaign. +func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly) *string { return v.ResourceId }).(pulumi.StringPtrOutput) +} + +// The type of the resource to include in the campaign. Valid values are 'APPLICATION', 'GROUP', 'ENTITLEMENT', 'ENTITLEMENT_BUNDLE'. +func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) ResourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly) *string { return v.ResourceType }).(pulumi.StringPtrOutput) +} + +type CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput struct{ *pulumi.OutputState } + +func (CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly)(nil)).Elem() +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput() CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { + return o +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) ToCampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutputWithContext(ctx context.Context) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput { + return o +} + +func (o CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyArrayOutput) Index(i pulumi.IntInput) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly { return vs[0].([]CampaignRemediationSettingsAutoRemediationSettingsIncludeOnly)[vs[1].(int)] }).(CampaignRemediationSettingsAutoRemediationSettingsIncludeOnlyOutput) } -type CampaignResourceSettings struct { - // An array of resources that are excluded from the review. - ExcludedResources []CampaignResourceSettingsExcludedResource `pulumi:"excludedResources"` - // Include admin roles. - IncludeAdminRoles *bool `pulumi:"includeAdminRoles"` - // Include entitlements for this application. This property is only applicable if resourceType = APPLICATION and Entitlement Management is enabled. - IncludeEntitlements *bool `pulumi:"includeEntitlements"` - // Only include individually assigned apps. This is only applicable if campaign type is USER. - IndividuallyAssignedAppsOnly *bool `pulumi:"individuallyAssignedAppsOnly"` - // Only include individually assigned groups. This is only applicable if campaign type is USER. - IndividuallyAssignedGroupsOnly *bool `pulumi:"individuallyAssignedGroupsOnly"` - // Only include out-of-policy entitlements. Only applicable if resourceType = APPLICATION and Entitlement Management is enabled. - OnlyIncludeOutOfPolicyEntitlements *bool `pulumi:"onlyIncludeOutOfPolicyEntitlements"` - // Represents a resource that will be part of Access certifications. If the app is enabled for Access Certifications, it's possible to review entitlements and entitlement bundles. - TargetResources []CampaignResourceSettingsTargetResource `pulumi:"targetResources"` - // The type of Okta resource. - Type string `pulumi:"type"` +type CampaignResourceSettings struct { + // An array of resources that are excluded from the review. + ExcludedResources []CampaignResourceSettingsExcludedResource `pulumi:"excludedResources"` + // Include admin roles. + IncludeAdminRoles *bool `pulumi:"includeAdminRoles"` + // Include entitlements for this application. This property is only applicable if resourceType = APPLICATION and Entitlement Management is enabled. + IncludeEntitlements *bool `pulumi:"includeEntitlements"` + // Only include individually assigned apps. This is only applicable if campaign type is USER. + IndividuallyAssignedAppsOnly *bool `pulumi:"individuallyAssignedAppsOnly"` + // Only include individually assigned groups. This is only applicable if campaign type is USER. + IndividuallyAssignedGroupsOnly *bool `pulumi:"individuallyAssignedGroupsOnly"` + // Only include out-of-policy entitlements. Only applicable if resourceType = APPLICATION and Entitlement Management is enabled. + OnlyIncludeOutOfPolicyEntitlements *bool `pulumi:"onlyIncludeOutOfPolicyEntitlements"` + // Represents a resource that will be part of Access certifications. If the app is enabled for Access Certifications, it's possible to review entitlements and entitlement bundles. + TargetResources []CampaignResourceSettingsTargetResource `pulumi:"targetResources"` + // The type of Okta resource. + Type string `pulumi:"type"` +} + +// CampaignResourceSettingsInput is an input type that accepts CampaignResourceSettingsArgs and CampaignResourceSettingsOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsInput` via: +// +// CampaignResourceSettingsArgs{...} +type CampaignResourceSettingsInput interface { + pulumi.Input + + ToCampaignResourceSettingsOutput() CampaignResourceSettingsOutput + ToCampaignResourceSettingsOutputWithContext(context.Context) CampaignResourceSettingsOutput +} + +type CampaignResourceSettingsArgs struct { + // An array of resources that are excluded from the review. + ExcludedResources CampaignResourceSettingsExcludedResourceArrayInput `pulumi:"excludedResources"` + // Include admin roles. + IncludeAdminRoles pulumi.BoolPtrInput `pulumi:"includeAdminRoles"` + // Include entitlements for this application. This property is only applicable if resourceType = APPLICATION and Entitlement Management is enabled. + IncludeEntitlements pulumi.BoolPtrInput `pulumi:"includeEntitlements"` + // Only include individually assigned apps. This is only applicable if campaign type is USER. + IndividuallyAssignedAppsOnly pulumi.BoolPtrInput `pulumi:"individuallyAssignedAppsOnly"` + // Only include individually assigned groups. This is only applicable if campaign type is USER. + IndividuallyAssignedGroupsOnly pulumi.BoolPtrInput `pulumi:"individuallyAssignedGroupsOnly"` + // Only include out-of-policy entitlements. Only applicable if resourceType = APPLICATION and Entitlement Management is enabled. + OnlyIncludeOutOfPolicyEntitlements pulumi.BoolPtrInput `pulumi:"onlyIncludeOutOfPolicyEntitlements"` + // Represents a resource that will be part of Access certifications. If the app is enabled for Access Certifications, it's possible to review entitlements and entitlement bundles. + TargetResources CampaignResourceSettingsTargetResourceArrayInput `pulumi:"targetResources"` + // The type of Okta resource. + Type pulumi.StringInput `pulumi:"type"` +} + +func (CampaignResourceSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettings)(nil)).Elem() +} + +func (i CampaignResourceSettingsArgs) ToCampaignResourceSettingsOutput() CampaignResourceSettingsOutput { + return i.ToCampaignResourceSettingsOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsArgs) ToCampaignResourceSettingsOutputWithContext(ctx context.Context) CampaignResourceSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsOutput) +} + +func (i CampaignResourceSettingsArgs) ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput { + return i.ToCampaignResourceSettingsPtrOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsArgs) ToCampaignResourceSettingsPtrOutputWithContext(ctx context.Context) CampaignResourceSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsOutput).ToCampaignResourceSettingsPtrOutputWithContext(ctx) +} + +// CampaignResourceSettingsPtrInput is an input type that accepts CampaignResourceSettingsArgs, CampaignResourceSettingsPtr and CampaignResourceSettingsPtrOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsPtrInput` via: +// +// CampaignResourceSettingsArgs{...} +// +// or: +// +// nil +type CampaignResourceSettingsPtrInput interface { + pulumi.Input + + ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput + ToCampaignResourceSettingsPtrOutputWithContext(context.Context) CampaignResourceSettingsPtrOutput +} + +type campaignResourceSettingsPtrType CampaignResourceSettingsArgs + +func CampaignResourceSettingsPtr(v *CampaignResourceSettingsArgs) CampaignResourceSettingsPtrInput { + return (*campaignResourceSettingsPtrType)(v) +} + +func (*campaignResourceSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignResourceSettings)(nil)).Elem() +} + +func (i *campaignResourceSettingsPtrType) ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput { + return i.ToCampaignResourceSettingsPtrOutputWithContext(context.Background()) +} + +func (i *campaignResourceSettingsPtrType) ToCampaignResourceSettingsPtrOutputWithContext(ctx context.Context) CampaignResourceSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsPtrOutput) +} + +type CampaignResourceSettingsOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettings)(nil)).Elem() +} + +func (o CampaignResourceSettingsOutput) ToCampaignResourceSettingsOutput() CampaignResourceSettingsOutput { + return o +} + +func (o CampaignResourceSettingsOutput) ToCampaignResourceSettingsOutputWithContext(ctx context.Context) CampaignResourceSettingsOutput { + return o +} + +func (o CampaignResourceSettingsOutput) ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput { + return o.ToCampaignResourceSettingsPtrOutputWithContext(context.Background()) +} + +func (o CampaignResourceSettingsOutput) ToCampaignResourceSettingsPtrOutputWithContext(ctx context.Context) CampaignResourceSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignResourceSettings) *CampaignResourceSettings { + return &v + }).(CampaignResourceSettingsPtrOutput) +} + +// An array of resources that are excluded from the review. +func (o CampaignResourceSettingsOutput) ExcludedResources() CampaignResourceSettingsExcludedResourceArrayOutput { + return o.ApplyT(func(v CampaignResourceSettings) []CampaignResourceSettingsExcludedResource { + return v.ExcludedResources + }).(CampaignResourceSettingsExcludedResourceArrayOutput) +} + +// Include admin roles. +func (o CampaignResourceSettingsOutput) IncludeAdminRoles() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.IncludeAdminRoles }).(pulumi.BoolPtrOutput) +} + +// Include entitlements for this application. This property is only applicable if resourceType = APPLICATION and Entitlement Management is enabled. +func (o CampaignResourceSettingsOutput) IncludeEntitlements() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.IncludeEntitlements }).(pulumi.BoolPtrOutput) +} + +// Only include individually assigned apps. This is only applicable if campaign type is USER. +func (o CampaignResourceSettingsOutput) IndividuallyAssignedAppsOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.IndividuallyAssignedAppsOnly }).(pulumi.BoolPtrOutput) +} + +// Only include individually assigned groups. This is only applicable if campaign type is USER. +func (o CampaignResourceSettingsOutput) IndividuallyAssignedGroupsOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.IndividuallyAssignedGroupsOnly }).(pulumi.BoolPtrOutput) +} + +// Only include out-of-policy entitlements. Only applicable if resourceType = APPLICATION and Entitlement Management is enabled. +func (o CampaignResourceSettingsOutput) OnlyIncludeOutOfPolicyEntitlements() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.OnlyIncludeOutOfPolicyEntitlements }).(pulumi.BoolPtrOutput) +} + +// Represents a resource that will be part of Access certifications. If the app is enabled for Access Certifications, it's possible to review entitlements and entitlement bundles. +func (o CampaignResourceSettingsOutput) TargetResources() CampaignResourceSettingsTargetResourceArrayOutput { + return o.ApplyT(func(v CampaignResourceSettings) []CampaignResourceSettingsTargetResource { return v.TargetResources }).(CampaignResourceSettingsTargetResourceArrayOutput) +} + +// The type of Okta resource. +func (o CampaignResourceSettingsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v CampaignResourceSettings) string { return v.Type }).(pulumi.StringOutput) +} + +type CampaignResourceSettingsPtrOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignResourceSettings)(nil)).Elem() +} + +func (o CampaignResourceSettingsPtrOutput) ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput { + return o +} + +func (o CampaignResourceSettingsPtrOutput) ToCampaignResourceSettingsPtrOutputWithContext(ctx context.Context) CampaignResourceSettingsPtrOutput { + return o +} + +func (o CampaignResourceSettingsPtrOutput) Elem() CampaignResourceSettingsOutput { + return o.ApplyT(func(v *CampaignResourceSettings) CampaignResourceSettings { + if v != nil { + return *v + } + var ret CampaignResourceSettings + return ret + }).(CampaignResourceSettingsOutput) +} + +// An array of resources that are excluded from the review. +func (o CampaignResourceSettingsPtrOutput) ExcludedResources() CampaignResourceSettingsExcludedResourceArrayOutput { + return o.ApplyT(func(v *CampaignResourceSettings) []CampaignResourceSettingsExcludedResource { + if v == nil { + return nil + } + return v.ExcludedResources + }).(CampaignResourceSettingsExcludedResourceArrayOutput) +} + +// Include admin roles. +func (o CampaignResourceSettingsPtrOutput) IncludeAdminRoles() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignResourceSettings) *bool { + if v == nil { + return nil + } + return v.IncludeAdminRoles + }).(pulumi.BoolPtrOutput) +} + +// Include entitlements for this application. This property is only applicable if resourceType = APPLICATION and Entitlement Management is enabled. +func (o CampaignResourceSettingsPtrOutput) IncludeEntitlements() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignResourceSettings) *bool { + if v == nil { + return nil + } + return v.IncludeEntitlements + }).(pulumi.BoolPtrOutput) +} + +// Only include individually assigned apps. This is only applicable if campaign type is USER. +func (o CampaignResourceSettingsPtrOutput) IndividuallyAssignedAppsOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignResourceSettings) *bool { + if v == nil { + return nil + } + return v.IndividuallyAssignedAppsOnly + }).(pulumi.BoolPtrOutput) +} + +// Only include individually assigned groups. This is only applicable if campaign type is USER. +func (o CampaignResourceSettingsPtrOutput) IndividuallyAssignedGroupsOnly() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignResourceSettings) *bool { + if v == nil { + return nil + } + return v.IndividuallyAssignedGroupsOnly + }).(pulumi.BoolPtrOutput) +} + +// Only include out-of-policy entitlements. Only applicable if resourceType = APPLICATION and Entitlement Management is enabled. +func (o CampaignResourceSettingsPtrOutput) OnlyIncludeOutOfPolicyEntitlements() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignResourceSettings) *bool { + if v == nil { + return nil + } + return v.OnlyIncludeOutOfPolicyEntitlements + }).(pulumi.BoolPtrOutput) +} + +// Represents a resource that will be part of Access certifications. If the app is enabled for Access Certifications, it's possible to review entitlements and entitlement bundles. +func (o CampaignResourceSettingsPtrOutput) TargetResources() CampaignResourceSettingsTargetResourceArrayOutput { + return o.ApplyT(func(v *CampaignResourceSettings) []CampaignResourceSettingsTargetResource { + if v == nil { + return nil + } + return v.TargetResources + }).(CampaignResourceSettingsTargetResourceArrayOutput) +} + +// The type of Okta resource. +func (o CampaignResourceSettingsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignResourceSettings) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type CampaignResourceSettingsExcludedResource struct { + // The ID of the resource to exclude in the campaign. + ResourceId *string `pulumi:"resourceId"` + // The type of resource to exclude in the campaign. + ResourceType *string `pulumi:"resourceType"` +} + +// CampaignResourceSettingsExcludedResourceInput is an input type that accepts CampaignResourceSettingsExcludedResourceArgs and CampaignResourceSettingsExcludedResourceOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsExcludedResourceInput` via: +// +// CampaignResourceSettingsExcludedResourceArgs{...} +type CampaignResourceSettingsExcludedResourceInput interface { + pulumi.Input + + ToCampaignResourceSettingsExcludedResourceOutput() CampaignResourceSettingsExcludedResourceOutput + ToCampaignResourceSettingsExcludedResourceOutputWithContext(context.Context) CampaignResourceSettingsExcludedResourceOutput +} + +type CampaignResourceSettingsExcludedResourceArgs struct { + // The ID of the resource to exclude in the campaign. + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + // The type of resource to exclude in the campaign. + ResourceType pulumi.StringPtrInput `pulumi:"resourceType"` +} + +func (CampaignResourceSettingsExcludedResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsExcludedResource)(nil)).Elem() +} + +func (i CampaignResourceSettingsExcludedResourceArgs) ToCampaignResourceSettingsExcludedResourceOutput() CampaignResourceSettingsExcludedResourceOutput { + return i.ToCampaignResourceSettingsExcludedResourceOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsExcludedResourceArgs) ToCampaignResourceSettingsExcludedResourceOutputWithContext(ctx context.Context) CampaignResourceSettingsExcludedResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsExcludedResourceOutput) +} + +// CampaignResourceSettingsExcludedResourceArrayInput is an input type that accepts CampaignResourceSettingsExcludedResourceArray and CampaignResourceSettingsExcludedResourceArrayOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsExcludedResourceArrayInput` via: +// +// CampaignResourceSettingsExcludedResourceArray{ CampaignResourceSettingsExcludedResourceArgs{...} } +type CampaignResourceSettingsExcludedResourceArrayInput interface { + pulumi.Input + + ToCampaignResourceSettingsExcludedResourceArrayOutput() CampaignResourceSettingsExcludedResourceArrayOutput + ToCampaignResourceSettingsExcludedResourceArrayOutputWithContext(context.Context) CampaignResourceSettingsExcludedResourceArrayOutput +} + +type CampaignResourceSettingsExcludedResourceArray []CampaignResourceSettingsExcludedResourceInput + +func (CampaignResourceSettingsExcludedResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsExcludedResource)(nil)).Elem() +} + +func (i CampaignResourceSettingsExcludedResourceArray) ToCampaignResourceSettingsExcludedResourceArrayOutput() CampaignResourceSettingsExcludedResourceArrayOutput { + return i.ToCampaignResourceSettingsExcludedResourceArrayOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsExcludedResourceArray) ToCampaignResourceSettingsExcludedResourceArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsExcludedResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsExcludedResourceArrayOutput) +} + +type CampaignResourceSettingsExcludedResourceOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsExcludedResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsExcludedResource)(nil)).Elem() +} + +func (o CampaignResourceSettingsExcludedResourceOutput) ToCampaignResourceSettingsExcludedResourceOutput() CampaignResourceSettingsExcludedResourceOutput { + return o +} + +func (o CampaignResourceSettingsExcludedResourceOutput) ToCampaignResourceSettingsExcludedResourceOutputWithContext(ctx context.Context) CampaignResourceSettingsExcludedResourceOutput { + return o +} + +// The ID of the resource to exclude in the campaign. +func (o CampaignResourceSettingsExcludedResourceOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignResourceSettingsExcludedResource) *string { return v.ResourceId }).(pulumi.StringPtrOutput) +} + +// The type of resource to exclude in the campaign. +func (o CampaignResourceSettingsExcludedResourceOutput) ResourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignResourceSettingsExcludedResource) *string { return v.ResourceType }).(pulumi.StringPtrOutput) +} + +type CampaignResourceSettingsExcludedResourceArrayOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsExcludedResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsExcludedResource)(nil)).Elem() +} + +func (o CampaignResourceSettingsExcludedResourceArrayOutput) ToCampaignResourceSettingsExcludedResourceArrayOutput() CampaignResourceSettingsExcludedResourceArrayOutput { + return o +} + +func (o CampaignResourceSettingsExcludedResourceArrayOutput) ToCampaignResourceSettingsExcludedResourceArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsExcludedResourceArrayOutput { + return o +} + +func (o CampaignResourceSettingsExcludedResourceArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsExcludedResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsExcludedResource { + return vs[0].([]CampaignResourceSettingsExcludedResource)[vs[1].(int)] + }).(CampaignResourceSettingsExcludedResourceOutput) +} + +type CampaignResourceSettingsTargetResource struct { + // An array of entitlement bundles for this application. + EntitlementBundles []CampaignResourceSettingsTargetResourceEntitlementBundle `pulumi:"entitlementBundles"` + // An array of entitlements associated with resourceId that should be chosen as target when creating reviews + Entitlements []CampaignResourceSettingsTargetResourceEntitlement `pulumi:"entitlements"` + // Include all entitlements and entitlement bundles for this application. Only applicable if the resourcetype = APPLICATION and Entitlement Management is enabled. + IncludeAllEntitlementsAndBundles *bool `pulumi:"includeAllEntitlementsAndBundles"` + // The resource ID that is being reviewed. + ResourceId string `pulumi:"resourceId"` + // The type of Okta resource. + ResourceType string `pulumi:"resourceType"` +} + +// CampaignResourceSettingsTargetResourceInput is an input type that accepts CampaignResourceSettingsTargetResourceArgs and CampaignResourceSettingsTargetResourceOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceInput` via: +// +// CampaignResourceSettingsTargetResourceArgs{...} +type CampaignResourceSettingsTargetResourceInput interface { + pulumi.Input + + ToCampaignResourceSettingsTargetResourceOutput() CampaignResourceSettingsTargetResourceOutput + ToCampaignResourceSettingsTargetResourceOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceOutput +} + +type CampaignResourceSettingsTargetResourceArgs struct { + // An array of entitlement bundles for this application. + EntitlementBundles CampaignResourceSettingsTargetResourceEntitlementBundleArrayInput `pulumi:"entitlementBundles"` + // An array of entitlements associated with resourceId that should be chosen as target when creating reviews + Entitlements CampaignResourceSettingsTargetResourceEntitlementArrayInput `pulumi:"entitlements"` + // Include all entitlements and entitlement bundles for this application. Only applicable if the resourcetype = APPLICATION and Entitlement Management is enabled. + IncludeAllEntitlementsAndBundles pulumi.BoolPtrInput `pulumi:"includeAllEntitlementsAndBundles"` + // The resource ID that is being reviewed. + ResourceId pulumi.StringInput `pulumi:"resourceId"` + // The type of Okta resource. + ResourceType pulumi.StringInput `pulumi:"resourceType"` +} + +func (CampaignResourceSettingsTargetResourceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsTargetResource)(nil)).Elem() +} + +func (i CampaignResourceSettingsTargetResourceArgs) ToCampaignResourceSettingsTargetResourceOutput() CampaignResourceSettingsTargetResourceOutput { + return i.ToCampaignResourceSettingsTargetResourceOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsTargetResourceArgs) ToCampaignResourceSettingsTargetResourceOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceOutput) +} + +// CampaignResourceSettingsTargetResourceArrayInput is an input type that accepts CampaignResourceSettingsTargetResourceArray and CampaignResourceSettingsTargetResourceArrayOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceArrayInput` via: +// +// CampaignResourceSettingsTargetResourceArray{ CampaignResourceSettingsTargetResourceArgs{...} } +type CampaignResourceSettingsTargetResourceArrayInput interface { + pulumi.Input + + ToCampaignResourceSettingsTargetResourceArrayOutput() CampaignResourceSettingsTargetResourceArrayOutput + ToCampaignResourceSettingsTargetResourceArrayOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceArrayOutput +} + +type CampaignResourceSettingsTargetResourceArray []CampaignResourceSettingsTargetResourceInput + +func (CampaignResourceSettingsTargetResourceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsTargetResource)(nil)).Elem() +} + +func (i CampaignResourceSettingsTargetResourceArray) ToCampaignResourceSettingsTargetResourceArrayOutput() CampaignResourceSettingsTargetResourceArrayOutput { + return i.ToCampaignResourceSettingsTargetResourceArrayOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsTargetResourceArray) ToCampaignResourceSettingsTargetResourceArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceArrayOutput) +} + +type CampaignResourceSettingsTargetResourceOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsTargetResourceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsTargetResource)(nil)).Elem() +} + +func (o CampaignResourceSettingsTargetResourceOutput) ToCampaignResourceSettingsTargetResourceOutput() CampaignResourceSettingsTargetResourceOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceOutput) ToCampaignResourceSettingsTargetResourceOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceOutput { + return o +} + +// An array of entitlement bundles for this application. +func (o CampaignResourceSettingsTargetResourceOutput) EntitlementBundles() CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResource) []CampaignResourceSettingsTargetResourceEntitlementBundle { + return v.EntitlementBundles + }).(CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) +} + +// An array of entitlements associated with resourceId that should be chosen as target when creating reviews +func (o CampaignResourceSettingsTargetResourceOutput) Entitlements() CampaignResourceSettingsTargetResourceEntitlementArrayOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResource) []CampaignResourceSettingsTargetResourceEntitlement { + return v.Entitlements + }).(CampaignResourceSettingsTargetResourceEntitlementArrayOutput) +} + +// Include all entitlements and entitlement bundles for this application. Only applicable if the resourcetype = APPLICATION and Entitlement Management is enabled. +func (o CampaignResourceSettingsTargetResourceOutput) IncludeAllEntitlementsAndBundles() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResource) *bool { return v.IncludeAllEntitlementsAndBundles }).(pulumi.BoolPtrOutput) +} + +// The resource ID that is being reviewed. +func (o CampaignResourceSettingsTargetResourceOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResource) string { return v.ResourceId }).(pulumi.StringOutput) +} + +// The type of Okta resource. +func (o CampaignResourceSettingsTargetResourceOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResource) string { return v.ResourceType }).(pulumi.StringOutput) +} + +type CampaignResourceSettingsTargetResourceArrayOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsTargetResourceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsTargetResource)(nil)).Elem() +} + +func (o CampaignResourceSettingsTargetResourceArrayOutput) ToCampaignResourceSettingsTargetResourceArrayOutput() CampaignResourceSettingsTargetResourceArrayOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceArrayOutput) ToCampaignResourceSettingsTargetResourceArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceArrayOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsTargetResourceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsTargetResource { + return vs[0].([]CampaignResourceSettingsTargetResource)[vs[1].(int)] + }).(CampaignResourceSettingsTargetResourceOutput) +} + +type CampaignResourceSettingsTargetResourceEntitlement struct { + // Campaign id + Id string `pulumi:"id"` + // Whether to include all entitlement values. If false we must provide the values property. + IncludeAllValues *bool `pulumi:"includeAllValues"` + Values []CampaignResourceSettingsTargetResourceEntitlementValue `pulumi:"values"` +} + +// CampaignResourceSettingsTargetResourceEntitlementInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementArgs and CampaignResourceSettingsTargetResourceEntitlementOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementInput` via: +// +// CampaignResourceSettingsTargetResourceEntitlementArgs{...} +type CampaignResourceSettingsTargetResourceEntitlementInput interface { + pulumi.Input + + ToCampaignResourceSettingsTargetResourceEntitlementOutput() CampaignResourceSettingsTargetResourceEntitlementOutput + ToCampaignResourceSettingsTargetResourceEntitlementOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementOutput +} + +type CampaignResourceSettingsTargetResourceEntitlementArgs struct { + // Campaign id + Id pulumi.StringInput `pulumi:"id"` + // Whether to include all entitlement values. If false we must provide the values property. + IncludeAllValues pulumi.BoolPtrInput `pulumi:"includeAllValues"` + Values CampaignResourceSettingsTargetResourceEntitlementValueArrayInput `pulumi:"values"` +} + +func (CampaignResourceSettingsTargetResourceEntitlementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlement)(nil)).Elem() +} + +func (i CampaignResourceSettingsTargetResourceEntitlementArgs) ToCampaignResourceSettingsTargetResourceEntitlementOutput() CampaignResourceSettingsTargetResourceEntitlementOutput { + return i.ToCampaignResourceSettingsTargetResourceEntitlementOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsTargetResourceEntitlementArgs) ToCampaignResourceSettingsTargetResourceEntitlementOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementOutput) +} + +// CampaignResourceSettingsTargetResourceEntitlementArrayInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementArray and CampaignResourceSettingsTargetResourceEntitlementArrayOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementArrayInput` via: +// +// CampaignResourceSettingsTargetResourceEntitlementArray{ CampaignResourceSettingsTargetResourceEntitlementArgs{...} } +type CampaignResourceSettingsTargetResourceEntitlementArrayInput interface { + pulumi.Input + + ToCampaignResourceSettingsTargetResourceEntitlementArrayOutput() CampaignResourceSettingsTargetResourceEntitlementArrayOutput + ToCampaignResourceSettingsTargetResourceEntitlementArrayOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementArrayOutput +} + +type CampaignResourceSettingsTargetResourceEntitlementArray []CampaignResourceSettingsTargetResourceEntitlementInput + +func (CampaignResourceSettingsTargetResourceEntitlementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlement)(nil)).Elem() +} + +func (i CampaignResourceSettingsTargetResourceEntitlementArray) ToCampaignResourceSettingsTargetResourceEntitlementArrayOutput() CampaignResourceSettingsTargetResourceEntitlementArrayOutput { + return i.ToCampaignResourceSettingsTargetResourceEntitlementArrayOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsTargetResourceEntitlementArray) ToCampaignResourceSettingsTargetResourceEntitlementArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementArrayOutput) +} + +type CampaignResourceSettingsTargetResourceEntitlementOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsTargetResourceEntitlementOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlement)(nil)).Elem() +} + +func (o CampaignResourceSettingsTargetResourceEntitlementOutput) ToCampaignResourceSettingsTargetResourceEntitlementOutput() CampaignResourceSettingsTargetResourceEntitlementOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceEntitlementOutput) ToCampaignResourceSettingsTargetResourceEntitlementOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementOutput { + return o +} + +// Campaign id +func (o CampaignResourceSettingsTargetResourceEntitlementOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlement) string { return v.Id }).(pulumi.StringOutput) +} + +// Whether to include all entitlement values. If false we must provide the values property. +func (o CampaignResourceSettingsTargetResourceEntitlementOutput) IncludeAllValues() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlement) *bool { return v.IncludeAllValues }).(pulumi.BoolPtrOutput) +} + +func (o CampaignResourceSettingsTargetResourceEntitlementOutput) Values() CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlement) []CampaignResourceSettingsTargetResourceEntitlementValue { + return v.Values + }).(CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) +} + +type CampaignResourceSettingsTargetResourceEntitlementArrayOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsTargetResourceEntitlementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlement)(nil)).Elem() +} + +func (o CampaignResourceSettingsTargetResourceEntitlementArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementArrayOutput() CampaignResourceSettingsTargetResourceEntitlementArrayOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceEntitlementArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementArrayOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceEntitlementArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsTargetResourceEntitlementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsTargetResourceEntitlement { + return vs[0].([]CampaignResourceSettingsTargetResourceEntitlement)[vs[1].(int)] + }).(CampaignResourceSettingsTargetResourceEntitlementOutput) +} + +type CampaignResourceSettingsTargetResourceEntitlementBundle struct { + // Campaign id + Id string `pulumi:"id"` +} + +// CampaignResourceSettingsTargetResourceEntitlementBundleInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementBundleArgs and CampaignResourceSettingsTargetResourceEntitlementBundleOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementBundleInput` via: +// +// CampaignResourceSettingsTargetResourceEntitlementBundleArgs{...} +type CampaignResourceSettingsTargetResourceEntitlementBundleInput interface { + pulumi.Input + + ToCampaignResourceSettingsTargetResourceEntitlementBundleOutput() CampaignResourceSettingsTargetResourceEntitlementBundleOutput + ToCampaignResourceSettingsTargetResourceEntitlementBundleOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleOutput +} + +type CampaignResourceSettingsTargetResourceEntitlementBundleArgs struct { + // Campaign id + Id pulumi.StringInput `pulumi:"id"` +} + +func (CampaignResourceSettingsTargetResourceEntitlementBundleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlementBundle)(nil)).Elem() +} + +func (i CampaignResourceSettingsTargetResourceEntitlementBundleArgs) ToCampaignResourceSettingsTargetResourceEntitlementBundleOutput() CampaignResourceSettingsTargetResourceEntitlementBundleOutput { + return i.ToCampaignResourceSettingsTargetResourceEntitlementBundleOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsTargetResourceEntitlementBundleArgs) ToCampaignResourceSettingsTargetResourceEntitlementBundleOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementBundleOutput) +} + +// CampaignResourceSettingsTargetResourceEntitlementBundleArrayInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementBundleArray and CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementBundleArrayInput` via: +// +// CampaignResourceSettingsTargetResourceEntitlementBundleArray{ CampaignResourceSettingsTargetResourceEntitlementBundleArgs{...} } +type CampaignResourceSettingsTargetResourceEntitlementBundleArrayInput interface { + pulumi.Input + + ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput() CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput + ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput +} + +type CampaignResourceSettingsTargetResourceEntitlementBundleArray []CampaignResourceSettingsTargetResourceEntitlementBundleInput + +func (CampaignResourceSettingsTargetResourceEntitlementBundleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlementBundle)(nil)).Elem() +} + +func (i CampaignResourceSettingsTargetResourceEntitlementBundleArray) ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput() CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { + return i.ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsTargetResourceEntitlementBundleArray) ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) +} + +type CampaignResourceSettingsTargetResourceEntitlementBundleOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsTargetResourceEntitlementBundleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlementBundle)(nil)).Elem() +} + +func (o CampaignResourceSettingsTargetResourceEntitlementBundleOutput) ToCampaignResourceSettingsTargetResourceEntitlementBundleOutput() CampaignResourceSettingsTargetResourceEntitlementBundleOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceEntitlementBundleOutput) ToCampaignResourceSettingsTargetResourceEntitlementBundleOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleOutput { + return o +} + +// Campaign id +func (o CampaignResourceSettingsTargetResourceEntitlementBundleOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlementBundle) string { return v.Id }).(pulumi.StringOutput) +} + +type CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlementBundle)(nil)).Elem() +} + +func (o CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput() CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsTargetResourceEntitlementBundleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsTargetResourceEntitlementBundle { + return vs[0].([]CampaignResourceSettingsTargetResourceEntitlementBundle)[vs[1].(int)] + }).(CampaignResourceSettingsTargetResourceEntitlementBundleOutput) +} + +type CampaignResourceSettingsTargetResourceEntitlementValue struct { + // Campaign id + Id string `pulumi:"id"` +} + +// CampaignResourceSettingsTargetResourceEntitlementValueInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementValueArgs and CampaignResourceSettingsTargetResourceEntitlementValueOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementValueInput` via: +// +// CampaignResourceSettingsTargetResourceEntitlementValueArgs{...} +type CampaignResourceSettingsTargetResourceEntitlementValueInput interface { + pulumi.Input + + ToCampaignResourceSettingsTargetResourceEntitlementValueOutput() CampaignResourceSettingsTargetResourceEntitlementValueOutput + ToCampaignResourceSettingsTargetResourceEntitlementValueOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementValueOutput +} + +type CampaignResourceSettingsTargetResourceEntitlementValueArgs struct { + // Campaign id + Id pulumi.StringInput `pulumi:"id"` +} + +func (CampaignResourceSettingsTargetResourceEntitlementValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlementValue)(nil)).Elem() +} + +func (i CampaignResourceSettingsTargetResourceEntitlementValueArgs) ToCampaignResourceSettingsTargetResourceEntitlementValueOutput() CampaignResourceSettingsTargetResourceEntitlementValueOutput { + return i.ToCampaignResourceSettingsTargetResourceEntitlementValueOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsTargetResourceEntitlementValueArgs) ToCampaignResourceSettingsTargetResourceEntitlementValueOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementValueOutput) +} + +// CampaignResourceSettingsTargetResourceEntitlementValueArrayInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementValueArray and CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput values. +// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementValueArrayInput` via: +// +// CampaignResourceSettingsTargetResourceEntitlementValueArray{ CampaignResourceSettingsTargetResourceEntitlementValueArgs{...} } +type CampaignResourceSettingsTargetResourceEntitlementValueArrayInput interface { + pulumi.Input + + ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutput() CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput + ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput +} + +type CampaignResourceSettingsTargetResourceEntitlementValueArray []CampaignResourceSettingsTargetResourceEntitlementValueInput + +func (CampaignResourceSettingsTargetResourceEntitlementValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlementValue)(nil)).Elem() +} + +func (i CampaignResourceSettingsTargetResourceEntitlementValueArray) ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutput() CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { + return i.ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutputWithContext(context.Background()) +} + +func (i CampaignResourceSettingsTargetResourceEntitlementValueArray) ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) +} + +type CampaignResourceSettingsTargetResourceEntitlementValueOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsTargetResourceEntitlementValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlementValue)(nil)).Elem() +} + +func (o CampaignResourceSettingsTargetResourceEntitlementValueOutput) ToCampaignResourceSettingsTargetResourceEntitlementValueOutput() CampaignResourceSettingsTargetResourceEntitlementValueOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceEntitlementValueOutput) ToCampaignResourceSettingsTargetResourceEntitlementValueOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementValueOutput { + return o +} + +// Campaign id +func (o CampaignResourceSettingsTargetResourceEntitlementValueOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlementValue) string { return v.Id }).(pulumi.StringOutput) +} + +type CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput struct{ *pulumi.OutputState } + +func (CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlementValue)(nil)).Elem() +} + +func (o CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutput() CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { + return o +} + +func (o CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsTargetResourceEntitlementValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsTargetResourceEntitlementValue { + return vs[0].([]CampaignResourceSettingsTargetResourceEntitlementValue)[vs[1].(int)] + }).(CampaignResourceSettingsTargetResourceEntitlementValueOutput) +} + +type CampaignReviewerSettings struct { + // When approving or revoking review items, bulk actions are disabled if true. + BulkDecisionDisabled *bool `pulumi:"bulkDecisionDisabled"` + // The ID of the fallback reviewer. Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` + FallbackReviewerId *string `pulumi:"fallbackReviewerId"` + // When approving or revoking review items, a justification is required if true. + JustificationRequired *bool `pulumi:"justificationRequired"` + // Reassignment is disabled for reviewers if true. + ReassignmentDisabled *bool `pulumi:"reassignmentDisabled"` + // The ID of the reviewer group to which the reviewer is assigned. + ReviewerGroupId *string `pulumi:"reviewerGroupId"` + ReviewerId *string `pulumi:"reviewerId"` + // Definition of reviewer level for a given campaign. Each reviewer level defines the kind of reviewer who is going to review. + ReviewerLevels []CampaignReviewerSettingsReviewerLevel `pulumi:"reviewerLevels"` + // This property is required when type=`USER` + ReviewerScopeExpression *string `pulumi:"reviewerScopeExpression"` + // This property is required to be true for resource-centric campaigns when the Okta Admin Console is one of the resources. + SelfReviewDisabled *bool `pulumi:"selfReviewDisabled"` + // Identifies the kind of reviewer for Access Certification. + Type string `pulumi:"type"` +} + +// CampaignReviewerSettingsInput is an input type that accepts CampaignReviewerSettingsArgs and CampaignReviewerSettingsOutput values. +// You can construct a concrete instance of `CampaignReviewerSettingsInput` via: +// +// CampaignReviewerSettingsArgs{...} +type CampaignReviewerSettingsInput interface { + pulumi.Input + + ToCampaignReviewerSettingsOutput() CampaignReviewerSettingsOutput + ToCampaignReviewerSettingsOutputWithContext(context.Context) CampaignReviewerSettingsOutput +} + +type CampaignReviewerSettingsArgs struct { + // When approving or revoking review items, bulk actions are disabled if true. + BulkDecisionDisabled pulumi.BoolPtrInput `pulumi:"bulkDecisionDisabled"` + // The ID of the fallback reviewer. Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` + FallbackReviewerId pulumi.StringPtrInput `pulumi:"fallbackReviewerId"` + // When approving or revoking review items, a justification is required if true. + JustificationRequired pulumi.BoolPtrInput `pulumi:"justificationRequired"` + // Reassignment is disabled for reviewers if true. + ReassignmentDisabled pulumi.BoolPtrInput `pulumi:"reassignmentDisabled"` + // The ID of the reviewer group to which the reviewer is assigned. + ReviewerGroupId pulumi.StringPtrInput `pulumi:"reviewerGroupId"` + ReviewerId pulumi.StringPtrInput `pulumi:"reviewerId"` + // Definition of reviewer level for a given campaign. Each reviewer level defines the kind of reviewer who is going to review. + ReviewerLevels CampaignReviewerSettingsReviewerLevelArrayInput `pulumi:"reviewerLevels"` + // This property is required when type=`USER` + ReviewerScopeExpression pulumi.StringPtrInput `pulumi:"reviewerScopeExpression"` + // This property is required to be true for resource-centric campaigns when the Okta Admin Console is one of the resources. + SelfReviewDisabled pulumi.BoolPtrInput `pulumi:"selfReviewDisabled"` + // Identifies the kind of reviewer for Access Certification. + Type pulumi.StringInput `pulumi:"type"` +} + +func (CampaignReviewerSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignReviewerSettings)(nil)).Elem() +} + +func (i CampaignReviewerSettingsArgs) ToCampaignReviewerSettingsOutput() CampaignReviewerSettingsOutput { + return i.ToCampaignReviewerSettingsOutputWithContext(context.Background()) +} + +func (i CampaignReviewerSettingsArgs) ToCampaignReviewerSettingsOutputWithContext(ctx context.Context) CampaignReviewerSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsOutput) +} + +func (i CampaignReviewerSettingsArgs) ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput { + return i.ToCampaignReviewerSettingsPtrOutputWithContext(context.Background()) +} + +func (i CampaignReviewerSettingsArgs) ToCampaignReviewerSettingsPtrOutputWithContext(ctx context.Context) CampaignReviewerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsOutput).ToCampaignReviewerSettingsPtrOutputWithContext(ctx) +} + +// CampaignReviewerSettingsPtrInput is an input type that accepts CampaignReviewerSettingsArgs, CampaignReviewerSettingsPtr and CampaignReviewerSettingsPtrOutput values. +// You can construct a concrete instance of `CampaignReviewerSettingsPtrInput` via: +// +// CampaignReviewerSettingsArgs{...} +// +// or: +// +// nil +type CampaignReviewerSettingsPtrInput interface { + pulumi.Input + + ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput + ToCampaignReviewerSettingsPtrOutputWithContext(context.Context) CampaignReviewerSettingsPtrOutput +} + +type campaignReviewerSettingsPtrType CampaignReviewerSettingsArgs + +func CampaignReviewerSettingsPtr(v *CampaignReviewerSettingsArgs) CampaignReviewerSettingsPtrInput { + return (*campaignReviewerSettingsPtrType)(v) +} + +func (*campaignReviewerSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignReviewerSettings)(nil)).Elem() +} + +func (i *campaignReviewerSettingsPtrType) ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput { + return i.ToCampaignReviewerSettingsPtrOutputWithContext(context.Background()) +} + +func (i *campaignReviewerSettingsPtrType) ToCampaignReviewerSettingsPtrOutputWithContext(ctx context.Context) CampaignReviewerSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsPtrOutput) +} + +type CampaignReviewerSettingsOutput struct{ *pulumi.OutputState } + +func (CampaignReviewerSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignReviewerSettings)(nil)).Elem() +} + +func (o CampaignReviewerSettingsOutput) ToCampaignReviewerSettingsOutput() CampaignReviewerSettingsOutput { + return o +} + +func (o CampaignReviewerSettingsOutput) ToCampaignReviewerSettingsOutputWithContext(ctx context.Context) CampaignReviewerSettingsOutput { + return o +} + +func (o CampaignReviewerSettingsOutput) ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput { + return o.ToCampaignReviewerSettingsPtrOutputWithContext(context.Background()) +} + +func (o CampaignReviewerSettingsOutput) ToCampaignReviewerSettingsPtrOutputWithContext(ctx context.Context) CampaignReviewerSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignReviewerSettings) *CampaignReviewerSettings { + return &v + }).(CampaignReviewerSettingsPtrOutput) +} + +// When approving or revoking review items, bulk actions are disabled if true. +func (o CampaignReviewerSettingsOutput) BulkDecisionDisabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettings) *bool { return v.BulkDecisionDisabled }).(pulumi.BoolPtrOutput) +} + +// The ID of the fallback reviewer. Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` +func (o CampaignReviewerSettingsOutput) FallbackReviewerId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettings) *string { return v.FallbackReviewerId }).(pulumi.StringPtrOutput) +} + +// When approving or revoking review items, a justification is required if true. +func (o CampaignReviewerSettingsOutput) JustificationRequired() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettings) *bool { return v.JustificationRequired }).(pulumi.BoolPtrOutput) +} + +// Reassignment is disabled for reviewers if true. +func (o CampaignReviewerSettingsOutput) ReassignmentDisabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettings) *bool { return v.ReassignmentDisabled }).(pulumi.BoolPtrOutput) +} + +// The ID of the reviewer group to which the reviewer is assigned. +func (o CampaignReviewerSettingsOutput) ReviewerGroupId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettings) *string { return v.ReviewerGroupId }).(pulumi.StringPtrOutput) +} + +func (o CampaignReviewerSettingsOutput) ReviewerId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettings) *string { return v.ReviewerId }).(pulumi.StringPtrOutput) +} + +// Definition of reviewer level for a given campaign. Each reviewer level defines the kind of reviewer who is going to review. +func (o CampaignReviewerSettingsOutput) ReviewerLevels() CampaignReviewerSettingsReviewerLevelArrayOutput { + return o.ApplyT(func(v CampaignReviewerSettings) []CampaignReviewerSettingsReviewerLevel { return v.ReviewerLevels }).(CampaignReviewerSettingsReviewerLevelArrayOutput) +} + +// This property is required when type=`USER` +func (o CampaignReviewerSettingsOutput) ReviewerScopeExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettings) *string { return v.ReviewerScopeExpression }).(pulumi.StringPtrOutput) +} + +// This property is required to be true for resource-centric campaigns when the Okta Admin Console is one of the resources. +func (o CampaignReviewerSettingsOutput) SelfReviewDisabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettings) *bool { return v.SelfReviewDisabled }).(pulumi.BoolPtrOutput) +} + +// Identifies the kind of reviewer for Access Certification. +func (o CampaignReviewerSettingsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v CampaignReviewerSettings) string { return v.Type }).(pulumi.StringOutput) +} + +type CampaignReviewerSettingsPtrOutput struct{ *pulumi.OutputState } + +func (CampaignReviewerSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignReviewerSettings)(nil)).Elem() +} + +func (o CampaignReviewerSettingsPtrOutput) ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput { + return o +} + +func (o CampaignReviewerSettingsPtrOutput) ToCampaignReviewerSettingsPtrOutputWithContext(ctx context.Context) CampaignReviewerSettingsPtrOutput { + return o +} + +func (o CampaignReviewerSettingsPtrOutput) Elem() CampaignReviewerSettingsOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) CampaignReviewerSettings { + if v != nil { + return *v + } + var ret CampaignReviewerSettings + return ret + }).(CampaignReviewerSettingsOutput) +} + +// When approving or revoking review items, bulk actions are disabled if true. +func (o CampaignReviewerSettingsPtrOutput) BulkDecisionDisabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) *bool { + if v == nil { + return nil + } + return v.BulkDecisionDisabled + }).(pulumi.BoolPtrOutput) +} + +// The ID of the fallback reviewer. Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` +func (o CampaignReviewerSettingsPtrOutput) FallbackReviewerId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) *string { + if v == nil { + return nil + } + return v.FallbackReviewerId + }).(pulumi.StringPtrOutput) +} + +// When approving or revoking review items, a justification is required if true. +func (o CampaignReviewerSettingsPtrOutput) JustificationRequired() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) *bool { + if v == nil { + return nil + } + return v.JustificationRequired + }).(pulumi.BoolPtrOutput) +} + +// Reassignment is disabled for reviewers if true. +func (o CampaignReviewerSettingsPtrOutput) ReassignmentDisabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) *bool { + if v == nil { + return nil + } + return v.ReassignmentDisabled + }).(pulumi.BoolPtrOutput) +} + +// The ID of the reviewer group to which the reviewer is assigned. +func (o CampaignReviewerSettingsPtrOutput) ReviewerGroupId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) *string { + if v == nil { + return nil + } + return v.ReviewerGroupId + }).(pulumi.StringPtrOutput) +} + +func (o CampaignReviewerSettingsPtrOutput) ReviewerId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) *string { + if v == nil { + return nil + } + return v.ReviewerId + }).(pulumi.StringPtrOutput) +} + +// Definition of reviewer level for a given campaign. Each reviewer level defines the kind of reviewer who is going to review. +func (o CampaignReviewerSettingsPtrOutput) ReviewerLevels() CampaignReviewerSettingsReviewerLevelArrayOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) []CampaignReviewerSettingsReviewerLevel { + if v == nil { + return nil + } + return v.ReviewerLevels + }).(CampaignReviewerSettingsReviewerLevelArrayOutput) +} + +// This property is required when type=`USER` +func (o CampaignReviewerSettingsPtrOutput) ReviewerScopeExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) *string { + if v == nil { + return nil + } + return v.ReviewerScopeExpression + }).(pulumi.StringPtrOutput) +} + +// This property is required to be true for resource-centric campaigns when the Okta Admin Console is one of the resources. +func (o CampaignReviewerSettingsPtrOutput) SelfReviewDisabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) *bool { + if v == nil { + return nil + } + return v.SelfReviewDisabled + }).(pulumi.BoolPtrOutput) +} + +// Identifies the kind of reviewer for Access Certification. +func (o CampaignReviewerSettingsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignReviewerSettings) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type CampaignReviewerSettingsReviewerLevel struct { + // Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` + FallbackReviewerId *string `pulumi:"fallbackReviewerId"` + // The ID of the reviewer group to which the reviewer is assigned.This property is required when type=`GROUP` + ReviewerGroupId *string `pulumi:"reviewerGroupId"` + // The ID of the reviewer to which the reviewer is assigned.This property is required when type=`USER`. + ReviewerId *string `pulumi:"reviewerId"` + // This property is required when type=`REVIEWER_EXPRESSION` + ReviewerScopeExpression *string `pulumi:"reviewerScopeExpression"` + // This property is used to prevent self review. + SelfReviewDisabled *bool `pulumi:"selfReviewDisabled"` + // The rules for which the reviews can move to that level. + StartReviews []CampaignReviewerSettingsReviewerLevelStartReview `pulumi:"startReviews"` + // Identifies the kind of reviewer. + Type string `pulumi:"type"` +} + +// CampaignReviewerSettingsReviewerLevelInput is an input type that accepts CampaignReviewerSettingsReviewerLevelArgs and CampaignReviewerSettingsReviewerLevelOutput values. +// You can construct a concrete instance of `CampaignReviewerSettingsReviewerLevelInput` via: +// +// CampaignReviewerSettingsReviewerLevelArgs{...} +type CampaignReviewerSettingsReviewerLevelInput interface { + pulumi.Input + + ToCampaignReviewerSettingsReviewerLevelOutput() CampaignReviewerSettingsReviewerLevelOutput + ToCampaignReviewerSettingsReviewerLevelOutputWithContext(context.Context) CampaignReviewerSettingsReviewerLevelOutput +} + +type CampaignReviewerSettingsReviewerLevelArgs struct { + // Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` + FallbackReviewerId pulumi.StringPtrInput `pulumi:"fallbackReviewerId"` + // The ID of the reviewer group to which the reviewer is assigned.This property is required when type=`GROUP` + ReviewerGroupId pulumi.StringPtrInput `pulumi:"reviewerGroupId"` + // The ID of the reviewer to which the reviewer is assigned.This property is required when type=`USER`. + ReviewerId pulumi.StringPtrInput `pulumi:"reviewerId"` + // This property is required when type=`REVIEWER_EXPRESSION` + ReviewerScopeExpression pulumi.StringPtrInput `pulumi:"reviewerScopeExpression"` + // This property is used to prevent self review. + SelfReviewDisabled pulumi.BoolPtrInput `pulumi:"selfReviewDisabled"` + // The rules for which the reviews can move to that level. + StartReviews CampaignReviewerSettingsReviewerLevelStartReviewArrayInput `pulumi:"startReviews"` + // Identifies the kind of reviewer. + Type pulumi.StringInput `pulumi:"type"` +} + +func (CampaignReviewerSettingsReviewerLevelArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignReviewerSettingsReviewerLevel)(nil)).Elem() +} + +func (i CampaignReviewerSettingsReviewerLevelArgs) ToCampaignReviewerSettingsReviewerLevelOutput() CampaignReviewerSettingsReviewerLevelOutput { + return i.ToCampaignReviewerSettingsReviewerLevelOutputWithContext(context.Background()) +} + +func (i CampaignReviewerSettingsReviewerLevelArgs) ToCampaignReviewerSettingsReviewerLevelOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsReviewerLevelOutput) +} + +// CampaignReviewerSettingsReviewerLevelArrayInput is an input type that accepts CampaignReviewerSettingsReviewerLevelArray and CampaignReviewerSettingsReviewerLevelArrayOutput values. +// You can construct a concrete instance of `CampaignReviewerSettingsReviewerLevelArrayInput` via: +// +// CampaignReviewerSettingsReviewerLevelArray{ CampaignReviewerSettingsReviewerLevelArgs{...} } +type CampaignReviewerSettingsReviewerLevelArrayInput interface { + pulumi.Input + + ToCampaignReviewerSettingsReviewerLevelArrayOutput() CampaignReviewerSettingsReviewerLevelArrayOutput + ToCampaignReviewerSettingsReviewerLevelArrayOutputWithContext(context.Context) CampaignReviewerSettingsReviewerLevelArrayOutput +} + +type CampaignReviewerSettingsReviewerLevelArray []CampaignReviewerSettingsReviewerLevelInput + +func (CampaignReviewerSettingsReviewerLevelArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignReviewerSettingsReviewerLevel)(nil)).Elem() +} + +func (i CampaignReviewerSettingsReviewerLevelArray) ToCampaignReviewerSettingsReviewerLevelArrayOutput() CampaignReviewerSettingsReviewerLevelArrayOutput { + return i.ToCampaignReviewerSettingsReviewerLevelArrayOutputWithContext(context.Background()) +} + +func (i CampaignReviewerSettingsReviewerLevelArray) ToCampaignReviewerSettingsReviewerLevelArrayOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsReviewerLevelArrayOutput) +} + +type CampaignReviewerSettingsReviewerLevelOutput struct{ *pulumi.OutputState } + +func (CampaignReviewerSettingsReviewerLevelOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignReviewerSettingsReviewerLevel)(nil)).Elem() +} + +func (o CampaignReviewerSettingsReviewerLevelOutput) ToCampaignReviewerSettingsReviewerLevelOutput() CampaignReviewerSettingsReviewerLevelOutput { + return o +} + +func (o CampaignReviewerSettingsReviewerLevelOutput) ToCampaignReviewerSettingsReviewerLevelOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelOutput { + return o +} + +// Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` +func (o CampaignReviewerSettingsReviewerLevelOutput) FallbackReviewerId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *string { return v.FallbackReviewerId }).(pulumi.StringPtrOutput) +} + +// The ID of the reviewer group to which the reviewer is assigned.This property is required when type=`GROUP` +func (o CampaignReviewerSettingsReviewerLevelOutput) ReviewerGroupId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *string { return v.ReviewerGroupId }).(pulumi.StringPtrOutput) +} + +// The ID of the reviewer to which the reviewer is assigned.This property is required when type=`USER`. +func (o CampaignReviewerSettingsReviewerLevelOutput) ReviewerId() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *string { return v.ReviewerId }).(pulumi.StringPtrOutput) +} + +// This property is required when type=`REVIEWER_EXPRESSION` +func (o CampaignReviewerSettingsReviewerLevelOutput) ReviewerScopeExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *string { return v.ReviewerScopeExpression }).(pulumi.StringPtrOutput) +} + +// This property is used to prevent self review. +func (o CampaignReviewerSettingsReviewerLevelOutput) SelfReviewDisabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *bool { return v.SelfReviewDisabled }).(pulumi.BoolPtrOutput) +} + +// The rules for which the reviews can move to that level. +func (o CampaignReviewerSettingsReviewerLevelOutput) StartReviews() CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { + return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) []CampaignReviewerSettingsReviewerLevelStartReview { + return v.StartReviews + }).(CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) +} + +// Identifies the kind of reviewer. +func (o CampaignReviewerSettingsReviewerLevelOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) string { return v.Type }).(pulumi.StringOutput) +} + +type CampaignReviewerSettingsReviewerLevelArrayOutput struct{ *pulumi.OutputState } + +func (CampaignReviewerSettingsReviewerLevelArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignReviewerSettingsReviewerLevel)(nil)).Elem() +} + +func (o CampaignReviewerSettingsReviewerLevelArrayOutput) ToCampaignReviewerSettingsReviewerLevelArrayOutput() CampaignReviewerSettingsReviewerLevelArrayOutput { + return o +} + +func (o CampaignReviewerSettingsReviewerLevelArrayOutput) ToCampaignReviewerSettingsReviewerLevelArrayOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelArrayOutput { + return o +} + +func (o CampaignReviewerSettingsReviewerLevelArrayOutput) Index(i pulumi.IntInput) CampaignReviewerSettingsReviewerLevelOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignReviewerSettingsReviewerLevel { + return vs[0].([]CampaignReviewerSettingsReviewerLevel)[vs[1].(int)] + }).(CampaignReviewerSettingsReviewerLevelOutput) +} + +type CampaignReviewerSettingsReviewerLevelStartReview struct { + // The day of the campaign when the review starts. 0 means the first day of the campaign. + OnDay *int `pulumi:"onDay"` + // The condition for which, the lower level reviews will move to that level for further review. + When *string `pulumi:"when"` +} + +// CampaignReviewerSettingsReviewerLevelStartReviewInput is an input type that accepts CampaignReviewerSettingsReviewerLevelStartReviewArgs and CampaignReviewerSettingsReviewerLevelStartReviewOutput values. +// You can construct a concrete instance of `CampaignReviewerSettingsReviewerLevelStartReviewInput` via: +// +// CampaignReviewerSettingsReviewerLevelStartReviewArgs{...} +type CampaignReviewerSettingsReviewerLevelStartReviewInput interface { + pulumi.Input + + ToCampaignReviewerSettingsReviewerLevelStartReviewOutput() CampaignReviewerSettingsReviewerLevelStartReviewOutput + ToCampaignReviewerSettingsReviewerLevelStartReviewOutputWithContext(context.Context) CampaignReviewerSettingsReviewerLevelStartReviewOutput +} + +type CampaignReviewerSettingsReviewerLevelStartReviewArgs struct { + // The day of the campaign when the review starts. 0 means the first day of the campaign. + OnDay pulumi.IntPtrInput `pulumi:"onDay"` + // The condition for which, the lower level reviews will move to that level for further review. + When pulumi.StringPtrInput `pulumi:"when"` +} + +func (CampaignReviewerSettingsReviewerLevelStartReviewArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignReviewerSettingsReviewerLevelStartReview)(nil)).Elem() +} + +func (i CampaignReviewerSettingsReviewerLevelStartReviewArgs) ToCampaignReviewerSettingsReviewerLevelStartReviewOutput() CampaignReviewerSettingsReviewerLevelStartReviewOutput { + return i.ToCampaignReviewerSettingsReviewerLevelStartReviewOutputWithContext(context.Background()) +} + +func (i CampaignReviewerSettingsReviewerLevelStartReviewArgs) ToCampaignReviewerSettingsReviewerLevelStartReviewOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelStartReviewOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsReviewerLevelStartReviewOutput) +} + +// CampaignReviewerSettingsReviewerLevelStartReviewArrayInput is an input type that accepts CampaignReviewerSettingsReviewerLevelStartReviewArray and CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput values. +// You can construct a concrete instance of `CampaignReviewerSettingsReviewerLevelStartReviewArrayInput` via: +// +// CampaignReviewerSettingsReviewerLevelStartReviewArray{ CampaignReviewerSettingsReviewerLevelStartReviewArgs{...} } +type CampaignReviewerSettingsReviewerLevelStartReviewArrayInput interface { + pulumi.Input + + ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutput() CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput + ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutputWithContext(context.Context) CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput +} + +type CampaignReviewerSettingsReviewerLevelStartReviewArray []CampaignReviewerSettingsReviewerLevelStartReviewInput + +func (CampaignReviewerSettingsReviewerLevelStartReviewArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignReviewerSettingsReviewerLevelStartReview)(nil)).Elem() +} + +func (i CampaignReviewerSettingsReviewerLevelStartReviewArray) ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutput() CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { + return i.ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutputWithContext(context.Background()) +} + +func (i CampaignReviewerSettingsReviewerLevelStartReviewArray) ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) +} + +type CampaignReviewerSettingsReviewerLevelStartReviewOutput struct{ *pulumi.OutputState } + +func (CampaignReviewerSettingsReviewerLevelStartReviewOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignReviewerSettingsReviewerLevelStartReview)(nil)).Elem() +} + +func (o CampaignReviewerSettingsReviewerLevelStartReviewOutput) ToCampaignReviewerSettingsReviewerLevelStartReviewOutput() CampaignReviewerSettingsReviewerLevelStartReviewOutput { + return o +} + +func (o CampaignReviewerSettingsReviewerLevelStartReviewOutput) ToCampaignReviewerSettingsReviewerLevelStartReviewOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelStartReviewOutput { + return o +} + +// The day of the campaign when the review starts. 0 means the first day of the campaign. +func (o CampaignReviewerSettingsReviewerLevelStartReviewOutput) OnDay() pulumi.IntPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevelStartReview) *int { return v.OnDay }).(pulumi.IntPtrOutput) +} + +// The condition for which, the lower level reviews will move to that level for further review. +func (o CampaignReviewerSettingsReviewerLevelStartReviewOutput) When() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevelStartReview) *string { return v.When }).(pulumi.StringPtrOutput) +} + +type CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput struct{ *pulumi.OutputState } + +func (CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignReviewerSettingsReviewerLevelStartReview)(nil)).Elem() +} + +func (o CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutput() CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { + return o +} + +func (o CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { + return o +} + +func (o CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) Index(i pulumi.IntInput) CampaignReviewerSettingsReviewerLevelStartReviewOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignReviewerSettingsReviewerLevelStartReview { + return vs[0].([]CampaignReviewerSettingsReviewerLevelStartReview)[vs[1].(int)] + }).(CampaignReviewerSettingsReviewerLevelStartReviewOutput) +} + +type CampaignScheduleSettings struct { + // The duration (in days) that the campaign is active. + DurationInDays int `pulumi:"durationInDays"` + EndDate *string `pulumi:"endDate"` + Recurrences []CampaignScheduleSettingsRecurrence `pulumi:"recurrences"` + // The date on which the campaign is supposed to start. Accepts date in ISO 8601 format. + StartDate string `pulumi:"startDate"` + // The time zone in which the campaign is active. + TimeZone string `pulumi:"timeZone"` + // The type of campaign being scheduled. + Type string `pulumi:"type"` +} + +// CampaignScheduleSettingsInput is an input type that accepts CampaignScheduleSettingsArgs and CampaignScheduleSettingsOutput values. +// You can construct a concrete instance of `CampaignScheduleSettingsInput` via: +// +// CampaignScheduleSettingsArgs{...} +type CampaignScheduleSettingsInput interface { + pulumi.Input + + ToCampaignScheduleSettingsOutput() CampaignScheduleSettingsOutput + ToCampaignScheduleSettingsOutputWithContext(context.Context) CampaignScheduleSettingsOutput +} + +type CampaignScheduleSettingsArgs struct { + // The duration (in days) that the campaign is active. + DurationInDays pulumi.IntInput `pulumi:"durationInDays"` + EndDate pulumi.StringPtrInput `pulumi:"endDate"` + Recurrences CampaignScheduleSettingsRecurrenceArrayInput `pulumi:"recurrences"` + // The date on which the campaign is supposed to start. Accepts date in ISO 8601 format. + StartDate pulumi.StringInput `pulumi:"startDate"` + // The time zone in which the campaign is active. + TimeZone pulumi.StringInput `pulumi:"timeZone"` + // The type of campaign being scheduled. + Type pulumi.StringInput `pulumi:"type"` +} + +func (CampaignScheduleSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignScheduleSettings)(nil)).Elem() +} + +func (i CampaignScheduleSettingsArgs) ToCampaignScheduleSettingsOutput() CampaignScheduleSettingsOutput { + return i.ToCampaignScheduleSettingsOutputWithContext(context.Background()) +} + +func (i CampaignScheduleSettingsArgs) ToCampaignScheduleSettingsOutputWithContext(ctx context.Context) CampaignScheduleSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsOutput) +} + +func (i CampaignScheduleSettingsArgs) ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput { + return i.ToCampaignScheduleSettingsPtrOutputWithContext(context.Background()) +} + +func (i CampaignScheduleSettingsArgs) ToCampaignScheduleSettingsPtrOutputWithContext(ctx context.Context) CampaignScheduleSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsOutput).ToCampaignScheduleSettingsPtrOutputWithContext(ctx) +} + +// CampaignScheduleSettingsPtrInput is an input type that accepts CampaignScheduleSettingsArgs, CampaignScheduleSettingsPtr and CampaignScheduleSettingsPtrOutput values. +// You can construct a concrete instance of `CampaignScheduleSettingsPtrInput` via: +// +// CampaignScheduleSettingsArgs{...} +// +// or: +// +// nil +type CampaignScheduleSettingsPtrInput interface { + pulumi.Input + + ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput + ToCampaignScheduleSettingsPtrOutputWithContext(context.Context) CampaignScheduleSettingsPtrOutput +} + +type campaignScheduleSettingsPtrType CampaignScheduleSettingsArgs + +func CampaignScheduleSettingsPtr(v *CampaignScheduleSettingsArgs) CampaignScheduleSettingsPtrInput { + return (*campaignScheduleSettingsPtrType)(v) +} + +func (*campaignScheduleSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignScheduleSettings)(nil)).Elem() +} + +func (i *campaignScheduleSettingsPtrType) ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput { + return i.ToCampaignScheduleSettingsPtrOutputWithContext(context.Background()) +} + +func (i *campaignScheduleSettingsPtrType) ToCampaignScheduleSettingsPtrOutputWithContext(ctx context.Context) CampaignScheduleSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsPtrOutput) +} + +type CampaignScheduleSettingsOutput struct{ *pulumi.OutputState } + +func (CampaignScheduleSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignScheduleSettings)(nil)).Elem() +} + +func (o CampaignScheduleSettingsOutput) ToCampaignScheduleSettingsOutput() CampaignScheduleSettingsOutput { + return o +} + +func (o CampaignScheduleSettingsOutput) ToCampaignScheduleSettingsOutputWithContext(ctx context.Context) CampaignScheduleSettingsOutput { + return o +} + +func (o CampaignScheduleSettingsOutput) ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput { + return o.ToCampaignScheduleSettingsPtrOutputWithContext(context.Background()) +} + +func (o CampaignScheduleSettingsOutput) ToCampaignScheduleSettingsPtrOutputWithContext(ctx context.Context) CampaignScheduleSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignScheduleSettings) *CampaignScheduleSettings { + return &v + }).(CampaignScheduleSettingsPtrOutput) +} + +// The duration (in days) that the campaign is active. +func (o CampaignScheduleSettingsOutput) DurationInDays() pulumi.IntOutput { + return o.ApplyT(func(v CampaignScheduleSettings) int { return v.DurationInDays }).(pulumi.IntOutput) +} + +func (o CampaignScheduleSettingsOutput) EndDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignScheduleSettings) *string { return v.EndDate }).(pulumi.StringPtrOutput) +} + +func (o CampaignScheduleSettingsOutput) Recurrences() CampaignScheduleSettingsRecurrenceArrayOutput { + return o.ApplyT(func(v CampaignScheduleSettings) []CampaignScheduleSettingsRecurrence { return v.Recurrences }).(CampaignScheduleSettingsRecurrenceArrayOutput) +} + +// The date on which the campaign is supposed to start. Accepts date in ISO 8601 format. +func (o CampaignScheduleSettingsOutput) StartDate() pulumi.StringOutput { + return o.ApplyT(func(v CampaignScheduleSettings) string { return v.StartDate }).(pulumi.StringOutput) +} + +// The time zone in which the campaign is active. +func (o CampaignScheduleSettingsOutput) TimeZone() pulumi.StringOutput { + return o.ApplyT(func(v CampaignScheduleSettings) string { return v.TimeZone }).(pulumi.StringOutput) +} + +// The type of campaign being scheduled. +func (o CampaignScheduleSettingsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v CampaignScheduleSettings) string { return v.Type }).(pulumi.StringOutput) +} + +type CampaignScheduleSettingsPtrOutput struct{ *pulumi.OutputState } + +func (CampaignScheduleSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CampaignScheduleSettings)(nil)).Elem() +} + +func (o CampaignScheduleSettingsPtrOutput) ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput { + return o +} + +func (o CampaignScheduleSettingsPtrOutput) ToCampaignScheduleSettingsPtrOutputWithContext(ctx context.Context) CampaignScheduleSettingsPtrOutput { + return o +} + +func (o CampaignScheduleSettingsPtrOutput) Elem() CampaignScheduleSettingsOutput { + return o.ApplyT(func(v *CampaignScheduleSettings) CampaignScheduleSettings { + if v != nil { + return *v + } + var ret CampaignScheduleSettings + return ret + }).(CampaignScheduleSettingsOutput) +} + +// The duration (in days) that the campaign is active. +func (o CampaignScheduleSettingsPtrOutput) DurationInDays() pulumi.IntPtrOutput { + return o.ApplyT(func(v *CampaignScheduleSettings) *int { + if v == nil { + return nil + } + return &v.DurationInDays + }).(pulumi.IntPtrOutput) +} + +func (o CampaignScheduleSettingsPtrOutput) EndDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignScheduleSettings) *string { + if v == nil { + return nil + } + return v.EndDate + }).(pulumi.StringPtrOutput) +} + +func (o CampaignScheduleSettingsPtrOutput) Recurrences() CampaignScheduleSettingsRecurrenceArrayOutput { + return o.ApplyT(func(v *CampaignScheduleSettings) []CampaignScheduleSettingsRecurrence { + if v == nil { + return nil + } + return v.Recurrences + }).(CampaignScheduleSettingsRecurrenceArrayOutput) +} + +// The date on which the campaign is supposed to start. Accepts date in ISO 8601 format. +func (o CampaignScheduleSettingsPtrOutput) StartDate() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignScheduleSettings) *string { + if v == nil { + return nil + } + return &v.StartDate + }).(pulumi.StringPtrOutput) +} + +// The time zone in which the campaign is active. +func (o CampaignScheduleSettingsPtrOutput) TimeZone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignScheduleSettings) *string { + if v == nil { + return nil + } + return &v.TimeZone + }).(pulumi.StringPtrOutput) +} + +// The type of campaign being scheduled. +func (o CampaignScheduleSettingsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CampaignScheduleSettings) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type CampaignScheduleSettingsRecurrence struct { + // Specifies when the recurring schedule can have an end. + Ends *string `pulumi:"ends"` + // Recurrence interval specified according to ISO8061 notation for durations. + Interval string `pulumi:"interval"` + // Specifies when the recurring schedule can have an end. + RepeatOnType *string `pulumi:"repeatOnType"` +} + +// CampaignScheduleSettingsRecurrenceInput is an input type that accepts CampaignScheduleSettingsRecurrenceArgs and CampaignScheduleSettingsRecurrenceOutput values. +// You can construct a concrete instance of `CampaignScheduleSettingsRecurrenceInput` via: +// +// CampaignScheduleSettingsRecurrenceArgs{...} +type CampaignScheduleSettingsRecurrenceInput interface { + pulumi.Input + + ToCampaignScheduleSettingsRecurrenceOutput() CampaignScheduleSettingsRecurrenceOutput + ToCampaignScheduleSettingsRecurrenceOutputWithContext(context.Context) CampaignScheduleSettingsRecurrenceOutput +} + +type CampaignScheduleSettingsRecurrenceArgs struct { + // Specifies when the recurring schedule can have an end. + Ends pulumi.StringPtrInput `pulumi:"ends"` + // Recurrence interval specified according to ISO8061 notation for durations. + Interval pulumi.StringInput `pulumi:"interval"` + // Specifies when the recurring schedule can have an end. + RepeatOnType pulumi.StringPtrInput `pulumi:"repeatOnType"` +} + +func (CampaignScheduleSettingsRecurrenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignScheduleSettingsRecurrence)(nil)).Elem() +} + +func (i CampaignScheduleSettingsRecurrenceArgs) ToCampaignScheduleSettingsRecurrenceOutput() CampaignScheduleSettingsRecurrenceOutput { + return i.ToCampaignScheduleSettingsRecurrenceOutputWithContext(context.Background()) +} + +func (i CampaignScheduleSettingsRecurrenceArgs) ToCampaignScheduleSettingsRecurrenceOutputWithContext(ctx context.Context) CampaignScheduleSettingsRecurrenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsRecurrenceOutput) +} + +// CampaignScheduleSettingsRecurrenceArrayInput is an input type that accepts CampaignScheduleSettingsRecurrenceArray and CampaignScheduleSettingsRecurrenceArrayOutput values. +// You can construct a concrete instance of `CampaignScheduleSettingsRecurrenceArrayInput` via: +// +// CampaignScheduleSettingsRecurrenceArray{ CampaignScheduleSettingsRecurrenceArgs{...} } +type CampaignScheduleSettingsRecurrenceArrayInput interface { + pulumi.Input + + ToCampaignScheduleSettingsRecurrenceArrayOutput() CampaignScheduleSettingsRecurrenceArrayOutput + ToCampaignScheduleSettingsRecurrenceArrayOutputWithContext(context.Context) CampaignScheduleSettingsRecurrenceArrayOutput +} + +type CampaignScheduleSettingsRecurrenceArray []CampaignScheduleSettingsRecurrenceInput + +func (CampaignScheduleSettingsRecurrenceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignScheduleSettingsRecurrence)(nil)).Elem() +} + +func (i CampaignScheduleSettingsRecurrenceArray) ToCampaignScheduleSettingsRecurrenceArrayOutput() CampaignScheduleSettingsRecurrenceArrayOutput { + return i.ToCampaignScheduleSettingsRecurrenceArrayOutputWithContext(context.Background()) +} + +func (i CampaignScheduleSettingsRecurrenceArray) ToCampaignScheduleSettingsRecurrenceArrayOutputWithContext(ctx context.Context) CampaignScheduleSettingsRecurrenceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsRecurrenceArrayOutput) +} + +type CampaignScheduleSettingsRecurrenceOutput struct{ *pulumi.OutputState } + +func (CampaignScheduleSettingsRecurrenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CampaignScheduleSettingsRecurrence)(nil)).Elem() +} + +func (o CampaignScheduleSettingsRecurrenceOutput) ToCampaignScheduleSettingsRecurrenceOutput() CampaignScheduleSettingsRecurrenceOutput { + return o +} + +func (o CampaignScheduleSettingsRecurrenceOutput) ToCampaignScheduleSettingsRecurrenceOutputWithContext(ctx context.Context) CampaignScheduleSettingsRecurrenceOutput { + return o +} + +// Specifies when the recurring schedule can have an end. +func (o CampaignScheduleSettingsRecurrenceOutput) Ends() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignScheduleSettingsRecurrence) *string { return v.Ends }).(pulumi.StringPtrOutput) +} + +// Recurrence interval specified according to ISO8061 notation for durations. +func (o CampaignScheduleSettingsRecurrenceOutput) Interval() pulumi.StringOutput { + return o.ApplyT(func(v CampaignScheduleSettingsRecurrence) string { return v.Interval }).(pulumi.StringOutput) +} + +// Specifies when the recurring schedule can have an end. +func (o CampaignScheduleSettingsRecurrenceOutput) RepeatOnType() pulumi.StringPtrOutput { + return o.ApplyT(func(v CampaignScheduleSettingsRecurrence) *string { return v.RepeatOnType }).(pulumi.StringPtrOutput) +} + +type CampaignScheduleSettingsRecurrenceArrayOutput struct{ *pulumi.OutputState } + +func (CampaignScheduleSettingsRecurrenceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]CampaignScheduleSettingsRecurrence)(nil)).Elem() +} + +func (o CampaignScheduleSettingsRecurrenceArrayOutput) ToCampaignScheduleSettingsRecurrenceArrayOutput() CampaignScheduleSettingsRecurrenceArrayOutput { + return o +} + +func (o CampaignScheduleSettingsRecurrenceArrayOutput) ToCampaignScheduleSettingsRecurrenceArrayOutputWithContext(ctx context.Context) CampaignScheduleSettingsRecurrenceArrayOutput { + return o +} + +func (o CampaignScheduleSettingsRecurrenceArrayOutput) Index(i pulumi.IntInput) CampaignScheduleSettingsRecurrenceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignScheduleSettingsRecurrence { + return vs[0].([]CampaignScheduleSettingsRecurrence)[vs[1].(int)] + }).(CampaignScheduleSettingsRecurrenceOutput) +} + +type CustomizedSigninPageContentSecurityPolicySetting struct { + // enforced or report_only + Mode *string `pulumi:"mode"` + ReportUri *string `pulumi:"reportUri"` + SrcLists []string `pulumi:"srcLists"` +} + +// CustomizedSigninPageContentSecurityPolicySettingInput is an input type that accepts CustomizedSigninPageContentSecurityPolicySettingArgs and CustomizedSigninPageContentSecurityPolicySettingOutput values. +// You can construct a concrete instance of `CustomizedSigninPageContentSecurityPolicySettingInput` via: +// +// CustomizedSigninPageContentSecurityPolicySettingArgs{...} +type CustomizedSigninPageContentSecurityPolicySettingInput interface { + pulumi.Input + + ToCustomizedSigninPageContentSecurityPolicySettingOutput() CustomizedSigninPageContentSecurityPolicySettingOutput + ToCustomizedSigninPageContentSecurityPolicySettingOutputWithContext(context.Context) CustomizedSigninPageContentSecurityPolicySettingOutput +} + +type CustomizedSigninPageContentSecurityPolicySettingArgs struct { + // enforced or report_only + Mode pulumi.StringPtrInput `pulumi:"mode"` + ReportUri pulumi.StringPtrInput `pulumi:"reportUri"` + SrcLists pulumi.StringArrayInput `pulumi:"srcLists"` +} + +func (CustomizedSigninPageContentSecurityPolicySettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomizedSigninPageContentSecurityPolicySetting)(nil)).Elem() +} + +func (i CustomizedSigninPageContentSecurityPolicySettingArgs) ToCustomizedSigninPageContentSecurityPolicySettingOutput() CustomizedSigninPageContentSecurityPolicySettingOutput { + return i.ToCustomizedSigninPageContentSecurityPolicySettingOutputWithContext(context.Background()) +} + +func (i CustomizedSigninPageContentSecurityPolicySettingArgs) ToCustomizedSigninPageContentSecurityPolicySettingOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageContentSecurityPolicySettingOutput) +} + +func (i CustomizedSigninPageContentSecurityPolicySettingArgs) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput { + return i.ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +} + +func (i CustomizedSigninPageContentSecurityPolicySettingArgs) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageContentSecurityPolicySettingOutput).ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx) +} + +// CustomizedSigninPageContentSecurityPolicySettingPtrInput is an input type that accepts CustomizedSigninPageContentSecurityPolicySettingArgs, CustomizedSigninPageContentSecurityPolicySettingPtr and CustomizedSigninPageContentSecurityPolicySettingPtrOutput values. +// You can construct a concrete instance of `CustomizedSigninPageContentSecurityPolicySettingPtrInput` via: +// +// CustomizedSigninPageContentSecurityPolicySettingArgs{...} +// +// or: +// +// nil +type CustomizedSigninPageContentSecurityPolicySettingPtrInput interface { + pulumi.Input + + ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput + ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput +} + +type customizedSigninPageContentSecurityPolicySettingPtrType CustomizedSigninPageContentSecurityPolicySettingArgs + +func CustomizedSigninPageContentSecurityPolicySettingPtr(v *CustomizedSigninPageContentSecurityPolicySettingArgs) CustomizedSigninPageContentSecurityPolicySettingPtrInput { + return (*customizedSigninPageContentSecurityPolicySettingPtrType)(v) +} + +func (*customizedSigninPageContentSecurityPolicySettingPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomizedSigninPageContentSecurityPolicySetting)(nil)).Elem() +} + +func (i *customizedSigninPageContentSecurityPolicySettingPtrType) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput { + return i.ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +} + +func (i *customizedSigninPageContentSecurityPolicySettingPtrType) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageContentSecurityPolicySettingPtrOutput) +} + +type CustomizedSigninPageContentSecurityPolicySettingOutput struct{ *pulumi.OutputState } + +func (CustomizedSigninPageContentSecurityPolicySettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomizedSigninPageContentSecurityPolicySetting)(nil)).Elem() +} + +func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ToCustomizedSigninPageContentSecurityPolicySettingOutput() CustomizedSigninPageContentSecurityPolicySettingOutput { + return o +} + +func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ToCustomizedSigninPageContentSecurityPolicySettingOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingOutput { + return o +} + +func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput { + return o.ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +} + +func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomizedSigninPageContentSecurityPolicySetting) *CustomizedSigninPageContentSecurityPolicySetting { + return &v + }).(CustomizedSigninPageContentSecurityPolicySettingPtrOutput) +} + +// enforced or report_only +func (o CustomizedSigninPageContentSecurityPolicySettingOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageContentSecurityPolicySetting) *string { return v.Mode }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ReportUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageContentSecurityPolicySetting) *string { return v.ReportUri }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageContentSecurityPolicySettingOutput) SrcLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v CustomizedSigninPageContentSecurityPolicySetting) []string { return v.SrcLists }).(pulumi.StringArrayOutput) +} + +type CustomizedSigninPageContentSecurityPolicySettingPtrOutput struct{ *pulumi.OutputState } + +func (CustomizedSigninPageContentSecurityPolicySettingPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomizedSigninPageContentSecurityPolicySetting)(nil)).Elem() +} + +func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput { + return o +} + +func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput { + return o +} + +func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) Elem() CustomizedSigninPageContentSecurityPolicySettingOutput { + return o.ApplyT(func(v *CustomizedSigninPageContentSecurityPolicySetting) CustomizedSigninPageContentSecurityPolicySetting { + if v != nil { + return *v + } + var ret CustomizedSigninPageContentSecurityPolicySetting + return ret + }).(CustomizedSigninPageContentSecurityPolicySettingOutput) +} + +// enforced or report_only +func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageContentSecurityPolicySetting) *string { + if v == nil { + return nil + } + return v.Mode + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) ReportUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageContentSecurityPolicySetting) *string { + if v == nil { + return nil + } + return v.ReportUri + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) SrcLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v *CustomizedSigninPageContentSecurityPolicySetting) []string { + if v == nil { + return nil + } + return v.SrcLists + }).(pulumi.StringArrayOutput) +} + +type CustomizedSigninPageWidgetCustomizations struct { + AuthenticatorPageCustomLinkLabel *string `pulumi:"authenticatorPageCustomLinkLabel"` + AuthenticatorPageCustomLinkUrl *string `pulumi:"authenticatorPageCustomLinkUrl"` + ClassicRecoveryFlowEmailOrUsernameLabel *string `pulumi:"classicRecoveryFlowEmailOrUsernameLabel"` + CustomLink1Label *string `pulumi:"customLink1Label"` + CustomLink1Url *string `pulumi:"customLink1Url"` + CustomLink2Label *string `pulumi:"customLink2Label"` + CustomLink2Url *string `pulumi:"customLink2Url"` + ForgotPasswordLabel *string `pulumi:"forgotPasswordLabel"` + ForgotPasswordUrl *string `pulumi:"forgotPasswordUrl"` + HelpLabel *string `pulumi:"helpLabel"` + HelpUrl *string `pulumi:"helpUrl"` + PasswordInfoTip *string `pulumi:"passwordInfoTip"` + PasswordLabel *string `pulumi:"passwordLabel"` + ShowPasswordVisibilityToggle *bool `pulumi:"showPasswordVisibilityToggle"` + ShowUserIdentifier *bool `pulumi:"showUserIdentifier"` + SignInLabel *string `pulumi:"signInLabel"` + UnlockAccountLabel *string `pulumi:"unlockAccountLabel"` + UnlockAccountUrl *string `pulumi:"unlockAccountUrl"` + UsernameInfoTip *string `pulumi:"usernameInfoTip"` + UsernameLabel *string `pulumi:"usernameLabel"` + WidgetGeneration string `pulumi:"widgetGeneration"` +} + +// CustomizedSigninPageWidgetCustomizationsInput is an input type that accepts CustomizedSigninPageWidgetCustomizationsArgs and CustomizedSigninPageWidgetCustomizationsOutput values. +// You can construct a concrete instance of `CustomizedSigninPageWidgetCustomizationsInput` via: +// +// CustomizedSigninPageWidgetCustomizationsArgs{...} +type CustomizedSigninPageWidgetCustomizationsInput interface { + pulumi.Input + + ToCustomizedSigninPageWidgetCustomizationsOutput() CustomizedSigninPageWidgetCustomizationsOutput + ToCustomizedSigninPageWidgetCustomizationsOutputWithContext(context.Context) CustomizedSigninPageWidgetCustomizationsOutput +} + +type CustomizedSigninPageWidgetCustomizationsArgs struct { + AuthenticatorPageCustomLinkLabel pulumi.StringPtrInput `pulumi:"authenticatorPageCustomLinkLabel"` + AuthenticatorPageCustomLinkUrl pulumi.StringPtrInput `pulumi:"authenticatorPageCustomLinkUrl"` + ClassicRecoveryFlowEmailOrUsernameLabel pulumi.StringPtrInput `pulumi:"classicRecoveryFlowEmailOrUsernameLabel"` + CustomLink1Label pulumi.StringPtrInput `pulumi:"customLink1Label"` + CustomLink1Url pulumi.StringPtrInput `pulumi:"customLink1Url"` + CustomLink2Label pulumi.StringPtrInput `pulumi:"customLink2Label"` + CustomLink2Url pulumi.StringPtrInput `pulumi:"customLink2Url"` + ForgotPasswordLabel pulumi.StringPtrInput `pulumi:"forgotPasswordLabel"` + ForgotPasswordUrl pulumi.StringPtrInput `pulumi:"forgotPasswordUrl"` + HelpLabel pulumi.StringPtrInput `pulumi:"helpLabel"` + HelpUrl pulumi.StringPtrInput `pulumi:"helpUrl"` + PasswordInfoTip pulumi.StringPtrInput `pulumi:"passwordInfoTip"` + PasswordLabel pulumi.StringPtrInput `pulumi:"passwordLabel"` + ShowPasswordVisibilityToggle pulumi.BoolPtrInput `pulumi:"showPasswordVisibilityToggle"` + ShowUserIdentifier pulumi.BoolPtrInput `pulumi:"showUserIdentifier"` + SignInLabel pulumi.StringPtrInput `pulumi:"signInLabel"` + UnlockAccountLabel pulumi.StringPtrInput `pulumi:"unlockAccountLabel"` + UnlockAccountUrl pulumi.StringPtrInput `pulumi:"unlockAccountUrl"` + UsernameInfoTip pulumi.StringPtrInput `pulumi:"usernameInfoTip"` + UsernameLabel pulumi.StringPtrInput `pulumi:"usernameLabel"` + WidgetGeneration pulumi.StringInput `pulumi:"widgetGeneration"` +} + +func (CustomizedSigninPageWidgetCustomizationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*CustomizedSigninPageWidgetCustomizations)(nil)).Elem() +} + +func (i CustomizedSigninPageWidgetCustomizationsArgs) ToCustomizedSigninPageWidgetCustomizationsOutput() CustomizedSigninPageWidgetCustomizationsOutput { + return i.ToCustomizedSigninPageWidgetCustomizationsOutputWithContext(context.Background()) +} + +func (i CustomizedSigninPageWidgetCustomizationsArgs) ToCustomizedSigninPageWidgetCustomizationsOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageWidgetCustomizationsOutput) +} + +func (i CustomizedSigninPageWidgetCustomizationsArgs) ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput { + return i.ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) +} + +func (i CustomizedSigninPageWidgetCustomizationsArgs) ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageWidgetCustomizationsOutput).ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx) +} + +// CustomizedSigninPageWidgetCustomizationsPtrInput is an input type that accepts CustomizedSigninPageWidgetCustomizationsArgs, CustomizedSigninPageWidgetCustomizationsPtr and CustomizedSigninPageWidgetCustomizationsPtrOutput values. +// You can construct a concrete instance of `CustomizedSigninPageWidgetCustomizationsPtrInput` via: +// +// CustomizedSigninPageWidgetCustomizationsArgs{...} +// +// or: +// +// nil +type CustomizedSigninPageWidgetCustomizationsPtrInput interface { + pulumi.Input + + ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput + ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput +} + +type customizedSigninPageWidgetCustomizationsPtrType CustomizedSigninPageWidgetCustomizationsArgs + +func CustomizedSigninPageWidgetCustomizationsPtr(v *CustomizedSigninPageWidgetCustomizationsArgs) CustomizedSigninPageWidgetCustomizationsPtrInput { + return (*customizedSigninPageWidgetCustomizationsPtrType)(v) +} + +func (*customizedSigninPageWidgetCustomizationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**CustomizedSigninPageWidgetCustomizations)(nil)).Elem() +} + +func (i *customizedSigninPageWidgetCustomizationsPtrType) ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput { + return i.ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) +} + +func (i *customizedSigninPageWidgetCustomizationsPtrType) ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageWidgetCustomizationsPtrOutput) +} + +type CustomizedSigninPageWidgetCustomizationsOutput struct{ *pulumi.OutputState } + +func (CustomizedSigninPageWidgetCustomizationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*CustomizedSigninPageWidgetCustomizations)(nil)).Elem() +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) ToCustomizedSigninPageWidgetCustomizationsOutput() CustomizedSigninPageWidgetCustomizationsOutput { + return o +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) ToCustomizedSigninPageWidgetCustomizationsOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsOutput { + return o +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput { + return o.ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomizedSigninPageWidgetCustomizations) *CustomizedSigninPageWidgetCustomizations { + return &v + }).(CustomizedSigninPageWidgetCustomizationsPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) AuthenticatorPageCustomLinkLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.AuthenticatorPageCustomLinkLabel }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) AuthenticatorPageCustomLinkUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.AuthenticatorPageCustomLinkUrl }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) ClassicRecoveryFlowEmailOrUsernameLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { + return v.ClassicRecoveryFlowEmailOrUsernameLabel + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) CustomLink1Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.CustomLink1Label }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) CustomLink1Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.CustomLink1Url }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) CustomLink2Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.CustomLink2Label }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) CustomLink2Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.CustomLink2Url }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) ForgotPasswordLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.ForgotPasswordLabel }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) ForgotPasswordUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.ForgotPasswordUrl }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) HelpLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.HelpLabel }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) HelpUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.HelpUrl }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) PasswordInfoTip() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.PasswordInfoTip }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) PasswordLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.PasswordLabel }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) ShowPasswordVisibilityToggle() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *bool { return v.ShowPasswordVisibilityToggle }).(pulumi.BoolPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) ShowUserIdentifier() pulumi.BoolPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *bool { return v.ShowUserIdentifier }).(pulumi.BoolPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) SignInLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.SignInLabel }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) UnlockAccountLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.UnlockAccountLabel }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) UnlockAccountUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.UnlockAccountUrl }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) UsernameInfoTip() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.UsernameInfoTip }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) UsernameLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.UsernameLabel }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsOutput) WidgetGeneration() pulumi.StringOutput { + return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) string { return v.WidgetGeneration }).(pulumi.StringOutput) +} + +type CustomizedSigninPageWidgetCustomizationsPtrOutput struct{ *pulumi.OutputState } + +func (CustomizedSigninPageWidgetCustomizationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**CustomizedSigninPageWidgetCustomizations)(nil)).Elem() +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput { + return o +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput { + return o +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) Elem() CustomizedSigninPageWidgetCustomizationsOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) CustomizedSigninPageWidgetCustomizations { + if v != nil { + return *v + } + var ret CustomizedSigninPageWidgetCustomizations + return ret + }).(CustomizedSigninPageWidgetCustomizationsOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) AuthenticatorPageCustomLinkLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.AuthenticatorPageCustomLinkLabel + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) AuthenticatorPageCustomLinkUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.AuthenticatorPageCustomLinkUrl + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ClassicRecoveryFlowEmailOrUsernameLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.ClassicRecoveryFlowEmailOrUsernameLabel + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) CustomLink1Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.CustomLink1Label + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) CustomLink1Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.CustomLink1Url + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) CustomLink2Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.CustomLink2Label + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) CustomLink2Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.CustomLink2Url + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ForgotPasswordLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.ForgotPasswordLabel + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ForgotPasswordUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.ForgotPasswordUrl + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) HelpLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.HelpLabel + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) HelpUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.HelpUrl + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) PasswordInfoTip() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.PasswordInfoTip + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) PasswordLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.PasswordLabel + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ShowPasswordVisibilityToggle() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *bool { + if v == nil { + return nil + } + return v.ShowPasswordVisibilityToggle + }).(pulumi.BoolPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ShowUserIdentifier() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *bool { + if v == nil { + return nil + } + return v.ShowUserIdentifier + }).(pulumi.BoolPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) SignInLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.SignInLabel + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) UnlockAccountLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.UnlockAccountLabel + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) UnlockAccountUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.UnlockAccountUrl + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) UsernameInfoTip() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.UsernameInfoTip + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) UsernameLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.UsernameLabel + }).(pulumi.StringPtrOutput) +} + +func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) WidgetGeneration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return &v.WidgetGeneration + }).(pulumi.StringPtrOutput) +} + +type DomainDnsRecord struct { + // TXT record expiration + Expiration *string `pulumi:"expiration"` + // DNS record name + Fqdn *string `pulumi:"fqdn"` + // Record type can be TXT or CNAME + RecordType *string `pulumi:"recordType"` + // DNS verification value + Values []string `pulumi:"values"` +} + +// DomainDnsRecordInput is an input type that accepts DomainDnsRecordArgs and DomainDnsRecordOutput values. +// You can construct a concrete instance of `DomainDnsRecordInput` via: +// +// DomainDnsRecordArgs{...} +type DomainDnsRecordInput interface { + pulumi.Input + + ToDomainDnsRecordOutput() DomainDnsRecordOutput + ToDomainDnsRecordOutputWithContext(context.Context) DomainDnsRecordOutput +} + +type DomainDnsRecordArgs struct { + // TXT record expiration + Expiration pulumi.StringPtrInput `pulumi:"expiration"` + // DNS record name + Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` + // Record type can be TXT or CNAME + RecordType pulumi.StringPtrInput `pulumi:"recordType"` + // DNS verification value + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (DomainDnsRecordArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DomainDnsRecord)(nil)).Elem() +} + +func (i DomainDnsRecordArgs) ToDomainDnsRecordOutput() DomainDnsRecordOutput { + return i.ToDomainDnsRecordOutputWithContext(context.Background()) +} + +func (i DomainDnsRecordArgs) ToDomainDnsRecordOutputWithContext(ctx context.Context) DomainDnsRecordOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainDnsRecordOutput) +} + +// DomainDnsRecordArrayInput is an input type that accepts DomainDnsRecordArray and DomainDnsRecordArrayOutput values. +// You can construct a concrete instance of `DomainDnsRecordArrayInput` via: +// +// DomainDnsRecordArray{ DomainDnsRecordArgs{...} } +type DomainDnsRecordArrayInput interface { + pulumi.Input + + ToDomainDnsRecordArrayOutput() DomainDnsRecordArrayOutput + ToDomainDnsRecordArrayOutputWithContext(context.Context) DomainDnsRecordArrayOutput +} + +type DomainDnsRecordArray []DomainDnsRecordInput + +func (DomainDnsRecordArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainDnsRecord)(nil)).Elem() +} + +func (i DomainDnsRecordArray) ToDomainDnsRecordArrayOutput() DomainDnsRecordArrayOutput { + return i.ToDomainDnsRecordArrayOutputWithContext(context.Background()) +} + +func (i DomainDnsRecordArray) ToDomainDnsRecordArrayOutputWithContext(ctx context.Context) DomainDnsRecordArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DomainDnsRecordArrayOutput) +} + +type DomainDnsRecordOutput struct{ *pulumi.OutputState } + +func (DomainDnsRecordOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DomainDnsRecord)(nil)).Elem() +} + +func (o DomainDnsRecordOutput) ToDomainDnsRecordOutput() DomainDnsRecordOutput { + return o +} + +func (o DomainDnsRecordOutput) ToDomainDnsRecordOutputWithContext(ctx context.Context) DomainDnsRecordOutput { + return o +} + +// TXT record expiration +func (o DomainDnsRecordOutput) Expiration() pulumi.StringPtrOutput { + return o.ApplyT(func(v DomainDnsRecord) *string { return v.Expiration }).(pulumi.StringPtrOutput) +} + +// DNS record name +func (o DomainDnsRecordOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v DomainDnsRecord) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +} + +// Record type can be TXT or CNAME +func (o DomainDnsRecordOutput) RecordType() pulumi.StringPtrOutput { + return o.ApplyT(func(v DomainDnsRecord) *string { return v.RecordType }).(pulumi.StringPtrOutput) +} + +// DNS verification value +func (o DomainDnsRecordOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v DomainDnsRecord) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type DomainDnsRecordArrayOutput struct{ *pulumi.OutputState } + +func (DomainDnsRecordArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]DomainDnsRecord)(nil)).Elem() +} + +func (o DomainDnsRecordArrayOutput) ToDomainDnsRecordArrayOutput() DomainDnsRecordArrayOutput { + return o +} + +func (o DomainDnsRecordArrayOutput) ToDomainDnsRecordArrayOutputWithContext(ctx context.Context) DomainDnsRecordArrayOutput { + return o +} + +func (o DomainDnsRecordArrayOutput) Index(i pulumi.IntInput) DomainDnsRecordOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) DomainDnsRecord { + return vs[0].([]DomainDnsRecord)[vs[1].(int)] + }).(DomainDnsRecordOutput) +} + +type EmailDomainDnsValidationRecord struct { + // DNS TXT record expiration + // + // Deprecated: This field has been removed in the newest go sdk version and has become noop + Expiration *string `pulumi:"expiration"` + // DNS record name + Fqdn *string `pulumi:"fqdn"` + // Record type can be TXT or cname + RecordType *string `pulumi:"recordType"` + // DNS record value + Value *string `pulumi:"value"` +} + +// EmailDomainDnsValidationRecordInput is an input type that accepts EmailDomainDnsValidationRecordArgs and EmailDomainDnsValidationRecordOutput values. +// You can construct a concrete instance of `EmailDomainDnsValidationRecordInput` via: +// +// EmailDomainDnsValidationRecordArgs{...} +type EmailDomainDnsValidationRecordInput interface { + pulumi.Input + + ToEmailDomainDnsValidationRecordOutput() EmailDomainDnsValidationRecordOutput + ToEmailDomainDnsValidationRecordOutputWithContext(context.Context) EmailDomainDnsValidationRecordOutput +} + +type EmailDomainDnsValidationRecordArgs struct { + // DNS TXT record expiration + // + // Deprecated: This field has been removed in the newest go sdk version and has become noop + Expiration pulumi.StringPtrInput `pulumi:"expiration"` + // DNS record name + Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` + // Record type can be TXT or cname + RecordType pulumi.StringPtrInput `pulumi:"recordType"` + // DNS record value + Value pulumi.StringPtrInput `pulumi:"value"` +} + +func (EmailDomainDnsValidationRecordArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EmailDomainDnsValidationRecord)(nil)).Elem() +} + +func (i EmailDomainDnsValidationRecordArgs) ToEmailDomainDnsValidationRecordOutput() EmailDomainDnsValidationRecordOutput { + return i.ToEmailDomainDnsValidationRecordOutputWithContext(context.Background()) +} + +func (i EmailDomainDnsValidationRecordArgs) ToEmailDomainDnsValidationRecordOutputWithContext(ctx context.Context) EmailDomainDnsValidationRecordOutput { + return pulumi.ToOutputWithContext(ctx, i).(EmailDomainDnsValidationRecordOutput) +} + +// EmailDomainDnsValidationRecordArrayInput is an input type that accepts EmailDomainDnsValidationRecordArray and EmailDomainDnsValidationRecordArrayOutput values. +// You can construct a concrete instance of `EmailDomainDnsValidationRecordArrayInput` via: +// +// EmailDomainDnsValidationRecordArray{ EmailDomainDnsValidationRecordArgs{...} } +type EmailDomainDnsValidationRecordArrayInput interface { + pulumi.Input + + ToEmailDomainDnsValidationRecordArrayOutput() EmailDomainDnsValidationRecordArrayOutput + ToEmailDomainDnsValidationRecordArrayOutputWithContext(context.Context) EmailDomainDnsValidationRecordArrayOutput +} + +type EmailDomainDnsValidationRecordArray []EmailDomainDnsValidationRecordInput + +func (EmailDomainDnsValidationRecordArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EmailDomainDnsValidationRecord)(nil)).Elem() +} + +func (i EmailDomainDnsValidationRecordArray) ToEmailDomainDnsValidationRecordArrayOutput() EmailDomainDnsValidationRecordArrayOutput { + return i.ToEmailDomainDnsValidationRecordArrayOutputWithContext(context.Background()) +} + +func (i EmailDomainDnsValidationRecordArray) ToEmailDomainDnsValidationRecordArrayOutputWithContext(ctx context.Context) EmailDomainDnsValidationRecordArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EmailDomainDnsValidationRecordArrayOutput) +} + +type EmailDomainDnsValidationRecordOutput struct{ *pulumi.OutputState } + +func (EmailDomainDnsValidationRecordOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EmailDomainDnsValidationRecord)(nil)).Elem() +} + +func (o EmailDomainDnsValidationRecordOutput) ToEmailDomainDnsValidationRecordOutput() EmailDomainDnsValidationRecordOutput { + return o +} + +func (o EmailDomainDnsValidationRecordOutput) ToEmailDomainDnsValidationRecordOutputWithContext(ctx context.Context) EmailDomainDnsValidationRecordOutput { + return o +} + +// DNS TXT record expiration +// +// Deprecated: This field has been removed in the newest go sdk version and has become noop +func (o EmailDomainDnsValidationRecordOutput) Expiration() pulumi.StringPtrOutput { + return o.ApplyT(func(v EmailDomainDnsValidationRecord) *string { return v.Expiration }).(pulumi.StringPtrOutput) +} + +// DNS record name +func (o EmailDomainDnsValidationRecordOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v EmailDomainDnsValidationRecord) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +} + +// Record type can be TXT or cname +func (o EmailDomainDnsValidationRecordOutput) RecordType() pulumi.StringPtrOutput { + return o.ApplyT(func(v EmailDomainDnsValidationRecord) *string { return v.RecordType }).(pulumi.StringPtrOutput) +} + +// DNS record value +func (o EmailDomainDnsValidationRecordOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v EmailDomainDnsValidationRecord) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type EmailDomainDnsValidationRecordArrayOutput struct{ *pulumi.OutputState } + +func (EmailDomainDnsValidationRecordArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EmailDomainDnsValidationRecord)(nil)).Elem() +} + +func (o EmailDomainDnsValidationRecordArrayOutput) ToEmailDomainDnsValidationRecordArrayOutput() EmailDomainDnsValidationRecordArrayOutput { + return o +} + +func (o EmailDomainDnsValidationRecordArrayOutput) ToEmailDomainDnsValidationRecordArrayOutputWithContext(ctx context.Context) EmailDomainDnsValidationRecordArrayOutput { + return o +} + +func (o EmailDomainDnsValidationRecordArrayOutput) Index(i pulumi.IntInput) EmailDomainDnsValidationRecordOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EmailDomainDnsValidationRecord { + return vs[0].([]EmailDomainDnsValidationRecord)[vs[1].(int)] + }).(EmailDomainDnsValidationRecordOutput) +} + +type EmailSenderDnsRecord struct { + // DNS record name + Fqdn *string `pulumi:"fqdn"` + // Record type can be TXT or CNAME + RecordType *string `pulumi:"recordType"` + // DNS verification value + Value *string `pulumi:"value"` +} + +// EmailSenderDnsRecordInput is an input type that accepts EmailSenderDnsRecordArgs and EmailSenderDnsRecordOutput values. +// You can construct a concrete instance of `EmailSenderDnsRecordInput` via: +// +// EmailSenderDnsRecordArgs{...} +type EmailSenderDnsRecordInput interface { + pulumi.Input + + ToEmailSenderDnsRecordOutput() EmailSenderDnsRecordOutput + ToEmailSenderDnsRecordOutputWithContext(context.Context) EmailSenderDnsRecordOutput +} + +type EmailSenderDnsRecordArgs struct { + // DNS record name + Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` + // Record type can be TXT or CNAME + RecordType pulumi.StringPtrInput `pulumi:"recordType"` + // DNS verification value + Value pulumi.StringPtrInput `pulumi:"value"` +} + +func (EmailSenderDnsRecordArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EmailSenderDnsRecord)(nil)).Elem() +} + +func (i EmailSenderDnsRecordArgs) ToEmailSenderDnsRecordOutput() EmailSenderDnsRecordOutput { + return i.ToEmailSenderDnsRecordOutputWithContext(context.Background()) +} + +func (i EmailSenderDnsRecordArgs) ToEmailSenderDnsRecordOutputWithContext(ctx context.Context) EmailSenderDnsRecordOutput { + return pulumi.ToOutputWithContext(ctx, i).(EmailSenderDnsRecordOutput) +} + +// EmailSenderDnsRecordArrayInput is an input type that accepts EmailSenderDnsRecordArray and EmailSenderDnsRecordArrayOutput values. +// You can construct a concrete instance of `EmailSenderDnsRecordArrayInput` via: +// +// EmailSenderDnsRecordArray{ EmailSenderDnsRecordArgs{...} } +type EmailSenderDnsRecordArrayInput interface { + pulumi.Input + + ToEmailSenderDnsRecordArrayOutput() EmailSenderDnsRecordArrayOutput + ToEmailSenderDnsRecordArrayOutputWithContext(context.Context) EmailSenderDnsRecordArrayOutput +} + +type EmailSenderDnsRecordArray []EmailSenderDnsRecordInput + +func (EmailSenderDnsRecordArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EmailSenderDnsRecord)(nil)).Elem() +} + +func (i EmailSenderDnsRecordArray) ToEmailSenderDnsRecordArrayOutput() EmailSenderDnsRecordArrayOutput { + return i.ToEmailSenderDnsRecordArrayOutputWithContext(context.Background()) +} + +func (i EmailSenderDnsRecordArray) ToEmailSenderDnsRecordArrayOutputWithContext(ctx context.Context) EmailSenderDnsRecordArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EmailSenderDnsRecordArrayOutput) +} + +type EmailSenderDnsRecordOutput struct{ *pulumi.OutputState } + +func (EmailSenderDnsRecordOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EmailSenderDnsRecord)(nil)).Elem() +} + +func (o EmailSenderDnsRecordOutput) ToEmailSenderDnsRecordOutput() EmailSenderDnsRecordOutput { + return o +} + +func (o EmailSenderDnsRecordOutput) ToEmailSenderDnsRecordOutputWithContext(ctx context.Context) EmailSenderDnsRecordOutput { + return o +} + +// DNS record name +func (o EmailSenderDnsRecordOutput) Fqdn() pulumi.StringPtrOutput { + return o.ApplyT(func(v EmailSenderDnsRecord) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +} + +// Record type can be TXT or CNAME +func (o EmailSenderDnsRecordOutput) RecordType() pulumi.StringPtrOutput { + return o.ApplyT(func(v EmailSenderDnsRecord) *string { return v.RecordType }).(pulumi.StringPtrOutput) +} + +// DNS verification value +func (o EmailSenderDnsRecordOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v EmailSenderDnsRecord) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type EmailSenderDnsRecordArrayOutput struct{ *pulumi.OutputState } + +func (EmailSenderDnsRecordArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EmailSenderDnsRecord)(nil)).Elem() +} + +func (o EmailSenderDnsRecordArrayOutput) ToEmailSenderDnsRecordArrayOutput() EmailSenderDnsRecordArrayOutput { + return o +} + +func (o EmailSenderDnsRecordArrayOutput) ToEmailSenderDnsRecordArrayOutputWithContext(ctx context.Context) EmailSenderDnsRecordArrayOutput { + return o +} + +func (o EmailSenderDnsRecordArrayOutput) Index(i pulumi.IntInput) EmailSenderDnsRecordOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EmailSenderDnsRecord { + return vs[0].([]EmailSenderDnsRecord)[vs[1].(int)] + }).(EmailSenderDnsRecordOutput) +} + +type EndUserMyRequestsRequesterFieldValue struct { + // The ID of a requesterField. This identifies the specific field in the approval system. + Id string `pulumi:"id"` + // A human-readable description of requesterField. It's used for display purposes and is optional. + Label *string `pulumi:"label"` + // Type of value for the requester field. Valid values: `DURATION`, `ISO_DATE`, `MULTISELECT`, `OKTA_USER_ID`, `SELECT`, `TEXT`. + Type *string `pulumi:"type"` + // The value of requesterField, which depends on the type of the field. Used for single-value fields. + Value *string `pulumi:"value"` + // The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of `value`. + Values []string `pulumi:"values"` +} + +// EndUserMyRequestsRequesterFieldValueInput is an input type that accepts EndUserMyRequestsRequesterFieldValueArgs and EndUserMyRequestsRequesterFieldValueOutput values. +// You can construct a concrete instance of `EndUserMyRequestsRequesterFieldValueInput` via: +// +// EndUserMyRequestsRequesterFieldValueArgs{...} +type EndUserMyRequestsRequesterFieldValueInput interface { + pulumi.Input + + ToEndUserMyRequestsRequesterFieldValueOutput() EndUserMyRequestsRequesterFieldValueOutput + ToEndUserMyRequestsRequesterFieldValueOutputWithContext(context.Context) EndUserMyRequestsRequesterFieldValueOutput +} + +type EndUserMyRequestsRequesterFieldValueArgs struct { + // The ID of a requesterField. This identifies the specific field in the approval system. + Id pulumi.StringInput `pulumi:"id"` + // A human-readable description of requesterField. It's used for display purposes and is optional. + Label pulumi.StringPtrInput `pulumi:"label"` + // Type of value for the requester field. Valid values: `DURATION`, `ISO_DATE`, `MULTISELECT`, `OKTA_USER_ID`, `SELECT`, `TEXT`. + Type pulumi.StringPtrInput `pulumi:"type"` + // The value of requesterField, which depends on the type of the field. Used for single-value fields. + Value pulumi.StringPtrInput `pulumi:"value"` + // The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of `value`. + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (EndUserMyRequestsRequesterFieldValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EndUserMyRequestsRequesterFieldValue)(nil)).Elem() +} + +func (i EndUserMyRequestsRequesterFieldValueArgs) ToEndUserMyRequestsRequesterFieldValueOutput() EndUserMyRequestsRequesterFieldValueOutput { + return i.ToEndUserMyRequestsRequesterFieldValueOutputWithContext(context.Background()) +} + +func (i EndUserMyRequestsRequesterFieldValueArgs) ToEndUserMyRequestsRequesterFieldValueOutputWithContext(ctx context.Context) EndUserMyRequestsRequesterFieldValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(EndUserMyRequestsRequesterFieldValueOutput) +} + +// EndUserMyRequestsRequesterFieldValueArrayInput is an input type that accepts EndUserMyRequestsRequesterFieldValueArray and EndUserMyRequestsRequesterFieldValueArrayOutput values. +// You can construct a concrete instance of `EndUserMyRequestsRequesterFieldValueArrayInput` via: +// +// EndUserMyRequestsRequesterFieldValueArray{ EndUserMyRequestsRequesterFieldValueArgs{...} } +type EndUserMyRequestsRequesterFieldValueArrayInput interface { + pulumi.Input + + ToEndUserMyRequestsRequesterFieldValueArrayOutput() EndUserMyRequestsRequesterFieldValueArrayOutput + ToEndUserMyRequestsRequesterFieldValueArrayOutputWithContext(context.Context) EndUserMyRequestsRequesterFieldValueArrayOutput +} + +type EndUserMyRequestsRequesterFieldValueArray []EndUserMyRequestsRequesterFieldValueInput + +func (EndUserMyRequestsRequesterFieldValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EndUserMyRequestsRequesterFieldValue)(nil)).Elem() +} + +func (i EndUserMyRequestsRequesterFieldValueArray) ToEndUserMyRequestsRequesterFieldValueArrayOutput() EndUserMyRequestsRequesterFieldValueArrayOutput { + return i.ToEndUserMyRequestsRequesterFieldValueArrayOutputWithContext(context.Background()) +} + +func (i EndUserMyRequestsRequesterFieldValueArray) ToEndUserMyRequestsRequesterFieldValueArrayOutputWithContext(ctx context.Context) EndUserMyRequestsRequesterFieldValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EndUserMyRequestsRequesterFieldValueArrayOutput) +} + +type EndUserMyRequestsRequesterFieldValueOutput struct{ *pulumi.OutputState } + +func (EndUserMyRequestsRequesterFieldValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EndUserMyRequestsRequesterFieldValue)(nil)).Elem() +} + +func (o EndUserMyRequestsRequesterFieldValueOutput) ToEndUserMyRequestsRequesterFieldValueOutput() EndUserMyRequestsRequesterFieldValueOutput { + return o +} + +func (o EndUserMyRequestsRequesterFieldValueOutput) ToEndUserMyRequestsRequesterFieldValueOutputWithContext(ctx context.Context) EndUserMyRequestsRequesterFieldValueOutput { + return o +} + +// The ID of a requesterField. This identifies the specific field in the approval system. +func (o EndUserMyRequestsRequesterFieldValueOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) string { return v.Id }).(pulumi.StringOutput) +} + +// A human-readable description of requesterField. It's used for display purposes and is optional. +func (o EndUserMyRequestsRequesterFieldValueOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) *string { return v.Label }).(pulumi.StringPtrOutput) +} + +// Type of value for the requester field. Valid values: `DURATION`, `ISO_DATE`, `MULTISELECT`, `OKTA_USER_ID`, `SELECT`, `TEXT`. +func (o EndUserMyRequestsRequesterFieldValueOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// The value of requesterField, which depends on the type of the field. Used for single-value fields. +func (o EndUserMyRequestsRequesterFieldValueOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +// The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of `value`. +func (o EndUserMyRequestsRequesterFieldValueOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type EndUserMyRequestsRequesterFieldValueArrayOutput struct{ *pulumi.OutputState } + +func (EndUserMyRequestsRequesterFieldValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EndUserMyRequestsRequesterFieldValue)(nil)).Elem() +} + +func (o EndUserMyRequestsRequesterFieldValueArrayOutput) ToEndUserMyRequestsRequesterFieldValueArrayOutput() EndUserMyRequestsRequesterFieldValueArrayOutput { + return o +} + +func (o EndUserMyRequestsRequesterFieldValueArrayOutput) ToEndUserMyRequestsRequesterFieldValueArrayOutputWithContext(ctx context.Context) EndUserMyRequestsRequesterFieldValueArrayOutput { + return o +} + +func (o EndUserMyRequestsRequesterFieldValueArrayOutput) Index(i pulumi.IntInput) EndUserMyRequestsRequesterFieldValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EndUserMyRequestsRequesterFieldValue { + return vs[0].([]EndUserMyRequestsRequesterFieldValue)[vs[1].(int)] + }).(EndUserMyRequestsRequesterFieldValueOutput) +} + +type EntitlementBundleEntitlement struct { + // The ID of the entitlement. + Id string `pulumi:"id"` + Values []EntitlementBundleEntitlementValue `pulumi:"values"` +} + +// EntitlementBundleEntitlementInput is an input type that accepts EntitlementBundleEntitlementArgs and EntitlementBundleEntitlementOutput values. +// You can construct a concrete instance of `EntitlementBundleEntitlementInput` via: +// +// EntitlementBundleEntitlementArgs{...} +type EntitlementBundleEntitlementInput interface { + pulumi.Input + + ToEntitlementBundleEntitlementOutput() EntitlementBundleEntitlementOutput + ToEntitlementBundleEntitlementOutputWithContext(context.Context) EntitlementBundleEntitlementOutput +} + +type EntitlementBundleEntitlementArgs struct { + // The ID of the entitlement. + Id pulumi.StringInput `pulumi:"id"` + Values EntitlementBundleEntitlementValueArrayInput `pulumi:"values"` +} + +func (EntitlementBundleEntitlementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementBundleEntitlement)(nil)).Elem() +} + +func (i EntitlementBundleEntitlementArgs) ToEntitlementBundleEntitlementOutput() EntitlementBundleEntitlementOutput { + return i.ToEntitlementBundleEntitlementOutputWithContext(context.Background()) +} + +func (i EntitlementBundleEntitlementArgs) ToEntitlementBundleEntitlementOutputWithContext(ctx context.Context) EntitlementBundleEntitlementOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleEntitlementOutput) +} + +// EntitlementBundleEntitlementArrayInput is an input type that accepts EntitlementBundleEntitlementArray and EntitlementBundleEntitlementArrayOutput values. +// You can construct a concrete instance of `EntitlementBundleEntitlementArrayInput` via: +// +// EntitlementBundleEntitlementArray{ EntitlementBundleEntitlementArgs{...} } +type EntitlementBundleEntitlementArrayInput interface { + pulumi.Input + + ToEntitlementBundleEntitlementArrayOutput() EntitlementBundleEntitlementArrayOutput + ToEntitlementBundleEntitlementArrayOutputWithContext(context.Context) EntitlementBundleEntitlementArrayOutput +} + +type EntitlementBundleEntitlementArray []EntitlementBundleEntitlementInput + +func (EntitlementBundleEntitlementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EntitlementBundleEntitlement)(nil)).Elem() +} + +func (i EntitlementBundleEntitlementArray) ToEntitlementBundleEntitlementArrayOutput() EntitlementBundleEntitlementArrayOutput { + return i.ToEntitlementBundleEntitlementArrayOutputWithContext(context.Background()) +} + +func (i EntitlementBundleEntitlementArray) ToEntitlementBundleEntitlementArrayOutputWithContext(ctx context.Context) EntitlementBundleEntitlementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleEntitlementArrayOutput) +} + +type EntitlementBundleEntitlementOutput struct{ *pulumi.OutputState } + +func (EntitlementBundleEntitlementOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementBundleEntitlement)(nil)).Elem() +} + +func (o EntitlementBundleEntitlementOutput) ToEntitlementBundleEntitlementOutput() EntitlementBundleEntitlementOutput { + return o +} + +func (o EntitlementBundleEntitlementOutput) ToEntitlementBundleEntitlementOutputWithContext(ctx context.Context) EntitlementBundleEntitlementOutput { + return o +} + +// The ID of the entitlement. +func (o EntitlementBundleEntitlementOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v EntitlementBundleEntitlement) string { return v.Id }).(pulumi.StringOutput) +} + +func (o EntitlementBundleEntitlementOutput) Values() EntitlementBundleEntitlementValueArrayOutput { + return o.ApplyT(func(v EntitlementBundleEntitlement) []EntitlementBundleEntitlementValue { return v.Values }).(EntitlementBundleEntitlementValueArrayOutput) +} + +type EntitlementBundleEntitlementArrayOutput struct{ *pulumi.OutputState } + +func (EntitlementBundleEntitlementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EntitlementBundleEntitlement)(nil)).Elem() +} + +func (o EntitlementBundleEntitlementArrayOutput) ToEntitlementBundleEntitlementArrayOutput() EntitlementBundleEntitlementArrayOutput { + return o +} + +func (o EntitlementBundleEntitlementArrayOutput) ToEntitlementBundleEntitlementArrayOutputWithContext(ctx context.Context) EntitlementBundleEntitlementArrayOutput { + return o +} + +func (o EntitlementBundleEntitlementArrayOutput) Index(i pulumi.IntInput) EntitlementBundleEntitlementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EntitlementBundleEntitlement { + return vs[0].([]EntitlementBundleEntitlement)[vs[1].(int)] + }).(EntitlementBundleEntitlementOutput) +} + +type EntitlementBundleEntitlementValue struct { + // The ID of the entitlement value. + Id string `pulumi:"id"` +} + +// EntitlementBundleEntitlementValueInput is an input type that accepts EntitlementBundleEntitlementValueArgs and EntitlementBundleEntitlementValueOutput values. +// You can construct a concrete instance of `EntitlementBundleEntitlementValueInput` via: +// +// EntitlementBundleEntitlementValueArgs{...} +type EntitlementBundleEntitlementValueInput interface { + pulumi.Input + + ToEntitlementBundleEntitlementValueOutput() EntitlementBundleEntitlementValueOutput + ToEntitlementBundleEntitlementValueOutputWithContext(context.Context) EntitlementBundleEntitlementValueOutput +} + +type EntitlementBundleEntitlementValueArgs struct { + // The ID of the entitlement value. + Id pulumi.StringInput `pulumi:"id"` +} + +func (EntitlementBundleEntitlementValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementBundleEntitlementValue)(nil)).Elem() +} + +func (i EntitlementBundleEntitlementValueArgs) ToEntitlementBundleEntitlementValueOutput() EntitlementBundleEntitlementValueOutput { + return i.ToEntitlementBundleEntitlementValueOutputWithContext(context.Background()) +} + +func (i EntitlementBundleEntitlementValueArgs) ToEntitlementBundleEntitlementValueOutputWithContext(ctx context.Context) EntitlementBundleEntitlementValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleEntitlementValueOutput) +} + +// EntitlementBundleEntitlementValueArrayInput is an input type that accepts EntitlementBundleEntitlementValueArray and EntitlementBundleEntitlementValueArrayOutput values. +// You can construct a concrete instance of `EntitlementBundleEntitlementValueArrayInput` via: +// +// EntitlementBundleEntitlementValueArray{ EntitlementBundleEntitlementValueArgs{...} } +type EntitlementBundleEntitlementValueArrayInput interface { + pulumi.Input + + ToEntitlementBundleEntitlementValueArrayOutput() EntitlementBundleEntitlementValueArrayOutput + ToEntitlementBundleEntitlementValueArrayOutputWithContext(context.Context) EntitlementBundleEntitlementValueArrayOutput +} + +type EntitlementBundleEntitlementValueArray []EntitlementBundleEntitlementValueInput + +func (EntitlementBundleEntitlementValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EntitlementBundleEntitlementValue)(nil)).Elem() +} + +func (i EntitlementBundleEntitlementValueArray) ToEntitlementBundleEntitlementValueArrayOutput() EntitlementBundleEntitlementValueArrayOutput { + return i.ToEntitlementBundleEntitlementValueArrayOutputWithContext(context.Background()) +} + +func (i EntitlementBundleEntitlementValueArray) ToEntitlementBundleEntitlementValueArrayOutputWithContext(ctx context.Context) EntitlementBundleEntitlementValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleEntitlementValueArrayOutput) +} + +type EntitlementBundleEntitlementValueOutput struct{ *pulumi.OutputState } + +func (EntitlementBundleEntitlementValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementBundleEntitlementValue)(nil)).Elem() +} + +func (o EntitlementBundleEntitlementValueOutput) ToEntitlementBundleEntitlementValueOutput() EntitlementBundleEntitlementValueOutput { + return o +} + +func (o EntitlementBundleEntitlementValueOutput) ToEntitlementBundleEntitlementValueOutputWithContext(ctx context.Context) EntitlementBundleEntitlementValueOutput { + return o +} + +// The ID of the entitlement value. +func (o EntitlementBundleEntitlementValueOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v EntitlementBundleEntitlementValue) string { return v.Id }).(pulumi.StringOutput) +} + +type EntitlementBundleEntitlementValueArrayOutput struct{ *pulumi.OutputState } + +func (EntitlementBundleEntitlementValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EntitlementBundleEntitlementValue)(nil)).Elem() +} + +func (o EntitlementBundleEntitlementValueArrayOutput) ToEntitlementBundleEntitlementValueArrayOutput() EntitlementBundleEntitlementValueArrayOutput { + return o +} + +func (o EntitlementBundleEntitlementValueArrayOutput) ToEntitlementBundleEntitlementValueArrayOutputWithContext(ctx context.Context) EntitlementBundleEntitlementValueArrayOutput { + return o +} + +func (o EntitlementBundleEntitlementValueArrayOutput) Index(i pulumi.IntInput) EntitlementBundleEntitlementValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EntitlementBundleEntitlementValue { + return vs[0].([]EntitlementBundleEntitlementValue)[vs[1].(int)] + }).(EntitlementBundleEntitlementValueOutput) +} + +type EntitlementBundleTarget struct { + // The Okta app ID of the resource. + ExternalId string `pulumi:"externalId"` + // The type of resource. + Type string `pulumi:"type"` +} + +// EntitlementBundleTargetInput is an input type that accepts EntitlementBundleTargetArgs and EntitlementBundleTargetOutput values. +// You can construct a concrete instance of `EntitlementBundleTargetInput` via: +// +// EntitlementBundleTargetArgs{...} +type EntitlementBundleTargetInput interface { + pulumi.Input + + ToEntitlementBundleTargetOutput() EntitlementBundleTargetOutput + ToEntitlementBundleTargetOutputWithContext(context.Context) EntitlementBundleTargetOutput +} + +type EntitlementBundleTargetArgs struct { + // The Okta app ID of the resource. + ExternalId pulumi.StringInput `pulumi:"externalId"` + // The type of resource. + Type pulumi.StringInput `pulumi:"type"` +} + +func (EntitlementBundleTargetArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementBundleTarget)(nil)).Elem() +} + +func (i EntitlementBundleTargetArgs) ToEntitlementBundleTargetOutput() EntitlementBundleTargetOutput { + return i.ToEntitlementBundleTargetOutputWithContext(context.Background()) +} + +func (i EntitlementBundleTargetArgs) ToEntitlementBundleTargetOutputWithContext(ctx context.Context) EntitlementBundleTargetOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleTargetOutput) +} + +func (i EntitlementBundleTargetArgs) ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput { + return i.ToEntitlementBundleTargetPtrOutputWithContext(context.Background()) +} + +func (i EntitlementBundleTargetArgs) ToEntitlementBundleTargetPtrOutputWithContext(ctx context.Context) EntitlementBundleTargetPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleTargetOutput).ToEntitlementBundleTargetPtrOutputWithContext(ctx) +} + +// EntitlementBundleTargetPtrInput is an input type that accepts EntitlementBundleTargetArgs, EntitlementBundleTargetPtr and EntitlementBundleTargetPtrOutput values. +// You can construct a concrete instance of `EntitlementBundleTargetPtrInput` via: +// +// EntitlementBundleTargetArgs{...} +// +// or: +// +// nil +type EntitlementBundleTargetPtrInput interface { + pulumi.Input + + ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput + ToEntitlementBundleTargetPtrOutputWithContext(context.Context) EntitlementBundleTargetPtrOutput +} + +type entitlementBundleTargetPtrType EntitlementBundleTargetArgs + +func EntitlementBundleTargetPtr(v *EntitlementBundleTargetArgs) EntitlementBundleTargetPtrInput { + return (*entitlementBundleTargetPtrType)(v) +} + +func (*entitlementBundleTargetPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntitlementBundleTarget)(nil)).Elem() +} + +func (i *entitlementBundleTargetPtrType) ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput { + return i.ToEntitlementBundleTargetPtrOutputWithContext(context.Background()) +} + +func (i *entitlementBundleTargetPtrType) ToEntitlementBundleTargetPtrOutputWithContext(ctx context.Context) EntitlementBundleTargetPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleTargetPtrOutput) +} + +type EntitlementBundleTargetOutput struct{ *pulumi.OutputState } + +func (EntitlementBundleTargetOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementBundleTarget)(nil)).Elem() +} + +func (o EntitlementBundleTargetOutput) ToEntitlementBundleTargetOutput() EntitlementBundleTargetOutput { + return o +} + +func (o EntitlementBundleTargetOutput) ToEntitlementBundleTargetOutputWithContext(ctx context.Context) EntitlementBundleTargetOutput { + return o +} + +func (o EntitlementBundleTargetOutput) ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput { + return o.ToEntitlementBundleTargetPtrOutputWithContext(context.Background()) +} + +func (o EntitlementBundleTargetOutput) ToEntitlementBundleTargetPtrOutputWithContext(ctx context.Context) EntitlementBundleTargetPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntitlementBundleTarget) *EntitlementBundleTarget { + return &v + }).(EntitlementBundleTargetPtrOutput) +} + +// The Okta app ID of the resource. +func (o EntitlementBundleTargetOutput) ExternalId() pulumi.StringOutput { + return o.ApplyT(func(v EntitlementBundleTarget) string { return v.ExternalId }).(pulumi.StringOutput) +} + +// The type of resource. +func (o EntitlementBundleTargetOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v EntitlementBundleTarget) string { return v.Type }).(pulumi.StringOutput) +} + +type EntitlementBundleTargetPtrOutput struct{ *pulumi.OutputState } + +func (EntitlementBundleTargetPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntitlementBundleTarget)(nil)).Elem() +} + +func (o EntitlementBundleTargetPtrOutput) ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput { + return o +} + +func (o EntitlementBundleTargetPtrOutput) ToEntitlementBundleTargetPtrOutputWithContext(ctx context.Context) EntitlementBundleTargetPtrOutput { + return o +} + +func (o EntitlementBundleTargetPtrOutput) Elem() EntitlementBundleTargetOutput { + return o.ApplyT(func(v *EntitlementBundleTarget) EntitlementBundleTarget { + if v != nil { + return *v + } + var ret EntitlementBundleTarget + return ret + }).(EntitlementBundleTargetOutput) +} + +// The Okta app ID of the resource. +func (o EntitlementBundleTargetPtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntitlementBundleTarget) *string { + if v == nil { + return nil + } + return &v.ExternalId + }).(pulumi.StringPtrOutput) +} + +// The type of resource. +func (o EntitlementBundleTargetPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntitlementBundleTarget) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type EntitlementParent struct { + // The Okta app ID of the resource. + ExternalId string `pulumi:"externalId"` + // The type of resource. + Type string `pulumi:"type"` +} + +// EntitlementParentInput is an input type that accepts EntitlementParentArgs and EntitlementParentOutput values. +// You can construct a concrete instance of `EntitlementParentInput` via: +// +// EntitlementParentArgs{...} +type EntitlementParentInput interface { + pulumi.Input + + ToEntitlementParentOutput() EntitlementParentOutput + ToEntitlementParentOutputWithContext(context.Context) EntitlementParentOutput +} + +type EntitlementParentArgs struct { + // The Okta app ID of the resource. + ExternalId pulumi.StringInput `pulumi:"externalId"` + // The type of resource. + Type pulumi.StringInput `pulumi:"type"` +} + +func (EntitlementParentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementParent)(nil)).Elem() +} + +func (i EntitlementParentArgs) ToEntitlementParentOutput() EntitlementParentOutput { + return i.ToEntitlementParentOutputWithContext(context.Background()) +} + +func (i EntitlementParentArgs) ToEntitlementParentOutputWithContext(ctx context.Context) EntitlementParentOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementParentOutput) +} + +func (i EntitlementParentArgs) ToEntitlementParentPtrOutput() EntitlementParentPtrOutput { + return i.ToEntitlementParentPtrOutputWithContext(context.Background()) +} + +func (i EntitlementParentArgs) ToEntitlementParentPtrOutputWithContext(ctx context.Context) EntitlementParentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementParentOutput).ToEntitlementParentPtrOutputWithContext(ctx) +} + +// EntitlementParentPtrInput is an input type that accepts EntitlementParentArgs, EntitlementParentPtr and EntitlementParentPtrOutput values. +// You can construct a concrete instance of `EntitlementParentPtrInput` via: +// +// EntitlementParentArgs{...} +// +// or: +// +// nil +type EntitlementParentPtrInput interface { + pulumi.Input + + ToEntitlementParentPtrOutput() EntitlementParentPtrOutput + ToEntitlementParentPtrOutputWithContext(context.Context) EntitlementParentPtrOutput +} + +type entitlementParentPtrType EntitlementParentArgs + +func EntitlementParentPtr(v *EntitlementParentArgs) EntitlementParentPtrInput { + return (*entitlementParentPtrType)(v) +} + +func (*entitlementParentPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**EntitlementParent)(nil)).Elem() +} + +func (i *entitlementParentPtrType) ToEntitlementParentPtrOutput() EntitlementParentPtrOutput { + return i.ToEntitlementParentPtrOutputWithContext(context.Background()) +} + +func (i *entitlementParentPtrType) ToEntitlementParentPtrOutputWithContext(ctx context.Context) EntitlementParentPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementParentPtrOutput) +} + +type EntitlementParentOutput struct{ *pulumi.OutputState } + +func (EntitlementParentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementParent)(nil)).Elem() +} + +func (o EntitlementParentOutput) ToEntitlementParentOutput() EntitlementParentOutput { + return o +} + +func (o EntitlementParentOutput) ToEntitlementParentOutputWithContext(ctx context.Context) EntitlementParentOutput { + return o +} + +func (o EntitlementParentOutput) ToEntitlementParentPtrOutput() EntitlementParentPtrOutput { + return o.ToEntitlementParentPtrOutputWithContext(context.Background()) +} + +func (o EntitlementParentOutput) ToEntitlementParentPtrOutputWithContext(ctx context.Context) EntitlementParentPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v EntitlementParent) *EntitlementParent { + return &v + }).(EntitlementParentPtrOutput) +} + +// The Okta app ID of the resource. +func (o EntitlementParentOutput) ExternalId() pulumi.StringOutput { + return o.ApplyT(func(v EntitlementParent) string { return v.ExternalId }).(pulumi.StringOutput) +} + +// The type of resource. +func (o EntitlementParentOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v EntitlementParent) string { return v.Type }).(pulumi.StringOutput) +} + +type EntitlementParentPtrOutput struct{ *pulumi.OutputState } + +func (EntitlementParentPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EntitlementParent)(nil)).Elem() +} + +func (o EntitlementParentPtrOutput) ToEntitlementParentPtrOutput() EntitlementParentPtrOutput { + return o +} + +func (o EntitlementParentPtrOutput) ToEntitlementParentPtrOutputWithContext(ctx context.Context) EntitlementParentPtrOutput { + return o +} + +func (o EntitlementParentPtrOutput) Elem() EntitlementParentOutput { + return o.ApplyT(func(v *EntitlementParent) EntitlementParent { + if v != nil { + return *v + } + var ret EntitlementParent + return ret + }).(EntitlementParentOutput) +} + +// The Okta app ID of the resource. +func (o EntitlementParentPtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntitlementParent) *string { + if v == nil { + return nil + } + return &v.ExternalId + }).(pulumi.StringPtrOutput) +} + +// The type of resource. +func (o EntitlementParentPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *EntitlementParent) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type EntitlementValue struct { + // The description of an entitlement value. + Description *string `pulumi:"description"` + // The value of an entitlement property value. + ExternalValue *string `pulumi:"externalValue"` + // Collection of entitlement values. + Id *string `pulumi:"id"` + // The display name for an entitlement value. + Name *string `pulumi:"name"` +} + +// EntitlementValueInput is an input type that accepts EntitlementValueArgs and EntitlementValueOutput values. +// You can construct a concrete instance of `EntitlementValueInput` via: +// +// EntitlementValueArgs{...} +type EntitlementValueInput interface { + pulumi.Input + + ToEntitlementValueOutput() EntitlementValueOutput + ToEntitlementValueOutputWithContext(context.Context) EntitlementValueOutput +} + +type EntitlementValueArgs struct { + // The description of an entitlement value. + Description pulumi.StringPtrInput `pulumi:"description"` + // The value of an entitlement property value. + ExternalValue pulumi.StringPtrInput `pulumi:"externalValue"` + // Collection of entitlement values. + Id pulumi.StringPtrInput `pulumi:"id"` + // The display name for an entitlement value. + Name pulumi.StringPtrInput `pulumi:"name"` +} + +func (EntitlementValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementValue)(nil)).Elem() +} + +func (i EntitlementValueArgs) ToEntitlementValueOutput() EntitlementValueOutput { + return i.ToEntitlementValueOutputWithContext(context.Background()) +} + +func (i EntitlementValueArgs) ToEntitlementValueOutputWithContext(ctx context.Context) EntitlementValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementValueOutput) +} + +// EntitlementValueArrayInput is an input type that accepts EntitlementValueArray and EntitlementValueArrayOutput values. +// You can construct a concrete instance of `EntitlementValueArrayInput` via: +// +// EntitlementValueArray{ EntitlementValueArgs{...} } +type EntitlementValueArrayInput interface { + pulumi.Input + + ToEntitlementValueArrayOutput() EntitlementValueArrayOutput + ToEntitlementValueArrayOutputWithContext(context.Context) EntitlementValueArrayOutput +} + +type EntitlementValueArray []EntitlementValueInput + +func (EntitlementValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EntitlementValue)(nil)).Elem() +} + +func (i EntitlementValueArray) ToEntitlementValueArrayOutput() EntitlementValueArrayOutput { + return i.ToEntitlementValueArrayOutputWithContext(context.Background()) +} + +func (i EntitlementValueArray) ToEntitlementValueArrayOutputWithContext(ctx context.Context) EntitlementValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EntitlementValueArrayOutput) +} + +type EntitlementValueOutput struct{ *pulumi.OutputState } + +func (EntitlementValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EntitlementValue)(nil)).Elem() +} + +func (o EntitlementValueOutput) ToEntitlementValueOutput() EntitlementValueOutput { + return o +} + +func (o EntitlementValueOutput) ToEntitlementValueOutputWithContext(ctx context.Context) EntitlementValueOutput { + return o +} + +// The description of an entitlement value. +func (o EntitlementValueOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntitlementValue) *string { return v.Description }).(pulumi.StringPtrOutput) +} + +// The value of an entitlement property value. +func (o EntitlementValueOutput) ExternalValue() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntitlementValue) *string { return v.ExternalValue }).(pulumi.StringPtrOutput) +} + +// Collection of entitlement values. +func (o EntitlementValueOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntitlementValue) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The display name for an entitlement value. +func (o EntitlementValueOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v EntitlementValue) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +type EntitlementValueArrayOutput struct{ *pulumi.OutputState } + +func (EntitlementValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EntitlementValue)(nil)).Elem() +} + +func (o EntitlementValueArrayOutput) ToEntitlementValueArrayOutput() EntitlementValueArrayOutput { + return o +} + +func (o EntitlementValueArrayOutput) ToEntitlementValueArrayOutputWithContext(ctx context.Context) EntitlementValueArrayOutput { + return o +} + +func (o EntitlementValueArrayOutput) Index(i pulumi.IntInput) EntitlementValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EntitlementValue { + return vs[0].([]EntitlementValue)[vs[1].(int)] + }).(EntitlementValueOutput) +} + +type EventHookHeader struct { + Key *string `pulumi:"key"` + Value *string `pulumi:"value"` +} + +// EventHookHeaderInput is an input type that accepts EventHookHeaderArgs and EventHookHeaderOutput values. +// You can construct a concrete instance of `EventHookHeaderInput` via: +// +// EventHookHeaderArgs{...} +type EventHookHeaderInput interface { + pulumi.Input + + ToEventHookHeaderOutput() EventHookHeaderOutput + ToEventHookHeaderOutputWithContext(context.Context) EventHookHeaderOutput +} + +type EventHookHeaderArgs struct { + Key pulumi.StringPtrInput `pulumi:"key"` + Value pulumi.StringPtrInput `pulumi:"value"` +} + +func (EventHookHeaderArgs) ElementType() reflect.Type { + return reflect.TypeOf((*EventHookHeader)(nil)).Elem() +} + +func (i EventHookHeaderArgs) ToEventHookHeaderOutput() EventHookHeaderOutput { + return i.ToEventHookHeaderOutputWithContext(context.Background()) +} + +func (i EventHookHeaderArgs) ToEventHookHeaderOutputWithContext(ctx context.Context) EventHookHeaderOutput { + return pulumi.ToOutputWithContext(ctx, i).(EventHookHeaderOutput) +} + +// EventHookHeaderArrayInput is an input type that accepts EventHookHeaderArray and EventHookHeaderArrayOutput values. +// You can construct a concrete instance of `EventHookHeaderArrayInput` via: +// +// EventHookHeaderArray{ EventHookHeaderArgs{...} } +type EventHookHeaderArrayInput interface { + pulumi.Input + + ToEventHookHeaderArrayOutput() EventHookHeaderArrayOutput + ToEventHookHeaderArrayOutputWithContext(context.Context) EventHookHeaderArrayOutput +} + +type EventHookHeaderArray []EventHookHeaderInput + +func (EventHookHeaderArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]EventHookHeader)(nil)).Elem() +} + +func (i EventHookHeaderArray) ToEventHookHeaderArrayOutput() EventHookHeaderArrayOutput { + return i.ToEventHookHeaderArrayOutputWithContext(context.Background()) +} + +func (i EventHookHeaderArray) ToEventHookHeaderArrayOutputWithContext(ctx context.Context) EventHookHeaderArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EventHookHeaderArrayOutput) +} + +type EventHookHeaderOutput struct{ *pulumi.OutputState } + +func (EventHookHeaderOutput) ElementType() reflect.Type { + return reflect.TypeOf((*EventHookHeader)(nil)).Elem() +} + +func (o EventHookHeaderOutput) ToEventHookHeaderOutput() EventHookHeaderOutput { + return o } -// CampaignResourceSettingsInput is an input type that accepts CampaignResourceSettingsArgs and CampaignResourceSettingsOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsInput` via: +func (o EventHookHeaderOutput) ToEventHookHeaderOutputWithContext(ctx context.Context) EventHookHeaderOutput { + return o +} + +func (o EventHookHeaderOutput) Key() pulumi.StringPtrOutput { + return o.ApplyT(func(v EventHookHeader) *string { return v.Key }).(pulumi.StringPtrOutput) +} + +func (o EventHookHeaderOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v EventHookHeader) *string { return v.Value }).(pulumi.StringPtrOutput) +} + +type EventHookHeaderArrayOutput struct{ *pulumi.OutputState } + +func (EventHookHeaderArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]EventHookHeader)(nil)).Elem() +} + +func (o EventHookHeaderArrayOutput) ToEventHookHeaderArrayOutput() EventHookHeaderArrayOutput { + return o +} + +func (o EventHookHeaderArrayOutput) ToEventHookHeaderArrayOutputWithContext(ctx context.Context) EventHookHeaderArrayOutput { + return o +} + +func (o EventHookHeaderArrayOutput) Index(i pulumi.IntInput) EventHookHeaderOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventHookHeader { + return vs[0].([]EventHookHeader)[vs[1].(int)] + }).(EventHookHeaderOutput) +} + +type FeatureStage struct { + State string `pulumi:"state"` + Value string `pulumi:"value"` +} + +// FeatureStageInput is an input type that accepts FeatureStageArgs and FeatureStageOutput values. +// You can construct a concrete instance of `FeatureStageInput` via: // -// CampaignResourceSettingsArgs{...} -type CampaignResourceSettingsInput interface { +// FeatureStageArgs{...} +type FeatureStageInput interface { pulumi.Input - ToCampaignResourceSettingsOutput() CampaignResourceSettingsOutput - ToCampaignResourceSettingsOutputWithContext(context.Context) CampaignResourceSettingsOutput + ToFeatureStageOutput() FeatureStageOutput + ToFeatureStageOutputWithContext(context.Context) FeatureStageOutput } -type CampaignResourceSettingsArgs struct { - // An array of resources that are excluded from the review. - ExcludedResources CampaignResourceSettingsExcludedResourceArrayInput `pulumi:"excludedResources"` - // Include admin roles. - IncludeAdminRoles pulumi.BoolPtrInput `pulumi:"includeAdminRoles"` - // Include entitlements for this application. This property is only applicable if resourceType = APPLICATION and Entitlement Management is enabled. - IncludeEntitlements pulumi.BoolPtrInput `pulumi:"includeEntitlements"` - // Only include individually assigned apps. This is only applicable if campaign type is USER. - IndividuallyAssignedAppsOnly pulumi.BoolPtrInput `pulumi:"individuallyAssignedAppsOnly"` - // Only include individually assigned groups. This is only applicable if campaign type is USER. - IndividuallyAssignedGroupsOnly pulumi.BoolPtrInput `pulumi:"individuallyAssignedGroupsOnly"` - // Only include out-of-policy entitlements. Only applicable if resourceType = APPLICATION and Entitlement Management is enabled. - OnlyIncludeOutOfPolicyEntitlements pulumi.BoolPtrInput `pulumi:"onlyIncludeOutOfPolicyEntitlements"` - // Represents a resource that will be part of Access certifications. If the app is enabled for Access Certifications, it's possible to review entitlements and entitlement bundles. - TargetResources CampaignResourceSettingsTargetResourceArrayInput `pulumi:"targetResources"` - // The type of Okta resource. - Type pulumi.StringInput `pulumi:"type"` +type FeatureStageArgs struct { + State pulumi.StringInput `pulumi:"state"` + Value pulumi.StringInput `pulumi:"value"` } -func (CampaignResourceSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettings)(nil)).Elem() +func (FeatureStageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*FeatureStage)(nil)).Elem() +} + +func (i FeatureStageArgs) ToFeatureStageOutput() FeatureStageOutput { + return i.ToFeatureStageOutputWithContext(context.Background()) +} + +func (i FeatureStageArgs) ToFeatureStageOutputWithContext(ctx context.Context) FeatureStageOutput { + return pulumi.ToOutputWithContext(ctx, i).(FeatureStageOutput) +} + +func (i FeatureStageArgs) ToFeatureStagePtrOutput() FeatureStagePtrOutput { + return i.ToFeatureStagePtrOutputWithContext(context.Background()) +} + +func (i FeatureStageArgs) ToFeatureStagePtrOutputWithContext(ctx context.Context) FeatureStagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FeatureStageOutput).ToFeatureStagePtrOutputWithContext(ctx) +} + +// FeatureStagePtrInput is an input type that accepts FeatureStageArgs, FeatureStagePtr and FeatureStagePtrOutput values. +// You can construct a concrete instance of `FeatureStagePtrInput` via: +// +// FeatureStageArgs{...} +// +// or: +// +// nil +type FeatureStagePtrInput interface { + pulumi.Input + + ToFeatureStagePtrOutput() FeatureStagePtrOutput + ToFeatureStagePtrOutputWithContext(context.Context) FeatureStagePtrOutput +} + +type featureStagePtrType FeatureStageArgs + +func FeatureStagePtr(v *FeatureStageArgs) FeatureStagePtrInput { + return (*featureStagePtrType)(v) +} + +func (*featureStagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**FeatureStage)(nil)).Elem() +} + +func (i *featureStagePtrType) ToFeatureStagePtrOutput() FeatureStagePtrOutput { + return i.ToFeatureStagePtrOutputWithContext(context.Background()) +} + +func (i *featureStagePtrType) ToFeatureStagePtrOutputWithContext(ctx context.Context) FeatureStagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(FeatureStagePtrOutput) +} + +type FeatureStageOutput struct{ *pulumi.OutputState } + +func (FeatureStageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*FeatureStage)(nil)).Elem() +} + +func (o FeatureStageOutput) ToFeatureStageOutput() FeatureStageOutput { + return o +} + +func (o FeatureStageOutput) ToFeatureStageOutputWithContext(ctx context.Context) FeatureStageOutput { + return o +} + +func (o FeatureStageOutput) ToFeatureStagePtrOutput() FeatureStagePtrOutput { + return o.ToFeatureStagePtrOutputWithContext(context.Background()) +} + +func (o FeatureStageOutput) ToFeatureStagePtrOutputWithContext(ctx context.Context) FeatureStagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v FeatureStage) *FeatureStage { + return &v + }).(FeatureStagePtrOutput) +} + +func (o FeatureStageOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v FeatureStage) string { return v.State }).(pulumi.StringOutput) +} + +func (o FeatureStageOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v FeatureStage) string { return v.Value }).(pulumi.StringOutput) +} + +type FeatureStagePtrOutput struct{ *pulumi.OutputState } + +func (FeatureStagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**FeatureStage)(nil)).Elem() +} + +func (o FeatureStagePtrOutput) ToFeatureStagePtrOutput() FeatureStagePtrOutput { + return o +} + +func (o FeatureStagePtrOutput) ToFeatureStagePtrOutputWithContext(ctx context.Context) FeatureStagePtrOutput { + return o +} + +func (o FeatureStagePtrOutput) Elem() FeatureStageOutput { + return o.ApplyT(func(v *FeatureStage) FeatureStage { + if v != nil { + return *v + } + var ret FeatureStage + return ret + }).(FeatureStageOutput) +} + +func (o FeatureStagePtrOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FeatureStage) *string { + if v == nil { + return nil + } + return &v.State + }).(pulumi.StringPtrOutput) +} + +func (o FeatureStagePtrOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FeatureStage) *string { + if v == nil { + return nil + } + return &v.Value + }).(pulumi.StringPtrOutput) +} + +type GroupSchemaPropertyArrayOneOf struct { + // Value mapping to member of `arrayEnum` + Const string `pulumi:"const"` + // Display name for the enum value. + Title string `pulumi:"title"` +} + +// GroupSchemaPropertyArrayOneOfInput is an input type that accepts GroupSchemaPropertyArrayOneOfArgs and GroupSchemaPropertyArrayOneOfOutput values. +// You can construct a concrete instance of `GroupSchemaPropertyArrayOneOfInput` via: +// +// GroupSchemaPropertyArrayOneOfArgs{...} +type GroupSchemaPropertyArrayOneOfInput interface { + pulumi.Input + + ToGroupSchemaPropertyArrayOneOfOutput() GroupSchemaPropertyArrayOneOfOutput + ToGroupSchemaPropertyArrayOneOfOutputWithContext(context.Context) GroupSchemaPropertyArrayOneOfOutput +} + +type GroupSchemaPropertyArrayOneOfArgs struct { + // Value mapping to member of `arrayEnum` + Const pulumi.StringInput `pulumi:"const"` + // Display name for the enum value. + Title pulumi.StringInput `pulumi:"title"` +} + +func (GroupSchemaPropertyArrayOneOfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GroupSchemaPropertyArrayOneOf)(nil)).Elem() +} + +func (i GroupSchemaPropertyArrayOneOfArgs) ToGroupSchemaPropertyArrayOneOfOutput() GroupSchemaPropertyArrayOneOfOutput { + return i.ToGroupSchemaPropertyArrayOneOfOutputWithContext(context.Background()) +} + +func (i GroupSchemaPropertyArrayOneOfArgs) ToGroupSchemaPropertyArrayOneOfOutputWithContext(ctx context.Context) GroupSchemaPropertyArrayOneOfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyArrayOneOfOutput) } -func (i CampaignResourceSettingsArgs) ToCampaignResourceSettingsOutput() CampaignResourceSettingsOutput { - return i.ToCampaignResourceSettingsOutputWithContext(context.Background()) +// GroupSchemaPropertyArrayOneOfArrayInput is an input type that accepts GroupSchemaPropertyArrayOneOfArray and GroupSchemaPropertyArrayOneOfArrayOutput values. +// You can construct a concrete instance of `GroupSchemaPropertyArrayOneOfArrayInput` via: +// +// GroupSchemaPropertyArrayOneOfArray{ GroupSchemaPropertyArrayOneOfArgs{...} } +type GroupSchemaPropertyArrayOneOfArrayInput interface { + pulumi.Input + + ToGroupSchemaPropertyArrayOneOfArrayOutput() GroupSchemaPropertyArrayOneOfArrayOutput + ToGroupSchemaPropertyArrayOneOfArrayOutputWithContext(context.Context) GroupSchemaPropertyArrayOneOfArrayOutput } -func (i CampaignResourceSettingsArgs) ToCampaignResourceSettingsOutputWithContext(ctx context.Context) CampaignResourceSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsOutput) +type GroupSchemaPropertyArrayOneOfArray []GroupSchemaPropertyArrayOneOfInput + +func (GroupSchemaPropertyArrayOneOfArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GroupSchemaPropertyArrayOneOf)(nil)).Elem() } -func (i CampaignResourceSettingsArgs) ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput { - return i.ToCampaignResourceSettingsPtrOutputWithContext(context.Background()) +func (i GroupSchemaPropertyArrayOneOfArray) ToGroupSchemaPropertyArrayOneOfArrayOutput() GroupSchemaPropertyArrayOneOfArrayOutput { + return i.ToGroupSchemaPropertyArrayOneOfArrayOutputWithContext(context.Background()) } -func (i CampaignResourceSettingsArgs) ToCampaignResourceSettingsPtrOutputWithContext(ctx context.Context) CampaignResourceSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsOutput).ToCampaignResourceSettingsPtrOutputWithContext(ctx) +func (i GroupSchemaPropertyArrayOneOfArray) ToGroupSchemaPropertyArrayOneOfArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyArrayOneOfArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyArrayOneOfArrayOutput) } -// CampaignResourceSettingsPtrInput is an input type that accepts CampaignResourceSettingsArgs, CampaignResourceSettingsPtr and CampaignResourceSettingsPtrOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsPtrInput` via: -// -// CampaignResourceSettingsArgs{...} -// -// or: -// -// nil -type CampaignResourceSettingsPtrInput interface { - pulumi.Input +type GroupSchemaPropertyArrayOneOfOutput struct{ *pulumi.OutputState } - ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput - ToCampaignResourceSettingsPtrOutputWithContext(context.Context) CampaignResourceSettingsPtrOutput +func (GroupSchemaPropertyArrayOneOfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GroupSchemaPropertyArrayOneOf)(nil)).Elem() } -type campaignResourceSettingsPtrType CampaignResourceSettingsArgs - -func CampaignResourceSettingsPtr(v *CampaignResourceSettingsArgs) CampaignResourceSettingsPtrInput { - return (*campaignResourceSettingsPtrType)(v) +func (o GroupSchemaPropertyArrayOneOfOutput) ToGroupSchemaPropertyArrayOneOfOutput() GroupSchemaPropertyArrayOneOfOutput { + return o } -func (*campaignResourceSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignResourceSettings)(nil)).Elem() +func (o GroupSchemaPropertyArrayOneOfOutput) ToGroupSchemaPropertyArrayOneOfOutputWithContext(ctx context.Context) GroupSchemaPropertyArrayOneOfOutput { + return o } -func (i *campaignResourceSettingsPtrType) ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput { - return i.ToCampaignResourceSettingsPtrOutputWithContext(context.Background()) +// Value mapping to member of `arrayEnum` +func (o GroupSchemaPropertyArrayOneOfOutput) Const() pulumi.StringOutput { + return o.ApplyT(func(v GroupSchemaPropertyArrayOneOf) string { return v.Const }).(pulumi.StringOutput) } -func (i *campaignResourceSettingsPtrType) ToCampaignResourceSettingsPtrOutputWithContext(ctx context.Context) CampaignResourceSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsPtrOutput) +// Display name for the enum value. +func (o GroupSchemaPropertyArrayOneOfOutput) Title() pulumi.StringOutput { + return o.ApplyT(func(v GroupSchemaPropertyArrayOneOf) string { return v.Title }).(pulumi.StringOutput) } -type CampaignResourceSettingsOutput struct{ *pulumi.OutputState } +type GroupSchemaPropertyArrayOneOfArrayOutput struct{ *pulumi.OutputState } -func (CampaignResourceSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettings)(nil)).Elem() +func (GroupSchemaPropertyArrayOneOfArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GroupSchemaPropertyArrayOneOf)(nil)).Elem() } -func (o CampaignResourceSettingsOutput) ToCampaignResourceSettingsOutput() CampaignResourceSettingsOutput { +func (o GroupSchemaPropertyArrayOneOfArrayOutput) ToGroupSchemaPropertyArrayOneOfArrayOutput() GroupSchemaPropertyArrayOneOfArrayOutput { return o } -func (o CampaignResourceSettingsOutput) ToCampaignResourceSettingsOutputWithContext(ctx context.Context) CampaignResourceSettingsOutput { +func (o GroupSchemaPropertyArrayOneOfArrayOutput) ToGroupSchemaPropertyArrayOneOfArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyArrayOneOfArrayOutput { return o } -func (o CampaignResourceSettingsOutput) ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput { - return o.ToCampaignResourceSettingsPtrOutputWithContext(context.Background()) +func (o GroupSchemaPropertyArrayOneOfArrayOutput) Index(i pulumi.IntInput) GroupSchemaPropertyArrayOneOfOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupSchemaPropertyArrayOneOf { + return vs[0].([]GroupSchemaPropertyArrayOneOf)[vs[1].(int)] + }).(GroupSchemaPropertyArrayOneOfOutput) } -func (o CampaignResourceSettingsOutput) ToCampaignResourceSettingsPtrOutputWithContext(ctx context.Context) CampaignResourceSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignResourceSettings) *CampaignResourceSettings { - return &v - }).(CampaignResourceSettingsPtrOutput) +type GroupSchemaPropertyMasterOverridePriority struct { + Type *string `pulumi:"type"` + Value string `pulumi:"value"` } -// An array of resources that are excluded from the review. -func (o CampaignResourceSettingsOutput) ExcludedResources() CampaignResourceSettingsExcludedResourceArrayOutput { - return o.ApplyT(func(v CampaignResourceSettings) []CampaignResourceSettingsExcludedResource { - return v.ExcludedResources - }).(CampaignResourceSettingsExcludedResourceArrayOutput) -} +// GroupSchemaPropertyMasterOverridePriorityInput is an input type that accepts GroupSchemaPropertyMasterOverridePriorityArgs and GroupSchemaPropertyMasterOverridePriorityOutput values. +// You can construct a concrete instance of `GroupSchemaPropertyMasterOverridePriorityInput` via: +// +// GroupSchemaPropertyMasterOverridePriorityArgs{...} +type GroupSchemaPropertyMasterOverridePriorityInput interface { + pulumi.Input -// Include admin roles. -func (o CampaignResourceSettingsOutput) IncludeAdminRoles() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.IncludeAdminRoles }).(pulumi.BoolPtrOutput) + ToGroupSchemaPropertyMasterOverridePriorityOutput() GroupSchemaPropertyMasterOverridePriorityOutput + ToGroupSchemaPropertyMasterOverridePriorityOutputWithContext(context.Context) GroupSchemaPropertyMasterOverridePriorityOutput } -// Include entitlements for this application. This property is only applicable if resourceType = APPLICATION and Entitlement Management is enabled. -func (o CampaignResourceSettingsOutput) IncludeEntitlements() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.IncludeEntitlements }).(pulumi.BoolPtrOutput) +type GroupSchemaPropertyMasterOverridePriorityArgs struct { + Type pulumi.StringPtrInput `pulumi:"type"` + Value pulumi.StringInput `pulumi:"value"` } -// Only include individually assigned apps. This is only applicable if campaign type is USER. -func (o CampaignResourceSettingsOutput) IndividuallyAssignedAppsOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.IndividuallyAssignedAppsOnly }).(pulumi.BoolPtrOutput) +func (GroupSchemaPropertyMasterOverridePriorityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GroupSchemaPropertyMasterOverridePriority)(nil)).Elem() } -// Only include individually assigned groups. This is only applicable if campaign type is USER. -func (o CampaignResourceSettingsOutput) IndividuallyAssignedGroupsOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.IndividuallyAssignedGroupsOnly }).(pulumi.BoolPtrOutput) +func (i GroupSchemaPropertyMasterOverridePriorityArgs) ToGroupSchemaPropertyMasterOverridePriorityOutput() GroupSchemaPropertyMasterOverridePriorityOutput { + return i.ToGroupSchemaPropertyMasterOverridePriorityOutputWithContext(context.Background()) } -// Only include out-of-policy entitlements. Only applicable if resourceType = APPLICATION and Entitlement Management is enabled. -func (o CampaignResourceSettingsOutput) OnlyIncludeOutOfPolicyEntitlements() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignResourceSettings) *bool { return v.OnlyIncludeOutOfPolicyEntitlements }).(pulumi.BoolPtrOutput) +func (i GroupSchemaPropertyMasterOverridePriorityArgs) ToGroupSchemaPropertyMasterOverridePriorityOutputWithContext(ctx context.Context) GroupSchemaPropertyMasterOverridePriorityOutput { + return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyMasterOverridePriorityOutput) } -// Represents a resource that will be part of Access certifications. If the app is enabled for Access Certifications, it's possible to review entitlements and entitlement bundles. -func (o CampaignResourceSettingsOutput) TargetResources() CampaignResourceSettingsTargetResourceArrayOutput { - return o.ApplyT(func(v CampaignResourceSettings) []CampaignResourceSettingsTargetResource { return v.TargetResources }).(CampaignResourceSettingsTargetResourceArrayOutput) -} +// GroupSchemaPropertyMasterOverridePriorityArrayInput is an input type that accepts GroupSchemaPropertyMasterOverridePriorityArray and GroupSchemaPropertyMasterOverridePriorityArrayOutput values. +// You can construct a concrete instance of `GroupSchemaPropertyMasterOverridePriorityArrayInput` via: +// +// GroupSchemaPropertyMasterOverridePriorityArray{ GroupSchemaPropertyMasterOverridePriorityArgs{...} } +type GroupSchemaPropertyMasterOverridePriorityArrayInput interface { + pulumi.Input -// The type of Okta resource. -func (o CampaignResourceSettingsOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v CampaignResourceSettings) string { return v.Type }).(pulumi.StringOutput) + ToGroupSchemaPropertyMasterOverridePriorityArrayOutput() GroupSchemaPropertyMasterOverridePriorityArrayOutput + ToGroupSchemaPropertyMasterOverridePriorityArrayOutputWithContext(context.Context) GroupSchemaPropertyMasterOverridePriorityArrayOutput } -type CampaignResourceSettingsPtrOutput struct{ *pulumi.OutputState } +type GroupSchemaPropertyMasterOverridePriorityArray []GroupSchemaPropertyMasterOverridePriorityInput -func (CampaignResourceSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignResourceSettings)(nil)).Elem() +func (GroupSchemaPropertyMasterOverridePriorityArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GroupSchemaPropertyMasterOverridePriority)(nil)).Elem() } -func (o CampaignResourceSettingsPtrOutput) ToCampaignResourceSettingsPtrOutput() CampaignResourceSettingsPtrOutput { - return o +func (i GroupSchemaPropertyMasterOverridePriorityArray) ToGroupSchemaPropertyMasterOverridePriorityArrayOutput() GroupSchemaPropertyMasterOverridePriorityArrayOutput { + return i.ToGroupSchemaPropertyMasterOverridePriorityArrayOutputWithContext(context.Background()) } -func (o CampaignResourceSettingsPtrOutput) ToCampaignResourceSettingsPtrOutputWithContext(ctx context.Context) CampaignResourceSettingsPtrOutput { - return o +func (i GroupSchemaPropertyMasterOverridePriorityArray) ToGroupSchemaPropertyMasterOverridePriorityArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyMasterOverridePriorityArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyMasterOverridePriorityArrayOutput) } -func (o CampaignResourceSettingsPtrOutput) Elem() CampaignResourceSettingsOutput { - return o.ApplyT(func(v *CampaignResourceSettings) CampaignResourceSettings { - if v != nil { - return *v - } - var ret CampaignResourceSettings - return ret - }).(CampaignResourceSettingsOutput) +type GroupSchemaPropertyMasterOverridePriorityOutput struct{ *pulumi.OutputState } + +func (GroupSchemaPropertyMasterOverridePriorityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GroupSchemaPropertyMasterOverridePriority)(nil)).Elem() } -// An array of resources that are excluded from the review. -func (o CampaignResourceSettingsPtrOutput) ExcludedResources() CampaignResourceSettingsExcludedResourceArrayOutput { - return o.ApplyT(func(v *CampaignResourceSettings) []CampaignResourceSettingsExcludedResource { - if v == nil { - return nil - } - return v.ExcludedResources - }).(CampaignResourceSettingsExcludedResourceArrayOutput) +func (o GroupSchemaPropertyMasterOverridePriorityOutput) ToGroupSchemaPropertyMasterOverridePriorityOutput() GroupSchemaPropertyMasterOverridePriorityOutput { + return o } -// Include admin roles. -func (o CampaignResourceSettingsPtrOutput) IncludeAdminRoles() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignResourceSettings) *bool { - if v == nil { - return nil - } - return v.IncludeAdminRoles - }).(pulumi.BoolPtrOutput) +func (o GroupSchemaPropertyMasterOverridePriorityOutput) ToGroupSchemaPropertyMasterOverridePriorityOutputWithContext(ctx context.Context) GroupSchemaPropertyMasterOverridePriorityOutput { + return o } -// Include entitlements for this application. This property is only applicable if resourceType = APPLICATION and Entitlement Management is enabled. -func (o CampaignResourceSettingsPtrOutput) IncludeEntitlements() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignResourceSettings) *bool { - if v == nil { - return nil - } - return v.IncludeEntitlements - }).(pulumi.BoolPtrOutput) +func (o GroupSchemaPropertyMasterOverridePriorityOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v GroupSchemaPropertyMasterOverridePriority) *string { return v.Type }).(pulumi.StringPtrOutput) } -// Only include individually assigned apps. This is only applicable if campaign type is USER. -func (o CampaignResourceSettingsPtrOutput) IndividuallyAssignedAppsOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignResourceSettings) *bool { - if v == nil { - return nil - } - return v.IndividuallyAssignedAppsOnly - }).(pulumi.BoolPtrOutput) +func (o GroupSchemaPropertyMasterOverridePriorityOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GroupSchemaPropertyMasterOverridePriority) string { return v.Value }).(pulumi.StringOutput) } -// Only include individually assigned groups. This is only applicable if campaign type is USER. -func (o CampaignResourceSettingsPtrOutput) IndividuallyAssignedGroupsOnly() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignResourceSettings) *bool { - if v == nil { - return nil - } - return v.IndividuallyAssignedGroupsOnly - }).(pulumi.BoolPtrOutput) +type GroupSchemaPropertyMasterOverridePriorityArrayOutput struct{ *pulumi.OutputState } + +func (GroupSchemaPropertyMasterOverridePriorityArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GroupSchemaPropertyMasterOverridePriority)(nil)).Elem() } -// Only include out-of-policy entitlements. Only applicable if resourceType = APPLICATION and Entitlement Management is enabled. -func (o CampaignResourceSettingsPtrOutput) OnlyIncludeOutOfPolicyEntitlements() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignResourceSettings) *bool { - if v == nil { - return nil - } - return v.OnlyIncludeOutOfPolicyEntitlements - }).(pulumi.BoolPtrOutput) +func (o GroupSchemaPropertyMasterOverridePriorityArrayOutput) ToGroupSchemaPropertyMasterOverridePriorityArrayOutput() GroupSchemaPropertyMasterOverridePriorityArrayOutput { + return o } -// Represents a resource that will be part of Access certifications. If the app is enabled for Access Certifications, it's possible to review entitlements and entitlement bundles. -func (o CampaignResourceSettingsPtrOutput) TargetResources() CampaignResourceSettingsTargetResourceArrayOutput { - return o.ApplyT(func(v *CampaignResourceSettings) []CampaignResourceSettingsTargetResource { - if v == nil { - return nil - } - return v.TargetResources - }).(CampaignResourceSettingsTargetResourceArrayOutput) +func (o GroupSchemaPropertyMasterOverridePriorityArrayOutput) ToGroupSchemaPropertyMasterOverridePriorityArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyMasterOverridePriorityArrayOutput { + return o } -// The type of Okta resource. -func (o CampaignResourceSettingsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignResourceSettings) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) +func (o GroupSchemaPropertyMasterOverridePriorityArrayOutput) Index(i pulumi.IntInput) GroupSchemaPropertyMasterOverridePriorityOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupSchemaPropertyMasterOverridePriority { + return vs[0].([]GroupSchemaPropertyMasterOverridePriority)[vs[1].(int)] + }).(GroupSchemaPropertyMasterOverridePriorityOutput) } -type CampaignResourceSettingsExcludedResource struct { - // The ID of the resource to exclude in the campaign. - ResourceId *string `pulumi:"resourceId"` - // The type of resource to exclude in the campaign. - ResourceType *string `pulumi:"resourceType"` +type GroupSchemaPropertyOneOf struct { + // Enum value + Const string `pulumi:"const"` + // Enum title + Title string `pulumi:"title"` } -// CampaignResourceSettingsExcludedResourceInput is an input type that accepts CampaignResourceSettingsExcludedResourceArgs and CampaignResourceSettingsExcludedResourceOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsExcludedResourceInput` via: +// GroupSchemaPropertyOneOfInput is an input type that accepts GroupSchemaPropertyOneOfArgs and GroupSchemaPropertyOneOfOutput values. +// You can construct a concrete instance of `GroupSchemaPropertyOneOfInput` via: // -// CampaignResourceSettingsExcludedResourceArgs{...} -type CampaignResourceSettingsExcludedResourceInput interface { +// GroupSchemaPropertyOneOfArgs{...} +type GroupSchemaPropertyOneOfInput interface { pulumi.Input - ToCampaignResourceSettingsExcludedResourceOutput() CampaignResourceSettingsExcludedResourceOutput - ToCampaignResourceSettingsExcludedResourceOutputWithContext(context.Context) CampaignResourceSettingsExcludedResourceOutput + ToGroupSchemaPropertyOneOfOutput() GroupSchemaPropertyOneOfOutput + ToGroupSchemaPropertyOneOfOutputWithContext(context.Context) GroupSchemaPropertyOneOfOutput } -type CampaignResourceSettingsExcludedResourceArgs struct { - // The ID of the resource to exclude in the campaign. - ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` - // The type of resource to exclude in the campaign. - ResourceType pulumi.StringPtrInput `pulumi:"resourceType"` +type GroupSchemaPropertyOneOfArgs struct { + // Enum value + Const pulumi.StringInput `pulumi:"const"` + // Enum title + Title pulumi.StringInput `pulumi:"title"` } -func (CampaignResourceSettingsExcludedResourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsExcludedResource)(nil)).Elem() +func (GroupSchemaPropertyOneOfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GroupSchemaPropertyOneOf)(nil)).Elem() } -func (i CampaignResourceSettingsExcludedResourceArgs) ToCampaignResourceSettingsExcludedResourceOutput() CampaignResourceSettingsExcludedResourceOutput { - return i.ToCampaignResourceSettingsExcludedResourceOutputWithContext(context.Background()) +func (i GroupSchemaPropertyOneOfArgs) ToGroupSchemaPropertyOneOfOutput() GroupSchemaPropertyOneOfOutput { + return i.ToGroupSchemaPropertyOneOfOutputWithContext(context.Background()) } -func (i CampaignResourceSettingsExcludedResourceArgs) ToCampaignResourceSettingsExcludedResourceOutputWithContext(ctx context.Context) CampaignResourceSettingsExcludedResourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsExcludedResourceOutput) +func (i GroupSchemaPropertyOneOfArgs) ToGroupSchemaPropertyOneOfOutputWithContext(ctx context.Context) GroupSchemaPropertyOneOfOutput { + return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyOneOfOutput) } -// CampaignResourceSettingsExcludedResourceArrayInput is an input type that accepts CampaignResourceSettingsExcludedResourceArray and CampaignResourceSettingsExcludedResourceArrayOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsExcludedResourceArrayInput` via: +// GroupSchemaPropertyOneOfArrayInput is an input type that accepts GroupSchemaPropertyOneOfArray and GroupSchemaPropertyOneOfArrayOutput values. +// You can construct a concrete instance of `GroupSchemaPropertyOneOfArrayInput` via: // -// CampaignResourceSettingsExcludedResourceArray{ CampaignResourceSettingsExcludedResourceArgs{...} } -type CampaignResourceSettingsExcludedResourceArrayInput interface { +// GroupSchemaPropertyOneOfArray{ GroupSchemaPropertyOneOfArgs{...} } +type GroupSchemaPropertyOneOfArrayInput interface { pulumi.Input - ToCampaignResourceSettingsExcludedResourceArrayOutput() CampaignResourceSettingsExcludedResourceArrayOutput - ToCampaignResourceSettingsExcludedResourceArrayOutputWithContext(context.Context) CampaignResourceSettingsExcludedResourceArrayOutput + ToGroupSchemaPropertyOneOfArrayOutput() GroupSchemaPropertyOneOfArrayOutput + ToGroupSchemaPropertyOneOfArrayOutputWithContext(context.Context) GroupSchemaPropertyOneOfArrayOutput } -type CampaignResourceSettingsExcludedResourceArray []CampaignResourceSettingsExcludedResourceInput +type GroupSchemaPropertyOneOfArray []GroupSchemaPropertyOneOfInput -func (CampaignResourceSettingsExcludedResourceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsExcludedResource)(nil)).Elem() +func (GroupSchemaPropertyOneOfArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GroupSchemaPropertyOneOf)(nil)).Elem() } -func (i CampaignResourceSettingsExcludedResourceArray) ToCampaignResourceSettingsExcludedResourceArrayOutput() CampaignResourceSettingsExcludedResourceArrayOutput { - return i.ToCampaignResourceSettingsExcludedResourceArrayOutputWithContext(context.Background()) +func (i GroupSchemaPropertyOneOfArray) ToGroupSchemaPropertyOneOfArrayOutput() GroupSchemaPropertyOneOfArrayOutput { + return i.ToGroupSchemaPropertyOneOfArrayOutputWithContext(context.Background()) } -func (i CampaignResourceSettingsExcludedResourceArray) ToCampaignResourceSettingsExcludedResourceArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsExcludedResourceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsExcludedResourceArrayOutput) +func (i GroupSchemaPropertyOneOfArray) ToGroupSchemaPropertyOneOfArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyOneOfArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyOneOfArrayOutput) } -type CampaignResourceSettingsExcludedResourceOutput struct{ *pulumi.OutputState } +type GroupSchemaPropertyOneOfOutput struct{ *pulumi.OutputState } -func (CampaignResourceSettingsExcludedResourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsExcludedResource)(nil)).Elem() +func (GroupSchemaPropertyOneOfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GroupSchemaPropertyOneOf)(nil)).Elem() } -func (o CampaignResourceSettingsExcludedResourceOutput) ToCampaignResourceSettingsExcludedResourceOutput() CampaignResourceSettingsExcludedResourceOutput { +func (o GroupSchemaPropertyOneOfOutput) ToGroupSchemaPropertyOneOfOutput() GroupSchemaPropertyOneOfOutput { return o } -func (o CampaignResourceSettingsExcludedResourceOutput) ToCampaignResourceSettingsExcludedResourceOutputWithContext(ctx context.Context) CampaignResourceSettingsExcludedResourceOutput { +func (o GroupSchemaPropertyOneOfOutput) ToGroupSchemaPropertyOneOfOutputWithContext(ctx context.Context) GroupSchemaPropertyOneOfOutput { return o } -// The ID of the resource to exclude in the campaign. -func (o CampaignResourceSettingsExcludedResourceOutput) ResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignResourceSettingsExcludedResource) *string { return v.ResourceId }).(pulumi.StringPtrOutput) +// Enum value +func (o GroupSchemaPropertyOneOfOutput) Const() pulumi.StringOutput { + return o.ApplyT(func(v GroupSchemaPropertyOneOf) string { return v.Const }).(pulumi.StringOutput) } -// The type of resource to exclude in the campaign. -func (o CampaignResourceSettingsExcludedResourceOutput) ResourceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignResourceSettingsExcludedResource) *string { return v.ResourceType }).(pulumi.StringPtrOutput) +// Enum title +func (o GroupSchemaPropertyOneOfOutput) Title() pulumi.StringOutput { + return o.ApplyT(func(v GroupSchemaPropertyOneOf) string { return v.Title }).(pulumi.StringOutput) } -type CampaignResourceSettingsExcludedResourceArrayOutput struct{ *pulumi.OutputState } +type GroupSchemaPropertyOneOfArrayOutput struct{ *pulumi.OutputState } -func (CampaignResourceSettingsExcludedResourceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsExcludedResource)(nil)).Elem() +func (GroupSchemaPropertyOneOfArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GroupSchemaPropertyOneOf)(nil)).Elem() } -func (o CampaignResourceSettingsExcludedResourceArrayOutput) ToCampaignResourceSettingsExcludedResourceArrayOutput() CampaignResourceSettingsExcludedResourceArrayOutput { +func (o GroupSchemaPropertyOneOfArrayOutput) ToGroupSchemaPropertyOneOfArrayOutput() GroupSchemaPropertyOneOfArrayOutput { return o } -func (o CampaignResourceSettingsExcludedResourceArrayOutput) ToCampaignResourceSettingsExcludedResourceArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsExcludedResourceArrayOutput { +func (o GroupSchemaPropertyOneOfArrayOutput) ToGroupSchemaPropertyOneOfArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyOneOfArrayOutput { return o } -func (o CampaignResourceSettingsExcludedResourceArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsExcludedResourceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsExcludedResource { - return vs[0].([]CampaignResourceSettingsExcludedResource)[vs[1].(int)] - }).(CampaignResourceSettingsExcludedResourceOutput) +func (o GroupSchemaPropertyOneOfArrayOutput) Index(i pulumi.IntInput) GroupSchemaPropertyOneOfOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupSchemaPropertyOneOf { + return vs[0].([]GroupSchemaPropertyOneOf)[vs[1].(int)] + }).(GroupSchemaPropertyOneOfOutput) } -type CampaignResourceSettingsTargetResource struct { - // An array of entitlement bundles for this application. - EntitlementBundles []CampaignResourceSettingsTargetResourceEntitlementBundle `pulumi:"entitlementBundles"` - // An array of entitlements associated with resourceId that should be chosen as target when creating reviews - Entitlements []CampaignResourceSettingsTargetResourceEntitlement `pulumi:"entitlements"` - // Include all entitlements and entitlement bundles for this application. Only applicable if the resourcetype = APPLICATION and Entitlement Management is enabled. - IncludeAllEntitlementsAndBundles *bool `pulumi:"includeAllEntitlementsAndBundles"` - // The resource ID that is being reviewed. - ResourceId string `pulumi:"resourceId"` - // The type of Okta resource. - ResourceType string `pulumi:"resourceType"` +type IdentitySourceGroupProfile struct { + // Description of the group. + Description *string `pulumi:"description"` + // Name of the group. + DisplayName *string `pulumi:"displayName"` } -// CampaignResourceSettingsTargetResourceInput is an input type that accepts CampaignResourceSettingsTargetResourceArgs and CampaignResourceSettingsTargetResourceOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceInput` via: +// IdentitySourceGroupProfileInput is an input type that accepts IdentitySourceGroupProfileArgs and IdentitySourceGroupProfileOutput values. +// You can construct a concrete instance of `IdentitySourceGroupProfileInput` via: // -// CampaignResourceSettingsTargetResourceArgs{...} -type CampaignResourceSettingsTargetResourceInput interface { +// IdentitySourceGroupProfileArgs{...} +type IdentitySourceGroupProfileInput interface { pulumi.Input - ToCampaignResourceSettingsTargetResourceOutput() CampaignResourceSettingsTargetResourceOutput - ToCampaignResourceSettingsTargetResourceOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceOutput + ToIdentitySourceGroupProfileOutput() IdentitySourceGroupProfileOutput + ToIdentitySourceGroupProfileOutputWithContext(context.Context) IdentitySourceGroupProfileOutput } -type CampaignResourceSettingsTargetResourceArgs struct { - // An array of entitlement bundles for this application. - EntitlementBundles CampaignResourceSettingsTargetResourceEntitlementBundleArrayInput `pulumi:"entitlementBundles"` - // An array of entitlements associated with resourceId that should be chosen as target when creating reviews - Entitlements CampaignResourceSettingsTargetResourceEntitlementArrayInput `pulumi:"entitlements"` - // Include all entitlements and entitlement bundles for this application. Only applicable if the resourcetype = APPLICATION and Entitlement Management is enabled. - IncludeAllEntitlementsAndBundles pulumi.BoolPtrInput `pulumi:"includeAllEntitlementsAndBundles"` - // The resource ID that is being reviewed. - ResourceId pulumi.StringInput `pulumi:"resourceId"` - // The type of Okta resource. - ResourceType pulumi.StringInput `pulumi:"resourceType"` +type IdentitySourceGroupProfileArgs struct { + // Description of the group. + Description pulumi.StringPtrInput `pulumi:"description"` + // Name of the group. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` } -func (CampaignResourceSettingsTargetResourceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsTargetResource)(nil)).Elem() +func (IdentitySourceGroupProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceGroupProfile)(nil)).Elem() } -func (i CampaignResourceSettingsTargetResourceArgs) ToCampaignResourceSettingsTargetResourceOutput() CampaignResourceSettingsTargetResourceOutput { - return i.ToCampaignResourceSettingsTargetResourceOutputWithContext(context.Background()) +func (i IdentitySourceGroupProfileArgs) ToIdentitySourceGroupProfileOutput() IdentitySourceGroupProfileOutput { + return i.ToIdentitySourceGroupProfileOutputWithContext(context.Background()) } -func (i CampaignResourceSettingsTargetResourceArgs) ToCampaignResourceSettingsTargetResourceOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceOutput) +func (i IdentitySourceGroupProfileArgs) ToIdentitySourceGroupProfileOutputWithContext(ctx context.Context) IdentitySourceGroupProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceGroupProfileOutput) } -// CampaignResourceSettingsTargetResourceArrayInput is an input type that accepts CampaignResourceSettingsTargetResourceArray and CampaignResourceSettingsTargetResourceArrayOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceArrayInput` via: +func (i IdentitySourceGroupProfileArgs) ToIdentitySourceGroupProfilePtrOutput() IdentitySourceGroupProfilePtrOutput { + return i.ToIdentitySourceGroupProfilePtrOutputWithContext(context.Background()) +} + +func (i IdentitySourceGroupProfileArgs) ToIdentitySourceGroupProfilePtrOutputWithContext(ctx context.Context) IdentitySourceGroupProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceGroupProfileOutput).ToIdentitySourceGroupProfilePtrOutputWithContext(ctx) +} + +// IdentitySourceGroupProfilePtrInput is an input type that accepts IdentitySourceGroupProfileArgs, IdentitySourceGroupProfilePtr and IdentitySourceGroupProfilePtrOutput values. +// You can construct a concrete instance of `IdentitySourceGroupProfilePtrInput` via: // -// CampaignResourceSettingsTargetResourceArray{ CampaignResourceSettingsTargetResourceArgs{...} } -type CampaignResourceSettingsTargetResourceArrayInput interface { +// IdentitySourceGroupProfileArgs{...} +// +// or: +// +// nil +type IdentitySourceGroupProfilePtrInput interface { pulumi.Input - ToCampaignResourceSettingsTargetResourceArrayOutput() CampaignResourceSettingsTargetResourceArrayOutput - ToCampaignResourceSettingsTargetResourceArrayOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceArrayOutput + ToIdentitySourceGroupProfilePtrOutput() IdentitySourceGroupProfilePtrOutput + ToIdentitySourceGroupProfilePtrOutputWithContext(context.Context) IdentitySourceGroupProfilePtrOutput } -type CampaignResourceSettingsTargetResourceArray []CampaignResourceSettingsTargetResourceInput +type identitySourceGroupProfilePtrType IdentitySourceGroupProfileArgs -func (CampaignResourceSettingsTargetResourceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsTargetResource)(nil)).Elem() +func IdentitySourceGroupProfilePtr(v *IdentitySourceGroupProfileArgs) IdentitySourceGroupProfilePtrInput { + return (*identitySourceGroupProfilePtrType)(v) } -func (i CampaignResourceSettingsTargetResourceArray) ToCampaignResourceSettingsTargetResourceArrayOutput() CampaignResourceSettingsTargetResourceArrayOutput { - return i.ToCampaignResourceSettingsTargetResourceArrayOutputWithContext(context.Background()) +func (*identitySourceGroupProfilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceGroupProfile)(nil)).Elem() } -func (i CampaignResourceSettingsTargetResourceArray) ToCampaignResourceSettingsTargetResourceArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceArrayOutput) +func (i *identitySourceGroupProfilePtrType) ToIdentitySourceGroupProfilePtrOutput() IdentitySourceGroupProfilePtrOutput { + return i.ToIdentitySourceGroupProfilePtrOutputWithContext(context.Background()) } -type CampaignResourceSettingsTargetResourceOutput struct{ *pulumi.OutputState } - -func (CampaignResourceSettingsTargetResourceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsTargetResource)(nil)).Elem() +func (i *identitySourceGroupProfilePtrType) ToIdentitySourceGroupProfilePtrOutputWithContext(ctx context.Context) IdentitySourceGroupProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceGroupProfilePtrOutput) } -func (o CampaignResourceSettingsTargetResourceOutput) ToCampaignResourceSettingsTargetResourceOutput() CampaignResourceSettingsTargetResourceOutput { - return o +type IdentitySourceGroupProfileOutput struct{ *pulumi.OutputState } + +func (IdentitySourceGroupProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceGroupProfile)(nil)).Elem() } -func (o CampaignResourceSettingsTargetResourceOutput) ToCampaignResourceSettingsTargetResourceOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceOutput { +func (o IdentitySourceGroupProfileOutput) ToIdentitySourceGroupProfileOutput() IdentitySourceGroupProfileOutput { return o } -// An array of entitlement bundles for this application. -func (o CampaignResourceSettingsTargetResourceOutput) EntitlementBundles() CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResource) []CampaignResourceSettingsTargetResourceEntitlementBundle { - return v.EntitlementBundles - }).(CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) +func (o IdentitySourceGroupProfileOutput) ToIdentitySourceGroupProfileOutputWithContext(ctx context.Context) IdentitySourceGroupProfileOutput { + return o } -// An array of entitlements associated with resourceId that should be chosen as target when creating reviews -func (o CampaignResourceSettingsTargetResourceOutput) Entitlements() CampaignResourceSettingsTargetResourceEntitlementArrayOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResource) []CampaignResourceSettingsTargetResourceEntitlement { - return v.Entitlements - }).(CampaignResourceSettingsTargetResourceEntitlementArrayOutput) +func (o IdentitySourceGroupProfileOutput) ToIdentitySourceGroupProfilePtrOutput() IdentitySourceGroupProfilePtrOutput { + return o.ToIdentitySourceGroupProfilePtrOutputWithContext(context.Background()) } -// Include all entitlements and entitlement bundles for this application. Only applicable if the resourcetype = APPLICATION and Entitlement Management is enabled. -func (o CampaignResourceSettingsTargetResourceOutput) IncludeAllEntitlementsAndBundles() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResource) *bool { return v.IncludeAllEntitlementsAndBundles }).(pulumi.BoolPtrOutput) +func (o IdentitySourceGroupProfileOutput) ToIdentitySourceGroupProfilePtrOutputWithContext(ctx context.Context) IdentitySourceGroupProfilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceGroupProfile) *IdentitySourceGroupProfile { + return &v + }).(IdentitySourceGroupProfilePtrOutput) } -// The resource ID that is being reviewed. -func (o CampaignResourceSettingsTargetResourceOutput) ResourceId() pulumi.StringOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResource) string { return v.ResourceId }).(pulumi.StringOutput) +// Description of the group. +func (o IdentitySourceGroupProfileOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceGroupProfile) *string { return v.Description }).(pulumi.StringPtrOutput) } -// The type of Okta resource. -func (o CampaignResourceSettingsTargetResourceOutput) ResourceType() pulumi.StringOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResource) string { return v.ResourceType }).(pulumi.StringOutput) +// Name of the group. +func (o IdentitySourceGroupProfileOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceGroupProfile) *string { return v.DisplayName }).(pulumi.StringPtrOutput) } -type CampaignResourceSettingsTargetResourceArrayOutput struct{ *pulumi.OutputState } +type IdentitySourceGroupProfilePtrOutput struct{ *pulumi.OutputState } -func (CampaignResourceSettingsTargetResourceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsTargetResource)(nil)).Elem() +func (IdentitySourceGroupProfilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceGroupProfile)(nil)).Elem() } -func (o CampaignResourceSettingsTargetResourceArrayOutput) ToCampaignResourceSettingsTargetResourceArrayOutput() CampaignResourceSettingsTargetResourceArrayOutput { +func (o IdentitySourceGroupProfilePtrOutput) ToIdentitySourceGroupProfilePtrOutput() IdentitySourceGroupProfilePtrOutput { return o } -func (o CampaignResourceSettingsTargetResourceArrayOutput) ToCampaignResourceSettingsTargetResourceArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceArrayOutput { +func (o IdentitySourceGroupProfilePtrOutput) ToIdentitySourceGroupProfilePtrOutputWithContext(ctx context.Context) IdentitySourceGroupProfilePtrOutput { return o } -func (o CampaignResourceSettingsTargetResourceArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsTargetResourceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsTargetResource { - return vs[0].([]CampaignResourceSettingsTargetResource)[vs[1].(int)] - }).(CampaignResourceSettingsTargetResourceOutput) +func (o IdentitySourceGroupProfilePtrOutput) Elem() IdentitySourceGroupProfileOutput { + return o.ApplyT(func(v *IdentitySourceGroupProfile) IdentitySourceGroupProfile { + if v != nil { + return *v + } + var ret IdentitySourceGroupProfile + return ret + }).(IdentitySourceGroupProfileOutput) } -type CampaignResourceSettingsTargetResourceEntitlement struct { - // Campaign id - Id string `pulumi:"id"` - // Whether to include all entitlement values. If false we must provide the values property. - IncludeAllValues *bool `pulumi:"includeAllValues"` - Values []CampaignResourceSettingsTargetResourceEntitlementValue `pulumi:"values"` +// Description of the group. +func (o IdentitySourceGroupProfilePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceGroupProfile) *string { + if v == nil { + return nil + } + return v.Description + }).(pulumi.StringPtrOutput) } -// CampaignResourceSettingsTargetResourceEntitlementInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementArgs and CampaignResourceSettingsTargetResourceEntitlementOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementInput` via: +// Name of the group. +func (o IdentitySourceGroupProfilePtrOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceGroupProfile) *string { + if v == nil { + return nil + } + return v.DisplayName + }).(pulumi.StringPtrOutput) +} + +type IdentitySourceImportDeleteGroupMemberships struct { + // Group memberships to delete. (see below) + Memberships []IdentitySourceImportDeleteGroupMembershipsMembership `pulumi:"memberships"` +} + +// IdentitySourceImportDeleteGroupMembershipsInput is an input type that accepts IdentitySourceImportDeleteGroupMembershipsArgs and IdentitySourceImportDeleteGroupMembershipsOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteGroupMembershipsInput` via: // -// CampaignResourceSettingsTargetResourceEntitlementArgs{...} -type CampaignResourceSettingsTargetResourceEntitlementInput interface { +// IdentitySourceImportDeleteGroupMembershipsArgs{...} +type IdentitySourceImportDeleteGroupMembershipsInput interface { pulumi.Input - ToCampaignResourceSettingsTargetResourceEntitlementOutput() CampaignResourceSettingsTargetResourceEntitlementOutput - ToCampaignResourceSettingsTargetResourceEntitlementOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementOutput + ToIdentitySourceImportDeleteGroupMembershipsOutput() IdentitySourceImportDeleteGroupMembershipsOutput + ToIdentitySourceImportDeleteGroupMembershipsOutputWithContext(context.Context) IdentitySourceImportDeleteGroupMembershipsOutput } -type CampaignResourceSettingsTargetResourceEntitlementArgs struct { - // Campaign id - Id pulumi.StringInput `pulumi:"id"` - // Whether to include all entitlement values. If false we must provide the values property. - IncludeAllValues pulumi.BoolPtrInput `pulumi:"includeAllValues"` - Values CampaignResourceSettingsTargetResourceEntitlementValueArrayInput `pulumi:"values"` +type IdentitySourceImportDeleteGroupMembershipsArgs struct { + // Group memberships to delete. (see below) + Memberships IdentitySourceImportDeleteGroupMembershipsMembershipArrayInput `pulumi:"memberships"` } -func (CampaignResourceSettingsTargetResourceEntitlementArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlement)(nil)).Elem() +func (IdentitySourceImportDeleteGroupMembershipsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteGroupMemberships)(nil)).Elem() } -func (i CampaignResourceSettingsTargetResourceEntitlementArgs) ToCampaignResourceSettingsTargetResourceEntitlementOutput() CampaignResourceSettingsTargetResourceEntitlementOutput { - return i.ToCampaignResourceSettingsTargetResourceEntitlementOutputWithContext(context.Background()) +func (i IdentitySourceImportDeleteGroupMembershipsArgs) ToIdentitySourceImportDeleteGroupMembershipsOutput() IdentitySourceImportDeleteGroupMembershipsOutput { + return i.ToIdentitySourceImportDeleteGroupMembershipsOutputWithContext(context.Background()) } -func (i CampaignResourceSettingsTargetResourceEntitlementArgs) ToCampaignResourceSettingsTargetResourceEntitlementOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementOutput) +func (i IdentitySourceImportDeleteGroupMembershipsArgs) ToIdentitySourceImportDeleteGroupMembershipsOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteGroupMembershipsOutput) } -// CampaignResourceSettingsTargetResourceEntitlementArrayInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementArray and CampaignResourceSettingsTargetResourceEntitlementArrayOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementArrayInput` via: +func (i IdentitySourceImportDeleteGroupMembershipsArgs) ToIdentitySourceImportDeleteGroupMembershipsPtrOutput() IdentitySourceImportDeleteGroupMembershipsPtrOutput { + return i.ToIdentitySourceImportDeleteGroupMembershipsPtrOutputWithContext(context.Background()) +} + +func (i IdentitySourceImportDeleteGroupMembershipsArgs) ToIdentitySourceImportDeleteGroupMembershipsPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteGroupMembershipsOutput).ToIdentitySourceImportDeleteGroupMembershipsPtrOutputWithContext(ctx) +} + +// IdentitySourceImportDeleteGroupMembershipsPtrInput is an input type that accepts IdentitySourceImportDeleteGroupMembershipsArgs, IdentitySourceImportDeleteGroupMembershipsPtr and IdentitySourceImportDeleteGroupMembershipsPtrOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteGroupMembershipsPtrInput` via: // -// CampaignResourceSettingsTargetResourceEntitlementArray{ CampaignResourceSettingsTargetResourceEntitlementArgs{...} } -type CampaignResourceSettingsTargetResourceEntitlementArrayInput interface { +// IdentitySourceImportDeleteGroupMembershipsArgs{...} +// +// or: +// +// nil +type IdentitySourceImportDeleteGroupMembershipsPtrInput interface { pulumi.Input - ToCampaignResourceSettingsTargetResourceEntitlementArrayOutput() CampaignResourceSettingsTargetResourceEntitlementArrayOutput - ToCampaignResourceSettingsTargetResourceEntitlementArrayOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementArrayOutput + ToIdentitySourceImportDeleteGroupMembershipsPtrOutput() IdentitySourceImportDeleteGroupMembershipsPtrOutput + ToIdentitySourceImportDeleteGroupMembershipsPtrOutputWithContext(context.Context) IdentitySourceImportDeleteGroupMembershipsPtrOutput } -type CampaignResourceSettingsTargetResourceEntitlementArray []CampaignResourceSettingsTargetResourceEntitlementInput +type identitySourceImportDeleteGroupMembershipsPtrType IdentitySourceImportDeleteGroupMembershipsArgs -func (CampaignResourceSettingsTargetResourceEntitlementArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlement)(nil)).Elem() +func IdentitySourceImportDeleteGroupMembershipsPtr(v *IdentitySourceImportDeleteGroupMembershipsArgs) IdentitySourceImportDeleteGroupMembershipsPtrInput { + return (*identitySourceImportDeleteGroupMembershipsPtrType)(v) } -func (i CampaignResourceSettingsTargetResourceEntitlementArray) ToCampaignResourceSettingsTargetResourceEntitlementArrayOutput() CampaignResourceSettingsTargetResourceEntitlementArrayOutput { - return i.ToCampaignResourceSettingsTargetResourceEntitlementArrayOutputWithContext(context.Background()) +func (*identitySourceImportDeleteGroupMembershipsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportDeleteGroupMemberships)(nil)).Elem() +} + +func (i *identitySourceImportDeleteGroupMembershipsPtrType) ToIdentitySourceImportDeleteGroupMembershipsPtrOutput() IdentitySourceImportDeleteGroupMembershipsPtrOutput { + return i.ToIdentitySourceImportDeleteGroupMembershipsPtrOutputWithContext(context.Background()) } -func (i CampaignResourceSettingsTargetResourceEntitlementArray) ToCampaignResourceSettingsTargetResourceEntitlementArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementArrayOutput) +func (i *identitySourceImportDeleteGroupMembershipsPtrType) ToIdentitySourceImportDeleteGroupMembershipsPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteGroupMembershipsPtrOutput) } -type CampaignResourceSettingsTargetResourceEntitlementOutput struct{ *pulumi.OutputState } +type IdentitySourceImportDeleteGroupMembershipsOutput struct{ *pulumi.OutputState } -func (CampaignResourceSettingsTargetResourceEntitlementOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlement)(nil)).Elem() +func (IdentitySourceImportDeleteGroupMembershipsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteGroupMemberships)(nil)).Elem() } -func (o CampaignResourceSettingsTargetResourceEntitlementOutput) ToCampaignResourceSettingsTargetResourceEntitlementOutput() CampaignResourceSettingsTargetResourceEntitlementOutput { +func (o IdentitySourceImportDeleteGroupMembershipsOutput) ToIdentitySourceImportDeleteGroupMembershipsOutput() IdentitySourceImportDeleteGroupMembershipsOutput { return o } -func (o CampaignResourceSettingsTargetResourceEntitlementOutput) ToCampaignResourceSettingsTargetResourceEntitlementOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementOutput { +func (o IdentitySourceImportDeleteGroupMembershipsOutput) ToIdentitySourceImportDeleteGroupMembershipsOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsOutput { return o } -// Campaign id -func (o CampaignResourceSettingsTargetResourceEntitlementOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlement) string { return v.Id }).(pulumi.StringOutput) +func (o IdentitySourceImportDeleteGroupMembershipsOutput) ToIdentitySourceImportDeleteGroupMembershipsPtrOutput() IdentitySourceImportDeleteGroupMembershipsPtrOutput { + return o.ToIdentitySourceImportDeleteGroupMembershipsPtrOutputWithContext(context.Background()) } -// Whether to include all entitlement values. If false we must provide the values property. -func (o CampaignResourceSettingsTargetResourceEntitlementOutput) IncludeAllValues() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlement) *bool { return v.IncludeAllValues }).(pulumi.BoolPtrOutput) +func (o IdentitySourceImportDeleteGroupMembershipsOutput) ToIdentitySourceImportDeleteGroupMembershipsPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceImportDeleteGroupMemberships) *IdentitySourceImportDeleteGroupMemberships { + return &v + }).(IdentitySourceImportDeleteGroupMembershipsPtrOutput) } -func (o CampaignResourceSettingsTargetResourceEntitlementOutput) Values() CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlement) []CampaignResourceSettingsTargetResourceEntitlementValue { - return v.Values - }).(CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) +// Group memberships to delete. (see below) +func (o IdentitySourceImportDeleteGroupMembershipsOutput) Memberships() IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput { + return o.ApplyT(func(v IdentitySourceImportDeleteGroupMemberships) []IdentitySourceImportDeleteGroupMembershipsMembership { + return v.Memberships + }).(IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput) } -type CampaignResourceSettingsTargetResourceEntitlementArrayOutput struct{ *pulumi.OutputState } +type IdentitySourceImportDeleteGroupMembershipsPtrOutput struct{ *pulumi.OutputState } -func (CampaignResourceSettingsTargetResourceEntitlementArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlement)(nil)).Elem() +func (IdentitySourceImportDeleteGroupMembershipsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportDeleteGroupMemberships)(nil)).Elem() } -func (o CampaignResourceSettingsTargetResourceEntitlementArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementArrayOutput() CampaignResourceSettingsTargetResourceEntitlementArrayOutput { +func (o IdentitySourceImportDeleteGroupMembershipsPtrOutput) ToIdentitySourceImportDeleteGroupMembershipsPtrOutput() IdentitySourceImportDeleteGroupMembershipsPtrOutput { return o } -func (o CampaignResourceSettingsTargetResourceEntitlementArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementArrayOutput { +func (o IdentitySourceImportDeleteGroupMembershipsPtrOutput) ToIdentitySourceImportDeleteGroupMembershipsPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsPtrOutput { return o } -func (o CampaignResourceSettingsTargetResourceEntitlementArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsTargetResourceEntitlementOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsTargetResourceEntitlement { - return vs[0].([]CampaignResourceSettingsTargetResourceEntitlement)[vs[1].(int)] - }).(CampaignResourceSettingsTargetResourceEntitlementOutput) +func (o IdentitySourceImportDeleteGroupMembershipsPtrOutput) Elem() IdentitySourceImportDeleteGroupMembershipsOutput { + return o.ApplyT(func(v *IdentitySourceImportDeleteGroupMemberships) IdentitySourceImportDeleteGroupMemberships { + if v != nil { + return *v + } + var ret IdentitySourceImportDeleteGroupMemberships + return ret + }).(IdentitySourceImportDeleteGroupMembershipsOutput) } -type CampaignResourceSettingsTargetResourceEntitlementBundle struct { - // Campaign id - Id string `pulumi:"id"` +// Group memberships to delete. (see below) +func (o IdentitySourceImportDeleteGroupMembershipsPtrOutput) Memberships() IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput { + return o.ApplyT(func(v *IdentitySourceImportDeleteGroupMemberships) []IdentitySourceImportDeleteGroupMembershipsMembership { + if v == nil { + return nil + } + return v.Memberships + }).(IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput) } -// CampaignResourceSettingsTargetResourceEntitlementBundleInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementBundleArgs and CampaignResourceSettingsTargetResourceEntitlementBundleOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementBundleInput` via: +type IdentitySourceImportDeleteGroupMembershipsMembership struct { + // External ID of the group. + GroupExternalId *string `pulumi:"groupExternalId"` + // External IDs of the group members to remove. + MemberExternalIds []string `pulumi:"memberExternalIds"` +} + +// IdentitySourceImportDeleteGroupMembershipsMembershipInput is an input type that accepts IdentitySourceImportDeleteGroupMembershipsMembershipArgs and IdentitySourceImportDeleteGroupMembershipsMembershipOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteGroupMembershipsMembershipInput` via: // -// CampaignResourceSettingsTargetResourceEntitlementBundleArgs{...} -type CampaignResourceSettingsTargetResourceEntitlementBundleInput interface { +// IdentitySourceImportDeleteGroupMembershipsMembershipArgs{...} +type IdentitySourceImportDeleteGroupMembershipsMembershipInput interface { pulumi.Input - ToCampaignResourceSettingsTargetResourceEntitlementBundleOutput() CampaignResourceSettingsTargetResourceEntitlementBundleOutput - ToCampaignResourceSettingsTargetResourceEntitlementBundleOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleOutput + ToIdentitySourceImportDeleteGroupMembershipsMembershipOutput() IdentitySourceImportDeleteGroupMembershipsMembershipOutput + ToIdentitySourceImportDeleteGroupMembershipsMembershipOutputWithContext(context.Context) IdentitySourceImportDeleteGroupMembershipsMembershipOutput } -type CampaignResourceSettingsTargetResourceEntitlementBundleArgs struct { - // Campaign id - Id pulumi.StringInput `pulumi:"id"` +type IdentitySourceImportDeleteGroupMembershipsMembershipArgs struct { + // External ID of the group. + GroupExternalId pulumi.StringPtrInput `pulumi:"groupExternalId"` + // External IDs of the group members to remove. + MemberExternalIds pulumi.StringArrayInput `pulumi:"memberExternalIds"` } -func (CampaignResourceSettingsTargetResourceEntitlementBundleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlementBundle)(nil)).Elem() +func (IdentitySourceImportDeleteGroupMembershipsMembershipArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteGroupMembershipsMembership)(nil)).Elem() } -func (i CampaignResourceSettingsTargetResourceEntitlementBundleArgs) ToCampaignResourceSettingsTargetResourceEntitlementBundleOutput() CampaignResourceSettingsTargetResourceEntitlementBundleOutput { - return i.ToCampaignResourceSettingsTargetResourceEntitlementBundleOutputWithContext(context.Background()) +func (i IdentitySourceImportDeleteGroupMembershipsMembershipArgs) ToIdentitySourceImportDeleteGroupMembershipsMembershipOutput() IdentitySourceImportDeleteGroupMembershipsMembershipOutput { + return i.ToIdentitySourceImportDeleteGroupMembershipsMembershipOutputWithContext(context.Background()) } -func (i CampaignResourceSettingsTargetResourceEntitlementBundleArgs) ToCampaignResourceSettingsTargetResourceEntitlementBundleOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementBundleOutput) +func (i IdentitySourceImportDeleteGroupMembershipsMembershipArgs) ToIdentitySourceImportDeleteGroupMembershipsMembershipOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsMembershipOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteGroupMembershipsMembershipOutput) } -// CampaignResourceSettingsTargetResourceEntitlementBundleArrayInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementBundleArray and CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementBundleArrayInput` via: +// IdentitySourceImportDeleteGroupMembershipsMembershipArrayInput is an input type that accepts IdentitySourceImportDeleteGroupMembershipsMembershipArray and IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteGroupMembershipsMembershipArrayInput` via: // -// CampaignResourceSettingsTargetResourceEntitlementBundleArray{ CampaignResourceSettingsTargetResourceEntitlementBundleArgs{...} } -type CampaignResourceSettingsTargetResourceEntitlementBundleArrayInput interface { +// IdentitySourceImportDeleteGroupMembershipsMembershipArray{ IdentitySourceImportDeleteGroupMembershipsMembershipArgs{...} } +type IdentitySourceImportDeleteGroupMembershipsMembershipArrayInput interface { pulumi.Input - ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput() CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput - ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput + ToIdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput() IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput + ToIdentitySourceImportDeleteGroupMembershipsMembershipArrayOutputWithContext(context.Context) IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput } -type CampaignResourceSettingsTargetResourceEntitlementBundleArray []CampaignResourceSettingsTargetResourceEntitlementBundleInput +type IdentitySourceImportDeleteGroupMembershipsMembershipArray []IdentitySourceImportDeleteGroupMembershipsMembershipInput -func (CampaignResourceSettingsTargetResourceEntitlementBundleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlementBundle)(nil)).Elem() +func (IdentitySourceImportDeleteGroupMembershipsMembershipArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportDeleteGroupMembershipsMembership)(nil)).Elem() } -func (i CampaignResourceSettingsTargetResourceEntitlementBundleArray) ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput() CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { - return i.ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutputWithContext(context.Background()) +func (i IdentitySourceImportDeleteGroupMembershipsMembershipArray) ToIdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput() IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput { + return i.ToIdentitySourceImportDeleteGroupMembershipsMembershipArrayOutputWithContext(context.Background()) } -func (i CampaignResourceSettingsTargetResourceEntitlementBundleArray) ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) +func (i IdentitySourceImportDeleteGroupMembershipsMembershipArray) ToIdentitySourceImportDeleteGroupMembershipsMembershipArrayOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput) } -type CampaignResourceSettingsTargetResourceEntitlementBundleOutput struct{ *pulumi.OutputState } +type IdentitySourceImportDeleteGroupMembershipsMembershipOutput struct{ *pulumi.OutputState } -func (CampaignResourceSettingsTargetResourceEntitlementBundleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlementBundle)(nil)).Elem() +func (IdentitySourceImportDeleteGroupMembershipsMembershipOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteGroupMembershipsMembership)(nil)).Elem() } -func (o CampaignResourceSettingsTargetResourceEntitlementBundleOutput) ToCampaignResourceSettingsTargetResourceEntitlementBundleOutput() CampaignResourceSettingsTargetResourceEntitlementBundleOutput { +func (o IdentitySourceImportDeleteGroupMembershipsMembershipOutput) ToIdentitySourceImportDeleteGroupMembershipsMembershipOutput() IdentitySourceImportDeleteGroupMembershipsMembershipOutput { return o } -func (o CampaignResourceSettingsTargetResourceEntitlementBundleOutput) ToCampaignResourceSettingsTargetResourceEntitlementBundleOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleOutput { +func (o IdentitySourceImportDeleteGroupMembershipsMembershipOutput) ToIdentitySourceImportDeleteGroupMembershipsMembershipOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsMembershipOutput { return o } -// Campaign id -func (o CampaignResourceSettingsTargetResourceEntitlementBundleOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlementBundle) string { return v.Id }).(pulumi.StringOutput) +// External ID of the group. +func (o IdentitySourceImportDeleteGroupMembershipsMembershipOutput) GroupExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportDeleteGroupMembershipsMembership) *string { return v.GroupExternalId }).(pulumi.StringPtrOutput) } -type CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput struct{ *pulumi.OutputState } +// External IDs of the group members to remove. +func (o IdentitySourceImportDeleteGroupMembershipsMembershipOutput) MemberExternalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v IdentitySourceImportDeleteGroupMembershipsMembership) []string { return v.MemberExternalIds }).(pulumi.StringArrayOutput) +} -func (CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlementBundle)(nil)).Elem() +type IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportDeleteGroupMembershipsMembership)(nil)).Elem() } -func (o CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput() CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { +func (o IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput) ToIdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput() IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput { return o } -func (o CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementBundleArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput { +func (o IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput) ToIdentitySourceImportDeleteGroupMembershipsMembershipArrayOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput { return o } -func (o CampaignResourceSettingsTargetResourceEntitlementBundleArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsTargetResourceEntitlementBundleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsTargetResourceEntitlementBundle { - return vs[0].([]CampaignResourceSettingsTargetResourceEntitlementBundle)[vs[1].(int)] - }).(CampaignResourceSettingsTargetResourceEntitlementBundleOutput) +func (o IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput) Index(i pulumi.IntInput) IdentitySourceImportDeleteGroupMembershipsMembershipOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentitySourceImportDeleteGroupMembershipsMembership { + return vs[0].([]IdentitySourceImportDeleteGroupMembershipsMembership)[vs[1].(int)] + }).(IdentitySourceImportDeleteGroupMembershipsMembershipOutput) } -type CampaignResourceSettingsTargetResourceEntitlementValue struct { - // Campaign id - Id string `pulumi:"id"` +type IdentitySourceImportDeleteGroups struct { + // External IDs of the groups to delete. + ExternalIds []string `pulumi:"externalIds"` } -// CampaignResourceSettingsTargetResourceEntitlementValueInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementValueArgs and CampaignResourceSettingsTargetResourceEntitlementValueOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementValueInput` via: +// IdentitySourceImportDeleteGroupsInput is an input type that accepts IdentitySourceImportDeleteGroupsArgs and IdentitySourceImportDeleteGroupsOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteGroupsInput` via: // -// CampaignResourceSettingsTargetResourceEntitlementValueArgs{...} -type CampaignResourceSettingsTargetResourceEntitlementValueInput interface { +// IdentitySourceImportDeleteGroupsArgs{...} +type IdentitySourceImportDeleteGroupsInput interface { pulumi.Input - ToCampaignResourceSettingsTargetResourceEntitlementValueOutput() CampaignResourceSettingsTargetResourceEntitlementValueOutput - ToCampaignResourceSettingsTargetResourceEntitlementValueOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementValueOutput + ToIdentitySourceImportDeleteGroupsOutput() IdentitySourceImportDeleteGroupsOutput + ToIdentitySourceImportDeleteGroupsOutputWithContext(context.Context) IdentitySourceImportDeleteGroupsOutput } -type CampaignResourceSettingsTargetResourceEntitlementValueArgs struct { - // Campaign id - Id pulumi.StringInput `pulumi:"id"` +type IdentitySourceImportDeleteGroupsArgs struct { + // External IDs of the groups to delete. + ExternalIds pulumi.StringArrayInput `pulumi:"externalIds"` } -func (CampaignResourceSettingsTargetResourceEntitlementValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlementValue)(nil)).Elem() +func (IdentitySourceImportDeleteGroupsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteGroups)(nil)).Elem() } -func (i CampaignResourceSettingsTargetResourceEntitlementValueArgs) ToCampaignResourceSettingsTargetResourceEntitlementValueOutput() CampaignResourceSettingsTargetResourceEntitlementValueOutput { - return i.ToCampaignResourceSettingsTargetResourceEntitlementValueOutputWithContext(context.Background()) +func (i IdentitySourceImportDeleteGroupsArgs) ToIdentitySourceImportDeleteGroupsOutput() IdentitySourceImportDeleteGroupsOutput { + return i.ToIdentitySourceImportDeleteGroupsOutputWithContext(context.Background()) } -func (i CampaignResourceSettingsTargetResourceEntitlementValueArgs) ToCampaignResourceSettingsTargetResourceEntitlementValueOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementValueOutput) +func (i IdentitySourceImportDeleteGroupsArgs) ToIdentitySourceImportDeleteGroupsOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupsOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteGroupsOutput) } -// CampaignResourceSettingsTargetResourceEntitlementValueArrayInput is an input type that accepts CampaignResourceSettingsTargetResourceEntitlementValueArray and CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput values. -// You can construct a concrete instance of `CampaignResourceSettingsTargetResourceEntitlementValueArrayInput` via: -// -// CampaignResourceSettingsTargetResourceEntitlementValueArray{ CampaignResourceSettingsTargetResourceEntitlementValueArgs{...} } -type CampaignResourceSettingsTargetResourceEntitlementValueArrayInput interface { - pulumi.Input - - ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutput() CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput - ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutputWithContext(context.Context) CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput +func (i IdentitySourceImportDeleteGroupsArgs) ToIdentitySourceImportDeleteGroupsPtrOutput() IdentitySourceImportDeleteGroupsPtrOutput { + return i.ToIdentitySourceImportDeleteGroupsPtrOutputWithContext(context.Background()) } -type CampaignResourceSettingsTargetResourceEntitlementValueArray []CampaignResourceSettingsTargetResourceEntitlementValueInput - -func (CampaignResourceSettingsTargetResourceEntitlementValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlementValue)(nil)).Elem() +func (i IdentitySourceImportDeleteGroupsArgs) ToIdentitySourceImportDeleteGroupsPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteGroupsOutput).ToIdentitySourceImportDeleteGroupsPtrOutputWithContext(ctx) } -func (i CampaignResourceSettingsTargetResourceEntitlementValueArray) ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutput() CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { - return i.ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutputWithContext(context.Background()) -} +// IdentitySourceImportDeleteGroupsPtrInput is an input type that accepts IdentitySourceImportDeleteGroupsArgs, IdentitySourceImportDeleteGroupsPtr and IdentitySourceImportDeleteGroupsPtrOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteGroupsPtrInput` via: +// +// IdentitySourceImportDeleteGroupsArgs{...} +// +// or: +// +// nil +type IdentitySourceImportDeleteGroupsPtrInput interface { + pulumi.Input -func (i CampaignResourceSettingsTargetResourceEntitlementValueArray) ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) + ToIdentitySourceImportDeleteGroupsPtrOutput() IdentitySourceImportDeleteGroupsPtrOutput + ToIdentitySourceImportDeleteGroupsPtrOutputWithContext(context.Context) IdentitySourceImportDeleteGroupsPtrOutput } -type CampaignResourceSettingsTargetResourceEntitlementValueOutput struct{ *pulumi.OutputState } +type identitySourceImportDeleteGroupsPtrType IdentitySourceImportDeleteGroupsArgs -func (CampaignResourceSettingsTargetResourceEntitlementValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignResourceSettingsTargetResourceEntitlementValue)(nil)).Elem() +func IdentitySourceImportDeleteGroupsPtr(v *IdentitySourceImportDeleteGroupsArgs) IdentitySourceImportDeleteGroupsPtrInput { + return (*identitySourceImportDeleteGroupsPtrType)(v) } -func (o CampaignResourceSettingsTargetResourceEntitlementValueOutput) ToCampaignResourceSettingsTargetResourceEntitlementValueOutput() CampaignResourceSettingsTargetResourceEntitlementValueOutput { - return o +func (*identitySourceImportDeleteGroupsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportDeleteGroups)(nil)).Elem() } -func (o CampaignResourceSettingsTargetResourceEntitlementValueOutput) ToCampaignResourceSettingsTargetResourceEntitlementValueOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementValueOutput { - return o +func (i *identitySourceImportDeleteGroupsPtrType) ToIdentitySourceImportDeleteGroupsPtrOutput() IdentitySourceImportDeleteGroupsPtrOutput { + return i.ToIdentitySourceImportDeleteGroupsPtrOutputWithContext(context.Background()) } -// Campaign id -func (o CampaignResourceSettingsTargetResourceEntitlementValueOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v CampaignResourceSettingsTargetResourceEntitlementValue) string { return v.Id }).(pulumi.StringOutput) +func (i *identitySourceImportDeleteGroupsPtrType) ToIdentitySourceImportDeleteGroupsPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteGroupsPtrOutput) } -type CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput struct{ *pulumi.OutputState } +type IdentitySourceImportDeleteGroupsOutput struct{ *pulumi.OutputState } -func (CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignResourceSettingsTargetResourceEntitlementValue)(nil)).Elem() +func (IdentitySourceImportDeleteGroupsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteGroups)(nil)).Elem() } -func (o CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutput() CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { +func (o IdentitySourceImportDeleteGroupsOutput) ToIdentitySourceImportDeleteGroupsOutput() IdentitySourceImportDeleteGroupsOutput { return o } -func (o CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) ToCampaignResourceSettingsTargetResourceEntitlementValueArrayOutputWithContext(ctx context.Context) CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput { +func (o IdentitySourceImportDeleteGroupsOutput) ToIdentitySourceImportDeleteGroupsOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupsOutput { return o } -func (o CampaignResourceSettingsTargetResourceEntitlementValueArrayOutput) Index(i pulumi.IntInput) CampaignResourceSettingsTargetResourceEntitlementValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignResourceSettingsTargetResourceEntitlementValue { - return vs[0].([]CampaignResourceSettingsTargetResourceEntitlementValue)[vs[1].(int)] - }).(CampaignResourceSettingsTargetResourceEntitlementValueOutput) +func (o IdentitySourceImportDeleteGroupsOutput) ToIdentitySourceImportDeleteGroupsPtrOutput() IdentitySourceImportDeleteGroupsPtrOutput { + return o.ToIdentitySourceImportDeleteGroupsPtrOutputWithContext(context.Background()) } -type CampaignReviewerSettings struct { - // When approving or revoking review items, bulk actions are disabled if true. - BulkDecisionDisabled *bool `pulumi:"bulkDecisionDisabled"` - // The ID of the fallback reviewer. Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` - FallbackReviewerId *string `pulumi:"fallbackReviewerId"` - // When approving or revoking review items, a justification is required if true. - JustificationRequired *bool `pulumi:"justificationRequired"` - // Reassignment is disabled for reviewers if true. - ReassignmentDisabled *bool `pulumi:"reassignmentDisabled"` - // The ID of the reviewer group to which the reviewer is assigned. - ReviewerGroupId *string `pulumi:"reviewerGroupId"` - ReviewerId *string `pulumi:"reviewerId"` - // Definition of reviewer level for a given campaign. Each reviewer level defines the kind of reviewer who is going to review. - ReviewerLevels []CampaignReviewerSettingsReviewerLevel `pulumi:"reviewerLevels"` - // This property is required when type=`USER` - ReviewerScopeExpression *string `pulumi:"reviewerScopeExpression"` - // This property is required to be true for resource-centric campaigns when the Okta Admin Console is one of the resources. - SelfReviewDisabled *bool `pulumi:"selfReviewDisabled"` - // Identifies the kind of reviewer for Access Certification. - Type string `pulumi:"type"` +func (o IdentitySourceImportDeleteGroupsOutput) ToIdentitySourceImportDeleteGroupsPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceImportDeleteGroups) *IdentitySourceImportDeleteGroups { + return &v + }).(IdentitySourceImportDeleteGroupsPtrOutput) } -// CampaignReviewerSettingsInput is an input type that accepts CampaignReviewerSettingsArgs and CampaignReviewerSettingsOutput values. -// You can construct a concrete instance of `CampaignReviewerSettingsInput` via: -// -// CampaignReviewerSettingsArgs{...} -type CampaignReviewerSettingsInput interface { - pulumi.Input - - ToCampaignReviewerSettingsOutput() CampaignReviewerSettingsOutput - ToCampaignReviewerSettingsOutputWithContext(context.Context) CampaignReviewerSettingsOutput +// External IDs of the groups to delete. +func (o IdentitySourceImportDeleteGroupsOutput) ExternalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v IdentitySourceImportDeleteGroups) []string { return v.ExternalIds }).(pulumi.StringArrayOutput) } -type CampaignReviewerSettingsArgs struct { - // When approving or revoking review items, bulk actions are disabled if true. - BulkDecisionDisabled pulumi.BoolPtrInput `pulumi:"bulkDecisionDisabled"` - // The ID of the fallback reviewer. Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` - FallbackReviewerId pulumi.StringPtrInput `pulumi:"fallbackReviewerId"` - // When approving or revoking review items, a justification is required if true. - JustificationRequired pulumi.BoolPtrInput `pulumi:"justificationRequired"` - // Reassignment is disabled for reviewers if true. - ReassignmentDisabled pulumi.BoolPtrInput `pulumi:"reassignmentDisabled"` - // The ID of the reviewer group to which the reviewer is assigned. - ReviewerGroupId pulumi.StringPtrInput `pulumi:"reviewerGroupId"` - ReviewerId pulumi.StringPtrInput `pulumi:"reviewerId"` - // Definition of reviewer level for a given campaign. Each reviewer level defines the kind of reviewer who is going to review. - ReviewerLevels CampaignReviewerSettingsReviewerLevelArrayInput `pulumi:"reviewerLevels"` - // This property is required when type=`USER` - ReviewerScopeExpression pulumi.StringPtrInput `pulumi:"reviewerScopeExpression"` - // This property is required to be true for resource-centric campaigns when the Okta Admin Console is one of the resources. - SelfReviewDisabled pulumi.BoolPtrInput `pulumi:"selfReviewDisabled"` - // Identifies the kind of reviewer for Access Certification. - Type pulumi.StringInput `pulumi:"type"` +type IdentitySourceImportDeleteGroupsPtrOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportDeleteGroupsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportDeleteGroups)(nil)).Elem() } -func (CampaignReviewerSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignReviewerSettings)(nil)).Elem() +func (o IdentitySourceImportDeleteGroupsPtrOutput) ToIdentitySourceImportDeleteGroupsPtrOutput() IdentitySourceImportDeleteGroupsPtrOutput { + return o } -func (i CampaignReviewerSettingsArgs) ToCampaignReviewerSettingsOutput() CampaignReviewerSettingsOutput { - return i.ToCampaignReviewerSettingsOutputWithContext(context.Background()) +func (o IdentitySourceImportDeleteGroupsPtrOutput) ToIdentitySourceImportDeleteGroupsPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteGroupsPtrOutput { + return o } -func (i CampaignReviewerSettingsArgs) ToCampaignReviewerSettingsOutputWithContext(ctx context.Context) CampaignReviewerSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsOutput) +func (o IdentitySourceImportDeleteGroupsPtrOutput) Elem() IdentitySourceImportDeleteGroupsOutput { + return o.ApplyT(func(v *IdentitySourceImportDeleteGroups) IdentitySourceImportDeleteGroups { + if v != nil { + return *v + } + var ret IdentitySourceImportDeleteGroups + return ret + }).(IdentitySourceImportDeleteGroupsOutput) } -func (i CampaignReviewerSettingsArgs) ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput { - return i.ToCampaignReviewerSettingsPtrOutputWithContext(context.Background()) +// External IDs of the groups to delete. +func (o IdentitySourceImportDeleteGroupsPtrOutput) ExternalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *IdentitySourceImportDeleteGroups) []string { + if v == nil { + return nil + } + return v.ExternalIds + }).(pulumi.StringArrayOutput) } -func (i CampaignReviewerSettingsArgs) ToCampaignReviewerSettingsPtrOutputWithContext(ctx context.Context) CampaignReviewerSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsOutput).ToCampaignReviewerSettingsPtrOutputWithContext(ctx) +type IdentitySourceImportDeleteUsers struct { + // Entity type. Currently only `USERS` is supported. + EntityType *string `pulumi:"entityType"` + // User profiles to delete (by external ID). (see below) + Profiles []IdentitySourceImportDeleteUsersProfile `pulumi:"profiles"` } -// CampaignReviewerSettingsPtrInput is an input type that accepts CampaignReviewerSettingsArgs, CampaignReviewerSettingsPtr and CampaignReviewerSettingsPtrOutput values. -// You can construct a concrete instance of `CampaignReviewerSettingsPtrInput` via: -// -// CampaignReviewerSettingsArgs{...} -// -// or: +// IdentitySourceImportDeleteUsersInput is an input type that accepts IdentitySourceImportDeleteUsersArgs and IdentitySourceImportDeleteUsersOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteUsersInput` via: // -// nil -type CampaignReviewerSettingsPtrInput interface { +// IdentitySourceImportDeleteUsersArgs{...} +type IdentitySourceImportDeleteUsersInput interface { pulumi.Input - ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput - ToCampaignReviewerSettingsPtrOutputWithContext(context.Context) CampaignReviewerSettingsPtrOutput -} - -type campaignReviewerSettingsPtrType CampaignReviewerSettingsArgs - -func CampaignReviewerSettingsPtr(v *CampaignReviewerSettingsArgs) CampaignReviewerSettingsPtrInput { - return (*campaignReviewerSettingsPtrType)(v) + ToIdentitySourceImportDeleteUsersOutput() IdentitySourceImportDeleteUsersOutput + ToIdentitySourceImportDeleteUsersOutputWithContext(context.Context) IdentitySourceImportDeleteUsersOutput } -func (*campaignReviewerSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignReviewerSettings)(nil)).Elem() +type IdentitySourceImportDeleteUsersArgs struct { + // Entity type. Currently only `USERS` is supported. + EntityType pulumi.StringPtrInput `pulumi:"entityType"` + // User profiles to delete (by external ID). (see below) + Profiles IdentitySourceImportDeleteUsersProfileArrayInput `pulumi:"profiles"` } -func (i *campaignReviewerSettingsPtrType) ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput { - return i.ToCampaignReviewerSettingsPtrOutputWithContext(context.Background()) +func (IdentitySourceImportDeleteUsersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteUsers)(nil)).Elem() } -func (i *campaignReviewerSettingsPtrType) ToCampaignReviewerSettingsPtrOutputWithContext(ctx context.Context) CampaignReviewerSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsPtrOutput) +func (i IdentitySourceImportDeleteUsersArgs) ToIdentitySourceImportDeleteUsersOutput() IdentitySourceImportDeleteUsersOutput { + return i.ToIdentitySourceImportDeleteUsersOutputWithContext(context.Background()) } -type CampaignReviewerSettingsOutput struct{ *pulumi.OutputState } - -func (CampaignReviewerSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignReviewerSettings)(nil)).Elem() +func (i IdentitySourceImportDeleteUsersArgs) ToIdentitySourceImportDeleteUsersOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteUsersOutput) } -func (o CampaignReviewerSettingsOutput) ToCampaignReviewerSettingsOutput() CampaignReviewerSettingsOutput { - return o +func (i IdentitySourceImportDeleteUsersArgs) ToIdentitySourceImportDeleteUsersPtrOutput() IdentitySourceImportDeleteUsersPtrOutput { + return i.ToIdentitySourceImportDeleteUsersPtrOutputWithContext(context.Background()) } -func (o CampaignReviewerSettingsOutput) ToCampaignReviewerSettingsOutputWithContext(ctx context.Context) CampaignReviewerSettingsOutput { - return o +func (i IdentitySourceImportDeleteUsersArgs) ToIdentitySourceImportDeleteUsersPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteUsersOutput).ToIdentitySourceImportDeleteUsersPtrOutputWithContext(ctx) } -func (o CampaignReviewerSettingsOutput) ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput { - return o.ToCampaignReviewerSettingsPtrOutputWithContext(context.Background()) +// IdentitySourceImportDeleteUsersPtrInput is an input type that accepts IdentitySourceImportDeleteUsersArgs, IdentitySourceImportDeleteUsersPtr and IdentitySourceImportDeleteUsersPtrOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteUsersPtrInput` via: +// +// IdentitySourceImportDeleteUsersArgs{...} +// +// or: +// +// nil +type IdentitySourceImportDeleteUsersPtrInput interface { + pulumi.Input + + ToIdentitySourceImportDeleteUsersPtrOutput() IdentitySourceImportDeleteUsersPtrOutput + ToIdentitySourceImportDeleteUsersPtrOutputWithContext(context.Context) IdentitySourceImportDeleteUsersPtrOutput } -func (o CampaignReviewerSettingsOutput) ToCampaignReviewerSettingsPtrOutputWithContext(ctx context.Context) CampaignReviewerSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignReviewerSettings) *CampaignReviewerSettings { - return &v - }).(CampaignReviewerSettingsPtrOutput) +type identitySourceImportDeleteUsersPtrType IdentitySourceImportDeleteUsersArgs + +func IdentitySourceImportDeleteUsersPtr(v *IdentitySourceImportDeleteUsersArgs) IdentitySourceImportDeleteUsersPtrInput { + return (*identitySourceImportDeleteUsersPtrType)(v) } -// When approving or revoking review items, bulk actions are disabled if true. -func (o CampaignReviewerSettingsOutput) BulkDecisionDisabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettings) *bool { return v.BulkDecisionDisabled }).(pulumi.BoolPtrOutput) +func (*identitySourceImportDeleteUsersPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportDeleteUsers)(nil)).Elem() } -// The ID of the fallback reviewer. Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` -func (o CampaignReviewerSettingsOutput) FallbackReviewerId() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettings) *string { return v.FallbackReviewerId }).(pulumi.StringPtrOutput) +func (i *identitySourceImportDeleteUsersPtrType) ToIdentitySourceImportDeleteUsersPtrOutput() IdentitySourceImportDeleteUsersPtrOutput { + return i.ToIdentitySourceImportDeleteUsersPtrOutputWithContext(context.Background()) } -// When approving or revoking review items, a justification is required if true. -func (o CampaignReviewerSettingsOutput) JustificationRequired() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettings) *bool { return v.JustificationRequired }).(pulumi.BoolPtrOutput) +func (i *identitySourceImportDeleteUsersPtrType) ToIdentitySourceImportDeleteUsersPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteUsersPtrOutput) } -// Reassignment is disabled for reviewers if true. -func (o CampaignReviewerSettingsOutput) ReassignmentDisabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettings) *bool { return v.ReassignmentDisabled }).(pulumi.BoolPtrOutput) +type IdentitySourceImportDeleteUsersOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportDeleteUsersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteUsers)(nil)).Elem() } -// The ID of the reviewer group to which the reviewer is assigned. -func (o CampaignReviewerSettingsOutput) ReviewerGroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettings) *string { return v.ReviewerGroupId }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportDeleteUsersOutput) ToIdentitySourceImportDeleteUsersOutput() IdentitySourceImportDeleteUsersOutput { + return o } -func (o CampaignReviewerSettingsOutput) ReviewerId() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettings) *string { return v.ReviewerId }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportDeleteUsersOutput) ToIdentitySourceImportDeleteUsersOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersOutput { + return o } -// Definition of reviewer level for a given campaign. Each reviewer level defines the kind of reviewer who is going to review. -func (o CampaignReviewerSettingsOutput) ReviewerLevels() CampaignReviewerSettingsReviewerLevelArrayOutput { - return o.ApplyT(func(v CampaignReviewerSettings) []CampaignReviewerSettingsReviewerLevel { return v.ReviewerLevels }).(CampaignReviewerSettingsReviewerLevelArrayOutput) +func (o IdentitySourceImportDeleteUsersOutput) ToIdentitySourceImportDeleteUsersPtrOutput() IdentitySourceImportDeleteUsersPtrOutput { + return o.ToIdentitySourceImportDeleteUsersPtrOutputWithContext(context.Background()) } -// This property is required when type=`USER` -func (o CampaignReviewerSettingsOutput) ReviewerScopeExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettings) *string { return v.ReviewerScopeExpression }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportDeleteUsersOutput) ToIdentitySourceImportDeleteUsersPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceImportDeleteUsers) *IdentitySourceImportDeleteUsers { + return &v + }).(IdentitySourceImportDeleteUsersPtrOutput) } -// This property is required to be true for resource-centric campaigns when the Okta Admin Console is one of the resources. -func (o CampaignReviewerSettingsOutput) SelfReviewDisabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettings) *bool { return v.SelfReviewDisabled }).(pulumi.BoolPtrOutput) +// Entity type. Currently only `USERS` is supported. +func (o IdentitySourceImportDeleteUsersOutput) EntityType() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportDeleteUsers) *string { return v.EntityType }).(pulumi.StringPtrOutput) } -// Identifies the kind of reviewer for Access Certification. -func (o CampaignReviewerSettingsOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v CampaignReviewerSettings) string { return v.Type }).(pulumi.StringOutput) +// User profiles to delete (by external ID). (see below) +func (o IdentitySourceImportDeleteUsersOutput) Profiles() IdentitySourceImportDeleteUsersProfileArrayOutput { + return o.ApplyT(func(v IdentitySourceImportDeleteUsers) []IdentitySourceImportDeleteUsersProfile { return v.Profiles }).(IdentitySourceImportDeleteUsersProfileArrayOutput) } -type CampaignReviewerSettingsPtrOutput struct{ *pulumi.OutputState } +type IdentitySourceImportDeleteUsersPtrOutput struct{ *pulumi.OutputState } -func (CampaignReviewerSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignReviewerSettings)(nil)).Elem() +func (IdentitySourceImportDeleteUsersPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportDeleteUsers)(nil)).Elem() } -func (o CampaignReviewerSettingsPtrOutput) ToCampaignReviewerSettingsPtrOutput() CampaignReviewerSettingsPtrOutput { +func (o IdentitySourceImportDeleteUsersPtrOutput) ToIdentitySourceImportDeleteUsersPtrOutput() IdentitySourceImportDeleteUsersPtrOutput { return o } -func (o CampaignReviewerSettingsPtrOutput) ToCampaignReviewerSettingsPtrOutputWithContext(ctx context.Context) CampaignReviewerSettingsPtrOutput { +func (o IdentitySourceImportDeleteUsersPtrOutput) ToIdentitySourceImportDeleteUsersPtrOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersPtrOutput { return o } -func (o CampaignReviewerSettingsPtrOutput) Elem() CampaignReviewerSettingsOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) CampaignReviewerSettings { +func (o IdentitySourceImportDeleteUsersPtrOutput) Elem() IdentitySourceImportDeleteUsersOutput { + return o.ApplyT(func(v *IdentitySourceImportDeleteUsers) IdentitySourceImportDeleteUsers { if v != nil { return *v } - var ret CampaignReviewerSettings + var ret IdentitySourceImportDeleteUsers return ret - }).(CampaignReviewerSettingsOutput) + }).(IdentitySourceImportDeleteUsersOutput) } -// When approving or revoking review items, bulk actions are disabled if true. -func (o CampaignReviewerSettingsPtrOutput) BulkDecisionDisabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) *bool { +// Entity type. Currently only `USERS` is supported. +func (o IdentitySourceImportDeleteUsersPtrOutput) EntityType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportDeleteUsers) *string { if v == nil { return nil } - return v.BulkDecisionDisabled - }).(pulumi.BoolPtrOutput) + return v.EntityType + }).(pulumi.StringPtrOutput) } -// The ID of the fallback reviewer. Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` -func (o CampaignReviewerSettingsPtrOutput) FallbackReviewerId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) *string { +// User profiles to delete (by external ID). (see below) +func (o IdentitySourceImportDeleteUsersPtrOutput) Profiles() IdentitySourceImportDeleteUsersProfileArrayOutput { + return o.ApplyT(func(v *IdentitySourceImportDeleteUsers) []IdentitySourceImportDeleteUsersProfile { if v == nil { return nil } - return v.FallbackReviewerId - }).(pulumi.StringPtrOutput) + return v.Profiles + }).(IdentitySourceImportDeleteUsersProfileArrayOutput) } -// When approving or revoking review items, a justification is required if true. -func (o CampaignReviewerSettingsPtrOutput) JustificationRequired() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) *bool { - if v == nil { - return nil - } - return v.JustificationRequired - }).(pulumi.BoolPtrOutput) +type IdentitySourceImportDeleteUsersProfile struct { + // External ID of the user to delete. + ExternalId *string `pulumi:"externalId"` } -// Reassignment is disabled for reviewers if true. -func (o CampaignReviewerSettingsPtrOutput) ReassignmentDisabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) *bool { - if v == nil { - return nil - } - return v.ReassignmentDisabled - }).(pulumi.BoolPtrOutput) +// IdentitySourceImportDeleteUsersProfileInput is an input type that accepts IdentitySourceImportDeleteUsersProfileArgs and IdentitySourceImportDeleteUsersProfileOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteUsersProfileInput` via: +// +// IdentitySourceImportDeleteUsersProfileArgs{...} +type IdentitySourceImportDeleteUsersProfileInput interface { + pulumi.Input + + ToIdentitySourceImportDeleteUsersProfileOutput() IdentitySourceImportDeleteUsersProfileOutput + ToIdentitySourceImportDeleteUsersProfileOutputWithContext(context.Context) IdentitySourceImportDeleteUsersProfileOutput } -// The ID of the reviewer group to which the reviewer is assigned. -func (o CampaignReviewerSettingsPtrOutput) ReviewerGroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) *string { - if v == nil { - return nil - } - return v.ReviewerGroupId - }).(pulumi.StringPtrOutput) +type IdentitySourceImportDeleteUsersProfileArgs struct { + // External ID of the user to delete. + ExternalId pulumi.StringPtrInput `pulumi:"externalId"` } -func (o CampaignReviewerSettingsPtrOutput) ReviewerId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) *string { - if v == nil { - return nil - } - return v.ReviewerId - }).(pulumi.StringPtrOutput) +func (IdentitySourceImportDeleteUsersProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteUsersProfile)(nil)).Elem() } -// Definition of reviewer level for a given campaign. Each reviewer level defines the kind of reviewer who is going to review. -func (o CampaignReviewerSettingsPtrOutput) ReviewerLevels() CampaignReviewerSettingsReviewerLevelArrayOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) []CampaignReviewerSettingsReviewerLevel { - if v == nil { - return nil - } - return v.ReviewerLevels - }).(CampaignReviewerSettingsReviewerLevelArrayOutput) +func (i IdentitySourceImportDeleteUsersProfileArgs) ToIdentitySourceImportDeleteUsersProfileOutput() IdentitySourceImportDeleteUsersProfileOutput { + return i.ToIdentitySourceImportDeleteUsersProfileOutputWithContext(context.Background()) } -// This property is required when type=`USER` -func (o CampaignReviewerSettingsPtrOutput) ReviewerScopeExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) *string { - if v == nil { - return nil - } - return v.ReviewerScopeExpression - }).(pulumi.StringPtrOutput) +func (i IdentitySourceImportDeleteUsersProfileArgs) ToIdentitySourceImportDeleteUsersProfileOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteUsersProfileOutput) } -// This property is required to be true for resource-centric campaigns when the Okta Admin Console is one of the resources. -func (o CampaignReviewerSettingsPtrOutput) SelfReviewDisabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) *bool { - if v == nil { - return nil - } - return v.SelfReviewDisabled - }).(pulumi.BoolPtrOutput) +// IdentitySourceImportDeleteUsersProfileArrayInput is an input type that accepts IdentitySourceImportDeleteUsersProfileArray and IdentitySourceImportDeleteUsersProfileArrayOutput values. +// You can construct a concrete instance of `IdentitySourceImportDeleteUsersProfileArrayInput` via: +// +// IdentitySourceImportDeleteUsersProfileArray{ IdentitySourceImportDeleteUsersProfileArgs{...} } +type IdentitySourceImportDeleteUsersProfileArrayInput interface { + pulumi.Input + + ToIdentitySourceImportDeleteUsersProfileArrayOutput() IdentitySourceImportDeleteUsersProfileArrayOutput + ToIdentitySourceImportDeleteUsersProfileArrayOutputWithContext(context.Context) IdentitySourceImportDeleteUsersProfileArrayOutput } -// Identifies the kind of reviewer for Access Certification. -func (o CampaignReviewerSettingsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignReviewerSettings) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) +type IdentitySourceImportDeleteUsersProfileArray []IdentitySourceImportDeleteUsersProfileInput + +func (IdentitySourceImportDeleteUsersProfileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportDeleteUsersProfile)(nil)).Elem() } -type CampaignReviewerSettingsReviewerLevel struct { - // Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` - FallbackReviewerId *string `pulumi:"fallbackReviewerId"` - // The ID of the reviewer group to which the reviewer is assigned.This property is required when type=`GROUP` - ReviewerGroupId *string `pulumi:"reviewerGroupId"` - // The ID of the reviewer to which the reviewer is assigned.This property is required when type=`USER`. - ReviewerId *string `pulumi:"reviewerId"` - // This property is required when type=`REVIEWER_EXPRESSION` - ReviewerScopeExpression *string `pulumi:"reviewerScopeExpression"` - // This property is used to prevent self review. - SelfReviewDisabled *bool `pulumi:"selfReviewDisabled"` - // The rules for which the reviews can move to that level. - StartReviews []CampaignReviewerSettingsReviewerLevelStartReview `pulumi:"startReviews"` - // Identifies the kind of reviewer. - Type string `pulumi:"type"` +func (i IdentitySourceImportDeleteUsersProfileArray) ToIdentitySourceImportDeleteUsersProfileArrayOutput() IdentitySourceImportDeleteUsersProfileArrayOutput { + return i.ToIdentitySourceImportDeleteUsersProfileArrayOutputWithContext(context.Background()) } -// CampaignReviewerSettingsReviewerLevelInput is an input type that accepts CampaignReviewerSettingsReviewerLevelArgs and CampaignReviewerSettingsReviewerLevelOutput values. -// You can construct a concrete instance of `CampaignReviewerSettingsReviewerLevelInput` via: -// -// CampaignReviewerSettingsReviewerLevelArgs{...} -type CampaignReviewerSettingsReviewerLevelInput interface { - pulumi.Input +func (i IdentitySourceImportDeleteUsersProfileArray) ToIdentitySourceImportDeleteUsersProfileArrayOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersProfileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportDeleteUsersProfileArrayOutput) +} - ToCampaignReviewerSettingsReviewerLevelOutput() CampaignReviewerSettingsReviewerLevelOutput - ToCampaignReviewerSettingsReviewerLevelOutputWithContext(context.Context) CampaignReviewerSettingsReviewerLevelOutput +type IdentitySourceImportDeleteUsersProfileOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportDeleteUsersProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportDeleteUsersProfile)(nil)).Elem() } -type CampaignReviewerSettingsReviewerLevelArgs struct { - // Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` - FallbackReviewerId pulumi.StringPtrInput `pulumi:"fallbackReviewerId"` - // The ID of the reviewer group to which the reviewer is assigned.This property is required when type=`GROUP` - ReviewerGroupId pulumi.StringPtrInput `pulumi:"reviewerGroupId"` - // The ID of the reviewer to which the reviewer is assigned.This property is required when type=`USER`. - ReviewerId pulumi.StringPtrInput `pulumi:"reviewerId"` - // This property is required when type=`REVIEWER_EXPRESSION` - ReviewerScopeExpression pulumi.StringPtrInput `pulumi:"reviewerScopeExpression"` - // This property is used to prevent self review. - SelfReviewDisabled pulumi.BoolPtrInput `pulumi:"selfReviewDisabled"` - // The rules for which the reviews can move to that level. - StartReviews CampaignReviewerSettingsReviewerLevelStartReviewArrayInput `pulumi:"startReviews"` - // Identifies the kind of reviewer. - Type pulumi.StringInput `pulumi:"type"` +func (o IdentitySourceImportDeleteUsersProfileOutput) ToIdentitySourceImportDeleteUsersProfileOutput() IdentitySourceImportDeleteUsersProfileOutput { + return o } -func (CampaignReviewerSettingsReviewerLevelArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignReviewerSettingsReviewerLevel)(nil)).Elem() +func (o IdentitySourceImportDeleteUsersProfileOutput) ToIdentitySourceImportDeleteUsersProfileOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersProfileOutput { + return o } -func (i CampaignReviewerSettingsReviewerLevelArgs) ToCampaignReviewerSettingsReviewerLevelOutput() CampaignReviewerSettingsReviewerLevelOutput { - return i.ToCampaignReviewerSettingsReviewerLevelOutputWithContext(context.Background()) +// External ID of the user to delete. +func (o IdentitySourceImportDeleteUsersProfileOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportDeleteUsersProfile) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -func (i CampaignReviewerSettingsReviewerLevelArgs) ToCampaignReviewerSettingsReviewerLevelOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsReviewerLevelOutput) +type IdentitySourceImportDeleteUsersProfileArrayOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportDeleteUsersProfileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportDeleteUsersProfile)(nil)).Elem() } -// CampaignReviewerSettingsReviewerLevelArrayInput is an input type that accepts CampaignReviewerSettingsReviewerLevelArray and CampaignReviewerSettingsReviewerLevelArrayOutput values. -// You can construct a concrete instance of `CampaignReviewerSettingsReviewerLevelArrayInput` via: +func (o IdentitySourceImportDeleteUsersProfileArrayOutput) ToIdentitySourceImportDeleteUsersProfileArrayOutput() IdentitySourceImportDeleteUsersProfileArrayOutput { + return o +} + +func (o IdentitySourceImportDeleteUsersProfileArrayOutput) ToIdentitySourceImportDeleteUsersProfileArrayOutputWithContext(ctx context.Context) IdentitySourceImportDeleteUsersProfileArrayOutput { + return o +} + +func (o IdentitySourceImportDeleteUsersProfileArrayOutput) Index(i pulumi.IntInput) IdentitySourceImportDeleteUsersProfileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentitySourceImportDeleteUsersProfile { + return vs[0].([]IdentitySourceImportDeleteUsersProfile)[vs[1].(int)] + }).(IdentitySourceImportDeleteUsersProfileOutput) +} + +type IdentitySourceImportUpsertGroupMemberships struct { + // Group memberships to upsert. (see below) + Memberships []IdentitySourceImportUpsertGroupMembershipsMembership `pulumi:"memberships"` +} + +// IdentitySourceImportUpsertGroupMembershipsInput is an input type that accepts IdentitySourceImportUpsertGroupMembershipsArgs and IdentitySourceImportUpsertGroupMembershipsOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupMembershipsInput` via: // -// CampaignReviewerSettingsReviewerLevelArray{ CampaignReviewerSettingsReviewerLevelArgs{...} } -type CampaignReviewerSettingsReviewerLevelArrayInput interface { +// IdentitySourceImportUpsertGroupMembershipsArgs{...} +type IdentitySourceImportUpsertGroupMembershipsInput interface { pulumi.Input - ToCampaignReviewerSettingsReviewerLevelArrayOutput() CampaignReviewerSettingsReviewerLevelArrayOutput - ToCampaignReviewerSettingsReviewerLevelArrayOutputWithContext(context.Context) CampaignReviewerSettingsReviewerLevelArrayOutput + ToIdentitySourceImportUpsertGroupMembershipsOutput() IdentitySourceImportUpsertGroupMembershipsOutput + ToIdentitySourceImportUpsertGroupMembershipsOutputWithContext(context.Context) IdentitySourceImportUpsertGroupMembershipsOutput } -type CampaignReviewerSettingsReviewerLevelArray []CampaignReviewerSettingsReviewerLevelInput +type IdentitySourceImportUpsertGroupMembershipsArgs struct { + // Group memberships to upsert. (see below) + Memberships IdentitySourceImportUpsertGroupMembershipsMembershipArrayInput `pulumi:"memberships"` +} -func (CampaignReviewerSettingsReviewerLevelArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignReviewerSettingsReviewerLevel)(nil)).Elem() +func (IdentitySourceImportUpsertGroupMembershipsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroupMemberships)(nil)).Elem() } -func (i CampaignReviewerSettingsReviewerLevelArray) ToCampaignReviewerSettingsReviewerLevelArrayOutput() CampaignReviewerSettingsReviewerLevelArrayOutput { - return i.ToCampaignReviewerSettingsReviewerLevelArrayOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertGroupMembershipsArgs) ToIdentitySourceImportUpsertGroupMembershipsOutput() IdentitySourceImportUpsertGroupMembershipsOutput { + return i.ToIdentitySourceImportUpsertGroupMembershipsOutputWithContext(context.Background()) } -func (i CampaignReviewerSettingsReviewerLevelArray) ToCampaignReviewerSettingsReviewerLevelArrayOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsReviewerLevelArrayOutput) +func (i IdentitySourceImportUpsertGroupMembershipsArgs) ToIdentitySourceImportUpsertGroupMembershipsOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupMembershipsOutput) } -type CampaignReviewerSettingsReviewerLevelOutput struct{ *pulumi.OutputState } +func (i IdentitySourceImportUpsertGroupMembershipsArgs) ToIdentitySourceImportUpsertGroupMembershipsPtrOutput() IdentitySourceImportUpsertGroupMembershipsPtrOutput { + return i.ToIdentitySourceImportUpsertGroupMembershipsPtrOutputWithContext(context.Background()) +} -func (CampaignReviewerSettingsReviewerLevelOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignReviewerSettingsReviewerLevel)(nil)).Elem() +func (i IdentitySourceImportUpsertGroupMembershipsArgs) ToIdentitySourceImportUpsertGroupMembershipsPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupMembershipsOutput).ToIdentitySourceImportUpsertGroupMembershipsPtrOutputWithContext(ctx) } -func (o CampaignReviewerSettingsReviewerLevelOutput) ToCampaignReviewerSettingsReviewerLevelOutput() CampaignReviewerSettingsReviewerLevelOutput { - return o +// IdentitySourceImportUpsertGroupMembershipsPtrInput is an input type that accepts IdentitySourceImportUpsertGroupMembershipsArgs, IdentitySourceImportUpsertGroupMembershipsPtr and IdentitySourceImportUpsertGroupMembershipsPtrOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupMembershipsPtrInput` via: +// +// IdentitySourceImportUpsertGroupMembershipsArgs{...} +// +// or: +// +// nil +type IdentitySourceImportUpsertGroupMembershipsPtrInput interface { + pulumi.Input + + ToIdentitySourceImportUpsertGroupMembershipsPtrOutput() IdentitySourceImportUpsertGroupMembershipsPtrOutput + ToIdentitySourceImportUpsertGroupMembershipsPtrOutputWithContext(context.Context) IdentitySourceImportUpsertGroupMembershipsPtrOutput } -func (o CampaignReviewerSettingsReviewerLevelOutput) ToCampaignReviewerSettingsReviewerLevelOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelOutput { - return o +type identitySourceImportUpsertGroupMembershipsPtrType IdentitySourceImportUpsertGroupMembershipsArgs + +func IdentitySourceImportUpsertGroupMembershipsPtr(v *IdentitySourceImportUpsertGroupMembershipsArgs) IdentitySourceImportUpsertGroupMembershipsPtrInput { + return (*identitySourceImportUpsertGroupMembershipsPtrType)(v) } -// Required when the type=`REVIEWER_EXPRESSION` or type=`RESOURCE_OWNER` -func (o CampaignReviewerSettingsReviewerLevelOutput) FallbackReviewerId() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *string { return v.FallbackReviewerId }).(pulumi.StringPtrOutput) +func (*identitySourceImportUpsertGroupMembershipsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertGroupMemberships)(nil)).Elem() } -// The ID of the reviewer group to which the reviewer is assigned.This property is required when type=`GROUP` -func (o CampaignReviewerSettingsReviewerLevelOutput) ReviewerGroupId() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *string { return v.ReviewerGroupId }).(pulumi.StringPtrOutput) +func (i *identitySourceImportUpsertGroupMembershipsPtrType) ToIdentitySourceImportUpsertGroupMembershipsPtrOutput() IdentitySourceImportUpsertGroupMembershipsPtrOutput { + return i.ToIdentitySourceImportUpsertGroupMembershipsPtrOutputWithContext(context.Background()) } -// The ID of the reviewer to which the reviewer is assigned.This property is required when type=`USER`. -func (o CampaignReviewerSettingsReviewerLevelOutput) ReviewerId() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *string { return v.ReviewerId }).(pulumi.StringPtrOutput) +func (i *identitySourceImportUpsertGroupMembershipsPtrType) ToIdentitySourceImportUpsertGroupMembershipsPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupMembershipsPtrOutput) } -// This property is required when type=`REVIEWER_EXPRESSION` -func (o CampaignReviewerSettingsReviewerLevelOutput) ReviewerScopeExpression() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *string { return v.ReviewerScopeExpression }).(pulumi.StringPtrOutput) +type IdentitySourceImportUpsertGroupMembershipsOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportUpsertGroupMembershipsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroupMemberships)(nil)).Elem() } -// This property is used to prevent self review. -func (o CampaignReviewerSettingsReviewerLevelOutput) SelfReviewDisabled() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) *bool { return v.SelfReviewDisabled }).(pulumi.BoolPtrOutput) +func (o IdentitySourceImportUpsertGroupMembershipsOutput) ToIdentitySourceImportUpsertGroupMembershipsOutput() IdentitySourceImportUpsertGroupMembershipsOutput { + return o } -// The rules for which the reviews can move to that level. -func (o CampaignReviewerSettingsReviewerLevelOutput) StartReviews() CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { - return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) []CampaignReviewerSettingsReviewerLevelStartReview { - return v.StartReviews - }).(CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) +func (o IdentitySourceImportUpsertGroupMembershipsOutput) ToIdentitySourceImportUpsertGroupMembershipsOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsOutput { + return o } -// Identifies the kind of reviewer. -func (o CampaignReviewerSettingsReviewerLevelOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevel) string { return v.Type }).(pulumi.StringOutput) +func (o IdentitySourceImportUpsertGroupMembershipsOutput) ToIdentitySourceImportUpsertGroupMembershipsPtrOutput() IdentitySourceImportUpsertGroupMembershipsPtrOutput { + return o.ToIdentitySourceImportUpsertGroupMembershipsPtrOutputWithContext(context.Background()) } -type CampaignReviewerSettingsReviewerLevelArrayOutput struct{ *pulumi.OutputState } +func (o IdentitySourceImportUpsertGroupMembershipsOutput) ToIdentitySourceImportUpsertGroupMembershipsPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceImportUpsertGroupMemberships) *IdentitySourceImportUpsertGroupMemberships { + return &v + }).(IdentitySourceImportUpsertGroupMembershipsPtrOutput) +} -func (CampaignReviewerSettingsReviewerLevelArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignReviewerSettingsReviewerLevel)(nil)).Elem() +// Group memberships to upsert. (see below) +func (o IdentitySourceImportUpsertGroupMembershipsOutput) Memberships() IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertGroupMemberships) []IdentitySourceImportUpsertGroupMembershipsMembership { + return v.Memberships + }).(IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput) } -func (o CampaignReviewerSettingsReviewerLevelArrayOutput) ToCampaignReviewerSettingsReviewerLevelArrayOutput() CampaignReviewerSettingsReviewerLevelArrayOutput { +type IdentitySourceImportUpsertGroupMembershipsPtrOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportUpsertGroupMembershipsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertGroupMemberships)(nil)).Elem() +} + +func (o IdentitySourceImportUpsertGroupMembershipsPtrOutput) ToIdentitySourceImportUpsertGroupMembershipsPtrOutput() IdentitySourceImportUpsertGroupMembershipsPtrOutput { + return o +} + +func (o IdentitySourceImportUpsertGroupMembershipsPtrOutput) ToIdentitySourceImportUpsertGroupMembershipsPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsPtrOutput { return o } -func (o CampaignReviewerSettingsReviewerLevelArrayOutput) ToCampaignReviewerSettingsReviewerLevelArrayOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelArrayOutput { - return o +func (o IdentitySourceImportUpsertGroupMembershipsPtrOutput) Elem() IdentitySourceImportUpsertGroupMembershipsOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertGroupMemberships) IdentitySourceImportUpsertGroupMemberships { + if v != nil { + return *v + } + var ret IdentitySourceImportUpsertGroupMemberships + return ret + }).(IdentitySourceImportUpsertGroupMembershipsOutput) } -func (o CampaignReviewerSettingsReviewerLevelArrayOutput) Index(i pulumi.IntInput) CampaignReviewerSettingsReviewerLevelOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignReviewerSettingsReviewerLevel { - return vs[0].([]CampaignReviewerSettingsReviewerLevel)[vs[1].(int)] - }).(CampaignReviewerSettingsReviewerLevelOutput) +// Group memberships to upsert. (see below) +func (o IdentitySourceImportUpsertGroupMembershipsPtrOutput) Memberships() IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertGroupMemberships) []IdentitySourceImportUpsertGroupMembershipsMembership { + if v == nil { + return nil + } + return v.Memberships + }).(IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput) } -type CampaignReviewerSettingsReviewerLevelStartReview struct { - // The day of the campaign when the review starts. 0 means the first day of the campaign. - OnDay *int `pulumi:"onDay"` - // The condition for which, the lower level reviews will move to that level for further review. - When *string `pulumi:"when"` +type IdentitySourceImportUpsertGroupMembershipsMembership struct { + // External ID of the group. + GroupExternalId *string `pulumi:"groupExternalId"` + // External IDs of the group members to add. + MemberExternalIds []string `pulumi:"memberExternalIds"` } -// CampaignReviewerSettingsReviewerLevelStartReviewInput is an input type that accepts CampaignReviewerSettingsReviewerLevelStartReviewArgs and CampaignReviewerSettingsReviewerLevelStartReviewOutput values. -// You can construct a concrete instance of `CampaignReviewerSettingsReviewerLevelStartReviewInput` via: +// IdentitySourceImportUpsertGroupMembershipsMembershipInput is an input type that accepts IdentitySourceImportUpsertGroupMembershipsMembershipArgs and IdentitySourceImportUpsertGroupMembershipsMembershipOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupMembershipsMembershipInput` via: // -// CampaignReviewerSettingsReviewerLevelStartReviewArgs{...} -type CampaignReviewerSettingsReviewerLevelStartReviewInput interface { +// IdentitySourceImportUpsertGroupMembershipsMembershipArgs{...} +type IdentitySourceImportUpsertGroupMembershipsMembershipInput interface { pulumi.Input - ToCampaignReviewerSettingsReviewerLevelStartReviewOutput() CampaignReviewerSettingsReviewerLevelStartReviewOutput - ToCampaignReviewerSettingsReviewerLevelStartReviewOutputWithContext(context.Context) CampaignReviewerSettingsReviewerLevelStartReviewOutput + ToIdentitySourceImportUpsertGroupMembershipsMembershipOutput() IdentitySourceImportUpsertGroupMembershipsMembershipOutput + ToIdentitySourceImportUpsertGroupMembershipsMembershipOutputWithContext(context.Context) IdentitySourceImportUpsertGroupMembershipsMembershipOutput } -type CampaignReviewerSettingsReviewerLevelStartReviewArgs struct { - // The day of the campaign when the review starts. 0 means the first day of the campaign. - OnDay pulumi.IntPtrInput `pulumi:"onDay"` - // The condition for which, the lower level reviews will move to that level for further review. - When pulumi.StringPtrInput `pulumi:"when"` +type IdentitySourceImportUpsertGroupMembershipsMembershipArgs struct { + // External ID of the group. + GroupExternalId pulumi.StringPtrInput `pulumi:"groupExternalId"` + // External IDs of the group members to add. + MemberExternalIds pulumi.StringArrayInput `pulumi:"memberExternalIds"` } -func (CampaignReviewerSettingsReviewerLevelStartReviewArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignReviewerSettingsReviewerLevelStartReview)(nil)).Elem() +func (IdentitySourceImportUpsertGroupMembershipsMembershipArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroupMembershipsMembership)(nil)).Elem() } -func (i CampaignReviewerSettingsReviewerLevelStartReviewArgs) ToCampaignReviewerSettingsReviewerLevelStartReviewOutput() CampaignReviewerSettingsReviewerLevelStartReviewOutput { - return i.ToCampaignReviewerSettingsReviewerLevelStartReviewOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertGroupMembershipsMembershipArgs) ToIdentitySourceImportUpsertGroupMembershipsMembershipOutput() IdentitySourceImportUpsertGroupMembershipsMembershipOutput { + return i.ToIdentitySourceImportUpsertGroupMembershipsMembershipOutputWithContext(context.Background()) } -func (i CampaignReviewerSettingsReviewerLevelStartReviewArgs) ToCampaignReviewerSettingsReviewerLevelStartReviewOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelStartReviewOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsReviewerLevelStartReviewOutput) +func (i IdentitySourceImportUpsertGroupMembershipsMembershipArgs) ToIdentitySourceImportUpsertGroupMembershipsMembershipOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsMembershipOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupMembershipsMembershipOutput) } -// CampaignReviewerSettingsReviewerLevelStartReviewArrayInput is an input type that accepts CampaignReviewerSettingsReviewerLevelStartReviewArray and CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput values. -// You can construct a concrete instance of `CampaignReviewerSettingsReviewerLevelStartReviewArrayInput` via: +// IdentitySourceImportUpsertGroupMembershipsMembershipArrayInput is an input type that accepts IdentitySourceImportUpsertGroupMembershipsMembershipArray and IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupMembershipsMembershipArrayInput` via: // -// CampaignReviewerSettingsReviewerLevelStartReviewArray{ CampaignReviewerSettingsReviewerLevelStartReviewArgs{...} } -type CampaignReviewerSettingsReviewerLevelStartReviewArrayInput interface { +// IdentitySourceImportUpsertGroupMembershipsMembershipArray{ IdentitySourceImportUpsertGroupMembershipsMembershipArgs{...} } +type IdentitySourceImportUpsertGroupMembershipsMembershipArrayInput interface { pulumi.Input - ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutput() CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput - ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutputWithContext(context.Context) CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput + ToIdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput() IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput + ToIdentitySourceImportUpsertGroupMembershipsMembershipArrayOutputWithContext(context.Context) IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput } -type CampaignReviewerSettingsReviewerLevelStartReviewArray []CampaignReviewerSettingsReviewerLevelStartReviewInput +type IdentitySourceImportUpsertGroupMembershipsMembershipArray []IdentitySourceImportUpsertGroupMembershipsMembershipInput -func (CampaignReviewerSettingsReviewerLevelStartReviewArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignReviewerSettingsReviewerLevelStartReview)(nil)).Elem() +func (IdentitySourceImportUpsertGroupMembershipsMembershipArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportUpsertGroupMembershipsMembership)(nil)).Elem() } -func (i CampaignReviewerSettingsReviewerLevelStartReviewArray) ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutput() CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { - return i.ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertGroupMembershipsMembershipArray) ToIdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput() IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput { + return i.ToIdentitySourceImportUpsertGroupMembershipsMembershipArrayOutputWithContext(context.Background()) } -func (i CampaignReviewerSettingsReviewerLevelStartReviewArray) ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) +func (i IdentitySourceImportUpsertGroupMembershipsMembershipArray) ToIdentitySourceImportUpsertGroupMembershipsMembershipArrayOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput) } -type CampaignReviewerSettingsReviewerLevelStartReviewOutput struct{ *pulumi.OutputState } +type IdentitySourceImportUpsertGroupMembershipsMembershipOutput struct{ *pulumi.OutputState } -func (CampaignReviewerSettingsReviewerLevelStartReviewOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignReviewerSettingsReviewerLevelStartReview)(nil)).Elem() +func (IdentitySourceImportUpsertGroupMembershipsMembershipOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroupMembershipsMembership)(nil)).Elem() } -func (o CampaignReviewerSettingsReviewerLevelStartReviewOutput) ToCampaignReviewerSettingsReviewerLevelStartReviewOutput() CampaignReviewerSettingsReviewerLevelStartReviewOutput { +func (o IdentitySourceImportUpsertGroupMembershipsMembershipOutput) ToIdentitySourceImportUpsertGroupMembershipsMembershipOutput() IdentitySourceImportUpsertGroupMembershipsMembershipOutput { return o } -func (o CampaignReviewerSettingsReviewerLevelStartReviewOutput) ToCampaignReviewerSettingsReviewerLevelStartReviewOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelStartReviewOutput { +func (o IdentitySourceImportUpsertGroupMembershipsMembershipOutput) ToIdentitySourceImportUpsertGroupMembershipsMembershipOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsMembershipOutput { return o } -// The day of the campaign when the review starts. 0 means the first day of the campaign. -func (o CampaignReviewerSettingsReviewerLevelStartReviewOutput) OnDay() pulumi.IntPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevelStartReview) *int { return v.OnDay }).(pulumi.IntPtrOutput) +// External ID of the group. +func (o IdentitySourceImportUpsertGroupMembershipsMembershipOutput) GroupExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertGroupMembershipsMembership) *string { return v.GroupExternalId }).(pulumi.StringPtrOutput) } -// The condition for which, the lower level reviews will move to that level for further review. -func (o CampaignReviewerSettingsReviewerLevelStartReviewOutput) When() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignReviewerSettingsReviewerLevelStartReview) *string { return v.When }).(pulumi.StringPtrOutput) +// External IDs of the group members to add. +func (o IdentitySourceImportUpsertGroupMembershipsMembershipOutput) MemberExternalIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertGroupMembershipsMembership) []string { return v.MemberExternalIds }).(pulumi.StringArrayOutput) } -type CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput struct{ *pulumi.OutputState } +type IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput struct{ *pulumi.OutputState } -func (CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignReviewerSettingsReviewerLevelStartReview)(nil)).Elem() +func (IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportUpsertGroupMembershipsMembership)(nil)).Elem() } -func (o CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutput() CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { +func (o IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput) ToIdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput() IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput { return o } -func (o CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) ToCampaignReviewerSettingsReviewerLevelStartReviewArrayOutputWithContext(ctx context.Context) CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput { +func (o IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput) ToIdentitySourceImportUpsertGroupMembershipsMembershipArrayOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput { return o } -func (o CampaignReviewerSettingsReviewerLevelStartReviewArrayOutput) Index(i pulumi.IntInput) CampaignReviewerSettingsReviewerLevelStartReviewOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignReviewerSettingsReviewerLevelStartReview { - return vs[0].([]CampaignReviewerSettingsReviewerLevelStartReview)[vs[1].(int)] - }).(CampaignReviewerSettingsReviewerLevelStartReviewOutput) +func (o IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput) Index(i pulumi.IntInput) IdentitySourceImportUpsertGroupMembershipsMembershipOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentitySourceImportUpsertGroupMembershipsMembership { + return vs[0].([]IdentitySourceImportUpsertGroupMembershipsMembership)[vs[1].(int)] + }).(IdentitySourceImportUpsertGroupMembershipsMembershipOutput) } -type CampaignScheduleSettings struct { - // The duration (in days) that the campaign is active. - DurationInDays int `pulumi:"durationInDays"` - EndDate *string `pulumi:"endDate"` - Recurrences []CampaignScheduleSettingsRecurrence `pulumi:"recurrences"` - // The date on which the campaign is supposed to start. Accepts date in ISO 8601 format. - StartDate string `pulumi:"startDate"` - // The time zone in which the campaign is active. - TimeZone string `pulumi:"timeZone"` - // The type of campaign being scheduled. - Type string `pulumi:"type"` +type IdentitySourceImportUpsertGroups struct { + // Group profiles to upsert. (see below) + Profiles []IdentitySourceImportUpsertGroupsProfile `pulumi:"profiles"` } -// CampaignScheduleSettingsInput is an input type that accepts CampaignScheduleSettingsArgs and CampaignScheduleSettingsOutput values. -// You can construct a concrete instance of `CampaignScheduleSettingsInput` via: +// IdentitySourceImportUpsertGroupsInput is an input type that accepts IdentitySourceImportUpsertGroupsArgs and IdentitySourceImportUpsertGroupsOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupsInput` via: // -// CampaignScheduleSettingsArgs{...} -type CampaignScheduleSettingsInput interface { +// IdentitySourceImportUpsertGroupsArgs{...} +type IdentitySourceImportUpsertGroupsInput interface { pulumi.Input - ToCampaignScheduleSettingsOutput() CampaignScheduleSettingsOutput - ToCampaignScheduleSettingsOutputWithContext(context.Context) CampaignScheduleSettingsOutput + ToIdentitySourceImportUpsertGroupsOutput() IdentitySourceImportUpsertGroupsOutput + ToIdentitySourceImportUpsertGroupsOutputWithContext(context.Context) IdentitySourceImportUpsertGroupsOutput } -type CampaignScheduleSettingsArgs struct { - // The duration (in days) that the campaign is active. - DurationInDays pulumi.IntInput `pulumi:"durationInDays"` - EndDate pulumi.StringPtrInput `pulumi:"endDate"` - Recurrences CampaignScheduleSettingsRecurrenceArrayInput `pulumi:"recurrences"` - // The date on which the campaign is supposed to start. Accepts date in ISO 8601 format. - StartDate pulumi.StringInput `pulumi:"startDate"` - // The time zone in which the campaign is active. - TimeZone pulumi.StringInput `pulumi:"timeZone"` - // The type of campaign being scheduled. - Type pulumi.StringInput `pulumi:"type"` +type IdentitySourceImportUpsertGroupsArgs struct { + // Group profiles to upsert. (see below) + Profiles IdentitySourceImportUpsertGroupsProfileArrayInput `pulumi:"profiles"` } -func (CampaignScheduleSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignScheduleSettings)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroups)(nil)).Elem() } -func (i CampaignScheduleSettingsArgs) ToCampaignScheduleSettingsOutput() CampaignScheduleSettingsOutput { - return i.ToCampaignScheduleSettingsOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertGroupsArgs) ToIdentitySourceImportUpsertGroupsOutput() IdentitySourceImportUpsertGroupsOutput { + return i.ToIdentitySourceImportUpsertGroupsOutputWithContext(context.Background()) } -func (i CampaignScheduleSettingsArgs) ToCampaignScheduleSettingsOutputWithContext(ctx context.Context) CampaignScheduleSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsOutput) +func (i IdentitySourceImportUpsertGroupsArgs) ToIdentitySourceImportUpsertGroupsOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupsOutput) } -func (i CampaignScheduleSettingsArgs) ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput { - return i.ToCampaignScheduleSettingsPtrOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertGroupsArgs) ToIdentitySourceImportUpsertGroupsPtrOutput() IdentitySourceImportUpsertGroupsPtrOutput { + return i.ToIdentitySourceImportUpsertGroupsPtrOutputWithContext(context.Background()) } -func (i CampaignScheduleSettingsArgs) ToCampaignScheduleSettingsPtrOutputWithContext(ctx context.Context) CampaignScheduleSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsOutput).ToCampaignScheduleSettingsPtrOutputWithContext(ctx) +func (i IdentitySourceImportUpsertGroupsArgs) ToIdentitySourceImportUpsertGroupsPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupsOutput).ToIdentitySourceImportUpsertGroupsPtrOutputWithContext(ctx) } -// CampaignScheduleSettingsPtrInput is an input type that accepts CampaignScheduleSettingsArgs, CampaignScheduleSettingsPtr and CampaignScheduleSettingsPtrOutput values. -// You can construct a concrete instance of `CampaignScheduleSettingsPtrInput` via: +// IdentitySourceImportUpsertGroupsPtrInput is an input type that accepts IdentitySourceImportUpsertGroupsArgs, IdentitySourceImportUpsertGroupsPtr and IdentitySourceImportUpsertGroupsPtrOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupsPtrInput` via: // -// CampaignScheduleSettingsArgs{...} +// IdentitySourceImportUpsertGroupsArgs{...} // // or: // // nil -type CampaignScheduleSettingsPtrInput interface { +type IdentitySourceImportUpsertGroupsPtrInput interface { pulumi.Input - ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput - ToCampaignScheduleSettingsPtrOutputWithContext(context.Context) CampaignScheduleSettingsPtrOutput + ToIdentitySourceImportUpsertGroupsPtrOutput() IdentitySourceImportUpsertGroupsPtrOutput + ToIdentitySourceImportUpsertGroupsPtrOutputWithContext(context.Context) IdentitySourceImportUpsertGroupsPtrOutput } -type campaignScheduleSettingsPtrType CampaignScheduleSettingsArgs +type identitySourceImportUpsertGroupsPtrType IdentitySourceImportUpsertGroupsArgs -func CampaignScheduleSettingsPtr(v *CampaignScheduleSettingsArgs) CampaignScheduleSettingsPtrInput { - return (*campaignScheduleSettingsPtrType)(v) +func IdentitySourceImportUpsertGroupsPtr(v *IdentitySourceImportUpsertGroupsArgs) IdentitySourceImportUpsertGroupsPtrInput { + return (*identitySourceImportUpsertGroupsPtrType)(v) } -func (*campaignScheduleSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignScheduleSettings)(nil)).Elem() +func (*identitySourceImportUpsertGroupsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertGroups)(nil)).Elem() } -func (i *campaignScheduleSettingsPtrType) ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput { - return i.ToCampaignScheduleSettingsPtrOutputWithContext(context.Background()) +func (i *identitySourceImportUpsertGroupsPtrType) ToIdentitySourceImportUpsertGroupsPtrOutput() IdentitySourceImportUpsertGroupsPtrOutput { + return i.ToIdentitySourceImportUpsertGroupsPtrOutputWithContext(context.Background()) } -func (i *campaignScheduleSettingsPtrType) ToCampaignScheduleSettingsPtrOutputWithContext(ctx context.Context) CampaignScheduleSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsPtrOutput) +func (i *identitySourceImportUpsertGroupsPtrType) ToIdentitySourceImportUpsertGroupsPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupsPtrOutput) } -type CampaignScheduleSettingsOutput struct{ *pulumi.OutputState } +type IdentitySourceImportUpsertGroupsOutput struct{ *pulumi.OutputState } -func (CampaignScheduleSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignScheduleSettings)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroups)(nil)).Elem() } -func (o CampaignScheduleSettingsOutput) ToCampaignScheduleSettingsOutput() CampaignScheduleSettingsOutput { +func (o IdentitySourceImportUpsertGroupsOutput) ToIdentitySourceImportUpsertGroupsOutput() IdentitySourceImportUpsertGroupsOutput { return o } -func (o CampaignScheduleSettingsOutput) ToCampaignScheduleSettingsOutputWithContext(ctx context.Context) CampaignScheduleSettingsOutput { +func (o IdentitySourceImportUpsertGroupsOutput) ToIdentitySourceImportUpsertGroupsOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsOutput { return o } -func (o CampaignScheduleSettingsOutput) ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput { - return o.ToCampaignScheduleSettingsPtrOutputWithContext(context.Background()) +func (o IdentitySourceImportUpsertGroupsOutput) ToIdentitySourceImportUpsertGroupsPtrOutput() IdentitySourceImportUpsertGroupsPtrOutput { + return o.ToIdentitySourceImportUpsertGroupsPtrOutputWithContext(context.Background()) } -func (o CampaignScheduleSettingsOutput) ToCampaignScheduleSettingsPtrOutputWithContext(ctx context.Context) CampaignScheduleSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CampaignScheduleSettings) *CampaignScheduleSettings { +func (o IdentitySourceImportUpsertGroupsOutput) ToIdentitySourceImportUpsertGroupsPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceImportUpsertGroups) *IdentitySourceImportUpsertGroups { return &v - }).(CampaignScheduleSettingsPtrOutput) -} - -// The duration (in days) that the campaign is active. -func (o CampaignScheduleSettingsOutput) DurationInDays() pulumi.IntOutput { - return o.ApplyT(func(v CampaignScheduleSettings) int { return v.DurationInDays }).(pulumi.IntOutput) -} - -func (o CampaignScheduleSettingsOutput) EndDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignScheduleSettings) *string { return v.EndDate }).(pulumi.StringPtrOutput) -} - -func (o CampaignScheduleSettingsOutput) Recurrences() CampaignScheduleSettingsRecurrenceArrayOutput { - return o.ApplyT(func(v CampaignScheduleSettings) []CampaignScheduleSettingsRecurrence { return v.Recurrences }).(CampaignScheduleSettingsRecurrenceArrayOutput) + }).(IdentitySourceImportUpsertGroupsPtrOutput) } -// The date on which the campaign is supposed to start. Accepts date in ISO 8601 format. -func (o CampaignScheduleSettingsOutput) StartDate() pulumi.StringOutput { - return o.ApplyT(func(v CampaignScheduleSettings) string { return v.StartDate }).(pulumi.StringOutput) -} - -// The time zone in which the campaign is active. -func (o CampaignScheduleSettingsOutput) TimeZone() pulumi.StringOutput { - return o.ApplyT(func(v CampaignScheduleSettings) string { return v.TimeZone }).(pulumi.StringOutput) +// Group profiles to upsert. (see below) +func (o IdentitySourceImportUpsertGroupsOutput) Profiles() IdentitySourceImportUpsertGroupsProfileArrayOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertGroups) []IdentitySourceImportUpsertGroupsProfile { return v.Profiles }).(IdentitySourceImportUpsertGroupsProfileArrayOutput) } -// The type of campaign being scheduled. -func (o CampaignScheduleSettingsOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v CampaignScheduleSettings) string { return v.Type }).(pulumi.StringOutput) -} +type IdentitySourceImportUpsertGroupsPtrOutput struct{ *pulumi.OutputState } -type CampaignScheduleSettingsPtrOutput struct{ *pulumi.OutputState } - -func (CampaignScheduleSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CampaignScheduleSettings)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertGroups)(nil)).Elem() } -func (o CampaignScheduleSettingsPtrOutput) ToCampaignScheduleSettingsPtrOutput() CampaignScheduleSettingsPtrOutput { +func (o IdentitySourceImportUpsertGroupsPtrOutput) ToIdentitySourceImportUpsertGroupsPtrOutput() IdentitySourceImportUpsertGroupsPtrOutput { return o } -func (o CampaignScheduleSettingsPtrOutput) ToCampaignScheduleSettingsPtrOutputWithContext(ctx context.Context) CampaignScheduleSettingsPtrOutput { +func (o IdentitySourceImportUpsertGroupsPtrOutput) ToIdentitySourceImportUpsertGroupsPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsPtrOutput { return o } -func (o CampaignScheduleSettingsPtrOutput) Elem() CampaignScheduleSettingsOutput { - return o.ApplyT(func(v *CampaignScheduleSettings) CampaignScheduleSettings { +func (o IdentitySourceImportUpsertGroupsPtrOutput) Elem() IdentitySourceImportUpsertGroupsOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertGroups) IdentitySourceImportUpsertGroups { if v != nil { return *v } - var ret CampaignScheduleSettings + var ret IdentitySourceImportUpsertGroups return ret - }).(CampaignScheduleSettingsOutput) -} - -// The duration (in days) that the campaign is active. -func (o CampaignScheduleSettingsPtrOutput) DurationInDays() pulumi.IntPtrOutput { - return o.ApplyT(func(v *CampaignScheduleSettings) *int { - if v == nil { - return nil - } - return &v.DurationInDays - }).(pulumi.IntPtrOutput) -} - -func (o CampaignScheduleSettingsPtrOutput) EndDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignScheduleSettings) *string { - if v == nil { - return nil - } - return v.EndDate - }).(pulumi.StringPtrOutput) -} - -func (o CampaignScheduleSettingsPtrOutput) Recurrences() CampaignScheduleSettingsRecurrenceArrayOutput { - return o.ApplyT(func(v *CampaignScheduleSettings) []CampaignScheduleSettingsRecurrence { - if v == nil { - return nil - } - return v.Recurrences - }).(CampaignScheduleSettingsRecurrenceArrayOutput) -} - -// The date on which the campaign is supposed to start. Accepts date in ISO 8601 format. -func (o CampaignScheduleSettingsPtrOutput) StartDate() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignScheduleSettings) *string { - if v == nil { - return nil - } - return &v.StartDate - }).(pulumi.StringPtrOutput) -} - -// The time zone in which the campaign is active. -func (o CampaignScheduleSettingsPtrOutput) TimeZone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignScheduleSettings) *string { - if v == nil { - return nil - } - return &v.TimeZone - }).(pulumi.StringPtrOutput) + }).(IdentitySourceImportUpsertGroupsOutput) } -// The type of campaign being scheduled. -func (o CampaignScheduleSettingsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CampaignScheduleSettings) *string { +// Group profiles to upsert. (see below) +func (o IdentitySourceImportUpsertGroupsPtrOutput) Profiles() IdentitySourceImportUpsertGroupsProfileArrayOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertGroups) []IdentitySourceImportUpsertGroupsProfile { if v == nil { return nil } - return &v.Type - }).(pulumi.StringPtrOutput) + return v.Profiles + }).(IdentitySourceImportUpsertGroupsProfileArrayOutput) } -type CampaignScheduleSettingsRecurrence struct { - // Specifies when the recurring schedule can have an end. - Ends *string `pulumi:"ends"` - // Recurrence interval specified according to ISO8061 notation for durations. - Interval string `pulumi:"interval"` - // Specifies when the recurring schedule can have an end. - RepeatOnType *string `pulumi:"repeatOnType"` +type IdentitySourceImportUpsertGroupsProfile struct { + // External ID of the group. + ExternalId *string `pulumi:"externalId"` + // Group profile attributes. (see below) + GroupProfile *IdentitySourceImportUpsertGroupsProfileGroupProfile `pulumi:"groupProfile"` } -// CampaignScheduleSettingsRecurrenceInput is an input type that accepts CampaignScheduleSettingsRecurrenceArgs and CampaignScheduleSettingsRecurrenceOutput values. -// You can construct a concrete instance of `CampaignScheduleSettingsRecurrenceInput` via: +// IdentitySourceImportUpsertGroupsProfileInput is an input type that accepts IdentitySourceImportUpsertGroupsProfileArgs and IdentitySourceImportUpsertGroupsProfileOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupsProfileInput` via: // -// CampaignScheduleSettingsRecurrenceArgs{...} -type CampaignScheduleSettingsRecurrenceInput interface { +// IdentitySourceImportUpsertGroupsProfileArgs{...} +type IdentitySourceImportUpsertGroupsProfileInput interface { pulumi.Input - ToCampaignScheduleSettingsRecurrenceOutput() CampaignScheduleSettingsRecurrenceOutput - ToCampaignScheduleSettingsRecurrenceOutputWithContext(context.Context) CampaignScheduleSettingsRecurrenceOutput + ToIdentitySourceImportUpsertGroupsProfileOutput() IdentitySourceImportUpsertGroupsProfileOutput + ToIdentitySourceImportUpsertGroupsProfileOutputWithContext(context.Context) IdentitySourceImportUpsertGroupsProfileOutput } -type CampaignScheduleSettingsRecurrenceArgs struct { - // Specifies when the recurring schedule can have an end. - Ends pulumi.StringPtrInput `pulumi:"ends"` - // Recurrence interval specified according to ISO8061 notation for durations. - Interval pulumi.StringInput `pulumi:"interval"` - // Specifies when the recurring schedule can have an end. - RepeatOnType pulumi.StringPtrInput `pulumi:"repeatOnType"` +type IdentitySourceImportUpsertGroupsProfileArgs struct { + // External ID of the group. + ExternalId pulumi.StringPtrInput `pulumi:"externalId"` + // Group profile attributes. (see below) + GroupProfile IdentitySourceImportUpsertGroupsProfileGroupProfilePtrInput `pulumi:"groupProfile"` } -func (CampaignScheduleSettingsRecurrenceArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignScheduleSettingsRecurrence)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroupsProfile)(nil)).Elem() } -func (i CampaignScheduleSettingsRecurrenceArgs) ToCampaignScheduleSettingsRecurrenceOutput() CampaignScheduleSettingsRecurrenceOutput { - return i.ToCampaignScheduleSettingsRecurrenceOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertGroupsProfileArgs) ToIdentitySourceImportUpsertGroupsProfileOutput() IdentitySourceImportUpsertGroupsProfileOutput { + return i.ToIdentitySourceImportUpsertGroupsProfileOutputWithContext(context.Background()) } -func (i CampaignScheduleSettingsRecurrenceArgs) ToCampaignScheduleSettingsRecurrenceOutputWithContext(ctx context.Context) CampaignScheduleSettingsRecurrenceOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsRecurrenceOutput) +func (i IdentitySourceImportUpsertGroupsProfileArgs) ToIdentitySourceImportUpsertGroupsProfileOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupsProfileOutput) } -// CampaignScheduleSettingsRecurrenceArrayInput is an input type that accepts CampaignScheduleSettingsRecurrenceArray and CampaignScheduleSettingsRecurrenceArrayOutput values. -// You can construct a concrete instance of `CampaignScheduleSettingsRecurrenceArrayInput` via: +// IdentitySourceImportUpsertGroupsProfileArrayInput is an input type that accepts IdentitySourceImportUpsertGroupsProfileArray and IdentitySourceImportUpsertGroupsProfileArrayOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupsProfileArrayInput` via: // -// CampaignScheduleSettingsRecurrenceArray{ CampaignScheduleSettingsRecurrenceArgs{...} } -type CampaignScheduleSettingsRecurrenceArrayInput interface { +// IdentitySourceImportUpsertGroupsProfileArray{ IdentitySourceImportUpsertGroupsProfileArgs{...} } +type IdentitySourceImportUpsertGroupsProfileArrayInput interface { pulumi.Input - ToCampaignScheduleSettingsRecurrenceArrayOutput() CampaignScheduleSettingsRecurrenceArrayOutput - ToCampaignScheduleSettingsRecurrenceArrayOutputWithContext(context.Context) CampaignScheduleSettingsRecurrenceArrayOutput + ToIdentitySourceImportUpsertGroupsProfileArrayOutput() IdentitySourceImportUpsertGroupsProfileArrayOutput + ToIdentitySourceImportUpsertGroupsProfileArrayOutputWithContext(context.Context) IdentitySourceImportUpsertGroupsProfileArrayOutput } -type CampaignScheduleSettingsRecurrenceArray []CampaignScheduleSettingsRecurrenceInput +type IdentitySourceImportUpsertGroupsProfileArray []IdentitySourceImportUpsertGroupsProfileInput -func (CampaignScheduleSettingsRecurrenceArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignScheduleSettingsRecurrence)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsProfileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportUpsertGroupsProfile)(nil)).Elem() } -func (i CampaignScheduleSettingsRecurrenceArray) ToCampaignScheduleSettingsRecurrenceArrayOutput() CampaignScheduleSettingsRecurrenceArrayOutput { - return i.ToCampaignScheduleSettingsRecurrenceArrayOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertGroupsProfileArray) ToIdentitySourceImportUpsertGroupsProfileArrayOutput() IdentitySourceImportUpsertGroupsProfileArrayOutput { + return i.ToIdentitySourceImportUpsertGroupsProfileArrayOutputWithContext(context.Background()) } -func (i CampaignScheduleSettingsRecurrenceArray) ToCampaignScheduleSettingsRecurrenceArrayOutputWithContext(ctx context.Context) CampaignScheduleSettingsRecurrenceArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(CampaignScheduleSettingsRecurrenceArrayOutput) +func (i IdentitySourceImportUpsertGroupsProfileArray) ToIdentitySourceImportUpsertGroupsProfileArrayOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupsProfileArrayOutput) } -type CampaignScheduleSettingsRecurrenceOutput struct{ *pulumi.OutputState } +type IdentitySourceImportUpsertGroupsProfileOutput struct{ *pulumi.OutputState } -func (CampaignScheduleSettingsRecurrenceOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CampaignScheduleSettingsRecurrence)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroupsProfile)(nil)).Elem() } -func (o CampaignScheduleSettingsRecurrenceOutput) ToCampaignScheduleSettingsRecurrenceOutput() CampaignScheduleSettingsRecurrenceOutput { +func (o IdentitySourceImportUpsertGroupsProfileOutput) ToIdentitySourceImportUpsertGroupsProfileOutput() IdentitySourceImportUpsertGroupsProfileOutput { return o } -func (o CampaignScheduleSettingsRecurrenceOutput) ToCampaignScheduleSettingsRecurrenceOutputWithContext(ctx context.Context) CampaignScheduleSettingsRecurrenceOutput { +func (o IdentitySourceImportUpsertGroupsProfileOutput) ToIdentitySourceImportUpsertGroupsProfileOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileOutput { return o } -// Specifies when the recurring schedule can have an end. -func (o CampaignScheduleSettingsRecurrenceOutput) Ends() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignScheduleSettingsRecurrence) *string { return v.Ends }).(pulumi.StringPtrOutput) -} - -// Recurrence interval specified according to ISO8061 notation for durations. -func (o CampaignScheduleSettingsRecurrenceOutput) Interval() pulumi.StringOutput { - return o.ApplyT(func(v CampaignScheduleSettingsRecurrence) string { return v.Interval }).(pulumi.StringOutput) +// External ID of the group. +func (o IdentitySourceImportUpsertGroupsProfileOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertGroupsProfile) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -// Specifies when the recurring schedule can have an end. -func (o CampaignScheduleSettingsRecurrenceOutput) RepeatOnType() pulumi.StringPtrOutput { - return o.ApplyT(func(v CampaignScheduleSettingsRecurrence) *string { return v.RepeatOnType }).(pulumi.StringPtrOutput) +// Group profile attributes. (see below) +func (o IdentitySourceImportUpsertGroupsProfileOutput) GroupProfile() IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertGroupsProfile) *IdentitySourceImportUpsertGroupsProfileGroupProfile { + return v.GroupProfile + }).(IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput) } -type CampaignScheduleSettingsRecurrenceArrayOutput struct{ *pulumi.OutputState } +type IdentitySourceImportUpsertGroupsProfileArrayOutput struct{ *pulumi.OutputState } -func (CampaignScheduleSettingsRecurrenceArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]CampaignScheduleSettingsRecurrence)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsProfileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportUpsertGroupsProfile)(nil)).Elem() } -func (o CampaignScheduleSettingsRecurrenceArrayOutput) ToCampaignScheduleSettingsRecurrenceArrayOutput() CampaignScheduleSettingsRecurrenceArrayOutput { +func (o IdentitySourceImportUpsertGroupsProfileArrayOutput) ToIdentitySourceImportUpsertGroupsProfileArrayOutput() IdentitySourceImportUpsertGroupsProfileArrayOutput { return o } -func (o CampaignScheduleSettingsRecurrenceArrayOutput) ToCampaignScheduleSettingsRecurrenceArrayOutputWithContext(ctx context.Context) CampaignScheduleSettingsRecurrenceArrayOutput { +func (o IdentitySourceImportUpsertGroupsProfileArrayOutput) ToIdentitySourceImportUpsertGroupsProfileArrayOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileArrayOutput { return o } -func (o CampaignScheduleSettingsRecurrenceArrayOutput) Index(i pulumi.IntInput) CampaignScheduleSettingsRecurrenceOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) CampaignScheduleSettingsRecurrence { - return vs[0].([]CampaignScheduleSettingsRecurrence)[vs[1].(int)] - }).(CampaignScheduleSettingsRecurrenceOutput) +func (o IdentitySourceImportUpsertGroupsProfileArrayOutput) Index(i pulumi.IntInput) IdentitySourceImportUpsertGroupsProfileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentitySourceImportUpsertGroupsProfile { + return vs[0].([]IdentitySourceImportUpsertGroupsProfile)[vs[1].(int)] + }).(IdentitySourceImportUpsertGroupsProfileOutput) } -type CustomizedSigninPageContentSecurityPolicySetting struct { - // enforced or report_only - Mode *string `pulumi:"mode"` - ReportUri *string `pulumi:"reportUri"` - SrcLists []string `pulumi:"srcLists"` +type IdentitySourceImportUpsertGroupsProfileGroupProfile struct { + // Description of the group. + Description *string `pulumi:"description"` + // Display name of the group. + DisplayName *string `pulumi:"displayName"` } -// CustomizedSigninPageContentSecurityPolicySettingInput is an input type that accepts CustomizedSigninPageContentSecurityPolicySettingArgs and CustomizedSigninPageContentSecurityPolicySettingOutput values. -// You can construct a concrete instance of `CustomizedSigninPageContentSecurityPolicySettingInput` via: +// IdentitySourceImportUpsertGroupsProfileGroupProfileInput is an input type that accepts IdentitySourceImportUpsertGroupsProfileGroupProfileArgs and IdentitySourceImportUpsertGroupsProfileGroupProfileOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupsProfileGroupProfileInput` via: // -// CustomizedSigninPageContentSecurityPolicySettingArgs{...} -type CustomizedSigninPageContentSecurityPolicySettingInput interface { +// IdentitySourceImportUpsertGroupsProfileGroupProfileArgs{...} +type IdentitySourceImportUpsertGroupsProfileGroupProfileInput interface { pulumi.Input - ToCustomizedSigninPageContentSecurityPolicySettingOutput() CustomizedSigninPageContentSecurityPolicySettingOutput - ToCustomizedSigninPageContentSecurityPolicySettingOutputWithContext(context.Context) CustomizedSigninPageContentSecurityPolicySettingOutput + ToIdentitySourceImportUpsertGroupsProfileGroupProfileOutput() IdentitySourceImportUpsertGroupsProfileGroupProfileOutput + ToIdentitySourceImportUpsertGroupsProfileGroupProfileOutputWithContext(context.Context) IdentitySourceImportUpsertGroupsProfileGroupProfileOutput } -type CustomizedSigninPageContentSecurityPolicySettingArgs struct { - // enforced or report_only - Mode pulumi.StringPtrInput `pulumi:"mode"` - ReportUri pulumi.StringPtrInput `pulumi:"reportUri"` - SrcLists pulumi.StringArrayInput `pulumi:"srcLists"` +type IdentitySourceImportUpsertGroupsProfileGroupProfileArgs struct { + // Description of the group. + Description pulumi.StringPtrInput `pulumi:"description"` + // Display name of the group. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` } -func (CustomizedSigninPageContentSecurityPolicySettingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomizedSigninPageContentSecurityPolicySetting)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsProfileGroupProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroupsProfileGroupProfile)(nil)).Elem() } -func (i CustomizedSigninPageContentSecurityPolicySettingArgs) ToCustomizedSigninPageContentSecurityPolicySettingOutput() CustomizedSigninPageContentSecurityPolicySettingOutput { - return i.ToCustomizedSigninPageContentSecurityPolicySettingOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertGroupsProfileGroupProfileArgs) ToIdentitySourceImportUpsertGroupsProfileGroupProfileOutput() IdentitySourceImportUpsertGroupsProfileGroupProfileOutput { + return i.ToIdentitySourceImportUpsertGroupsProfileGroupProfileOutputWithContext(context.Background()) } -func (i CustomizedSigninPageContentSecurityPolicySettingArgs) ToCustomizedSigninPageContentSecurityPolicySettingOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageContentSecurityPolicySettingOutput) +func (i IdentitySourceImportUpsertGroupsProfileGroupProfileArgs) ToIdentitySourceImportUpsertGroupsProfileGroupProfileOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileGroupProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupsProfileGroupProfileOutput) } -func (i CustomizedSigninPageContentSecurityPolicySettingArgs) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput { - return i.ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertGroupsProfileGroupProfileArgs) ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput() IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput { + return i.ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutputWithContext(context.Background()) } -func (i CustomizedSigninPageContentSecurityPolicySettingArgs) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageContentSecurityPolicySettingOutput).ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx) +func (i IdentitySourceImportUpsertGroupsProfileGroupProfileArgs) ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupsProfileGroupProfileOutput).ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutputWithContext(ctx) } -// CustomizedSigninPageContentSecurityPolicySettingPtrInput is an input type that accepts CustomizedSigninPageContentSecurityPolicySettingArgs, CustomizedSigninPageContentSecurityPolicySettingPtr and CustomizedSigninPageContentSecurityPolicySettingPtrOutput values. -// You can construct a concrete instance of `CustomizedSigninPageContentSecurityPolicySettingPtrInput` via: +// IdentitySourceImportUpsertGroupsProfileGroupProfilePtrInput is an input type that accepts IdentitySourceImportUpsertGroupsProfileGroupProfileArgs, IdentitySourceImportUpsertGroupsProfileGroupProfilePtr and IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertGroupsProfileGroupProfilePtrInput` via: // -// CustomizedSigninPageContentSecurityPolicySettingArgs{...} +// IdentitySourceImportUpsertGroupsProfileGroupProfileArgs{...} // // or: // // nil -type CustomizedSigninPageContentSecurityPolicySettingPtrInput interface { +type IdentitySourceImportUpsertGroupsProfileGroupProfilePtrInput interface { pulumi.Input - ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput - ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput + ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput() IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput + ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutputWithContext(context.Context) IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput } -type customizedSigninPageContentSecurityPolicySettingPtrType CustomizedSigninPageContentSecurityPolicySettingArgs +type identitySourceImportUpsertGroupsProfileGroupProfilePtrType IdentitySourceImportUpsertGroupsProfileGroupProfileArgs -func CustomizedSigninPageContentSecurityPolicySettingPtr(v *CustomizedSigninPageContentSecurityPolicySettingArgs) CustomizedSigninPageContentSecurityPolicySettingPtrInput { - return (*customizedSigninPageContentSecurityPolicySettingPtrType)(v) +func IdentitySourceImportUpsertGroupsProfileGroupProfilePtr(v *IdentitySourceImportUpsertGroupsProfileGroupProfileArgs) IdentitySourceImportUpsertGroupsProfileGroupProfilePtrInput { + return (*identitySourceImportUpsertGroupsProfileGroupProfilePtrType)(v) } -func (*customizedSigninPageContentSecurityPolicySettingPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomizedSigninPageContentSecurityPolicySetting)(nil)).Elem() +func (*identitySourceImportUpsertGroupsProfileGroupProfilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertGroupsProfileGroupProfile)(nil)).Elem() } -func (i *customizedSigninPageContentSecurityPolicySettingPtrType) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput { - return i.ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +func (i *identitySourceImportUpsertGroupsProfileGroupProfilePtrType) ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput() IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput { + return i.ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutputWithContext(context.Background()) } -func (i *customizedSigninPageContentSecurityPolicySettingPtrType) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageContentSecurityPolicySettingPtrOutput) +func (i *identitySourceImportUpsertGroupsProfileGroupProfilePtrType) ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput) } -type CustomizedSigninPageContentSecurityPolicySettingOutput struct{ *pulumi.OutputState } +type IdentitySourceImportUpsertGroupsProfileGroupProfileOutput struct{ *pulumi.OutputState } -func (CustomizedSigninPageContentSecurityPolicySettingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomizedSigninPageContentSecurityPolicySetting)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsProfileGroupProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertGroupsProfileGroupProfile)(nil)).Elem() } -func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ToCustomizedSigninPageContentSecurityPolicySettingOutput() CustomizedSigninPageContentSecurityPolicySettingOutput { +func (o IdentitySourceImportUpsertGroupsProfileGroupProfileOutput) ToIdentitySourceImportUpsertGroupsProfileGroupProfileOutput() IdentitySourceImportUpsertGroupsProfileGroupProfileOutput { return o } -func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ToCustomizedSigninPageContentSecurityPolicySettingOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingOutput { +func (o IdentitySourceImportUpsertGroupsProfileGroupProfileOutput) ToIdentitySourceImportUpsertGroupsProfileGroupProfileOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileGroupProfileOutput { return o } -func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput { - return o.ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +func (o IdentitySourceImportUpsertGroupsProfileGroupProfileOutput) ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput() IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput { + return o.ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutputWithContext(context.Background()) } -func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomizedSigninPageContentSecurityPolicySetting) *CustomizedSigninPageContentSecurityPolicySetting { +func (o IdentitySourceImportUpsertGroupsProfileGroupProfileOutput) ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceImportUpsertGroupsProfileGroupProfile) *IdentitySourceImportUpsertGroupsProfileGroupProfile { return &v - }).(CustomizedSigninPageContentSecurityPolicySettingPtrOutput) + }).(IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput) } -// enforced or report_only -func (o CustomizedSigninPageContentSecurityPolicySettingOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageContentSecurityPolicySetting) *string { return v.Mode }).(pulumi.StringPtrOutput) -} - -func (o CustomizedSigninPageContentSecurityPolicySettingOutput) ReportUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageContentSecurityPolicySetting) *string { return v.ReportUri }).(pulumi.StringPtrOutput) +// Description of the group. +func (o IdentitySourceImportUpsertGroupsProfileGroupProfileOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertGroupsProfileGroupProfile) *string { return v.Description }).(pulumi.StringPtrOutput) } -func (o CustomizedSigninPageContentSecurityPolicySettingOutput) SrcLists() pulumi.StringArrayOutput { - return o.ApplyT(func(v CustomizedSigninPageContentSecurityPolicySetting) []string { return v.SrcLists }).(pulumi.StringArrayOutput) +// Display name of the group. +func (o IdentitySourceImportUpsertGroupsProfileGroupProfileOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertGroupsProfileGroupProfile) *string { return v.DisplayName }).(pulumi.StringPtrOutput) } -type CustomizedSigninPageContentSecurityPolicySettingPtrOutput struct{ *pulumi.OutputState } +type IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput struct{ *pulumi.OutputState } -func (CustomizedSigninPageContentSecurityPolicySettingPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomizedSigninPageContentSecurityPolicySetting)(nil)).Elem() +func (IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertGroupsProfileGroupProfile)(nil)).Elem() } -func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutput() CustomizedSigninPageContentSecurityPolicySettingPtrOutput { +func (o IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput) ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput() IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput { return o } -func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) ToCustomizedSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) CustomizedSigninPageContentSecurityPolicySettingPtrOutput { +func (o IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput) ToIdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput { return o } -func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) Elem() CustomizedSigninPageContentSecurityPolicySettingOutput { - return o.ApplyT(func(v *CustomizedSigninPageContentSecurityPolicySetting) CustomizedSigninPageContentSecurityPolicySetting { +func (o IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput) Elem() IdentitySourceImportUpsertGroupsProfileGroupProfileOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertGroupsProfileGroupProfile) IdentitySourceImportUpsertGroupsProfileGroupProfile { if v != nil { return *v } - var ret CustomizedSigninPageContentSecurityPolicySetting + var ret IdentitySourceImportUpsertGroupsProfileGroupProfile return ret - }).(CustomizedSigninPageContentSecurityPolicySettingOutput) + }).(IdentitySourceImportUpsertGroupsProfileGroupProfileOutput) } -// enforced or report_only -func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageContentSecurityPolicySetting) *string { +// Description of the group. +func (o IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertGroupsProfileGroupProfile) *string { if v == nil { return nil } - return v.Mode + return v.Description }).(pulumi.StringPtrOutput) } -func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) ReportUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageContentSecurityPolicySetting) *string { +// Display name of the group. +func (o IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertGroupsProfileGroupProfile) *string { if v == nil { return nil } - return v.ReportUri + return v.DisplayName }).(pulumi.StringPtrOutput) } -func (o CustomizedSigninPageContentSecurityPolicySettingPtrOutput) SrcLists() pulumi.StringArrayOutput { - return o.ApplyT(func(v *CustomizedSigninPageContentSecurityPolicySetting) []string { - if v == nil { - return nil - } - return v.SrcLists - }).(pulumi.StringArrayOutput) -} - -type CustomizedSigninPageWidgetCustomizations struct { - AuthenticatorPageCustomLinkLabel *string `pulumi:"authenticatorPageCustomLinkLabel"` - AuthenticatorPageCustomLinkUrl *string `pulumi:"authenticatorPageCustomLinkUrl"` - ClassicRecoveryFlowEmailOrUsernameLabel *string `pulumi:"classicRecoveryFlowEmailOrUsernameLabel"` - CustomLink1Label *string `pulumi:"customLink1Label"` - CustomLink1Url *string `pulumi:"customLink1Url"` - CustomLink2Label *string `pulumi:"customLink2Label"` - CustomLink2Url *string `pulumi:"customLink2Url"` - ForgotPasswordLabel *string `pulumi:"forgotPasswordLabel"` - ForgotPasswordUrl *string `pulumi:"forgotPasswordUrl"` - HelpLabel *string `pulumi:"helpLabel"` - HelpUrl *string `pulumi:"helpUrl"` - PasswordInfoTip *string `pulumi:"passwordInfoTip"` - PasswordLabel *string `pulumi:"passwordLabel"` - ShowPasswordVisibilityToggle *bool `pulumi:"showPasswordVisibilityToggle"` - ShowUserIdentifier *bool `pulumi:"showUserIdentifier"` - SignInLabel *string `pulumi:"signInLabel"` - UnlockAccountLabel *string `pulumi:"unlockAccountLabel"` - UnlockAccountUrl *string `pulumi:"unlockAccountUrl"` - UsernameInfoTip *string `pulumi:"usernameInfoTip"` - UsernameLabel *string `pulumi:"usernameLabel"` - WidgetGeneration string `pulumi:"widgetGeneration"` +type IdentitySourceImportUpsertUsers struct { + // Entity type. Currently only `USERS` is supported. + EntityType *string `pulumi:"entityType"` + // User profiles to upsert. (see below) + Profiles []IdentitySourceImportUpsertUsersProfile `pulumi:"profiles"` } -// CustomizedSigninPageWidgetCustomizationsInput is an input type that accepts CustomizedSigninPageWidgetCustomizationsArgs and CustomizedSigninPageWidgetCustomizationsOutput values. -// You can construct a concrete instance of `CustomizedSigninPageWidgetCustomizationsInput` via: +// IdentitySourceImportUpsertUsersInput is an input type that accepts IdentitySourceImportUpsertUsersArgs and IdentitySourceImportUpsertUsersOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertUsersInput` via: // -// CustomizedSigninPageWidgetCustomizationsArgs{...} -type CustomizedSigninPageWidgetCustomizationsInput interface { +// IdentitySourceImportUpsertUsersArgs{...} +type IdentitySourceImportUpsertUsersInput interface { pulumi.Input - ToCustomizedSigninPageWidgetCustomizationsOutput() CustomizedSigninPageWidgetCustomizationsOutput - ToCustomizedSigninPageWidgetCustomizationsOutputWithContext(context.Context) CustomizedSigninPageWidgetCustomizationsOutput + ToIdentitySourceImportUpsertUsersOutput() IdentitySourceImportUpsertUsersOutput + ToIdentitySourceImportUpsertUsersOutputWithContext(context.Context) IdentitySourceImportUpsertUsersOutput } -type CustomizedSigninPageWidgetCustomizationsArgs struct { - AuthenticatorPageCustomLinkLabel pulumi.StringPtrInput `pulumi:"authenticatorPageCustomLinkLabel"` - AuthenticatorPageCustomLinkUrl pulumi.StringPtrInput `pulumi:"authenticatorPageCustomLinkUrl"` - ClassicRecoveryFlowEmailOrUsernameLabel pulumi.StringPtrInput `pulumi:"classicRecoveryFlowEmailOrUsernameLabel"` - CustomLink1Label pulumi.StringPtrInput `pulumi:"customLink1Label"` - CustomLink1Url pulumi.StringPtrInput `pulumi:"customLink1Url"` - CustomLink2Label pulumi.StringPtrInput `pulumi:"customLink2Label"` - CustomLink2Url pulumi.StringPtrInput `pulumi:"customLink2Url"` - ForgotPasswordLabel pulumi.StringPtrInput `pulumi:"forgotPasswordLabel"` - ForgotPasswordUrl pulumi.StringPtrInput `pulumi:"forgotPasswordUrl"` - HelpLabel pulumi.StringPtrInput `pulumi:"helpLabel"` - HelpUrl pulumi.StringPtrInput `pulumi:"helpUrl"` - PasswordInfoTip pulumi.StringPtrInput `pulumi:"passwordInfoTip"` - PasswordLabel pulumi.StringPtrInput `pulumi:"passwordLabel"` - ShowPasswordVisibilityToggle pulumi.BoolPtrInput `pulumi:"showPasswordVisibilityToggle"` - ShowUserIdentifier pulumi.BoolPtrInput `pulumi:"showUserIdentifier"` - SignInLabel pulumi.StringPtrInput `pulumi:"signInLabel"` - UnlockAccountLabel pulumi.StringPtrInput `pulumi:"unlockAccountLabel"` - UnlockAccountUrl pulumi.StringPtrInput `pulumi:"unlockAccountUrl"` - UsernameInfoTip pulumi.StringPtrInput `pulumi:"usernameInfoTip"` - UsernameLabel pulumi.StringPtrInput `pulumi:"usernameLabel"` - WidgetGeneration pulumi.StringInput `pulumi:"widgetGeneration"` +type IdentitySourceImportUpsertUsersArgs struct { + // Entity type. Currently only `USERS` is supported. + EntityType pulumi.StringPtrInput `pulumi:"entityType"` + // User profiles to upsert. (see below) + Profiles IdentitySourceImportUpsertUsersProfileArrayInput `pulumi:"profiles"` } -func (CustomizedSigninPageWidgetCustomizationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*CustomizedSigninPageWidgetCustomizations)(nil)).Elem() +func (IdentitySourceImportUpsertUsersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertUsers)(nil)).Elem() } -func (i CustomizedSigninPageWidgetCustomizationsArgs) ToCustomizedSigninPageWidgetCustomizationsOutput() CustomizedSigninPageWidgetCustomizationsOutput { - return i.ToCustomizedSigninPageWidgetCustomizationsOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertUsersArgs) ToIdentitySourceImportUpsertUsersOutput() IdentitySourceImportUpsertUsersOutput { + return i.ToIdentitySourceImportUpsertUsersOutputWithContext(context.Background()) } -func (i CustomizedSigninPageWidgetCustomizationsArgs) ToCustomizedSigninPageWidgetCustomizationsOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageWidgetCustomizationsOutput) +func (i IdentitySourceImportUpsertUsersArgs) ToIdentitySourceImportUpsertUsersOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertUsersOutput) } -func (i CustomizedSigninPageWidgetCustomizationsArgs) ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput { - return i.ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) +func (i IdentitySourceImportUpsertUsersArgs) ToIdentitySourceImportUpsertUsersPtrOutput() IdentitySourceImportUpsertUsersPtrOutput { + return i.ToIdentitySourceImportUpsertUsersPtrOutputWithContext(context.Background()) } -func (i CustomizedSigninPageWidgetCustomizationsArgs) ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageWidgetCustomizationsOutput).ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx) +func (i IdentitySourceImportUpsertUsersArgs) ToIdentitySourceImportUpsertUsersPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertUsersOutput).ToIdentitySourceImportUpsertUsersPtrOutputWithContext(ctx) } -// CustomizedSigninPageWidgetCustomizationsPtrInput is an input type that accepts CustomizedSigninPageWidgetCustomizationsArgs, CustomizedSigninPageWidgetCustomizationsPtr and CustomizedSigninPageWidgetCustomizationsPtrOutput values. -// You can construct a concrete instance of `CustomizedSigninPageWidgetCustomizationsPtrInput` via: +// IdentitySourceImportUpsertUsersPtrInput is an input type that accepts IdentitySourceImportUpsertUsersArgs, IdentitySourceImportUpsertUsersPtr and IdentitySourceImportUpsertUsersPtrOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertUsersPtrInput` via: // -// CustomizedSigninPageWidgetCustomizationsArgs{...} +// IdentitySourceImportUpsertUsersArgs{...} // // or: // // nil -type CustomizedSigninPageWidgetCustomizationsPtrInput interface { +type IdentitySourceImportUpsertUsersPtrInput interface { pulumi.Input - ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput - ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput + ToIdentitySourceImportUpsertUsersPtrOutput() IdentitySourceImportUpsertUsersPtrOutput + ToIdentitySourceImportUpsertUsersPtrOutputWithContext(context.Context) IdentitySourceImportUpsertUsersPtrOutput } -type customizedSigninPageWidgetCustomizationsPtrType CustomizedSigninPageWidgetCustomizationsArgs +type identitySourceImportUpsertUsersPtrType IdentitySourceImportUpsertUsersArgs -func CustomizedSigninPageWidgetCustomizationsPtr(v *CustomizedSigninPageWidgetCustomizationsArgs) CustomizedSigninPageWidgetCustomizationsPtrInput { - return (*customizedSigninPageWidgetCustomizationsPtrType)(v) +func IdentitySourceImportUpsertUsersPtr(v *IdentitySourceImportUpsertUsersArgs) IdentitySourceImportUpsertUsersPtrInput { + return (*identitySourceImportUpsertUsersPtrType)(v) } -func (*customizedSigninPageWidgetCustomizationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**CustomizedSigninPageWidgetCustomizations)(nil)).Elem() +func (*identitySourceImportUpsertUsersPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertUsers)(nil)).Elem() } -func (i *customizedSigninPageWidgetCustomizationsPtrType) ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput { - return i.ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) +func (i *identitySourceImportUpsertUsersPtrType) ToIdentitySourceImportUpsertUsersPtrOutput() IdentitySourceImportUpsertUsersPtrOutput { + return i.ToIdentitySourceImportUpsertUsersPtrOutputWithContext(context.Background()) } -func (i *customizedSigninPageWidgetCustomizationsPtrType) ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(CustomizedSigninPageWidgetCustomizationsPtrOutput) +func (i *identitySourceImportUpsertUsersPtrType) ToIdentitySourceImportUpsertUsersPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertUsersPtrOutput) } -type CustomizedSigninPageWidgetCustomizationsOutput struct{ *pulumi.OutputState } +type IdentitySourceImportUpsertUsersOutput struct{ *pulumi.OutputState } -func (CustomizedSigninPageWidgetCustomizationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*CustomizedSigninPageWidgetCustomizations)(nil)).Elem() +func (IdentitySourceImportUpsertUsersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertUsers)(nil)).Elem() } -func (o CustomizedSigninPageWidgetCustomizationsOutput) ToCustomizedSigninPageWidgetCustomizationsOutput() CustomizedSigninPageWidgetCustomizationsOutput { +func (o IdentitySourceImportUpsertUsersOutput) ToIdentitySourceImportUpsertUsersOutput() IdentitySourceImportUpsertUsersOutput { return o } -func (o CustomizedSigninPageWidgetCustomizationsOutput) ToCustomizedSigninPageWidgetCustomizationsOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsOutput { +func (o IdentitySourceImportUpsertUsersOutput) ToIdentitySourceImportUpsertUsersOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersOutput { return o } -func (o CustomizedSigninPageWidgetCustomizationsOutput) ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput { - return o.ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) +func (o IdentitySourceImportUpsertUsersOutput) ToIdentitySourceImportUpsertUsersPtrOutput() IdentitySourceImportUpsertUsersPtrOutput { + return o.ToIdentitySourceImportUpsertUsersPtrOutputWithContext(context.Background()) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v CustomizedSigninPageWidgetCustomizations) *CustomizedSigninPageWidgetCustomizations { +func (o IdentitySourceImportUpsertUsersOutput) ToIdentitySourceImportUpsertUsersPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceImportUpsertUsers) *IdentitySourceImportUpsertUsers { return &v - }).(CustomizedSigninPageWidgetCustomizationsPtrOutput) + }).(IdentitySourceImportUpsertUsersPtrOutput) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) AuthenticatorPageCustomLinkLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.AuthenticatorPageCustomLinkLabel }).(pulumi.StringPtrOutput) +// Entity type. Currently only `USERS` is supported. +func (o IdentitySourceImportUpsertUsersOutput) EntityType() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsers) *string { return v.EntityType }).(pulumi.StringPtrOutput) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) AuthenticatorPageCustomLinkUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.AuthenticatorPageCustomLinkUrl }).(pulumi.StringPtrOutput) +// User profiles to upsert. (see below) +func (o IdentitySourceImportUpsertUsersOutput) Profiles() IdentitySourceImportUpsertUsersProfileArrayOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsers) []IdentitySourceImportUpsertUsersProfile { return v.Profiles }).(IdentitySourceImportUpsertUsersProfileArrayOutput) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) ClassicRecoveryFlowEmailOrUsernameLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { - return v.ClassicRecoveryFlowEmailOrUsernameLabel - }).(pulumi.StringPtrOutput) +type IdentitySourceImportUpsertUsersPtrOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportUpsertUsersPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertUsers)(nil)).Elem() } -func (o CustomizedSigninPageWidgetCustomizationsOutput) CustomLink1Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.CustomLink1Label }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportUpsertUsersPtrOutput) ToIdentitySourceImportUpsertUsersPtrOutput() IdentitySourceImportUpsertUsersPtrOutput { + return o } -func (o CustomizedSigninPageWidgetCustomizationsOutput) CustomLink1Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.CustomLink1Url }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportUpsertUsersPtrOutput) ToIdentitySourceImportUpsertUsersPtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersPtrOutput { + return o } -func (o CustomizedSigninPageWidgetCustomizationsOutput) CustomLink2Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.CustomLink2Label }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportUpsertUsersPtrOutput) Elem() IdentitySourceImportUpsertUsersOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsers) IdentitySourceImportUpsertUsers { + if v != nil { + return *v + } + var ret IdentitySourceImportUpsertUsers + return ret + }).(IdentitySourceImportUpsertUsersOutput) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) CustomLink2Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.CustomLink2Url }).(pulumi.StringPtrOutput) +// Entity type. Currently only `USERS` is supported. +func (o IdentitySourceImportUpsertUsersPtrOutput) EntityType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsers) *string { + if v == nil { + return nil + } + return v.EntityType + }).(pulumi.StringPtrOutput) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) ForgotPasswordLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.ForgotPasswordLabel }).(pulumi.StringPtrOutput) +// User profiles to upsert. (see below) +func (o IdentitySourceImportUpsertUsersPtrOutput) Profiles() IdentitySourceImportUpsertUsersProfileArrayOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsers) []IdentitySourceImportUpsertUsersProfile { + if v == nil { + return nil + } + return v.Profiles + }).(IdentitySourceImportUpsertUsersProfileArrayOutput) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) ForgotPasswordUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.ForgotPasswordUrl }).(pulumi.StringPtrOutput) +type IdentitySourceImportUpsertUsersProfile struct { + // External ID of the user. + ExternalId *string `pulumi:"externalId"` + // User profile attributes. (see below) + Profile *IdentitySourceImportUpsertUsersProfileProfile `pulumi:"profile"` } -func (o CustomizedSigninPageWidgetCustomizationsOutput) HelpLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.HelpLabel }).(pulumi.StringPtrOutput) +// IdentitySourceImportUpsertUsersProfileInput is an input type that accepts IdentitySourceImportUpsertUsersProfileArgs and IdentitySourceImportUpsertUsersProfileOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertUsersProfileInput` via: +// +// IdentitySourceImportUpsertUsersProfileArgs{...} +type IdentitySourceImportUpsertUsersProfileInput interface { + pulumi.Input + + ToIdentitySourceImportUpsertUsersProfileOutput() IdentitySourceImportUpsertUsersProfileOutput + ToIdentitySourceImportUpsertUsersProfileOutputWithContext(context.Context) IdentitySourceImportUpsertUsersProfileOutput } -func (o CustomizedSigninPageWidgetCustomizationsOutput) HelpUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.HelpUrl }).(pulumi.StringPtrOutput) +type IdentitySourceImportUpsertUsersProfileArgs struct { + // External ID of the user. + ExternalId pulumi.StringPtrInput `pulumi:"externalId"` + // User profile attributes. (see below) + Profile IdentitySourceImportUpsertUsersProfileProfilePtrInput `pulumi:"profile"` } -func (o CustomizedSigninPageWidgetCustomizationsOutput) PasswordInfoTip() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.PasswordInfoTip }).(pulumi.StringPtrOutput) +func (IdentitySourceImportUpsertUsersProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertUsersProfile)(nil)).Elem() } -func (o CustomizedSigninPageWidgetCustomizationsOutput) PasswordLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.PasswordLabel }).(pulumi.StringPtrOutput) +func (i IdentitySourceImportUpsertUsersProfileArgs) ToIdentitySourceImportUpsertUsersProfileOutput() IdentitySourceImportUpsertUsersProfileOutput { + return i.ToIdentitySourceImportUpsertUsersProfileOutputWithContext(context.Background()) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) ShowPasswordVisibilityToggle() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *bool { return v.ShowPasswordVisibilityToggle }).(pulumi.BoolPtrOutput) +func (i IdentitySourceImportUpsertUsersProfileArgs) ToIdentitySourceImportUpsertUsersProfileOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertUsersProfileOutput) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) ShowUserIdentifier() pulumi.BoolPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *bool { return v.ShowUserIdentifier }).(pulumi.BoolPtrOutput) +// IdentitySourceImportUpsertUsersProfileArrayInput is an input type that accepts IdentitySourceImportUpsertUsersProfileArray and IdentitySourceImportUpsertUsersProfileArrayOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertUsersProfileArrayInput` via: +// +// IdentitySourceImportUpsertUsersProfileArray{ IdentitySourceImportUpsertUsersProfileArgs{...} } +type IdentitySourceImportUpsertUsersProfileArrayInput interface { + pulumi.Input + + ToIdentitySourceImportUpsertUsersProfileArrayOutput() IdentitySourceImportUpsertUsersProfileArrayOutput + ToIdentitySourceImportUpsertUsersProfileArrayOutputWithContext(context.Context) IdentitySourceImportUpsertUsersProfileArrayOutput +} + +type IdentitySourceImportUpsertUsersProfileArray []IdentitySourceImportUpsertUsersProfileInput + +func (IdentitySourceImportUpsertUsersProfileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportUpsertUsersProfile)(nil)).Elem() +} + +func (i IdentitySourceImportUpsertUsersProfileArray) ToIdentitySourceImportUpsertUsersProfileArrayOutput() IdentitySourceImportUpsertUsersProfileArrayOutput { + return i.ToIdentitySourceImportUpsertUsersProfileArrayOutputWithContext(context.Background()) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) SignInLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.SignInLabel }).(pulumi.StringPtrOutput) +func (i IdentitySourceImportUpsertUsersProfileArray) ToIdentitySourceImportUpsertUsersProfileArrayOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertUsersProfileArrayOutput) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) UnlockAccountLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.UnlockAccountLabel }).(pulumi.StringPtrOutput) +type IdentitySourceImportUpsertUsersProfileOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportUpsertUsersProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertUsersProfile)(nil)).Elem() } -func (o CustomizedSigninPageWidgetCustomizationsOutput) UnlockAccountUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.UnlockAccountUrl }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportUpsertUsersProfileOutput) ToIdentitySourceImportUpsertUsersProfileOutput() IdentitySourceImportUpsertUsersProfileOutput { + return o } -func (o CustomizedSigninPageWidgetCustomizationsOutput) UsernameInfoTip() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.UsernameInfoTip }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportUpsertUsersProfileOutput) ToIdentitySourceImportUpsertUsersProfileOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileOutput { + return o } -func (o CustomizedSigninPageWidgetCustomizationsOutput) UsernameLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) *string { return v.UsernameLabel }).(pulumi.StringPtrOutput) +// External ID of the user. +func (o IdentitySourceImportUpsertUsersProfileOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsersProfile) *string { return v.ExternalId }).(pulumi.StringPtrOutput) } -func (o CustomizedSigninPageWidgetCustomizationsOutput) WidgetGeneration() pulumi.StringOutput { - return o.ApplyT(func(v CustomizedSigninPageWidgetCustomizations) string { return v.WidgetGeneration }).(pulumi.StringOutput) +// User profile attributes. (see below) +func (o IdentitySourceImportUpsertUsersProfileOutput) Profile() IdentitySourceImportUpsertUsersProfileProfilePtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsersProfile) *IdentitySourceImportUpsertUsersProfileProfile { + return v.Profile + }).(IdentitySourceImportUpsertUsersProfileProfilePtrOutput) } -type CustomizedSigninPageWidgetCustomizationsPtrOutput struct{ *pulumi.OutputState } +type IdentitySourceImportUpsertUsersProfileArrayOutput struct{ *pulumi.OutputState } -func (CustomizedSigninPageWidgetCustomizationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**CustomizedSigninPageWidgetCustomizations)(nil)).Elem() +func (IdentitySourceImportUpsertUsersProfileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]IdentitySourceImportUpsertUsersProfile)(nil)).Elem() } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ToCustomizedSigninPageWidgetCustomizationsPtrOutput() CustomizedSigninPageWidgetCustomizationsPtrOutput { +func (o IdentitySourceImportUpsertUsersProfileArrayOutput) ToIdentitySourceImportUpsertUsersProfileArrayOutput() IdentitySourceImportUpsertUsersProfileArrayOutput { return o } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ToCustomizedSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) CustomizedSigninPageWidgetCustomizationsPtrOutput { +func (o IdentitySourceImportUpsertUsersProfileArrayOutput) ToIdentitySourceImportUpsertUsersProfileArrayOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileArrayOutput { return o } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) Elem() CustomizedSigninPageWidgetCustomizationsOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) CustomizedSigninPageWidgetCustomizations { - if v != nil { - return *v - } - var ret CustomizedSigninPageWidgetCustomizations - return ret - }).(CustomizedSigninPageWidgetCustomizationsOutput) +func (o IdentitySourceImportUpsertUsersProfileArrayOutput) Index(i pulumi.IntInput) IdentitySourceImportUpsertUsersProfileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) IdentitySourceImportUpsertUsersProfile { + return vs[0].([]IdentitySourceImportUpsertUsersProfile)[vs[1].(int)] + }).(IdentitySourceImportUpsertUsersProfileOutput) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) AuthenticatorPageCustomLinkLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.AuthenticatorPageCustomLinkLabel - }).(pulumi.StringPtrOutput) +type IdentitySourceImportUpsertUsersProfileProfile struct { + // Email address of the user. + Email *string `pulumi:"email"` + // First name of the user. + FirstName *string `pulumi:"firstName"` + // Home address of the user. + HomeAddress *string `pulumi:"homeAddress"` + // Last name of the user. + LastName *string `pulumi:"lastName"` + // Mobile phone number of the user. + MobilePhone *string `pulumi:"mobilePhone"` + // Alternative email address of the user. + SecondEmail *string `pulumi:"secondEmail"` + // Username of the user. + UserName *string `pulumi:"userName"` } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) AuthenticatorPageCustomLinkUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.AuthenticatorPageCustomLinkUrl - }).(pulumi.StringPtrOutput) -} +// IdentitySourceImportUpsertUsersProfileProfileInput is an input type that accepts IdentitySourceImportUpsertUsersProfileProfileArgs and IdentitySourceImportUpsertUsersProfileProfileOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertUsersProfileProfileInput` via: +// +// IdentitySourceImportUpsertUsersProfileProfileArgs{...} +type IdentitySourceImportUpsertUsersProfileProfileInput interface { + pulumi.Input -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ClassicRecoveryFlowEmailOrUsernameLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.ClassicRecoveryFlowEmailOrUsernameLabel - }).(pulumi.StringPtrOutput) + ToIdentitySourceImportUpsertUsersProfileProfileOutput() IdentitySourceImportUpsertUsersProfileProfileOutput + ToIdentitySourceImportUpsertUsersProfileProfileOutputWithContext(context.Context) IdentitySourceImportUpsertUsersProfileProfileOutput } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) CustomLink1Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.CustomLink1Label - }).(pulumi.StringPtrOutput) +type IdentitySourceImportUpsertUsersProfileProfileArgs struct { + // Email address of the user. + Email pulumi.StringPtrInput `pulumi:"email"` + // First name of the user. + FirstName pulumi.StringPtrInput `pulumi:"firstName"` + // Home address of the user. + HomeAddress pulumi.StringPtrInput `pulumi:"homeAddress"` + // Last name of the user. + LastName pulumi.StringPtrInput `pulumi:"lastName"` + // Mobile phone number of the user. + MobilePhone pulumi.StringPtrInput `pulumi:"mobilePhone"` + // Alternative email address of the user. + SecondEmail pulumi.StringPtrInput `pulumi:"secondEmail"` + // Username of the user. + UserName pulumi.StringPtrInput `pulumi:"userName"` } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) CustomLink1Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.CustomLink1Url - }).(pulumi.StringPtrOutput) +func (IdentitySourceImportUpsertUsersProfileProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertUsersProfileProfile)(nil)).Elem() } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) CustomLink2Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.CustomLink2Label - }).(pulumi.StringPtrOutput) +func (i IdentitySourceImportUpsertUsersProfileProfileArgs) ToIdentitySourceImportUpsertUsersProfileProfileOutput() IdentitySourceImportUpsertUsersProfileProfileOutput { + return i.ToIdentitySourceImportUpsertUsersProfileProfileOutputWithContext(context.Background()) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) CustomLink2Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.CustomLink2Url - }).(pulumi.StringPtrOutput) +func (i IdentitySourceImportUpsertUsersProfileProfileArgs) ToIdentitySourceImportUpsertUsersProfileProfileOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertUsersProfileProfileOutput) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ForgotPasswordLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.ForgotPasswordLabel - }).(pulumi.StringPtrOutput) +func (i IdentitySourceImportUpsertUsersProfileProfileArgs) ToIdentitySourceImportUpsertUsersProfileProfilePtrOutput() IdentitySourceImportUpsertUsersProfileProfilePtrOutput { + return i.ToIdentitySourceImportUpsertUsersProfileProfilePtrOutputWithContext(context.Background()) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ForgotPasswordUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.ForgotPasswordUrl - }).(pulumi.StringPtrOutput) +func (i IdentitySourceImportUpsertUsersProfileProfileArgs) ToIdentitySourceImportUpsertUsersProfileProfilePtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertUsersProfileProfileOutput).ToIdentitySourceImportUpsertUsersProfileProfilePtrOutputWithContext(ctx) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) HelpLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.HelpLabel - }).(pulumi.StringPtrOutput) +// IdentitySourceImportUpsertUsersProfileProfilePtrInput is an input type that accepts IdentitySourceImportUpsertUsersProfileProfileArgs, IdentitySourceImportUpsertUsersProfileProfilePtr and IdentitySourceImportUpsertUsersProfileProfilePtrOutput values. +// You can construct a concrete instance of `IdentitySourceImportUpsertUsersProfileProfilePtrInput` via: +// +// IdentitySourceImportUpsertUsersProfileProfileArgs{...} +// +// or: +// +// nil +type IdentitySourceImportUpsertUsersProfileProfilePtrInput interface { + pulumi.Input + + ToIdentitySourceImportUpsertUsersProfileProfilePtrOutput() IdentitySourceImportUpsertUsersProfileProfilePtrOutput + ToIdentitySourceImportUpsertUsersProfileProfilePtrOutputWithContext(context.Context) IdentitySourceImportUpsertUsersProfileProfilePtrOutput } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) HelpUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.HelpUrl - }).(pulumi.StringPtrOutput) +type identitySourceImportUpsertUsersProfileProfilePtrType IdentitySourceImportUpsertUsersProfileProfileArgs + +func IdentitySourceImportUpsertUsersProfileProfilePtr(v *IdentitySourceImportUpsertUsersProfileProfileArgs) IdentitySourceImportUpsertUsersProfileProfilePtrInput { + return (*identitySourceImportUpsertUsersProfileProfilePtrType)(v) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) PasswordInfoTip() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.PasswordInfoTip - }).(pulumi.StringPtrOutput) +func (*identitySourceImportUpsertUsersProfileProfilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertUsersProfileProfile)(nil)).Elem() } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) PasswordLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.PasswordLabel - }).(pulumi.StringPtrOutput) +func (i *identitySourceImportUpsertUsersProfileProfilePtrType) ToIdentitySourceImportUpsertUsersProfileProfilePtrOutput() IdentitySourceImportUpsertUsersProfileProfilePtrOutput { + return i.ToIdentitySourceImportUpsertUsersProfileProfilePtrOutputWithContext(context.Background()) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ShowPasswordVisibilityToggle() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *bool { - if v == nil { - return nil - } - return v.ShowPasswordVisibilityToggle - }).(pulumi.BoolPtrOutput) +func (i *identitySourceImportUpsertUsersProfileProfilePtrType) ToIdentitySourceImportUpsertUsersProfileProfilePtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceImportUpsertUsersProfileProfilePtrOutput) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) ShowUserIdentifier() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *bool { - if v == nil { - return nil - } - return v.ShowUserIdentifier - }).(pulumi.BoolPtrOutput) +type IdentitySourceImportUpsertUsersProfileProfileOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportUpsertUsersProfileProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceImportUpsertUsersProfileProfile)(nil)).Elem() } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) SignInLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.SignInLabel - }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) ToIdentitySourceImportUpsertUsersProfileProfileOutput() IdentitySourceImportUpsertUsersProfileProfileOutput { + return o } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) UnlockAccountLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.UnlockAccountLabel - }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) ToIdentitySourceImportUpsertUsersProfileProfileOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileProfileOutput { + return o } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) UnlockAccountUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.UnlockAccountUrl - }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) ToIdentitySourceImportUpsertUsersProfileProfilePtrOutput() IdentitySourceImportUpsertUsersProfileProfilePtrOutput { + return o.ToIdentitySourceImportUpsertUsersProfileProfilePtrOutputWithContext(context.Background()) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) UsernameInfoTip() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.UsernameInfoTip - }).(pulumi.StringPtrOutput) +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) ToIdentitySourceImportUpsertUsersProfileProfilePtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileProfilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceImportUpsertUsersProfileProfile) *IdentitySourceImportUpsertUsersProfileProfile { + return &v + }).(IdentitySourceImportUpsertUsersProfileProfilePtrOutput) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) UsernameLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.UsernameLabel - }).(pulumi.StringPtrOutput) +// Email address of the user. +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsersProfileProfile) *string { return v.Email }).(pulumi.StringPtrOutput) } -func (o CustomizedSigninPageWidgetCustomizationsPtrOutput) WidgetGeneration() pulumi.StringPtrOutput { - return o.ApplyT(func(v *CustomizedSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return &v.WidgetGeneration - }).(pulumi.StringPtrOutput) +// First name of the user. +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) FirstName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsersProfileProfile) *string { return v.FirstName }).(pulumi.StringPtrOutput) } -type DomainDnsRecord struct { - // TXT record expiration - Expiration *string `pulumi:"expiration"` - // DNS record name - Fqdn *string `pulumi:"fqdn"` - // Record type can be TXT or CNAME - RecordType *string `pulumi:"recordType"` - // DNS verification value - Values []string `pulumi:"values"` +// Home address of the user. +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) HomeAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsersProfileProfile) *string { return v.HomeAddress }).(pulumi.StringPtrOutput) } -// DomainDnsRecordInput is an input type that accepts DomainDnsRecordArgs and DomainDnsRecordOutput values. -// You can construct a concrete instance of `DomainDnsRecordInput` via: -// -// DomainDnsRecordArgs{...} -type DomainDnsRecordInput interface { - pulumi.Input +// Last name of the user. +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) LastName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsersProfileProfile) *string { return v.LastName }).(pulumi.StringPtrOutput) +} - ToDomainDnsRecordOutput() DomainDnsRecordOutput - ToDomainDnsRecordOutputWithContext(context.Context) DomainDnsRecordOutput +// Mobile phone number of the user. +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) MobilePhone() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsersProfileProfile) *string { return v.MobilePhone }).(pulumi.StringPtrOutput) } -type DomainDnsRecordArgs struct { - // TXT record expiration - Expiration pulumi.StringPtrInput `pulumi:"expiration"` - // DNS record name - Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` - // Record type can be TXT or CNAME - RecordType pulumi.StringPtrInput `pulumi:"recordType"` - // DNS verification value - Values pulumi.StringArrayInput `pulumi:"values"` +// Alternative email address of the user. +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) SecondEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsersProfileProfile) *string { return v.SecondEmail }).(pulumi.StringPtrOutput) } -func (DomainDnsRecordArgs) ElementType() reflect.Type { - return reflect.TypeOf((*DomainDnsRecord)(nil)).Elem() +// Username of the user. +func (o IdentitySourceImportUpsertUsersProfileProfileOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceImportUpsertUsersProfileProfile) *string { return v.UserName }).(pulumi.StringPtrOutput) } -func (i DomainDnsRecordArgs) ToDomainDnsRecordOutput() DomainDnsRecordOutput { - return i.ToDomainDnsRecordOutputWithContext(context.Background()) +type IdentitySourceImportUpsertUsersProfileProfilePtrOutput struct{ *pulumi.OutputState } + +func (IdentitySourceImportUpsertUsersProfileProfilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceImportUpsertUsersProfileProfile)(nil)).Elem() } -func (i DomainDnsRecordArgs) ToDomainDnsRecordOutputWithContext(ctx context.Context) DomainDnsRecordOutput { - return pulumi.ToOutputWithContext(ctx, i).(DomainDnsRecordOutput) +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) ToIdentitySourceImportUpsertUsersProfileProfilePtrOutput() IdentitySourceImportUpsertUsersProfileProfilePtrOutput { + return o } -// DomainDnsRecordArrayInput is an input type that accepts DomainDnsRecordArray and DomainDnsRecordArrayOutput values. -// You can construct a concrete instance of `DomainDnsRecordArrayInput` via: -// -// DomainDnsRecordArray{ DomainDnsRecordArgs{...} } -type DomainDnsRecordArrayInput interface { - pulumi.Input +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) ToIdentitySourceImportUpsertUsersProfileProfilePtrOutputWithContext(ctx context.Context) IdentitySourceImportUpsertUsersProfileProfilePtrOutput { + return o +} - ToDomainDnsRecordArrayOutput() DomainDnsRecordArrayOutput - ToDomainDnsRecordArrayOutputWithContext(context.Context) DomainDnsRecordArrayOutput +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) Elem() IdentitySourceImportUpsertUsersProfileProfileOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsersProfileProfile) IdentitySourceImportUpsertUsersProfileProfile { + if v != nil { + return *v + } + var ret IdentitySourceImportUpsertUsersProfileProfile + return ret + }).(IdentitySourceImportUpsertUsersProfileProfileOutput) } -type DomainDnsRecordArray []DomainDnsRecordInput +// Email address of the user. +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsersProfileProfile) *string { + if v == nil { + return nil + } + return v.Email + }).(pulumi.StringPtrOutput) +} -func (DomainDnsRecordArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]DomainDnsRecord)(nil)).Elem() +// First name of the user. +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) FirstName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsersProfileProfile) *string { + if v == nil { + return nil + } + return v.FirstName + }).(pulumi.StringPtrOutput) } -func (i DomainDnsRecordArray) ToDomainDnsRecordArrayOutput() DomainDnsRecordArrayOutput { - return i.ToDomainDnsRecordArrayOutputWithContext(context.Background()) +// Home address of the user. +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) HomeAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsersProfileProfile) *string { + if v == nil { + return nil + } + return v.HomeAddress + }).(pulumi.StringPtrOutput) } -func (i DomainDnsRecordArray) ToDomainDnsRecordArrayOutputWithContext(ctx context.Context) DomainDnsRecordArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(DomainDnsRecordArrayOutput) +// Last name of the user. +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) LastName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsersProfileProfile) *string { + if v == nil { + return nil + } + return v.LastName + }).(pulumi.StringPtrOutput) } -type DomainDnsRecordOutput struct{ *pulumi.OutputState } - -func (DomainDnsRecordOutput) ElementType() reflect.Type { - return reflect.TypeOf((*DomainDnsRecord)(nil)).Elem() +// Mobile phone number of the user. +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) MobilePhone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsersProfileProfile) *string { + if v == nil { + return nil + } + return v.MobilePhone + }).(pulumi.StringPtrOutput) } -func (o DomainDnsRecordOutput) ToDomainDnsRecordOutput() DomainDnsRecordOutput { - return o +// Alternative email address of the user. +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) SecondEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsersProfileProfile) *string { + if v == nil { + return nil + } + return v.SecondEmail + }).(pulumi.StringPtrOutput) } -func (o DomainDnsRecordOutput) ToDomainDnsRecordOutputWithContext(ctx context.Context) DomainDnsRecordOutput { - return o +// Username of the user. +func (o IdentitySourceImportUpsertUsersProfileProfilePtrOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceImportUpsertUsersProfileProfile) *string { + if v == nil { + return nil + } + return v.UserName + }).(pulumi.StringPtrOutput) } -// TXT record expiration -func (o DomainDnsRecordOutput) Expiration() pulumi.StringPtrOutput { - return o.ApplyT(func(v DomainDnsRecord) *string { return v.Expiration }).(pulumi.StringPtrOutput) +type IdentitySourceUserProfile struct { + // Email address of the user. + Email *string `pulumi:"email"` + // First name of the user. + FirstName *string `pulumi:"firstName"` + // Home address of the user. + HomeAddress *string `pulumi:"homeAddress"` + // Last name of the user. + LastName *string `pulumi:"lastName"` + // Mobile phone number of the user. + MobilePhone *string `pulumi:"mobilePhone"` + // Alternative email address of the user. + SecondEmail *string `pulumi:"secondEmail"` + // Username of the user. + UserName *string `pulumi:"userName"` } -// DNS record name -func (o DomainDnsRecordOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v DomainDnsRecord) *string { return v.Fqdn }).(pulumi.StringPtrOutput) -} +// IdentitySourceUserProfileInput is an input type that accepts IdentitySourceUserProfileArgs and IdentitySourceUserProfileOutput values. +// You can construct a concrete instance of `IdentitySourceUserProfileInput` via: +// +// IdentitySourceUserProfileArgs{...} +type IdentitySourceUserProfileInput interface { + pulumi.Input -// Record type can be TXT or CNAME -func (o DomainDnsRecordOutput) RecordType() pulumi.StringPtrOutput { - return o.ApplyT(func(v DomainDnsRecord) *string { return v.RecordType }).(pulumi.StringPtrOutput) + ToIdentitySourceUserProfileOutput() IdentitySourceUserProfileOutput + ToIdentitySourceUserProfileOutputWithContext(context.Context) IdentitySourceUserProfileOutput } -// DNS verification value -func (o DomainDnsRecordOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v DomainDnsRecord) []string { return v.Values }).(pulumi.StringArrayOutput) +type IdentitySourceUserProfileArgs struct { + // Email address of the user. + Email pulumi.StringPtrInput `pulumi:"email"` + // First name of the user. + FirstName pulumi.StringPtrInput `pulumi:"firstName"` + // Home address of the user. + HomeAddress pulumi.StringPtrInput `pulumi:"homeAddress"` + // Last name of the user. + LastName pulumi.StringPtrInput `pulumi:"lastName"` + // Mobile phone number of the user. + MobilePhone pulumi.StringPtrInput `pulumi:"mobilePhone"` + // Alternative email address of the user. + SecondEmail pulumi.StringPtrInput `pulumi:"secondEmail"` + // Username of the user. + UserName pulumi.StringPtrInput `pulumi:"userName"` } -type DomainDnsRecordArrayOutput struct{ *pulumi.OutputState } - -func (DomainDnsRecordArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]DomainDnsRecord)(nil)).Elem() +func (IdentitySourceUserProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceUserProfile)(nil)).Elem() } -func (o DomainDnsRecordArrayOutput) ToDomainDnsRecordArrayOutput() DomainDnsRecordArrayOutput { - return o +func (i IdentitySourceUserProfileArgs) ToIdentitySourceUserProfileOutput() IdentitySourceUserProfileOutput { + return i.ToIdentitySourceUserProfileOutputWithContext(context.Background()) } -func (o DomainDnsRecordArrayOutput) ToDomainDnsRecordArrayOutputWithContext(ctx context.Context) DomainDnsRecordArrayOutput { - return o +func (i IdentitySourceUserProfileArgs) ToIdentitySourceUserProfileOutputWithContext(ctx context.Context) IdentitySourceUserProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceUserProfileOutput) } -func (o DomainDnsRecordArrayOutput) Index(i pulumi.IntInput) DomainDnsRecordOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) DomainDnsRecord { - return vs[0].([]DomainDnsRecord)[vs[1].(int)] - }).(DomainDnsRecordOutput) +func (i IdentitySourceUserProfileArgs) ToIdentitySourceUserProfilePtrOutput() IdentitySourceUserProfilePtrOutput { + return i.ToIdentitySourceUserProfilePtrOutputWithContext(context.Background()) } -type EmailDomainDnsValidationRecord struct { - // DNS TXT record expiration - // - // Deprecated: This field has been removed in the newest go sdk version and has become noop - Expiration *string `pulumi:"expiration"` - // DNS record name - Fqdn *string `pulumi:"fqdn"` - // Record type can be TXT or cname - RecordType *string `pulumi:"recordType"` - // DNS record value - Value *string `pulumi:"value"` +func (i IdentitySourceUserProfileArgs) ToIdentitySourceUserProfilePtrOutputWithContext(ctx context.Context) IdentitySourceUserProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceUserProfileOutput).ToIdentitySourceUserProfilePtrOutputWithContext(ctx) } -// EmailDomainDnsValidationRecordInput is an input type that accepts EmailDomainDnsValidationRecordArgs and EmailDomainDnsValidationRecordOutput values. -// You can construct a concrete instance of `EmailDomainDnsValidationRecordInput` via: +// IdentitySourceUserProfilePtrInput is an input type that accepts IdentitySourceUserProfileArgs, IdentitySourceUserProfilePtr and IdentitySourceUserProfilePtrOutput values. +// You can construct a concrete instance of `IdentitySourceUserProfilePtrInput` via: // -// EmailDomainDnsValidationRecordArgs{...} -type EmailDomainDnsValidationRecordInput interface { +// IdentitySourceUserProfileArgs{...} +// +// or: +// +// nil +type IdentitySourceUserProfilePtrInput interface { pulumi.Input - ToEmailDomainDnsValidationRecordOutput() EmailDomainDnsValidationRecordOutput - ToEmailDomainDnsValidationRecordOutputWithContext(context.Context) EmailDomainDnsValidationRecordOutput + ToIdentitySourceUserProfilePtrOutput() IdentitySourceUserProfilePtrOutput + ToIdentitySourceUserProfilePtrOutputWithContext(context.Context) IdentitySourceUserProfilePtrOutput } -type EmailDomainDnsValidationRecordArgs struct { - // DNS TXT record expiration - // - // Deprecated: This field has been removed in the newest go sdk version and has become noop - Expiration pulumi.StringPtrInput `pulumi:"expiration"` - // DNS record name - Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` - // Record type can be TXT or cname - RecordType pulumi.StringPtrInput `pulumi:"recordType"` - // DNS record value - Value pulumi.StringPtrInput `pulumi:"value"` +type identitySourceUserProfilePtrType IdentitySourceUserProfileArgs + +func IdentitySourceUserProfilePtr(v *IdentitySourceUserProfileArgs) IdentitySourceUserProfilePtrInput { + return (*identitySourceUserProfilePtrType)(v) } -func (EmailDomainDnsValidationRecordArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EmailDomainDnsValidationRecord)(nil)).Elem() +func (*identitySourceUserProfilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceUserProfile)(nil)).Elem() } -func (i EmailDomainDnsValidationRecordArgs) ToEmailDomainDnsValidationRecordOutput() EmailDomainDnsValidationRecordOutput { - return i.ToEmailDomainDnsValidationRecordOutputWithContext(context.Background()) +func (i *identitySourceUserProfilePtrType) ToIdentitySourceUserProfilePtrOutput() IdentitySourceUserProfilePtrOutput { + return i.ToIdentitySourceUserProfilePtrOutputWithContext(context.Background()) } -func (i EmailDomainDnsValidationRecordArgs) ToEmailDomainDnsValidationRecordOutputWithContext(ctx context.Context) EmailDomainDnsValidationRecordOutput { - return pulumi.ToOutputWithContext(ctx, i).(EmailDomainDnsValidationRecordOutput) +func (i *identitySourceUserProfilePtrType) ToIdentitySourceUserProfilePtrOutputWithContext(ctx context.Context) IdentitySourceUserProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(IdentitySourceUserProfilePtrOutput) } -// EmailDomainDnsValidationRecordArrayInput is an input type that accepts EmailDomainDnsValidationRecordArray and EmailDomainDnsValidationRecordArrayOutput values. -// You can construct a concrete instance of `EmailDomainDnsValidationRecordArrayInput` via: -// -// EmailDomainDnsValidationRecordArray{ EmailDomainDnsValidationRecordArgs{...} } -type EmailDomainDnsValidationRecordArrayInput interface { - pulumi.Input +type IdentitySourceUserProfileOutput struct{ *pulumi.OutputState } - ToEmailDomainDnsValidationRecordArrayOutput() EmailDomainDnsValidationRecordArrayOutput - ToEmailDomainDnsValidationRecordArrayOutputWithContext(context.Context) EmailDomainDnsValidationRecordArrayOutput +func (IdentitySourceUserProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*IdentitySourceUserProfile)(nil)).Elem() } -type EmailDomainDnsValidationRecordArray []EmailDomainDnsValidationRecordInput - -func (EmailDomainDnsValidationRecordArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]EmailDomainDnsValidationRecord)(nil)).Elem() +func (o IdentitySourceUserProfileOutput) ToIdentitySourceUserProfileOutput() IdentitySourceUserProfileOutput { + return o } -func (i EmailDomainDnsValidationRecordArray) ToEmailDomainDnsValidationRecordArrayOutput() EmailDomainDnsValidationRecordArrayOutput { - return i.ToEmailDomainDnsValidationRecordArrayOutputWithContext(context.Background()) +func (o IdentitySourceUserProfileOutput) ToIdentitySourceUserProfileOutputWithContext(ctx context.Context) IdentitySourceUserProfileOutput { + return o } -func (i EmailDomainDnsValidationRecordArray) ToEmailDomainDnsValidationRecordArrayOutputWithContext(ctx context.Context) EmailDomainDnsValidationRecordArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EmailDomainDnsValidationRecordArrayOutput) +func (o IdentitySourceUserProfileOutput) ToIdentitySourceUserProfilePtrOutput() IdentitySourceUserProfilePtrOutput { + return o.ToIdentitySourceUserProfilePtrOutputWithContext(context.Background()) } -type EmailDomainDnsValidationRecordOutput struct{ *pulumi.OutputState } +func (o IdentitySourceUserProfileOutput) ToIdentitySourceUserProfilePtrOutputWithContext(ctx context.Context) IdentitySourceUserProfilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v IdentitySourceUserProfile) *IdentitySourceUserProfile { + return &v + }).(IdentitySourceUserProfilePtrOutput) +} -func (EmailDomainDnsValidationRecordOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EmailDomainDnsValidationRecord)(nil)).Elem() +// Email address of the user. +func (o IdentitySourceUserProfileOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceUserProfile) *string { return v.Email }).(pulumi.StringPtrOutput) } -func (o EmailDomainDnsValidationRecordOutput) ToEmailDomainDnsValidationRecordOutput() EmailDomainDnsValidationRecordOutput { - return o +// First name of the user. +func (o IdentitySourceUserProfileOutput) FirstName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceUserProfile) *string { return v.FirstName }).(pulumi.StringPtrOutput) } -func (o EmailDomainDnsValidationRecordOutput) ToEmailDomainDnsValidationRecordOutputWithContext(ctx context.Context) EmailDomainDnsValidationRecordOutput { - return o +// Home address of the user. +func (o IdentitySourceUserProfileOutput) HomeAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceUserProfile) *string { return v.HomeAddress }).(pulumi.StringPtrOutput) } -// DNS TXT record expiration -// -// Deprecated: This field has been removed in the newest go sdk version and has become noop -func (o EmailDomainDnsValidationRecordOutput) Expiration() pulumi.StringPtrOutput { - return o.ApplyT(func(v EmailDomainDnsValidationRecord) *string { return v.Expiration }).(pulumi.StringPtrOutput) +// Last name of the user. +func (o IdentitySourceUserProfileOutput) LastName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceUserProfile) *string { return v.LastName }).(pulumi.StringPtrOutput) } -// DNS record name -func (o EmailDomainDnsValidationRecordOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v EmailDomainDnsValidationRecord) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +// Mobile phone number of the user. +func (o IdentitySourceUserProfileOutput) MobilePhone() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceUserProfile) *string { return v.MobilePhone }).(pulumi.StringPtrOutput) } -// Record type can be TXT or cname -func (o EmailDomainDnsValidationRecordOutput) RecordType() pulumi.StringPtrOutput { - return o.ApplyT(func(v EmailDomainDnsValidationRecord) *string { return v.RecordType }).(pulumi.StringPtrOutput) +// Alternative email address of the user. +func (o IdentitySourceUserProfileOutput) SecondEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceUserProfile) *string { return v.SecondEmail }).(pulumi.StringPtrOutput) } -// DNS record value -func (o EmailDomainDnsValidationRecordOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v EmailDomainDnsValidationRecord) *string { return v.Value }).(pulumi.StringPtrOutput) +// Username of the user. +func (o IdentitySourceUserProfileOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v IdentitySourceUserProfile) *string { return v.UserName }).(pulumi.StringPtrOutput) } -type EmailDomainDnsValidationRecordArrayOutput struct{ *pulumi.OutputState } +type IdentitySourceUserProfilePtrOutput struct{ *pulumi.OutputState } -func (EmailDomainDnsValidationRecordArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EmailDomainDnsValidationRecord)(nil)).Elem() +func (IdentitySourceUserProfilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**IdentitySourceUserProfile)(nil)).Elem() } -func (o EmailDomainDnsValidationRecordArrayOutput) ToEmailDomainDnsValidationRecordArrayOutput() EmailDomainDnsValidationRecordArrayOutput { +func (o IdentitySourceUserProfilePtrOutput) ToIdentitySourceUserProfilePtrOutput() IdentitySourceUserProfilePtrOutput { return o } -func (o EmailDomainDnsValidationRecordArrayOutput) ToEmailDomainDnsValidationRecordArrayOutputWithContext(ctx context.Context) EmailDomainDnsValidationRecordArrayOutput { +func (o IdentitySourceUserProfilePtrOutput) ToIdentitySourceUserProfilePtrOutputWithContext(ctx context.Context) IdentitySourceUserProfilePtrOutput { return o } -func (o EmailDomainDnsValidationRecordArrayOutput) Index(i pulumi.IntInput) EmailDomainDnsValidationRecordOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EmailDomainDnsValidationRecord { - return vs[0].([]EmailDomainDnsValidationRecord)[vs[1].(int)] - }).(EmailDomainDnsValidationRecordOutput) +func (o IdentitySourceUserProfilePtrOutput) Elem() IdentitySourceUserProfileOutput { + return o.ApplyT(func(v *IdentitySourceUserProfile) IdentitySourceUserProfile { + if v != nil { + return *v + } + var ret IdentitySourceUserProfile + return ret + }).(IdentitySourceUserProfileOutput) } -type EmailSenderDnsRecord struct { - // DNS record name - Fqdn *string `pulumi:"fqdn"` - // Record type can be TXT or CNAME - RecordType *string `pulumi:"recordType"` - // DNS verification value - Value *string `pulumi:"value"` +// Email address of the user. +func (o IdentitySourceUserProfilePtrOutput) Email() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceUserProfile) *string { + if v == nil { + return nil + } + return v.Email + }).(pulumi.StringPtrOutput) } -// EmailSenderDnsRecordInput is an input type that accepts EmailSenderDnsRecordArgs and EmailSenderDnsRecordOutput values. -// You can construct a concrete instance of `EmailSenderDnsRecordInput` via: -// -// EmailSenderDnsRecordArgs{...} -type EmailSenderDnsRecordInput interface { - pulumi.Input - - ToEmailSenderDnsRecordOutput() EmailSenderDnsRecordOutput - ToEmailSenderDnsRecordOutputWithContext(context.Context) EmailSenderDnsRecordOutput +// First name of the user. +func (o IdentitySourceUserProfilePtrOutput) FirstName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceUserProfile) *string { + if v == nil { + return nil + } + return v.FirstName + }).(pulumi.StringPtrOutput) } -type EmailSenderDnsRecordArgs struct { - // DNS record name - Fqdn pulumi.StringPtrInput `pulumi:"fqdn"` - // Record type can be TXT or CNAME - RecordType pulumi.StringPtrInput `pulumi:"recordType"` - // DNS verification value - Value pulumi.StringPtrInput `pulumi:"value"` +// Home address of the user. +func (o IdentitySourceUserProfilePtrOutput) HomeAddress() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceUserProfile) *string { + if v == nil { + return nil + } + return v.HomeAddress + }).(pulumi.StringPtrOutput) } -func (EmailSenderDnsRecordArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EmailSenderDnsRecord)(nil)).Elem() +// Last name of the user. +func (o IdentitySourceUserProfilePtrOutput) LastName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceUserProfile) *string { + if v == nil { + return nil + } + return v.LastName + }).(pulumi.StringPtrOutput) } -func (i EmailSenderDnsRecordArgs) ToEmailSenderDnsRecordOutput() EmailSenderDnsRecordOutput { - return i.ToEmailSenderDnsRecordOutputWithContext(context.Background()) +// Mobile phone number of the user. +func (o IdentitySourceUserProfilePtrOutput) MobilePhone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceUserProfile) *string { + if v == nil { + return nil + } + return v.MobilePhone + }).(pulumi.StringPtrOutput) } -func (i EmailSenderDnsRecordArgs) ToEmailSenderDnsRecordOutputWithContext(ctx context.Context) EmailSenderDnsRecordOutput { - return pulumi.ToOutputWithContext(ctx, i).(EmailSenderDnsRecordOutput) +// Alternative email address of the user. +func (o IdentitySourceUserProfilePtrOutput) SecondEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceUserProfile) *string { + if v == nil { + return nil + } + return v.SecondEmail + }).(pulumi.StringPtrOutput) } -// EmailSenderDnsRecordArrayInput is an input type that accepts EmailSenderDnsRecordArray and EmailSenderDnsRecordArrayOutput values. -// You can construct a concrete instance of `EmailSenderDnsRecordArrayInput` via: -// -// EmailSenderDnsRecordArray{ EmailSenderDnsRecordArgs{...} } -type EmailSenderDnsRecordArrayInput interface { - pulumi.Input - - ToEmailSenderDnsRecordArrayOutput() EmailSenderDnsRecordArrayOutput - ToEmailSenderDnsRecordArrayOutputWithContext(context.Context) EmailSenderDnsRecordArrayOutput +// Username of the user. +func (o IdentitySourceUserProfilePtrOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *IdentitySourceUserProfile) *string { + if v == nil { + return nil + } + return v.UserName + }).(pulumi.StringPtrOutput) } -type EmailSenderDnsRecordArray []EmailSenderDnsRecordInput - -func (EmailSenderDnsRecordArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]EmailSenderDnsRecord)(nil)).Elem() +type LogStreamSettings struct { + // AWS account ID. Required only for 'aws_eventbridge' type + AccountId *string `pulumi:"accountId"` + // Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type + Edition *string `pulumi:"edition"` + // An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type + EventSourceName *string `pulumi:"eventSourceName"` + // The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type + Host *string `pulumi:"host"` + // The destination AWS region where event source is located. Required only for 'aws_eventbridge' type + Region *string `pulumi:"region"` + // The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type + Token *string `pulumi:"token"` } -func (i EmailSenderDnsRecordArray) ToEmailSenderDnsRecordArrayOutput() EmailSenderDnsRecordArrayOutput { - return i.ToEmailSenderDnsRecordArrayOutputWithContext(context.Background()) -} +// LogStreamSettingsInput is an input type that accepts LogStreamSettingsArgs and LogStreamSettingsOutput values. +// You can construct a concrete instance of `LogStreamSettingsInput` via: +// +// LogStreamSettingsArgs{...} +type LogStreamSettingsInput interface { + pulumi.Input -func (i EmailSenderDnsRecordArray) ToEmailSenderDnsRecordArrayOutputWithContext(ctx context.Context) EmailSenderDnsRecordArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EmailSenderDnsRecordArrayOutput) + ToLogStreamSettingsOutput() LogStreamSettingsOutput + ToLogStreamSettingsOutputWithContext(context.Context) LogStreamSettingsOutput } -type EmailSenderDnsRecordOutput struct{ *pulumi.OutputState } - -func (EmailSenderDnsRecordOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EmailSenderDnsRecord)(nil)).Elem() +type LogStreamSettingsArgs struct { + // AWS account ID. Required only for 'aws_eventbridge' type + AccountId pulumi.StringPtrInput `pulumi:"accountId"` + // Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type + Edition pulumi.StringPtrInput `pulumi:"edition"` + // An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type + EventSourceName pulumi.StringPtrInput `pulumi:"eventSourceName"` + // The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type + Host pulumi.StringPtrInput `pulumi:"host"` + // The destination AWS region where event source is located. Required only for 'aws_eventbridge' type + Region pulumi.StringPtrInput `pulumi:"region"` + // The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type + Token pulumi.StringPtrInput `pulumi:"token"` } -func (o EmailSenderDnsRecordOutput) ToEmailSenderDnsRecordOutput() EmailSenderDnsRecordOutput { - return o +func (LogStreamSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LogStreamSettings)(nil)).Elem() } -func (o EmailSenderDnsRecordOutput) ToEmailSenderDnsRecordOutputWithContext(ctx context.Context) EmailSenderDnsRecordOutput { - return o +func (i LogStreamSettingsArgs) ToLogStreamSettingsOutput() LogStreamSettingsOutput { + return i.ToLogStreamSettingsOutputWithContext(context.Background()) } -// DNS record name -func (o EmailSenderDnsRecordOutput) Fqdn() pulumi.StringPtrOutput { - return o.ApplyT(func(v EmailSenderDnsRecord) *string { return v.Fqdn }).(pulumi.StringPtrOutput) +func (i LogStreamSettingsArgs) ToLogStreamSettingsOutputWithContext(ctx context.Context) LogStreamSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogStreamSettingsOutput) } -// Record type can be TXT or CNAME -func (o EmailSenderDnsRecordOutput) RecordType() pulumi.StringPtrOutput { - return o.ApplyT(func(v EmailSenderDnsRecord) *string { return v.RecordType }).(pulumi.StringPtrOutput) +func (i LogStreamSettingsArgs) ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput { + return i.ToLogStreamSettingsPtrOutputWithContext(context.Background()) } -// DNS verification value -func (o EmailSenderDnsRecordOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v EmailSenderDnsRecord) *string { return v.Value }).(pulumi.StringPtrOutput) +func (i LogStreamSettingsArgs) ToLogStreamSettingsPtrOutputWithContext(ctx context.Context) LogStreamSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogStreamSettingsOutput).ToLogStreamSettingsPtrOutputWithContext(ctx) } -type EmailSenderDnsRecordArrayOutput struct{ *pulumi.OutputState } +// LogStreamSettingsPtrInput is an input type that accepts LogStreamSettingsArgs, LogStreamSettingsPtr and LogStreamSettingsPtrOutput values. +// You can construct a concrete instance of `LogStreamSettingsPtrInput` via: +// +// LogStreamSettingsArgs{...} +// +// or: +// +// nil +type LogStreamSettingsPtrInput interface { + pulumi.Input -func (EmailSenderDnsRecordArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EmailSenderDnsRecord)(nil)).Elem() + ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput + ToLogStreamSettingsPtrOutputWithContext(context.Context) LogStreamSettingsPtrOutput } -func (o EmailSenderDnsRecordArrayOutput) ToEmailSenderDnsRecordArrayOutput() EmailSenderDnsRecordArrayOutput { - return o +type logStreamSettingsPtrType LogStreamSettingsArgs + +func LogStreamSettingsPtr(v *LogStreamSettingsArgs) LogStreamSettingsPtrInput { + return (*logStreamSettingsPtrType)(v) } -func (o EmailSenderDnsRecordArrayOutput) ToEmailSenderDnsRecordArrayOutputWithContext(ctx context.Context) EmailSenderDnsRecordArrayOutput { - return o +func (*logStreamSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**LogStreamSettings)(nil)).Elem() } -func (o EmailSenderDnsRecordArrayOutput) Index(i pulumi.IntInput) EmailSenderDnsRecordOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EmailSenderDnsRecord { - return vs[0].([]EmailSenderDnsRecord)[vs[1].(int)] - }).(EmailSenderDnsRecordOutput) +func (i *logStreamSettingsPtrType) ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput { + return i.ToLogStreamSettingsPtrOutputWithContext(context.Background()) } -type EndUserMyRequestsRequesterFieldValue struct { - // The ID of a requesterField. This identifies the specific field in the approval system. - Id string `pulumi:"id"` - // A human-readable description of requesterField. It's used for display purposes and is optional. - Label *string `pulumi:"label"` - // Type of value for the requester field. Valid values: `DURATION`, `ISO_DATE`, `MULTISELECT`, `OKTA_USER_ID`, `SELECT`, `TEXT`. - Type *string `pulumi:"type"` - // The value of requesterField, which depends on the type of the field. Used for single-value fields. - Value *string `pulumi:"value"` - // The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of `value`. - Values []string `pulumi:"values"` +func (i *logStreamSettingsPtrType) ToLogStreamSettingsPtrOutputWithContext(ctx context.Context) LogStreamSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(LogStreamSettingsPtrOutput) } -// EndUserMyRequestsRequesterFieldValueInput is an input type that accepts EndUserMyRequestsRequesterFieldValueArgs and EndUserMyRequestsRequesterFieldValueOutput values. -// You can construct a concrete instance of `EndUserMyRequestsRequesterFieldValueInput` via: -// -// EndUserMyRequestsRequesterFieldValueArgs{...} -type EndUserMyRequestsRequesterFieldValueInput interface { - pulumi.Input +type LogStreamSettingsOutput struct{ *pulumi.OutputState } - ToEndUserMyRequestsRequesterFieldValueOutput() EndUserMyRequestsRequesterFieldValueOutput - ToEndUserMyRequestsRequesterFieldValueOutputWithContext(context.Context) EndUserMyRequestsRequesterFieldValueOutput +func (LogStreamSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LogStreamSettings)(nil)).Elem() } -type EndUserMyRequestsRequesterFieldValueArgs struct { - // The ID of a requesterField. This identifies the specific field in the approval system. - Id pulumi.StringInput `pulumi:"id"` - // A human-readable description of requesterField. It's used for display purposes and is optional. - Label pulumi.StringPtrInput `pulumi:"label"` - // Type of value for the requester field. Valid values: `DURATION`, `ISO_DATE`, `MULTISELECT`, `OKTA_USER_ID`, `SELECT`, `TEXT`. - Type pulumi.StringPtrInput `pulumi:"type"` - // The value of requesterField, which depends on the type of the field. Used for single-value fields. - Value pulumi.StringPtrInput `pulumi:"value"` - // The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of `value`. - Values pulumi.StringArrayInput `pulumi:"values"` +func (o LogStreamSettingsOutput) ToLogStreamSettingsOutput() LogStreamSettingsOutput { + return o } -func (EndUserMyRequestsRequesterFieldValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EndUserMyRequestsRequesterFieldValue)(nil)).Elem() +func (o LogStreamSettingsOutput) ToLogStreamSettingsOutputWithContext(ctx context.Context) LogStreamSettingsOutput { + return o } -func (i EndUserMyRequestsRequesterFieldValueArgs) ToEndUserMyRequestsRequesterFieldValueOutput() EndUserMyRequestsRequesterFieldValueOutput { - return i.ToEndUserMyRequestsRequesterFieldValueOutputWithContext(context.Background()) +func (o LogStreamSettingsOutput) ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput { + return o.ToLogStreamSettingsPtrOutputWithContext(context.Background()) } -func (i EndUserMyRequestsRequesterFieldValueArgs) ToEndUserMyRequestsRequesterFieldValueOutputWithContext(ctx context.Context) EndUserMyRequestsRequesterFieldValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(EndUserMyRequestsRequesterFieldValueOutput) +func (o LogStreamSettingsOutput) ToLogStreamSettingsPtrOutputWithContext(ctx context.Context) LogStreamSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v LogStreamSettings) *LogStreamSettings { + return &v + }).(LogStreamSettingsPtrOutput) } -// EndUserMyRequestsRequesterFieldValueArrayInput is an input type that accepts EndUserMyRequestsRequesterFieldValueArray and EndUserMyRequestsRequesterFieldValueArrayOutput values. -// You can construct a concrete instance of `EndUserMyRequestsRequesterFieldValueArrayInput` via: -// -// EndUserMyRequestsRequesterFieldValueArray{ EndUserMyRequestsRequesterFieldValueArgs{...} } -type EndUserMyRequestsRequesterFieldValueArrayInput interface { - pulumi.Input +// AWS account ID. Required only for 'aws_eventbridge' type +func (o LogStreamSettingsOutput) AccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogStreamSettings) *string { return v.AccountId }).(pulumi.StringPtrOutput) +} - ToEndUserMyRequestsRequesterFieldValueArrayOutput() EndUserMyRequestsRequesterFieldValueArrayOutput - ToEndUserMyRequestsRequesterFieldValueArrayOutputWithContext(context.Context) EndUserMyRequestsRequesterFieldValueArrayOutput +// Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type +func (o LogStreamSettingsOutput) Edition() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogStreamSettings) *string { return v.Edition }).(pulumi.StringPtrOutput) } -type EndUserMyRequestsRequesterFieldValueArray []EndUserMyRequestsRequesterFieldValueInput +// An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type +func (o LogStreamSettingsOutput) EventSourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogStreamSettings) *string { return v.EventSourceName }).(pulumi.StringPtrOutput) +} -func (EndUserMyRequestsRequesterFieldValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]EndUserMyRequestsRequesterFieldValue)(nil)).Elem() +// The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type +func (o LogStreamSettingsOutput) Host() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogStreamSettings) *string { return v.Host }).(pulumi.StringPtrOutput) } -func (i EndUserMyRequestsRequesterFieldValueArray) ToEndUserMyRequestsRequesterFieldValueArrayOutput() EndUserMyRequestsRequesterFieldValueArrayOutput { - return i.ToEndUserMyRequestsRequesterFieldValueArrayOutputWithContext(context.Background()) +// The destination AWS region where event source is located. Required only for 'aws_eventbridge' type +func (o LogStreamSettingsOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogStreamSettings) *string { return v.Region }).(pulumi.StringPtrOutput) } -func (i EndUserMyRequestsRequesterFieldValueArray) ToEndUserMyRequestsRequesterFieldValueArrayOutputWithContext(ctx context.Context) EndUserMyRequestsRequesterFieldValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EndUserMyRequestsRequesterFieldValueArrayOutput) +// The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type +func (o LogStreamSettingsOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v LogStreamSettings) *string { return v.Token }).(pulumi.StringPtrOutput) } -type EndUserMyRequestsRequesterFieldValueOutput struct{ *pulumi.OutputState } +type LogStreamSettingsPtrOutput struct{ *pulumi.OutputState } -func (EndUserMyRequestsRequesterFieldValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EndUserMyRequestsRequesterFieldValue)(nil)).Elem() +func (LogStreamSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**LogStreamSettings)(nil)).Elem() } -func (o EndUserMyRequestsRequesterFieldValueOutput) ToEndUserMyRequestsRequesterFieldValueOutput() EndUserMyRequestsRequesterFieldValueOutput { +func (o LogStreamSettingsPtrOutput) ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput { return o } -func (o EndUserMyRequestsRequesterFieldValueOutput) ToEndUserMyRequestsRequesterFieldValueOutputWithContext(ctx context.Context) EndUserMyRequestsRequesterFieldValueOutput { +func (o LogStreamSettingsPtrOutput) ToLogStreamSettingsPtrOutputWithContext(ctx context.Context) LogStreamSettingsPtrOutput { return o } -// The ID of a requesterField. This identifies the specific field in the approval system. -func (o EndUserMyRequestsRequesterFieldValueOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) string { return v.Id }).(pulumi.StringOutput) -} - -// A human-readable description of requesterField. It's used for display purposes and is optional. -func (o EndUserMyRequestsRequesterFieldValueOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// Type of value for the requester field. Valid values: `DURATION`, `ISO_DATE`, `MULTISELECT`, `OKTA_USER_ID`, `SELECT`, `TEXT`. -func (o EndUserMyRequestsRequesterFieldValueOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o LogStreamSettingsPtrOutput) Elem() LogStreamSettingsOutput { + return o.ApplyT(func(v *LogStreamSettings) LogStreamSettings { + if v != nil { + return *v + } + var ret LogStreamSettings + return ret + }).(LogStreamSettingsOutput) } -// The value of requesterField, which depends on the type of the field. Used for single-value fields. -func (o EndUserMyRequestsRequesterFieldValueOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) *string { return v.Value }).(pulumi.StringPtrOutput) +// AWS account ID. Required only for 'aws_eventbridge' type +func (o LogStreamSettingsPtrOutput) AccountId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogStreamSettings) *string { + if v == nil { + return nil + } + return v.AccountId + }).(pulumi.StringPtrOutput) } -// The values of requesterField with the type MULTISELECT. If the field type is MULTISELECT, this property is required instead of `value`. -func (o EndUserMyRequestsRequesterFieldValueOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v EndUserMyRequestsRequesterFieldValue) []string { return v.Values }).(pulumi.StringArrayOutput) +// Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type +func (o LogStreamSettingsPtrOutput) Edition() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogStreamSettings) *string { + if v == nil { + return nil + } + return v.Edition + }).(pulumi.StringPtrOutput) } -type EndUserMyRequestsRequesterFieldValueArrayOutput struct{ *pulumi.OutputState } - -func (EndUserMyRequestsRequesterFieldValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EndUserMyRequestsRequesterFieldValue)(nil)).Elem() +// An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type +func (o LogStreamSettingsPtrOutput) EventSourceName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogStreamSettings) *string { + if v == nil { + return nil + } + return v.EventSourceName + }).(pulumi.StringPtrOutput) } -func (o EndUserMyRequestsRequesterFieldValueArrayOutput) ToEndUserMyRequestsRequesterFieldValueArrayOutput() EndUserMyRequestsRequesterFieldValueArrayOutput { - return o +// The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type +func (o LogStreamSettingsPtrOutput) Host() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogStreamSettings) *string { + if v == nil { + return nil + } + return v.Host + }).(pulumi.StringPtrOutput) } -func (o EndUserMyRequestsRequesterFieldValueArrayOutput) ToEndUserMyRequestsRequesterFieldValueArrayOutputWithContext(ctx context.Context) EndUserMyRequestsRequesterFieldValueArrayOutput { - return o +// The destination AWS region where event source is located. Required only for 'aws_eventbridge' type +func (o LogStreamSettingsPtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogStreamSettings) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) } -func (o EndUserMyRequestsRequesterFieldValueArrayOutput) Index(i pulumi.IntInput) EndUserMyRequestsRequesterFieldValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EndUserMyRequestsRequesterFieldValue { - return vs[0].([]EndUserMyRequestsRequesterFieldValue)[vs[1].(int)] - }).(EndUserMyRequestsRequesterFieldValueOutput) +// The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type +func (o LogStreamSettingsPtrOutput) Token() pulumi.StringPtrOutput { + return o.ApplyT(func(v *LogStreamSettings) *string { + if v == nil { + return nil + } + return v.Token + }).(pulumi.StringPtrOutput) } -type EntitlementBundleEntitlement struct { - // The ID of the entitlement. - Id string `pulumi:"id"` - Values []EntitlementBundleEntitlementValue `pulumi:"values"` +type PolicyRuleProfileEnrollmentProfileAttribute struct { + // A display-friendly label for this property + Label string `pulumi:"label"` + // The name of a User Profile property + Name string `pulumi:"name"` + // Indicates if this property is required for enrollment + Required *bool `pulumi:"required"` } -// EntitlementBundleEntitlementInput is an input type that accepts EntitlementBundleEntitlementArgs and EntitlementBundleEntitlementOutput values. -// You can construct a concrete instance of `EntitlementBundleEntitlementInput` via: +// PolicyRuleProfileEnrollmentProfileAttributeInput is an input type that accepts PolicyRuleProfileEnrollmentProfileAttributeArgs and PolicyRuleProfileEnrollmentProfileAttributeOutput values. +// You can construct a concrete instance of `PolicyRuleProfileEnrollmentProfileAttributeInput` via: // -// EntitlementBundleEntitlementArgs{...} -type EntitlementBundleEntitlementInput interface { +// PolicyRuleProfileEnrollmentProfileAttributeArgs{...} +type PolicyRuleProfileEnrollmentProfileAttributeInput interface { pulumi.Input - ToEntitlementBundleEntitlementOutput() EntitlementBundleEntitlementOutput - ToEntitlementBundleEntitlementOutputWithContext(context.Context) EntitlementBundleEntitlementOutput + ToPolicyRuleProfileEnrollmentProfileAttributeOutput() PolicyRuleProfileEnrollmentProfileAttributeOutput + ToPolicyRuleProfileEnrollmentProfileAttributeOutputWithContext(context.Context) PolicyRuleProfileEnrollmentProfileAttributeOutput } -type EntitlementBundleEntitlementArgs struct { - // The ID of the entitlement. - Id pulumi.StringInput `pulumi:"id"` - Values EntitlementBundleEntitlementValueArrayInput `pulumi:"values"` +type PolicyRuleProfileEnrollmentProfileAttributeArgs struct { + // A display-friendly label for this property + Label pulumi.StringInput `pulumi:"label"` + // The name of a User Profile property + Name pulumi.StringInput `pulumi:"name"` + // Indicates if this property is required for enrollment + Required pulumi.BoolPtrInput `pulumi:"required"` } -func (EntitlementBundleEntitlementArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementBundleEntitlement)(nil)).Elem() +func (PolicyRuleProfileEnrollmentProfileAttributeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PolicyRuleProfileEnrollmentProfileAttribute)(nil)).Elem() } -func (i EntitlementBundleEntitlementArgs) ToEntitlementBundleEntitlementOutput() EntitlementBundleEntitlementOutput { - return i.ToEntitlementBundleEntitlementOutputWithContext(context.Background()) +func (i PolicyRuleProfileEnrollmentProfileAttributeArgs) ToPolicyRuleProfileEnrollmentProfileAttributeOutput() PolicyRuleProfileEnrollmentProfileAttributeOutput { + return i.ToPolicyRuleProfileEnrollmentProfileAttributeOutputWithContext(context.Background()) } -func (i EntitlementBundleEntitlementArgs) ToEntitlementBundleEntitlementOutputWithContext(ctx context.Context) EntitlementBundleEntitlementOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleEntitlementOutput) +func (i PolicyRuleProfileEnrollmentProfileAttributeArgs) ToPolicyRuleProfileEnrollmentProfileAttributeOutputWithContext(ctx context.Context) PolicyRuleProfileEnrollmentProfileAttributeOutput { + return pulumi.ToOutputWithContext(ctx, i).(PolicyRuleProfileEnrollmentProfileAttributeOutput) } -// EntitlementBundleEntitlementArrayInput is an input type that accepts EntitlementBundleEntitlementArray and EntitlementBundleEntitlementArrayOutput values. -// You can construct a concrete instance of `EntitlementBundleEntitlementArrayInput` via: +// PolicyRuleProfileEnrollmentProfileAttributeArrayInput is an input type that accepts PolicyRuleProfileEnrollmentProfileAttributeArray and PolicyRuleProfileEnrollmentProfileAttributeArrayOutput values. +// You can construct a concrete instance of `PolicyRuleProfileEnrollmentProfileAttributeArrayInput` via: // -// EntitlementBundleEntitlementArray{ EntitlementBundleEntitlementArgs{...} } -type EntitlementBundleEntitlementArrayInput interface { +// PolicyRuleProfileEnrollmentProfileAttributeArray{ PolicyRuleProfileEnrollmentProfileAttributeArgs{...} } +type PolicyRuleProfileEnrollmentProfileAttributeArrayInput interface { pulumi.Input - ToEntitlementBundleEntitlementArrayOutput() EntitlementBundleEntitlementArrayOutput - ToEntitlementBundleEntitlementArrayOutputWithContext(context.Context) EntitlementBundleEntitlementArrayOutput + ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutput() PolicyRuleProfileEnrollmentProfileAttributeArrayOutput + ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutputWithContext(context.Context) PolicyRuleProfileEnrollmentProfileAttributeArrayOutput } -type EntitlementBundleEntitlementArray []EntitlementBundleEntitlementInput +type PolicyRuleProfileEnrollmentProfileAttributeArray []PolicyRuleProfileEnrollmentProfileAttributeInput -func (EntitlementBundleEntitlementArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]EntitlementBundleEntitlement)(nil)).Elem() +func (PolicyRuleProfileEnrollmentProfileAttributeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]PolicyRuleProfileEnrollmentProfileAttribute)(nil)).Elem() } -func (i EntitlementBundleEntitlementArray) ToEntitlementBundleEntitlementArrayOutput() EntitlementBundleEntitlementArrayOutput { - return i.ToEntitlementBundleEntitlementArrayOutputWithContext(context.Background()) +func (i PolicyRuleProfileEnrollmentProfileAttributeArray) ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutput() PolicyRuleProfileEnrollmentProfileAttributeArrayOutput { + return i.ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutputWithContext(context.Background()) } -func (i EntitlementBundleEntitlementArray) ToEntitlementBundleEntitlementArrayOutputWithContext(ctx context.Context) EntitlementBundleEntitlementArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleEntitlementArrayOutput) +func (i PolicyRuleProfileEnrollmentProfileAttributeArray) ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutputWithContext(ctx context.Context) PolicyRuleProfileEnrollmentProfileAttributeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) } -type EntitlementBundleEntitlementOutput struct{ *pulumi.OutputState } +type PolicyRuleProfileEnrollmentProfileAttributeOutput struct{ *pulumi.OutputState } -func (EntitlementBundleEntitlementOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementBundleEntitlement)(nil)).Elem() +func (PolicyRuleProfileEnrollmentProfileAttributeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PolicyRuleProfileEnrollmentProfileAttribute)(nil)).Elem() } -func (o EntitlementBundleEntitlementOutput) ToEntitlementBundleEntitlementOutput() EntitlementBundleEntitlementOutput { +func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) ToPolicyRuleProfileEnrollmentProfileAttributeOutput() PolicyRuleProfileEnrollmentProfileAttributeOutput { return o } -func (o EntitlementBundleEntitlementOutput) ToEntitlementBundleEntitlementOutputWithContext(ctx context.Context) EntitlementBundleEntitlementOutput { +func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) ToPolicyRuleProfileEnrollmentProfileAttributeOutputWithContext(ctx context.Context) PolicyRuleProfileEnrollmentProfileAttributeOutput { return o } -// The ID of the entitlement. -func (o EntitlementBundleEntitlementOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v EntitlementBundleEntitlement) string { return v.Id }).(pulumi.StringOutput) +// A display-friendly label for this property +func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v PolicyRuleProfileEnrollmentProfileAttribute) string { return v.Label }).(pulumi.StringOutput) } -func (o EntitlementBundleEntitlementOutput) Values() EntitlementBundleEntitlementValueArrayOutput { - return o.ApplyT(func(v EntitlementBundleEntitlement) []EntitlementBundleEntitlementValue { return v.Values }).(EntitlementBundleEntitlementValueArrayOutput) +// The name of a User Profile property +func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v PolicyRuleProfileEnrollmentProfileAttribute) string { return v.Name }).(pulumi.StringOutput) } -type EntitlementBundleEntitlementArrayOutput struct{ *pulumi.OutputState } +// Indicates if this property is required for enrollment +func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) Required() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PolicyRuleProfileEnrollmentProfileAttribute) *bool { return v.Required }).(pulumi.BoolPtrOutput) +} -func (EntitlementBundleEntitlementArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EntitlementBundleEntitlement)(nil)).Elem() +type PolicyRuleProfileEnrollmentProfileAttributeArrayOutput struct{ *pulumi.OutputState } + +func (PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]PolicyRuleProfileEnrollmentProfileAttribute)(nil)).Elem() } -func (o EntitlementBundleEntitlementArrayOutput) ToEntitlementBundleEntitlementArrayOutput() EntitlementBundleEntitlementArrayOutput { +func (o PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutput() PolicyRuleProfileEnrollmentProfileAttributeArrayOutput { return o } -func (o EntitlementBundleEntitlementArrayOutput) ToEntitlementBundleEntitlementArrayOutputWithContext(ctx context.Context) EntitlementBundleEntitlementArrayOutput { +func (o PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutputWithContext(ctx context.Context) PolicyRuleProfileEnrollmentProfileAttributeArrayOutput { return o } -func (o EntitlementBundleEntitlementArrayOutput) Index(i pulumi.IntInput) EntitlementBundleEntitlementOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EntitlementBundleEntitlement { - return vs[0].([]EntitlementBundleEntitlement)[vs[1].(int)] - }).(EntitlementBundleEntitlementOutput) +func (o PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) Index(i pulumi.IntInput) PolicyRuleProfileEnrollmentProfileAttributeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyRuleProfileEnrollmentProfileAttribute { + return vs[0].([]PolicyRuleProfileEnrollmentProfileAttribute)[vs[1].(int)] + }).(PolicyRuleProfileEnrollmentProfileAttributeOutput) } -type EntitlementBundleEntitlementValue struct { - // The ID of the entitlement value. - Id string `pulumi:"id"` +type PreviewSigninPageContentSecurityPolicySetting struct { + // enforced or report_only + Mode *string `pulumi:"mode"` + ReportUri *string `pulumi:"reportUri"` + SrcLists []string `pulumi:"srcLists"` } -// EntitlementBundleEntitlementValueInput is an input type that accepts EntitlementBundleEntitlementValueArgs and EntitlementBundleEntitlementValueOutput values. -// You can construct a concrete instance of `EntitlementBundleEntitlementValueInput` via: +// PreviewSigninPageContentSecurityPolicySettingInput is an input type that accepts PreviewSigninPageContentSecurityPolicySettingArgs and PreviewSigninPageContentSecurityPolicySettingOutput values. +// You can construct a concrete instance of `PreviewSigninPageContentSecurityPolicySettingInput` via: // -// EntitlementBundleEntitlementValueArgs{...} -type EntitlementBundleEntitlementValueInput interface { +// PreviewSigninPageContentSecurityPolicySettingArgs{...} +type PreviewSigninPageContentSecurityPolicySettingInput interface { pulumi.Input - ToEntitlementBundleEntitlementValueOutput() EntitlementBundleEntitlementValueOutput - ToEntitlementBundleEntitlementValueOutputWithContext(context.Context) EntitlementBundleEntitlementValueOutput + ToPreviewSigninPageContentSecurityPolicySettingOutput() PreviewSigninPageContentSecurityPolicySettingOutput + ToPreviewSigninPageContentSecurityPolicySettingOutputWithContext(context.Context) PreviewSigninPageContentSecurityPolicySettingOutput } -type EntitlementBundleEntitlementValueArgs struct { - // The ID of the entitlement value. - Id pulumi.StringInput `pulumi:"id"` +type PreviewSigninPageContentSecurityPolicySettingArgs struct { + // enforced or report_only + Mode pulumi.StringPtrInput `pulumi:"mode"` + ReportUri pulumi.StringPtrInput `pulumi:"reportUri"` + SrcLists pulumi.StringArrayInput `pulumi:"srcLists"` } -func (EntitlementBundleEntitlementValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementBundleEntitlementValue)(nil)).Elem() +func (PreviewSigninPageContentSecurityPolicySettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PreviewSigninPageContentSecurityPolicySetting)(nil)).Elem() } -func (i EntitlementBundleEntitlementValueArgs) ToEntitlementBundleEntitlementValueOutput() EntitlementBundleEntitlementValueOutput { - return i.ToEntitlementBundleEntitlementValueOutputWithContext(context.Background()) +func (i PreviewSigninPageContentSecurityPolicySettingArgs) ToPreviewSigninPageContentSecurityPolicySettingOutput() PreviewSigninPageContentSecurityPolicySettingOutput { + return i.ToPreviewSigninPageContentSecurityPolicySettingOutputWithContext(context.Background()) } -func (i EntitlementBundleEntitlementValueArgs) ToEntitlementBundleEntitlementValueOutputWithContext(ctx context.Context) EntitlementBundleEntitlementValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleEntitlementValueOutput) +func (i PreviewSigninPageContentSecurityPolicySettingArgs) ToPreviewSigninPageContentSecurityPolicySettingOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageContentSecurityPolicySettingOutput) } -// EntitlementBundleEntitlementValueArrayInput is an input type that accepts EntitlementBundleEntitlementValueArray and EntitlementBundleEntitlementValueArrayOutput values. -// You can construct a concrete instance of `EntitlementBundleEntitlementValueArrayInput` via: +func (i PreviewSigninPageContentSecurityPolicySettingArgs) ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput { + return i.ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +} + +func (i PreviewSigninPageContentSecurityPolicySettingArgs) ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageContentSecurityPolicySettingOutput).ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx) +} + +// PreviewSigninPageContentSecurityPolicySettingPtrInput is an input type that accepts PreviewSigninPageContentSecurityPolicySettingArgs, PreviewSigninPageContentSecurityPolicySettingPtr and PreviewSigninPageContentSecurityPolicySettingPtrOutput values. +// You can construct a concrete instance of `PreviewSigninPageContentSecurityPolicySettingPtrInput` via: // -// EntitlementBundleEntitlementValueArray{ EntitlementBundleEntitlementValueArgs{...} } -type EntitlementBundleEntitlementValueArrayInput interface { +// PreviewSigninPageContentSecurityPolicySettingArgs{...} +// +// or: +// +// nil +type PreviewSigninPageContentSecurityPolicySettingPtrInput interface { pulumi.Input - ToEntitlementBundleEntitlementValueArrayOutput() EntitlementBundleEntitlementValueArrayOutput - ToEntitlementBundleEntitlementValueArrayOutputWithContext(context.Context) EntitlementBundleEntitlementValueArrayOutput + ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput + ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput } -type EntitlementBundleEntitlementValueArray []EntitlementBundleEntitlementValueInput +type previewSigninPageContentSecurityPolicySettingPtrType PreviewSigninPageContentSecurityPolicySettingArgs -func (EntitlementBundleEntitlementValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]EntitlementBundleEntitlementValue)(nil)).Elem() +func PreviewSigninPageContentSecurityPolicySettingPtr(v *PreviewSigninPageContentSecurityPolicySettingArgs) PreviewSigninPageContentSecurityPolicySettingPtrInput { + return (*previewSigninPageContentSecurityPolicySettingPtrType)(v) } -func (i EntitlementBundleEntitlementValueArray) ToEntitlementBundleEntitlementValueArrayOutput() EntitlementBundleEntitlementValueArrayOutput { - return i.ToEntitlementBundleEntitlementValueArrayOutputWithContext(context.Background()) +func (*previewSigninPageContentSecurityPolicySettingPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PreviewSigninPageContentSecurityPolicySetting)(nil)).Elem() } -func (i EntitlementBundleEntitlementValueArray) ToEntitlementBundleEntitlementValueArrayOutputWithContext(ctx context.Context) EntitlementBundleEntitlementValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleEntitlementValueArrayOutput) +func (i *previewSigninPageContentSecurityPolicySettingPtrType) ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput { + return i.ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) } -type EntitlementBundleEntitlementValueOutput struct{ *pulumi.OutputState } +func (i *previewSigninPageContentSecurityPolicySettingPtrType) ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageContentSecurityPolicySettingPtrOutput) +} -func (EntitlementBundleEntitlementValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementBundleEntitlementValue)(nil)).Elem() +type PreviewSigninPageContentSecurityPolicySettingOutput struct{ *pulumi.OutputState } + +func (PreviewSigninPageContentSecurityPolicySettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PreviewSigninPageContentSecurityPolicySetting)(nil)).Elem() } -func (o EntitlementBundleEntitlementValueOutput) ToEntitlementBundleEntitlementValueOutput() EntitlementBundleEntitlementValueOutput { +func (o PreviewSigninPageContentSecurityPolicySettingOutput) ToPreviewSigninPageContentSecurityPolicySettingOutput() PreviewSigninPageContentSecurityPolicySettingOutput { return o } -func (o EntitlementBundleEntitlementValueOutput) ToEntitlementBundleEntitlementValueOutputWithContext(ctx context.Context) EntitlementBundleEntitlementValueOutput { +func (o PreviewSigninPageContentSecurityPolicySettingOutput) ToPreviewSigninPageContentSecurityPolicySettingOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingOutput { return o } -// The ID of the entitlement value. -func (o EntitlementBundleEntitlementValueOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v EntitlementBundleEntitlementValue) string { return v.Id }).(pulumi.StringOutput) +func (o PreviewSigninPageContentSecurityPolicySettingOutput) ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput { + return o.ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) } -type EntitlementBundleEntitlementValueArrayOutput struct{ *pulumi.OutputState } +func (o PreviewSigninPageContentSecurityPolicySettingOutput) ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PreviewSigninPageContentSecurityPolicySetting) *PreviewSigninPageContentSecurityPolicySetting { + return &v + }).(PreviewSigninPageContentSecurityPolicySettingPtrOutput) +} -func (EntitlementBundleEntitlementValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EntitlementBundleEntitlementValue)(nil)).Elem() +// enforced or report_only +func (o PreviewSigninPageContentSecurityPolicySettingOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageContentSecurityPolicySetting) *string { return v.Mode }).(pulumi.StringPtrOutput) } -func (o EntitlementBundleEntitlementValueArrayOutput) ToEntitlementBundleEntitlementValueArrayOutput() EntitlementBundleEntitlementValueArrayOutput { +func (o PreviewSigninPageContentSecurityPolicySettingOutput) ReportUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageContentSecurityPolicySetting) *string { return v.ReportUri }).(pulumi.StringPtrOutput) +} + +func (o PreviewSigninPageContentSecurityPolicySettingOutput) SrcLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v PreviewSigninPageContentSecurityPolicySetting) []string { return v.SrcLists }).(pulumi.StringArrayOutput) +} + +type PreviewSigninPageContentSecurityPolicySettingPtrOutput struct{ *pulumi.OutputState } + +func (PreviewSigninPageContentSecurityPolicySettingPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PreviewSigninPageContentSecurityPolicySetting)(nil)).Elem() +} + +func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput { return o } -func (o EntitlementBundleEntitlementValueArrayOutput) ToEntitlementBundleEntitlementValueArrayOutputWithContext(ctx context.Context) EntitlementBundleEntitlementValueArrayOutput { +func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput { return o } -func (o EntitlementBundleEntitlementValueArrayOutput) Index(i pulumi.IntInput) EntitlementBundleEntitlementValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EntitlementBundleEntitlementValue { - return vs[0].([]EntitlementBundleEntitlementValue)[vs[1].(int)] - }).(EntitlementBundleEntitlementValueOutput) +func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) Elem() PreviewSigninPageContentSecurityPolicySettingOutput { + return o.ApplyT(func(v *PreviewSigninPageContentSecurityPolicySetting) PreviewSigninPageContentSecurityPolicySetting { + if v != nil { + return *v + } + var ret PreviewSigninPageContentSecurityPolicySetting + return ret + }).(PreviewSigninPageContentSecurityPolicySettingOutput) +} + +// enforced or report_only +func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) Mode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageContentSecurityPolicySetting) *string { + if v == nil { + return nil + } + return v.Mode + }).(pulumi.StringPtrOutput) +} + +func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) ReportUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageContentSecurityPolicySetting) *string { + if v == nil { + return nil + } + return v.ReportUri + }).(pulumi.StringPtrOutput) +} + +func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) SrcLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PreviewSigninPageContentSecurityPolicySetting) []string { + if v == nil { + return nil + } + return v.SrcLists + }).(pulumi.StringArrayOutput) } -type EntitlementBundleTarget struct { - // The Okta app ID of the resource. - ExternalId string `pulumi:"externalId"` - // The type of resource. - Type string `pulumi:"type"` +type PreviewSigninPageWidgetCustomizations struct { + AuthenticatorPageCustomLinkLabel *string `pulumi:"authenticatorPageCustomLinkLabel"` + AuthenticatorPageCustomLinkUrl *string `pulumi:"authenticatorPageCustomLinkUrl"` + ClassicRecoveryFlowEmailOrUsernameLabel *string `pulumi:"classicRecoveryFlowEmailOrUsernameLabel"` + CustomLink1Label *string `pulumi:"customLink1Label"` + CustomLink1Url *string `pulumi:"customLink1Url"` + CustomLink2Label *string `pulumi:"customLink2Label"` + CustomLink2Url *string `pulumi:"customLink2Url"` + ForgotPasswordLabel *string `pulumi:"forgotPasswordLabel"` + ForgotPasswordUrl *string `pulumi:"forgotPasswordUrl"` + HelpLabel *string `pulumi:"helpLabel"` + HelpUrl *string `pulumi:"helpUrl"` + PasswordInfoTip *string `pulumi:"passwordInfoTip"` + PasswordLabel *string `pulumi:"passwordLabel"` + ShowPasswordVisibilityToggle *bool `pulumi:"showPasswordVisibilityToggle"` + ShowUserIdentifier *bool `pulumi:"showUserIdentifier"` + SignInLabel *string `pulumi:"signInLabel"` + UnlockAccountLabel *string `pulumi:"unlockAccountLabel"` + UnlockAccountUrl *string `pulumi:"unlockAccountUrl"` + UsernameInfoTip *string `pulumi:"usernameInfoTip"` + UsernameLabel *string `pulumi:"usernameLabel"` + WidgetGeneration string `pulumi:"widgetGeneration"` } -// EntitlementBundleTargetInput is an input type that accepts EntitlementBundleTargetArgs and EntitlementBundleTargetOutput values. -// You can construct a concrete instance of `EntitlementBundleTargetInput` via: +// PreviewSigninPageWidgetCustomizationsInput is an input type that accepts PreviewSigninPageWidgetCustomizationsArgs and PreviewSigninPageWidgetCustomizationsOutput values. +// You can construct a concrete instance of `PreviewSigninPageWidgetCustomizationsInput` via: // -// EntitlementBundleTargetArgs{...} -type EntitlementBundleTargetInput interface { +// PreviewSigninPageWidgetCustomizationsArgs{...} +type PreviewSigninPageWidgetCustomizationsInput interface { pulumi.Input - ToEntitlementBundleTargetOutput() EntitlementBundleTargetOutput - ToEntitlementBundleTargetOutputWithContext(context.Context) EntitlementBundleTargetOutput + ToPreviewSigninPageWidgetCustomizationsOutput() PreviewSigninPageWidgetCustomizationsOutput + ToPreviewSigninPageWidgetCustomizationsOutputWithContext(context.Context) PreviewSigninPageWidgetCustomizationsOutput } -type EntitlementBundleTargetArgs struct { - // The Okta app ID of the resource. - ExternalId pulumi.StringInput `pulumi:"externalId"` - // The type of resource. - Type pulumi.StringInput `pulumi:"type"` +type PreviewSigninPageWidgetCustomizationsArgs struct { + AuthenticatorPageCustomLinkLabel pulumi.StringPtrInput `pulumi:"authenticatorPageCustomLinkLabel"` + AuthenticatorPageCustomLinkUrl pulumi.StringPtrInput `pulumi:"authenticatorPageCustomLinkUrl"` + ClassicRecoveryFlowEmailOrUsernameLabel pulumi.StringPtrInput `pulumi:"classicRecoveryFlowEmailOrUsernameLabel"` + CustomLink1Label pulumi.StringPtrInput `pulumi:"customLink1Label"` + CustomLink1Url pulumi.StringPtrInput `pulumi:"customLink1Url"` + CustomLink2Label pulumi.StringPtrInput `pulumi:"customLink2Label"` + CustomLink2Url pulumi.StringPtrInput `pulumi:"customLink2Url"` + ForgotPasswordLabel pulumi.StringPtrInput `pulumi:"forgotPasswordLabel"` + ForgotPasswordUrl pulumi.StringPtrInput `pulumi:"forgotPasswordUrl"` + HelpLabel pulumi.StringPtrInput `pulumi:"helpLabel"` + HelpUrl pulumi.StringPtrInput `pulumi:"helpUrl"` + PasswordInfoTip pulumi.StringPtrInput `pulumi:"passwordInfoTip"` + PasswordLabel pulumi.StringPtrInput `pulumi:"passwordLabel"` + ShowPasswordVisibilityToggle pulumi.BoolPtrInput `pulumi:"showPasswordVisibilityToggle"` + ShowUserIdentifier pulumi.BoolPtrInput `pulumi:"showUserIdentifier"` + SignInLabel pulumi.StringPtrInput `pulumi:"signInLabel"` + UnlockAccountLabel pulumi.StringPtrInput `pulumi:"unlockAccountLabel"` + UnlockAccountUrl pulumi.StringPtrInput `pulumi:"unlockAccountUrl"` + UsernameInfoTip pulumi.StringPtrInput `pulumi:"usernameInfoTip"` + UsernameLabel pulumi.StringPtrInput `pulumi:"usernameLabel"` + WidgetGeneration pulumi.StringInput `pulumi:"widgetGeneration"` } -func (EntitlementBundleTargetArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementBundleTarget)(nil)).Elem() +func (PreviewSigninPageWidgetCustomizationsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PreviewSigninPageWidgetCustomizations)(nil)).Elem() } -func (i EntitlementBundleTargetArgs) ToEntitlementBundleTargetOutput() EntitlementBundleTargetOutput { - return i.ToEntitlementBundleTargetOutputWithContext(context.Background()) +func (i PreviewSigninPageWidgetCustomizationsArgs) ToPreviewSigninPageWidgetCustomizationsOutput() PreviewSigninPageWidgetCustomizationsOutput { + return i.ToPreviewSigninPageWidgetCustomizationsOutputWithContext(context.Background()) } -func (i EntitlementBundleTargetArgs) ToEntitlementBundleTargetOutputWithContext(ctx context.Context) EntitlementBundleTargetOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleTargetOutput) +func (i PreviewSigninPageWidgetCustomizationsArgs) ToPreviewSigninPageWidgetCustomizationsOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageWidgetCustomizationsOutput) } -func (i EntitlementBundleTargetArgs) ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput { - return i.ToEntitlementBundleTargetPtrOutputWithContext(context.Background()) +func (i PreviewSigninPageWidgetCustomizationsArgs) ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput { + return i.ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) } -func (i EntitlementBundleTargetArgs) ToEntitlementBundleTargetPtrOutputWithContext(ctx context.Context) EntitlementBundleTargetPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleTargetOutput).ToEntitlementBundleTargetPtrOutputWithContext(ctx) +func (i PreviewSigninPageWidgetCustomizationsArgs) ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageWidgetCustomizationsOutput).ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx) } -// EntitlementBundleTargetPtrInput is an input type that accepts EntitlementBundleTargetArgs, EntitlementBundleTargetPtr and EntitlementBundleTargetPtrOutput values. -// You can construct a concrete instance of `EntitlementBundleTargetPtrInput` via: +// PreviewSigninPageWidgetCustomizationsPtrInput is an input type that accepts PreviewSigninPageWidgetCustomizationsArgs, PreviewSigninPageWidgetCustomizationsPtr and PreviewSigninPageWidgetCustomizationsPtrOutput values. +// You can construct a concrete instance of `PreviewSigninPageWidgetCustomizationsPtrInput` via: // -// EntitlementBundleTargetArgs{...} +// PreviewSigninPageWidgetCustomizationsArgs{...} // // or: // // nil -type EntitlementBundleTargetPtrInput interface { +type PreviewSigninPageWidgetCustomizationsPtrInput interface { pulumi.Input - ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput - ToEntitlementBundleTargetPtrOutputWithContext(context.Context) EntitlementBundleTargetPtrOutput + ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput + ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput } -type entitlementBundleTargetPtrType EntitlementBundleTargetArgs +type previewSigninPageWidgetCustomizationsPtrType PreviewSigninPageWidgetCustomizationsArgs -func EntitlementBundleTargetPtr(v *EntitlementBundleTargetArgs) EntitlementBundleTargetPtrInput { - return (*entitlementBundleTargetPtrType)(v) +func PreviewSigninPageWidgetCustomizationsPtr(v *PreviewSigninPageWidgetCustomizationsArgs) PreviewSigninPageWidgetCustomizationsPtrInput { + return (*previewSigninPageWidgetCustomizationsPtrType)(v) } -func (*entitlementBundleTargetPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**EntitlementBundleTarget)(nil)).Elem() +func (*previewSigninPageWidgetCustomizationsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PreviewSigninPageWidgetCustomizations)(nil)).Elem() } -func (i *entitlementBundleTargetPtrType) ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput { - return i.ToEntitlementBundleTargetPtrOutputWithContext(context.Background()) +func (i *previewSigninPageWidgetCustomizationsPtrType) ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput { + return i.ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) } -func (i *entitlementBundleTargetPtrType) ToEntitlementBundleTargetPtrOutputWithContext(ctx context.Context) EntitlementBundleTargetPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementBundleTargetPtrOutput) +func (i *previewSigninPageWidgetCustomizationsPtrType) ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageWidgetCustomizationsPtrOutput) } -type EntitlementBundleTargetOutput struct{ *pulumi.OutputState } +type PreviewSigninPageWidgetCustomizationsOutput struct{ *pulumi.OutputState } -func (EntitlementBundleTargetOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementBundleTarget)(nil)).Elem() +func (PreviewSigninPageWidgetCustomizationsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PreviewSigninPageWidgetCustomizations)(nil)).Elem() } -func (o EntitlementBundleTargetOutput) ToEntitlementBundleTargetOutput() EntitlementBundleTargetOutput { +func (o PreviewSigninPageWidgetCustomizationsOutput) ToPreviewSigninPageWidgetCustomizationsOutput() PreviewSigninPageWidgetCustomizationsOutput { return o } -func (o EntitlementBundleTargetOutput) ToEntitlementBundleTargetOutputWithContext(ctx context.Context) EntitlementBundleTargetOutput { +func (o PreviewSigninPageWidgetCustomizationsOutput) ToPreviewSigninPageWidgetCustomizationsOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsOutput { return o } -func (o EntitlementBundleTargetOutput) ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput { - return o.ToEntitlementBundleTargetPtrOutputWithContext(context.Background()) +func (o PreviewSigninPageWidgetCustomizationsOutput) ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput { + return o.ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) } -func (o EntitlementBundleTargetOutput) ToEntitlementBundleTargetPtrOutputWithContext(ctx context.Context) EntitlementBundleTargetPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v EntitlementBundleTarget) *EntitlementBundleTarget { +func (o PreviewSigninPageWidgetCustomizationsOutput) ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PreviewSigninPageWidgetCustomizations) *PreviewSigninPageWidgetCustomizations { return &v - }).(EntitlementBundleTargetPtrOutput) + }).(PreviewSigninPageWidgetCustomizationsPtrOutput) } -// The Okta app ID of the resource. -func (o EntitlementBundleTargetOutput) ExternalId() pulumi.StringOutput { - return o.ApplyT(func(v EntitlementBundleTarget) string { return v.ExternalId }).(pulumi.StringOutput) +func (o PreviewSigninPageWidgetCustomizationsOutput) AuthenticatorPageCustomLinkLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.AuthenticatorPageCustomLinkLabel }).(pulumi.StringPtrOutput) } -// The type of resource. -func (o EntitlementBundleTargetOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v EntitlementBundleTarget) string { return v.Type }).(pulumi.StringOutput) +func (o PreviewSigninPageWidgetCustomizationsOutput) AuthenticatorPageCustomLinkUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.AuthenticatorPageCustomLinkUrl }).(pulumi.StringPtrOutput) } -type EntitlementBundleTargetPtrOutput struct{ *pulumi.OutputState } +func (o PreviewSigninPageWidgetCustomizationsOutput) ClassicRecoveryFlowEmailOrUsernameLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { + return v.ClassicRecoveryFlowEmailOrUsernameLabel + }).(pulumi.StringPtrOutput) +} -func (EntitlementBundleTargetPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**EntitlementBundleTarget)(nil)).Elem() +func (o PreviewSigninPageWidgetCustomizationsOutput) CustomLink1Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.CustomLink1Label }).(pulumi.StringPtrOutput) } -func (o EntitlementBundleTargetPtrOutput) ToEntitlementBundleTargetPtrOutput() EntitlementBundleTargetPtrOutput { - return o +func (o PreviewSigninPageWidgetCustomizationsOutput) CustomLink1Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.CustomLink1Url }).(pulumi.StringPtrOutput) } -func (o EntitlementBundleTargetPtrOutput) ToEntitlementBundleTargetPtrOutputWithContext(ctx context.Context) EntitlementBundleTargetPtrOutput { - return o +func (o PreviewSigninPageWidgetCustomizationsOutput) CustomLink2Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.CustomLink2Label }).(pulumi.StringPtrOutput) } -func (o EntitlementBundleTargetPtrOutput) Elem() EntitlementBundleTargetOutput { - return o.ApplyT(func(v *EntitlementBundleTarget) EntitlementBundleTarget { - if v != nil { - return *v - } - var ret EntitlementBundleTarget - return ret - }).(EntitlementBundleTargetOutput) +func (o PreviewSigninPageWidgetCustomizationsOutput) CustomLink2Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.CustomLink2Url }).(pulumi.StringPtrOutput) } -// The Okta app ID of the resource. -func (o EntitlementBundleTargetPtrOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EntitlementBundleTarget) *string { - if v == nil { - return nil - } - return &v.ExternalId - }).(pulumi.StringPtrOutput) +func (o PreviewSigninPageWidgetCustomizationsOutput) ForgotPasswordLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.ForgotPasswordLabel }).(pulumi.StringPtrOutput) } -// The type of resource. -func (o EntitlementBundleTargetPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EntitlementBundleTarget) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) +func (o PreviewSigninPageWidgetCustomizationsOutput) ForgotPasswordUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.ForgotPasswordUrl }).(pulumi.StringPtrOutput) } -type EntitlementParent struct { - // The Okta app ID of the resource. - ExternalId string `pulumi:"externalId"` - // The type of resource. - Type string `pulumi:"type"` +func (o PreviewSigninPageWidgetCustomizationsOutput) HelpLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.HelpLabel }).(pulumi.StringPtrOutput) } -// EntitlementParentInput is an input type that accepts EntitlementParentArgs and EntitlementParentOutput values. -// You can construct a concrete instance of `EntitlementParentInput` via: -// -// EntitlementParentArgs{...} -type EntitlementParentInput interface { - pulumi.Input +func (o PreviewSigninPageWidgetCustomizationsOutput) HelpUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.HelpUrl }).(pulumi.StringPtrOutput) +} - ToEntitlementParentOutput() EntitlementParentOutput - ToEntitlementParentOutputWithContext(context.Context) EntitlementParentOutput +func (o PreviewSigninPageWidgetCustomizationsOutput) PasswordInfoTip() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.PasswordInfoTip }).(pulumi.StringPtrOutput) } -type EntitlementParentArgs struct { - // The Okta app ID of the resource. - ExternalId pulumi.StringInput `pulumi:"externalId"` - // The type of resource. - Type pulumi.StringInput `pulumi:"type"` +func (o PreviewSigninPageWidgetCustomizationsOutput) PasswordLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.PasswordLabel }).(pulumi.StringPtrOutput) +} + +func (o PreviewSigninPageWidgetCustomizationsOutput) ShowPasswordVisibilityToggle() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *bool { return v.ShowPasswordVisibilityToggle }).(pulumi.BoolPtrOutput) +} + +func (o PreviewSigninPageWidgetCustomizationsOutput) ShowUserIdentifier() pulumi.BoolPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *bool { return v.ShowUserIdentifier }).(pulumi.BoolPtrOutput) +} + +func (o PreviewSigninPageWidgetCustomizationsOutput) SignInLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.SignInLabel }).(pulumi.StringPtrOutput) +} + +func (o PreviewSigninPageWidgetCustomizationsOutput) UnlockAccountLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.UnlockAccountLabel }).(pulumi.StringPtrOutput) +} + +func (o PreviewSigninPageWidgetCustomizationsOutput) UnlockAccountUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.UnlockAccountUrl }).(pulumi.StringPtrOutput) +} + +func (o PreviewSigninPageWidgetCustomizationsOutput) UsernameInfoTip() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.UsernameInfoTip }).(pulumi.StringPtrOutput) } -func (EntitlementParentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementParent)(nil)).Elem() +func (o PreviewSigninPageWidgetCustomizationsOutput) UsernameLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.UsernameLabel }).(pulumi.StringPtrOutput) } -func (i EntitlementParentArgs) ToEntitlementParentOutput() EntitlementParentOutput { - return i.ToEntitlementParentOutputWithContext(context.Background()) +func (o PreviewSigninPageWidgetCustomizationsOutput) WidgetGeneration() pulumi.StringOutput { + return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) string { return v.WidgetGeneration }).(pulumi.StringOutput) } -func (i EntitlementParentArgs) ToEntitlementParentOutputWithContext(ctx context.Context) EntitlementParentOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementParentOutput) +type PreviewSigninPageWidgetCustomizationsPtrOutput struct{ *pulumi.OutputState } + +func (PreviewSigninPageWidgetCustomizationsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PreviewSigninPageWidgetCustomizations)(nil)).Elem() } -func (i EntitlementParentArgs) ToEntitlementParentPtrOutput() EntitlementParentPtrOutput { - return i.ToEntitlementParentPtrOutputWithContext(context.Background()) +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput { + return o } -func (i EntitlementParentArgs) ToEntitlementParentPtrOutputWithContext(ctx context.Context) EntitlementParentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementParentOutput).ToEntitlementParentPtrOutputWithContext(ctx) +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput { + return o } -// EntitlementParentPtrInput is an input type that accepts EntitlementParentArgs, EntitlementParentPtr and EntitlementParentPtrOutput values. -// You can construct a concrete instance of `EntitlementParentPtrInput` via: -// -// EntitlementParentArgs{...} -// -// or: -// -// nil -type EntitlementParentPtrInput interface { - pulumi.Input +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) Elem() PreviewSigninPageWidgetCustomizationsOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) PreviewSigninPageWidgetCustomizations { + if v != nil { + return *v + } + var ret PreviewSigninPageWidgetCustomizations + return ret + }).(PreviewSigninPageWidgetCustomizationsOutput) +} - ToEntitlementParentPtrOutput() EntitlementParentPtrOutput - ToEntitlementParentPtrOutputWithContext(context.Context) EntitlementParentPtrOutput +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) AuthenticatorPageCustomLinkLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.AuthenticatorPageCustomLinkLabel + }).(pulumi.StringPtrOutput) } -type entitlementParentPtrType EntitlementParentArgs +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) AuthenticatorPageCustomLinkUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.AuthenticatorPageCustomLinkUrl + }).(pulumi.StringPtrOutput) +} -func EntitlementParentPtr(v *EntitlementParentArgs) EntitlementParentPtrInput { - return (*entitlementParentPtrType)(v) +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ClassicRecoveryFlowEmailOrUsernameLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.ClassicRecoveryFlowEmailOrUsernameLabel + }).(pulumi.StringPtrOutput) } -func (*entitlementParentPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**EntitlementParent)(nil)).Elem() +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) CustomLink1Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.CustomLink1Label + }).(pulumi.StringPtrOutput) } -func (i *entitlementParentPtrType) ToEntitlementParentPtrOutput() EntitlementParentPtrOutput { - return i.ToEntitlementParentPtrOutputWithContext(context.Background()) +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) CustomLink1Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.CustomLink1Url + }).(pulumi.StringPtrOutput) } -func (i *entitlementParentPtrType) ToEntitlementParentPtrOutputWithContext(ctx context.Context) EntitlementParentPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementParentPtrOutput) +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) CustomLink2Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.CustomLink2Label + }).(pulumi.StringPtrOutput) } -type EntitlementParentOutput struct{ *pulumi.OutputState } +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) CustomLink2Url() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.CustomLink2Url + }).(pulumi.StringPtrOutput) +} -func (EntitlementParentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementParent)(nil)).Elem() +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ForgotPasswordLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.ForgotPasswordLabel + }).(pulumi.StringPtrOutput) } -func (o EntitlementParentOutput) ToEntitlementParentOutput() EntitlementParentOutput { - return o +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ForgotPasswordUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.ForgotPasswordUrl + }).(pulumi.StringPtrOutput) } -func (o EntitlementParentOutput) ToEntitlementParentOutputWithContext(ctx context.Context) EntitlementParentOutput { - return o +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) HelpLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.HelpLabel + }).(pulumi.StringPtrOutput) } -func (o EntitlementParentOutput) ToEntitlementParentPtrOutput() EntitlementParentPtrOutput { - return o.ToEntitlementParentPtrOutputWithContext(context.Background()) +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) HelpUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.HelpUrl + }).(pulumi.StringPtrOutput) } -func (o EntitlementParentOutput) ToEntitlementParentPtrOutputWithContext(ctx context.Context) EntitlementParentPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v EntitlementParent) *EntitlementParent { - return &v - }).(EntitlementParentPtrOutput) +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) PasswordInfoTip() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.PasswordInfoTip + }).(pulumi.StringPtrOutput) } -// The Okta app ID of the resource. -func (o EntitlementParentOutput) ExternalId() pulumi.StringOutput { - return o.ApplyT(func(v EntitlementParent) string { return v.ExternalId }).(pulumi.StringOutput) +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) PasswordLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.PasswordLabel + }).(pulumi.StringPtrOutput) } -// The type of resource. -func (o EntitlementParentOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v EntitlementParent) string { return v.Type }).(pulumi.StringOutput) +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ShowPasswordVisibilityToggle() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *bool { + if v == nil { + return nil + } + return v.ShowPasswordVisibilityToggle + }).(pulumi.BoolPtrOutput) } -type EntitlementParentPtrOutput struct{ *pulumi.OutputState } +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ShowUserIdentifier() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *bool { + if v == nil { + return nil + } + return v.ShowUserIdentifier + }).(pulumi.BoolPtrOutput) +} -func (EntitlementParentPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**EntitlementParent)(nil)).Elem() +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) SignInLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.SignInLabel + }).(pulumi.StringPtrOutput) } -func (o EntitlementParentPtrOutput) ToEntitlementParentPtrOutput() EntitlementParentPtrOutput { - return o +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) UnlockAccountLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.UnlockAccountLabel + }).(pulumi.StringPtrOutput) } -func (o EntitlementParentPtrOutput) ToEntitlementParentPtrOutputWithContext(ctx context.Context) EntitlementParentPtrOutput { - return o +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) UnlockAccountUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil + } + return v.UnlockAccountUrl + }).(pulumi.StringPtrOutput) } -func (o EntitlementParentPtrOutput) Elem() EntitlementParentOutput { - return o.ApplyT(func(v *EntitlementParent) EntitlementParent { - if v != nil { - return *v +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) UsernameInfoTip() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { + if v == nil { + return nil } - var ret EntitlementParent - return ret - }).(EntitlementParentOutput) + return v.UsernameInfoTip + }).(pulumi.StringPtrOutput) } -// The Okta app ID of the resource. -func (o EntitlementParentPtrOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EntitlementParent) *string { +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) UsernameLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { if v == nil { return nil } - return &v.ExternalId + return v.UsernameLabel }).(pulumi.StringPtrOutput) } -// The type of resource. -func (o EntitlementParentPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *EntitlementParent) *string { +func (o PreviewSigninPageWidgetCustomizationsPtrOutput) WidgetGeneration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { if v == nil { return nil } - return &v.Type + return &v.WidgetGeneration }).(pulumi.StringPtrOutput) } -type EntitlementValue struct { - // The description of an entitlement value. - Description *string `pulumi:"description"` - // The value of an entitlement property value. - ExternalValue *string `pulumi:"externalValue"` - // Collection of entitlement values. - Id *string `pulumi:"id"` - // The display name for an entitlement value. - Name *string `pulumi:"name"` +type PushGroupAppConfig struct { + DistinguishedName string `pulumi:"distinguishedName"` + GroupScope string `pulumi:"groupScope"` + GroupType string `pulumi:"groupType"` + SamAccountName string `pulumi:"samAccountName"` + Type string `pulumi:"type"` } -// EntitlementValueInput is an input type that accepts EntitlementValueArgs and EntitlementValueOutput values. -// You can construct a concrete instance of `EntitlementValueInput` via: +// PushGroupAppConfigInput is an input type that accepts PushGroupAppConfigArgs and PushGroupAppConfigOutput values. +// You can construct a concrete instance of `PushGroupAppConfigInput` via: // -// EntitlementValueArgs{...} -type EntitlementValueInput interface { +// PushGroupAppConfigArgs{...} +type PushGroupAppConfigInput interface { pulumi.Input - ToEntitlementValueOutput() EntitlementValueOutput - ToEntitlementValueOutputWithContext(context.Context) EntitlementValueOutput + ToPushGroupAppConfigOutput() PushGroupAppConfigOutput + ToPushGroupAppConfigOutputWithContext(context.Context) PushGroupAppConfigOutput } -type EntitlementValueArgs struct { - // The description of an entitlement value. - Description pulumi.StringPtrInput `pulumi:"description"` - // The value of an entitlement property value. - ExternalValue pulumi.StringPtrInput `pulumi:"externalValue"` - // Collection of entitlement values. - Id pulumi.StringPtrInput `pulumi:"id"` - // The display name for an entitlement value. - Name pulumi.StringPtrInput `pulumi:"name"` +type PushGroupAppConfigArgs struct { + DistinguishedName pulumi.StringInput `pulumi:"distinguishedName"` + GroupScope pulumi.StringInput `pulumi:"groupScope"` + GroupType pulumi.StringInput `pulumi:"groupType"` + SamAccountName pulumi.StringInput `pulumi:"samAccountName"` + Type pulumi.StringInput `pulumi:"type"` } -func (EntitlementValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementValue)(nil)).Elem() +func (PushGroupAppConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PushGroupAppConfig)(nil)).Elem() } -func (i EntitlementValueArgs) ToEntitlementValueOutput() EntitlementValueOutput { - return i.ToEntitlementValueOutputWithContext(context.Background()) +func (i PushGroupAppConfigArgs) ToPushGroupAppConfigOutput() PushGroupAppConfigOutput { + return i.ToPushGroupAppConfigOutputWithContext(context.Background()) } -func (i EntitlementValueArgs) ToEntitlementValueOutputWithContext(ctx context.Context) EntitlementValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementValueOutput) +func (i PushGroupAppConfigArgs) ToPushGroupAppConfigOutputWithContext(ctx context.Context) PushGroupAppConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushGroupAppConfigOutput) } -// EntitlementValueArrayInput is an input type that accepts EntitlementValueArray and EntitlementValueArrayOutput values. -// You can construct a concrete instance of `EntitlementValueArrayInput` via: +func (i PushGroupAppConfigArgs) ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput { + return i.ToPushGroupAppConfigPtrOutputWithContext(context.Background()) +} + +func (i PushGroupAppConfigArgs) ToPushGroupAppConfigPtrOutputWithContext(ctx context.Context) PushGroupAppConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushGroupAppConfigOutput).ToPushGroupAppConfigPtrOutputWithContext(ctx) +} + +// PushGroupAppConfigPtrInput is an input type that accepts PushGroupAppConfigArgs, PushGroupAppConfigPtr and PushGroupAppConfigPtrOutput values. +// You can construct a concrete instance of `PushGroupAppConfigPtrInput` via: // -// EntitlementValueArray{ EntitlementValueArgs{...} } -type EntitlementValueArrayInput interface { +// PushGroupAppConfigArgs{...} +// +// or: +// +// nil +type PushGroupAppConfigPtrInput interface { pulumi.Input - ToEntitlementValueArrayOutput() EntitlementValueArrayOutput - ToEntitlementValueArrayOutputWithContext(context.Context) EntitlementValueArrayOutput + ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput + ToPushGroupAppConfigPtrOutputWithContext(context.Context) PushGroupAppConfigPtrOutput } -type EntitlementValueArray []EntitlementValueInput +type pushGroupAppConfigPtrType PushGroupAppConfigArgs -func (EntitlementValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]EntitlementValue)(nil)).Elem() +func PushGroupAppConfigPtr(v *PushGroupAppConfigArgs) PushGroupAppConfigPtrInput { + return (*pushGroupAppConfigPtrType)(v) } -func (i EntitlementValueArray) ToEntitlementValueArrayOutput() EntitlementValueArrayOutput { - return i.ToEntitlementValueArrayOutputWithContext(context.Background()) +func (*pushGroupAppConfigPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PushGroupAppConfig)(nil)).Elem() } -func (i EntitlementValueArray) ToEntitlementValueArrayOutputWithContext(ctx context.Context) EntitlementValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EntitlementValueArrayOutput) +func (i *pushGroupAppConfigPtrType) ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput { + return i.ToPushGroupAppConfigPtrOutputWithContext(context.Background()) } -type EntitlementValueOutput struct{ *pulumi.OutputState } +func (i *pushGroupAppConfigPtrType) ToPushGroupAppConfigPtrOutputWithContext(ctx context.Context) PushGroupAppConfigPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushGroupAppConfigPtrOutput) +} -func (EntitlementValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EntitlementValue)(nil)).Elem() +type PushGroupAppConfigOutput struct{ *pulumi.OutputState } + +func (PushGroupAppConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PushGroupAppConfig)(nil)).Elem() } -func (o EntitlementValueOutput) ToEntitlementValueOutput() EntitlementValueOutput { +func (o PushGroupAppConfigOutput) ToPushGroupAppConfigOutput() PushGroupAppConfigOutput { return o } -func (o EntitlementValueOutput) ToEntitlementValueOutputWithContext(ctx context.Context) EntitlementValueOutput { +func (o PushGroupAppConfigOutput) ToPushGroupAppConfigOutputWithContext(ctx context.Context) PushGroupAppConfigOutput { return o } -// The description of an entitlement value. -func (o EntitlementValueOutput) Description() pulumi.StringPtrOutput { - return o.ApplyT(func(v EntitlementValue) *string { return v.Description }).(pulumi.StringPtrOutput) +func (o PushGroupAppConfigOutput) ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput { + return o.ToPushGroupAppConfigPtrOutputWithContext(context.Background()) } -// The value of an entitlement property value. -func (o EntitlementValueOutput) ExternalValue() pulumi.StringPtrOutput { - return o.ApplyT(func(v EntitlementValue) *string { return v.ExternalValue }).(pulumi.StringPtrOutput) +func (o PushGroupAppConfigOutput) ToPushGroupAppConfigPtrOutputWithContext(ctx context.Context) PushGroupAppConfigPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PushGroupAppConfig) *PushGroupAppConfig { + return &v + }).(PushGroupAppConfigPtrOutput) } -// Collection of entitlement values. -func (o EntitlementValueOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v EntitlementValue) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o PushGroupAppConfigOutput) DistinguishedName() pulumi.StringOutput { + return o.ApplyT(func(v PushGroupAppConfig) string { return v.DistinguishedName }).(pulumi.StringOutput) } -// The display name for an entitlement value. -func (o EntitlementValueOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v EntitlementValue) *string { return v.Name }).(pulumi.StringPtrOutput) +func (o PushGroupAppConfigOutput) GroupScope() pulumi.StringOutput { + return o.ApplyT(func(v PushGroupAppConfig) string { return v.GroupScope }).(pulumi.StringOutput) } -type EntitlementValueArrayOutput struct{ *pulumi.OutputState } +func (o PushGroupAppConfigOutput) GroupType() pulumi.StringOutput { + return o.ApplyT(func(v PushGroupAppConfig) string { return v.GroupType }).(pulumi.StringOutput) +} -func (EntitlementValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EntitlementValue)(nil)).Elem() +func (o PushGroupAppConfigOutput) SamAccountName() pulumi.StringOutput { + return o.ApplyT(func(v PushGroupAppConfig) string { return v.SamAccountName }).(pulumi.StringOutput) } -func (o EntitlementValueArrayOutput) ToEntitlementValueArrayOutput() EntitlementValueArrayOutput { +func (o PushGroupAppConfigOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v PushGroupAppConfig) string { return v.Type }).(pulumi.StringOutput) +} + +type PushGroupAppConfigPtrOutput struct{ *pulumi.OutputState } + +func (PushGroupAppConfigPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PushGroupAppConfig)(nil)).Elem() +} + +func (o PushGroupAppConfigPtrOutput) ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput { return o } -func (o EntitlementValueArrayOutput) ToEntitlementValueArrayOutputWithContext(ctx context.Context) EntitlementValueArrayOutput { +func (o PushGroupAppConfigPtrOutput) ToPushGroupAppConfigPtrOutputWithContext(ctx context.Context) PushGroupAppConfigPtrOutput { return o } -func (o EntitlementValueArrayOutput) Index(i pulumi.IntInput) EntitlementValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EntitlementValue { - return vs[0].([]EntitlementValue)[vs[1].(int)] - }).(EntitlementValueOutput) +func (o PushGroupAppConfigPtrOutput) Elem() PushGroupAppConfigOutput { + return o.ApplyT(func(v *PushGroupAppConfig) PushGroupAppConfig { + if v != nil { + return *v + } + var ret PushGroupAppConfig + return ret + }).(PushGroupAppConfigOutput) } -type EventHookHeader struct { - Key *string `pulumi:"key"` - Value *string `pulumi:"value"` +func (o PushGroupAppConfigPtrOutput) DistinguishedName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushGroupAppConfig) *string { + if v == nil { + return nil + } + return &v.DistinguishedName + }).(pulumi.StringPtrOutput) } -// EventHookHeaderInput is an input type that accepts EventHookHeaderArgs and EventHookHeaderOutput values. -// You can construct a concrete instance of `EventHookHeaderInput` via: +func (o PushGroupAppConfigPtrOutput) GroupScope() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushGroupAppConfig) *string { + if v == nil { + return nil + } + return &v.GroupScope + }).(pulumi.StringPtrOutput) +} + +func (o PushGroupAppConfigPtrOutput) GroupType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushGroupAppConfig) *string { + if v == nil { + return nil + } + return &v.GroupType + }).(pulumi.StringPtrOutput) +} + +func (o PushGroupAppConfigPtrOutput) SamAccountName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushGroupAppConfig) *string { + if v == nil { + return nil + } + return &v.SamAccountName + }).(pulumi.StringPtrOutput) +} + +func (o PushGroupAppConfigPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushGroupAppConfig) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type PushProviderConfiguration struct { + ApnsConfiguration *PushProviderConfigurationApnsConfiguration `pulumi:"apnsConfiguration"` + FcmConfiguration *PushProviderConfigurationFcmConfiguration `pulumi:"fcmConfiguration"` +} + +// PushProviderConfigurationInput is an input type that accepts PushProviderConfigurationArgs and PushProviderConfigurationOutput values. +// You can construct a concrete instance of `PushProviderConfigurationInput` via: // -// EventHookHeaderArgs{...} -type EventHookHeaderInput interface { +// PushProviderConfigurationArgs{...} +type PushProviderConfigurationInput interface { pulumi.Input - ToEventHookHeaderOutput() EventHookHeaderOutput - ToEventHookHeaderOutputWithContext(context.Context) EventHookHeaderOutput + ToPushProviderConfigurationOutput() PushProviderConfigurationOutput + ToPushProviderConfigurationOutputWithContext(context.Context) PushProviderConfigurationOutput } -type EventHookHeaderArgs struct { - Key pulumi.StringPtrInput `pulumi:"key"` - Value pulumi.StringPtrInput `pulumi:"value"` +type PushProviderConfigurationArgs struct { + ApnsConfiguration PushProviderConfigurationApnsConfigurationPtrInput `pulumi:"apnsConfiguration"` + FcmConfiguration PushProviderConfigurationFcmConfigurationPtrInput `pulumi:"fcmConfiguration"` } -func (EventHookHeaderArgs) ElementType() reflect.Type { - return reflect.TypeOf((*EventHookHeader)(nil)).Elem() +func (PushProviderConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PushProviderConfiguration)(nil)).Elem() } -func (i EventHookHeaderArgs) ToEventHookHeaderOutput() EventHookHeaderOutput { - return i.ToEventHookHeaderOutputWithContext(context.Background()) +func (i PushProviderConfigurationArgs) ToPushProviderConfigurationOutput() PushProviderConfigurationOutput { + return i.ToPushProviderConfigurationOutputWithContext(context.Background()) } -func (i EventHookHeaderArgs) ToEventHookHeaderOutputWithContext(ctx context.Context) EventHookHeaderOutput { - return pulumi.ToOutputWithContext(ctx, i).(EventHookHeaderOutput) +func (i PushProviderConfigurationArgs) ToPushProviderConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationOutput) } -// EventHookHeaderArrayInput is an input type that accepts EventHookHeaderArray and EventHookHeaderArrayOutput values. -// You can construct a concrete instance of `EventHookHeaderArrayInput` via: +func (i PushProviderConfigurationArgs) ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput { + return i.ToPushProviderConfigurationPtrOutputWithContext(context.Background()) +} + +func (i PushProviderConfigurationArgs) ToPushProviderConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationOutput).ToPushProviderConfigurationPtrOutputWithContext(ctx) +} + +// PushProviderConfigurationPtrInput is an input type that accepts PushProviderConfigurationArgs, PushProviderConfigurationPtr and PushProviderConfigurationPtrOutput values. +// You can construct a concrete instance of `PushProviderConfigurationPtrInput` via: // -// EventHookHeaderArray{ EventHookHeaderArgs{...} } -type EventHookHeaderArrayInput interface { +// PushProviderConfigurationArgs{...} +// +// or: +// +// nil +type PushProviderConfigurationPtrInput interface { pulumi.Input - ToEventHookHeaderArrayOutput() EventHookHeaderArrayOutput - ToEventHookHeaderArrayOutputWithContext(context.Context) EventHookHeaderArrayOutput + ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput + ToPushProviderConfigurationPtrOutputWithContext(context.Context) PushProviderConfigurationPtrOutput } -type EventHookHeaderArray []EventHookHeaderInput +type pushProviderConfigurationPtrType PushProviderConfigurationArgs -func (EventHookHeaderArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]EventHookHeader)(nil)).Elem() +func PushProviderConfigurationPtr(v *PushProviderConfigurationArgs) PushProviderConfigurationPtrInput { + return (*pushProviderConfigurationPtrType)(v) } -func (i EventHookHeaderArray) ToEventHookHeaderArrayOutput() EventHookHeaderArrayOutput { - return i.ToEventHookHeaderArrayOutputWithContext(context.Background()) +func (*pushProviderConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PushProviderConfiguration)(nil)).Elem() } -func (i EventHookHeaderArray) ToEventHookHeaderArrayOutputWithContext(ctx context.Context) EventHookHeaderArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(EventHookHeaderArrayOutput) +func (i *pushProviderConfigurationPtrType) ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput { + return i.ToPushProviderConfigurationPtrOutputWithContext(context.Background()) +} + +func (i *pushProviderConfigurationPtrType) ToPushProviderConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationPtrOutput) } -type EventHookHeaderOutput struct{ *pulumi.OutputState } +type PushProviderConfigurationOutput struct{ *pulumi.OutputState } -func (EventHookHeaderOutput) ElementType() reflect.Type { - return reflect.TypeOf((*EventHookHeader)(nil)).Elem() +func (PushProviderConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PushProviderConfiguration)(nil)).Elem() } -func (o EventHookHeaderOutput) ToEventHookHeaderOutput() EventHookHeaderOutput { +func (o PushProviderConfigurationOutput) ToPushProviderConfigurationOutput() PushProviderConfigurationOutput { return o } -func (o EventHookHeaderOutput) ToEventHookHeaderOutputWithContext(ctx context.Context) EventHookHeaderOutput { +func (o PushProviderConfigurationOutput) ToPushProviderConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationOutput { return o } -func (o EventHookHeaderOutput) Key() pulumi.StringPtrOutput { - return o.ApplyT(func(v EventHookHeader) *string { return v.Key }).(pulumi.StringPtrOutput) +func (o PushProviderConfigurationOutput) ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput { + return o.ToPushProviderConfigurationPtrOutputWithContext(context.Background()) } -func (o EventHookHeaderOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v EventHookHeader) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o PushProviderConfigurationOutput) ToPushProviderConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PushProviderConfiguration) *PushProviderConfiguration { + return &v + }).(PushProviderConfigurationPtrOutput) } -type EventHookHeaderArrayOutput struct{ *pulumi.OutputState } +func (o PushProviderConfigurationOutput) ApnsConfiguration() PushProviderConfigurationApnsConfigurationPtrOutput { + return o.ApplyT(func(v PushProviderConfiguration) *PushProviderConfigurationApnsConfiguration { + return v.ApnsConfiguration + }).(PushProviderConfigurationApnsConfigurationPtrOutput) +} -func (EventHookHeaderArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]EventHookHeader)(nil)).Elem() +func (o PushProviderConfigurationOutput) FcmConfiguration() PushProviderConfigurationFcmConfigurationPtrOutput { + return o.ApplyT(func(v PushProviderConfiguration) *PushProviderConfigurationFcmConfiguration { + return v.FcmConfiguration + }).(PushProviderConfigurationFcmConfigurationPtrOutput) } -func (o EventHookHeaderArrayOutput) ToEventHookHeaderArrayOutput() EventHookHeaderArrayOutput { +type PushProviderConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (PushProviderConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PushProviderConfiguration)(nil)).Elem() +} + +func (o PushProviderConfigurationPtrOutput) ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput { return o } -func (o EventHookHeaderArrayOutput) ToEventHookHeaderArrayOutputWithContext(ctx context.Context) EventHookHeaderArrayOutput { +func (o PushProviderConfigurationPtrOutput) ToPushProviderConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationPtrOutput { return o } -func (o EventHookHeaderArrayOutput) Index(i pulumi.IntInput) EventHookHeaderOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) EventHookHeader { - return vs[0].([]EventHookHeader)[vs[1].(int)] - }).(EventHookHeaderOutput) +func (o PushProviderConfigurationPtrOutput) Elem() PushProviderConfigurationOutput { + return o.ApplyT(func(v *PushProviderConfiguration) PushProviderConfiguration { + if v != nil { + return *v + } + var ret PushProviderConfiguration + return ret + }).(PushProviderConfigurationOutput) } -type FeatureStage struct { - State string `pulumi:"state"` - Value string `pulumi:"value"` +func (o PushProviderConfigurationPtrOutput) ApnsConfiguration() PushProviderConfigurationApnsConfigurationPtrOutput { + return o.ApplyT(func(v *PushProviderConfiguration) *PushProviderConfigurationApnsConfiguration { + if v == nil { + return nil + } + return v.ApnsConfiguration + }).(PushProviderConfigurationApnsConfigurationPtrOutput) } -// FeatureStageInput is an input type that accepts FeatureStageArgs and FeatureStageOutput values. -// You can construct a concrete instance of `FeatureStageInput` via: +func (o PushProviderConfigurationPtrOutput) FcmConfiguration() PushProviderConfigurationFcmConfigurationPtrOutput { + return o.ApplyT(func(v *PushProviderConfiguration) *PushProviderConfigurationFcmConfiguration { + if v == nil { + return nil + } + return v.FcmConfiguration + }).(PushProviderConfigurationFcmConfigurationPtrOutput) +} + +type PushProviderConfigurationApnsConfiguration struct { + // File name for Admin Console display. + FileName *string `pulumi:"fileName"` + // 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + KeyId *string `pulumi:"keyId"` + // 10-character Team ID used to develop the iOS app. Required for APNS provider type. + TeamId *string `pulumi:"teamId"` + // APNs private authentication token signing key. Required for APNS provider type. + TokenSigningKey *string `pulumi:"tokenSigningKey"` +} + +// PushProviderConfigurationApnsConfigurationInput is an input type that accepts PushProviderConfigurationApnsConfigurationArgs and PushProviderConfigurationApnsConfigurationOutput values. +// You can construct a concrete instance of `PushProviderConfigurationApnsConfigurationInput` via: // -// FeatureStageArgs{...} -type FeatureStageInput interface { +// PushProviderConfigurationApnsConfigurationArgs{...} +type PushProviderConfigurationApnsConfigurationInput interface { pulumi.Input - ToFeatureStageOutput() FeatureStageOutput - ToFeatureStageOutputWithContext(context.Context) FeatureStageOutput + ToPushProviderConfigurationApnsConfigurationOutput() PushProviderConfigurationApnsConfigurationOutput + ToPushProviderConfigurationApnsConfigurationOutputWithContext(context.Context) PushProviderConfigurationApnsConfigurationOutput } -type FeatureStageArgs struct { - State pulumi.StringInput `pulumi:"state"` - Value pulumi.StringInput `pulumi:"value"` +type PushProviderConfigurationApnsConfigurationArgs struct { + // File name for Admin Console display. + FileName pulumi.StringPtrInput `pulumi:"fileName"` + // 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + KeyId pulumi.StringPtrInput `pulumi:"keyId"` + // 10-character Team ID used to develop the iOS app. Required for APNS provider type. + TeamId pulumi.StringPtrInput `pulumi:"teamId"` + // APNs private authentication token signing key. Required for APNS provider type. + TokenSigningKey pulumi.StringPtrInput `pulumi:"tokenSigningKey"` } -func (FeatureStageArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FeatureStage)(nil)).Elem() +func (PushProviderConfigurationApnsConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PushProviderConfigurationApnsConfiguration)(nil)).Elem() } -func (i FeatureStageArgs) ToFeatureStageOutput() FeatureStageOutput { - return i.ToFeatureStageOutputWithContext(context.Background()) +func (i PushProviderConfigurationApnsConfigurationArgs) ToPushProviderConfigurationApnsConfigurationOutput() PushProviderConfigurationApnsConfigurationOutput { + return i.ToPushProviderConfigurationApnsConfigurationOutputWithContext(context.Background()) } -func (i FeatureStageArgs) ToFeatureStageOutputWithContext(ctx context.Context) FeatureStageOutput { - return pulumi.ToOutputWithContext(ctx, i).(FeatureStageOutput) +func (i PushProviderConfigurationApnsConfigurationArgs) ToPushProviderConfigurationApnsConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationApnsConfigurationOutput) } -func (i FeatureStageArgs) ToFeatureStagePtrOutput() FeatureStagePtrOutput { - return i.ToFeatureStagePtrOutputWithContext(context.Background()) +func (i PushProviderConfigurationApnsConfigurationArgs) ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput { + return i.ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(context.Background()) } -func (i FeatureStageArgs) ToFeatureStagePtrOutputWithContext(ctx context.Context) FeatureStagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FeatureStageOutput).ToFeatureStagePtrOutputWithContext(ctx) +func (i PushProviderConfigurationApnsConfigurationArgs) ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationApnsConfigurationOutput).ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx) } -// FeatureStagePtrInput is an input type that accepts FeatureStageArgs, FeatureStagePtr and FeatureStagePtrOutput values. -// You can construct a concrete instance of `FeatureStagePtrInput` via: +// PushProviderConfigurationApnsConfigurationPtrInput is an input type that accepts PushProviderConfigurationApnsConfigurationArgs, PushProviderConfigurationApnsConfigurationPtr and PushProviderConfigurationApnsConfigurationPtrOutput values. +// You can construct a concrete instance of `PushProviderConfigurationApnsConfigurationPtrInput` via: // -// FeatureStageArgs{...} +// PushProviderConfigurationApnsConfigurationArgs{...} // // or: // // nil -type FeatureStagePtrInput interface { +type PushProviderConfigurationApnsConfigurationPtrInput interface { pulumi.Input - ToFeatureStagePtrOutput() FeatureStagePtrOutput - ToFeatureStagePtrOutputWithContext(context.Context) FeatureStagePtrOutput + ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput + ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(context.Context) PushProviderConfigurationApnsConfigurationPtrOutput } -type featureStagePtrType FeatureStageArgs +type pushProviderConfigurationApnsConfigurationPtrType PushProviderConfigurationApnsConfigurationArgs -func FeatureStagePtr(v *FeatureStageArgs) FeatureStagePtrInput { - return (*featureStagePtrType)(v) +func PushProviderConfigurationApnsConfigurationPtr(v *PushProviderConfigurationApnsConfigurationArgs) PushProviderConfigurationApnsConfigurationPtrInput { + return (*pushProviderConfigurationApnsConfigurationPtrType)(v) } -func (*featureStagePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**FeatureStage)(nil)).Elem() +func (*pushProviderConfigurationApnsConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PushProviderConfigurationApnsConfiguration)(nil)).Elem() } -func (i *featureStagePtrType) ToFeatureStagePtrOutput() FeatureStagePtrOutput { - return i.ToFeatureStagePtrOutputWithContext(context.Background()) +func (i *pushProviderConfigurationApnsConfigurationPtrType) ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput { + return i.ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(context.Background()) } -func (i *featureStagePtrType) ToFeatureStagePtrOutputWithContext(ctx context.Context) FeatureStagePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FeatureStagePtrOutput) +func (i *pushProviderConfigurationApnsConfigurationPtrType) ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationApnsConfigurationPtrOutput) } -type FeatureStageOutput struct{ *pulumi.OutputState } +type PushProviderConfigurationApnsConfigurationOutput struct{ *pulumi.OutputState } -func (FeatureStageOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FeatureStage)(nil)).Elem() +func (PushProviderConfigurationApnsConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PushProviderConfigurationApnsConfiguration)(nil)).Elem() } -func (o FeatureStageOutput) ToFeatureStageOutput() FeatureStageOutput { +func (o PushProviderConfigurationApnsConfigurationOutput) ToPushProviderConfigurationApnsConfigurationOutput() PushProviderConfigurationApnsConfigurationOutput { return o } -func (o FeatureStageOutput) ToFeatureStageOutputWithContext(ctx context.Context) FeatureStageOutput { +func (o PushProviderConfigurationApnsConfigurationOutput) ToPushProviderConfigurationApnsConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationOutput { return o } -func (o FeatureStageOutput) ToFeatureStagePtrOutput() FeatureStagePtrOutput { - return o.ToFeatureStagePtrOutputWithContext(context.Background()) +func (o PushProviderConfigurationApnsConfigurationOutput) ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput { + return o.ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(context.Background()) } -func (o FeatureStageOutput) ToFeatureStagePtrOutputWithContext(ctx context.Context) FeatureStagePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v FeatureStage) *FeatureStage { +func (o PushProviderConfigurationApnsConfigurationOutput) ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PushProviderConfigurationApnsConfiguration) *PushProviderConfigurationApnsConfiguration { return &v - }).(FeatureStagePtrOutput) + }).(PushProviderConfigurationApnsConfigurationPtrOutput) } -func (o FeatureStageOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v FeatureStage) string { return v.State }).(pulumi.StringOutput) +// File name for Admin Console display. +func (o PushProviderConfigurationApnsConfigurationOutput) FileName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationApnsConfiguration) *string { return v.FileName }).(pulumi.StringPtrOutput) } -func (o FeatureStageOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v FeatureStage) string { return v.Value }).(pulumi.StringOutput) +// 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. +func (o PushProviderConfigurationApnsConfigurationOutput) KeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationApnsConfiguration) *string { return v.KeyId }).(pulumi.StringPtrOutput) } -type FeatureStagePtrOutput struct{ *pulumi.OutputState } +// 10-character Team ID used to develop the iOS app. Required for APNS provider type. +func (o PushProviderConfigurationApnsConfigurationOutput) TeamId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationApnsConfiguration) *string { return v.TeamId }).(pulumi.StringPtrOutput) +} -func (FeatureStagePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FeatureStage)(nil)).Elem() +// APNs private authentication token signing key. Required for APNS provider type. +func (o PushProviderConfigurationApnsConfigurationOutput) TokenSigningKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationApnsConfiguration) *string { return v.TokenSigningKey }).(pulumi.StringPtrOutput) } -func (o FeatureStagePtrOutput) ToFeatureStagePtrOutput() FeatureStagePtrOutput { +type PushProviderConfigurationApnsConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (PushProviderConfigurationApnsConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PushProviderConfigurationApnsConfiguration)(nil)).Elem() +} + +func (o PushProviderConfigurationApnsConfigurationPtrOutput) ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput { return o } -func (o FeatureStagePtrOutput) ToFeatureStagePtrOutputWithContext(ctx context.Context) FeatureStagePtrOutput { +func (o PushProviderConfigurationApnsConfigurationPtrOutput) ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationPtrOutput { return o } -func (o FeatureStagePtrOutput) Elem() FeatureStageOutput { - return o.ApplyT(func(v *FeatureStage) FeatureStage { +func (o PushProviderConfigurationApnsConfigurationPtrOutput) Elem() PushProviderConfigurationApnsConfigurationOutput { + return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) PushProviderConfigurationApnsConfiguration { if v != nil { return *v } - var ret FeatureStage + var ret PushProviderConfigurationApnsConfiguration return ret - }).(FeatureStageOutput) + }).(PushProviderConfigurationApnsConfigurationOutput) } -func (o FeatureStagePtrOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FeatureStage) *string { +// File name for Admin Console display. +func (o PushProviderConfigurationApnsConfigurationPtrOutput) FileName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) *string { if v == nil { return nil } - return &v.State + return v.FileName }).(pulumi.StringPtrOutput) } -func (o FeatureStagePtrOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FeatureStage) *string { +// 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. +func (o PushProviderConfigurationApnsConfigurationPtrOutput) KeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) *string { if v == nil { return nil } - return &v.Value + return v.KeyId }).(pulumi.StringPtrOutput) } -type GroupSchemaPropertyArrayOneOf struct { - // Value mapping to member of `arrayEnum` - Const string `pulumi:"const"` - // Display name for the enum value. - Title string `pulumi:"title"` +// 10-character Team ID used to develop the iOS app. Required for APNS provider type. +func (o PushProviderConfigurationApnsConfigurationPtrOutput) TeamId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) *string { + if v == nil { + return nil + } + return v.TeamId + }).(pulumi.StringPtrOutput) +} + +// APNs private authentication token signing key. Required for APNS provider type. +func (o PushProviderConfigurationApnsConfigurationPtrOutput) TokenSigningKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) *string { + if v == nil { + return nil + } + return v.TokenSigningKey + }).(pulumi.StringPtrOutput) +} + +type PushProviderConfigurationFcmConfiguration struct { + // JSON containing the private service account key and service account details. Required for FCM provider type. + ServiceAccountJson *PushProviderConfigurationFcmConfigurationServiceAccountJson `pulumi:"serviceAccountJson"` } -// GroupSchemaPropertyArrayOneOfInput is an input type that accepts GroupSchemaPropertyArrayOneOfArgs and GroupSchemaPropertyArrayOneOfOutput values. -// You can construct a concrete instance of `GroupSchemaPropertyArrayOneOfInput` via: +// PushProviderConfigurationFcmConfigurationInput is an input type that accepts PushProviderConfigurationFcmConfigurationArgs and PushProviderConfigurationFcmConfigurationOutput values. +// You can construct a concrete instance of `PushProviderConfigurationFcmConfigurationInput` via: // -// GroupSchemaPropertyArrayOneOfArgs{...} -type GroupSchemaPropertyArrayOneOfInput interface { +// PushProviderConfigurationFcmConfigurationArgs{...} +type PushProviderConfigurationFcmConfigurationInput interface { pulumi.Input - ToGroupSchemaPropertyArrayOneOfOutput() GroupSchemaPropertyArrayOneOfOutput - ToGroupSchemaPropertyArrayOneOfOutputWithContext(context.Context) GroupSchemaPropertyArrayOneOfOutput + ToPushProviderConfigurationFcmConfigurationOutput() PushProviderConfigurationFcmConfigurationOutput + ToPushProviderConfigurationFcmConfigurationOutputWithContext(context.Context) PushProviderConfigurationFcmConfigurationOutput } -type GroupSchemaPropertyArrayOneOfArgs struct { - // Value mapping to member of `arrayEnum` - Const pulumi.StringInput `pulumi:"const"` - // Display name for the enum value. - Title pulumi.StringInput `pulumi:"title"` +type PushProviderConfigurationFcmConfigurationArgs struct { + // JSON containing the private service account key and service account details. Required for FCM provider type. + ServiceAccountJson PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput `pulumi:"serviceAccountJson"` } -func (GroupSchemaPropertyArrayOneOfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GroupSchemaPropertyArrayOneOf)(nil)).Elem() +func (PushProviderConfigurationFcmConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PushProviderConfigurationFcmConfiguration)(nil)).Elem() } -func (i GroupSchemaPropertyArrayOneOfArgs) ToGroupSchemaPropertyArrayOneOfOutput() GroupSchemaPropertyArrayOneOfOutput { - return i.ToGroupSchemaPropertyArrayOneOfOutputWithContext(context.Background()) +func (i PushProviderConfigurationFcmConfigurationArgs) ToPushProviderConfigurationFcmConfigurationOutput() PushProviderConfigurationFcmConfigurationOutput { + return i.ToPushProviderConfigurationFcmConfigurationOutputWithContext(context.Background()) } -func (i GroupSchemaPropertyArrayOneOfArgs) ToGroupSchemaPropertyArrayOneOfOutputWithContext(ctx context.Context) GroupSchemaPropertyArrayOneOfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyArrayOneOfOutput) +func (i PushProviderConfigurationFcmConfigurationArgs) ToPushProviderConfigurationFcmConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationOutput) } -// GroupSchemaPropertyArrayOneOfArrayInput is an input type that accepts GroupSchemaPropertyArrayOneOfArray and GroupSchemaPropertyArrayOneOfArrayOutput values. -// You can construct a concrete instance of `GroupSchemaPropertyArrayOneOfArrayInput` via: +func (i PushProviderConfigurationFcmConfigurationArgs) ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput { + return i.ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(context.Background()) +} + +func (i PushProviderConfigurationFcmConfigurationArgs) ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationOutput).ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx) +} + +// PushProviderConfigurationFcmConfigurationPtrInput is an input type that accepts PushProviderConfigurationFcmConfigurationArgs, PushProviderConfigurationFcmConfigurationPtr and PushProviderConfigurationFcmConfigurationPtrOutput values. +// You can construct a concrete instance of `PushProviderConfigurationFcmConfigurationPtrInput` via: // -// GroupSchemaPropertyArrayOneOfArray{ GroupSchemaPropertyArrayOneOfArgs{...} } -type GroupSchemaPropertyArrayOneOfArrayInput interface { +// PushProviderConfigurationFcmConfigurationArgs{...} +// +// or: +// +// nil +type PushProviderConfigurationFcmConfigurationPtrInput interface { pulumi.Input - ToGroupSchemaPropertyArrayOneOfArrayOutput() GroupSchemaPropertyArrayOneOfArrayOutput - ToGroupSchemaPropertyArrayOneOfArrayOutputWithContext(context.Context) GroupSchemaPropertyArrayOneOfArrayOutput + ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput + ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(context.Context) PushProviderConfigurationFcmConfigurationPtrOutput } -type GroupSchemaPropertyArrayOneOfArray []GroupSchemaPropertyArrayOneOfInput +type pushProviderConfigurationFcmConfigurationPtrType PushProviderConfigurationFcmConfigurationArgs -func (GroupSchemaPropertyArrayOneOfArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GroupSchemaPropertyArrayOneOf)(nil)).Elem() +func PushProviderConfigurationFcmConfigurationPtr(v *PushProviderConfigurationFcmConfigurationArgs) PushProviderConfigurationFcmConfigurationPtrInput { + return (*pushProviderConfigurationFcmConfigurationPtrType)(v) } -func (i GroupSchemaPropertyArrayOneOfArray) ToGroupSchemaPropertyArrayOneOfArrayOutput() GroupSchemaPropertyArrayOneOfArrayOutput { - return i.ToGroupSchemaPropertyArrayOneOfArrayOutputWithContext(context.Background()) +func (*pushProviderConfigurationFcmConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PushProviderConfigurationFcmConfiguration)(nil)).Elem() } -func (i GroupSchemaPropertyArrayOneOfArray) ToGroupSchemaPropertyArrayOneOfArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyArrayOneOfArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyArrayOneOfArrayOutput) +func (i *pushProviderConfigurationFcmConfigurationPtrType) ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput { + return i.ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(context.Background()) } -type GroupSchemaPropertyArrayOneOfOutput struct{ *pulumi.OutputState } +func (i *pushProviderConfigurationFcmConfigurationPtrType) ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationPtrOutput) +} -func (GroupSchemaPropertyArrayOneOfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GroupSchemaPropertyArrayOneOf)(nil)).Elem() +type PushProviderConfigurationFcmConfigurationOutput struct{ *pulumi.OutputState } + +func (PushProviderConfigurationFcmConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PushProviderConfigurationFcmConfiguration)(nil)).Elem() } -func (o GroupSchemaPropertyArrayOneOfOutput) ToGroupSchemaPropertyArrayOneOfOutput() GroupSchemaPropertyArrayOneOfOutput { +func (o PushProviderConfigurationFcmConfigurationOutput) ToPushProviderConfigurationFcmConfigurationOutput() PushProviderConfigurationFcmConfigurationOutput { return o } -func (o GroupSchemaPropertyArrayOneOfOutput) ToGroupSchemaPropertyArrayOneOfOutputWithContext(ctx context.Context) GroupSchemaPropertyArrayOneOfOutput { +func (o PushProviderConfigurationFcmConfigurationOutput) ToPushProviderConfigurationFcmConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationOutput { return o } -// Value mapping to member of `arrayEnum` -func (o GroupSchemaPropertyArrayOneOfOutput) Const() pulumi.StringOutput { - return o.ApplyT(func(v GroupSchemaPropertyArrayOneOf) string { return v.Const }).(pulumi.StringOutput) +func (o PushProviderConfigurationFcmConfigurationOutput) ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput { + return o.ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(context.Background()) } -// Display name for the enum value. -func (o GroupSchemaPropertyArrayOneOfOutput) Title() pulumi.StringOutput { - return o.ApplyT(func(v GroupSchemaPropertyArrayOneOf) string { return v.Title }).(pulumi.StringOutput) +func (o PushProviderConfigurationFcmConfigurationOutput) ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PushProviderConfigurationFcmConfiguration) *PushProviderConfigurationFcmConfiguration { + return &v + }).(PushProviderConfigurationFcmConfigurationPtrOutput) } -type GroupSchemaPropertyArrayOneOfArrayOutput struct{ *pulumi.OutputState } +// JSON containing the private service account key and service account details. Required for FCM provider type. +func (o PushProviderConfigurationFcmConfigurationOutput) ServiceAccountJson() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfiguration) *PushProviderConfigurationFcmConfigurationServiceAccountJson { + return v.ServiceAccountJson + }).(PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) +} -func (GroupSchemaPropertyArrayOneOfArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GroupSchemaPropertyArrayOneOf)(nil)).Elem() +type PushProviderConfigurationFcmConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (PushProviderConfigurationFcmConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PushProviderConfigurationFcmConfiguration)(nil)).Elem() } -func (o GroupSchemaPropertyArrayOneOfArrayOutput) ToGroupSchemaPropertyArrayOneOfArrayOutput() GroupSchemaPropertyArrayOneOfArrayOutput { +func (o PushProviderConfigurationFcmConfigurationPtrOutput) ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput { return o } -func (o GroupSchemaPropertyArrayOneOfArrayOutput) ToGroupSchemaPropertyArrayOneOfArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyArrayOneOfArrayOutput { +func (o PushProviderConfigurationFcmConfigurationPtrOutput) ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationPtrOutput { return o } -func (o GroupSchemaPropertyArrayOneOfArrayOutput) Index(i pulumi.IntInput) GroupSchemaPropertyArrayOneOfOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupSchemaPropertyArrayOneOf { - return vs[0].([]GroupSchemaPropertyArrayOneOf)[vs[1].(int)] - }).(GroupSchemaPropertyArrayOneOfOutput) +func (o PushProviderConfigurationFcmConfigurationPtrOutput) Elem() PushProviderConfigurationFcmConfigurationOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfiguration) PushProviderConfigurationFcmConfiguration { + if v != nil { + return *v + } + var ret PushProviderConfigurationFcmConfiguration + return ret + }).(PushProviderConfigurationFcmConfigurationOutput) } -type GroupSchemaPropertyMasterOverridePriority struct { - Type *string `pulumi:"type"` - Value string `pulumi:"value"` +// JSON containing the private service account key and service account details. Required for FCM provider type. +func (o PushProviderConfigurationFcmConfigurationPtrOutput) ServiceAccountJson() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfiguration) *PushProviderConfigurationFcmConfigurationServiceAccountJson { + if v == nil { + return nil + } + return v.ServiceAccountJson + }).(PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) } -// GroupSchemaPropertyMasterOverridePriorityInput is an input type that accepts GroupSchemaPropertyMasterOverridePriorityArgs and GroupSchemaPropertyMasterOverridePriorityOutput values. -// You can construct a concrete instance of `GroupSchemaPropertyMasterOverridePriorityInput` via: +type PushProviderConfigurationFcmConfigurationServiceAccountJson struct { + // The auth provider x509 cert URL. + AuthProviderX509CertUrl *string `pulumi:"authProviderX509CertUrl"` + // The auth URI. + AuthUri *string `pulumi:"authUri"` + // The client email. + ClientEmail *string `pulumi:"clientEmail"` + // The client ID. + ClientId *string `pulumi:"clientId"` + // The client x509 cert URL. + ClientX509CertUrl *string `pulumi:"clientX509CertUrl"` + // File name for Admin Console display. + FileName *string `pulumi:"fileName"` + // The private key. + PrivateKey *string `pulumi:"privateKey"` + // The private key ID. + PrivateKeyId *string `pulumi:"privateKeyId"` + // The project ID. + ProjectId *string `pulumi:"projectId"` + // The token URI. + TokenUri *string `pulumi:"tokenUri"` + // The type of the service account. + Type *string `pulumi:"type"` +} + +// PushProviderConfigurationFcmConfigurationServiceAccountJsonInput is an input type that accepts PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs and PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput values. +// You can construct a concrete instance of `PushProviderConfigurationFcmConfigurationServiceAccountJsonInput` via: // -// GroupSchemaPropertyMasterOverridePriorityArgs{...} -type GroupSchemaPropertyMasterOverridePriorityInput interface { +// PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs{...} +type PushProviderConfigurationFcmConfigurationServiceAccountJsonInput interface { pulumi.Input - ToGroupSchemaPropertyMasterOverridePriorityOutput() GroupSchemaPropertyMasterOverridePriorityOutput - ToGroupSchemaPropertyMasterOverridePriorityOutputWithContext(context.Context) GroupSchemaPropertyMasterOverridePriorityOutput + ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput + ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutputWithContext(context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput } -type GroupSchemaPropertyMasterOverridePriorityArgs struct { - Type pulumi.StringPtrInput `pulumi:"type"` - Value pulumi.StringInput `pulumi:"value"` +type PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs struct { + // The auth provider x509 cert URL. + AuthProviderX509CertUrl pulumi.StringPtrInput `pulumi:"authProviderX509CertUrl"` + // The auth URI. + AuthUri pulumi.StringPtrInput `pulumi:"authUri"` + // The client email. + ClientEmail pulumi.StringPtrInput `pulumi:"clientEmail"` + // The client ID. + ClientId pulumi.StringPtrInput `pulumi:"clientId"` + // The client x509 cert URL. + ClientX509CertUrl pulumi.StringPtrInput `pulumi:"clientX509CertUrl"` + // File name for Admin Console display. + FileName pulumi.StringPtrInput `pulumi:"fileName"` + // The private key. + PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` + // The private key ID. + PrivateKeyId pulumi.StringPtrInput `pulumi:"privateKeyId"` + // The project ID. + ProjectId pulumi.StringPtrInput `pulumi:"projectId"` + // The token URI. + TokenUri pulumi.StringPtrInput `pulumi:"tokenUri"` + // The type of the service account. + Type pulumi.StringPtrInput `pulumi:"type"` } -func (GroupSchemaPropertyMasterOverridePriorityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GroupSchemaPropertyMasterOverridePriority)(nil)).Elem() +func (PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ElementType() reflect.Type { + return reflect.TypeOf((*PushProviderConfigurationFcmConfigurationServiceAccountJson)(nil)).Elem() } -func (i GroupSchemaPropertyMasterOverridePriorityArgs) ToGroupSchemaPropertyMasterOverridePriorityOutput() GroupSchemaPropertyMasterOverridePriorityOutput { - return i.ToGroupSchemaPropertyMasterOverridePriorityOutputWithContext(context.Background()) +func (i PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { + return i.ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutputWithContext(context.Background()) } -func (i GroupSchemaPropertyMasterOverridePriorityArgs) ToGroupSchemaPropertyMasterOverridePriorityOutputWithContext(ctx context.Context) GroupSchemaPropertyMasterOverridePriorityOutput { - return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyMasterOverridePriorityOutput) +func (i PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) } -// GroupSchemaPropertyMasterOverridePriorityArrayInput is an input type that accepts GroupSchemaPropertyMasterOverridePriorityArray and GroupSchemaPropertyMasterOverridePriorityArrayOutput values. -// You can construct a concrete instance of `GroupSchemaPropertyMasterOverridePriorityArrayInput` via: +func (i PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return i.ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(context.Background()) +} + +func (i PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput).ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx) +} + +// PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput is an input type that accepts PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs, PushProviderConfigurationFcmConfigurationServiceAccountJsonPtr and PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput values. +// You can construct a concrete instance of `PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput` via: // -// GroupSchemaPropertyMasterOverridePriorityArray{ GroupSchemaPropertyMasterOverridePriorityArgs{...} } -type GroupSchemaPropertyMasterOverridePriorityArrayInput interface { +// PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs{...} +// +// or: +// +// nil +type PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput interface { pulumi.Input - ToGroupSchemaPropertyMasterOverridePriorityArrayOutput() GroupSchemaPropertyMasterOverridePriorityArrayOutput - ToGroupSchemaPropertyMasterOverridePriorityArrayOutputWithContext(context.Context) GroupSchemaPropertyMasterOverridePriorityArrayOutput + ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput + ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput } -type GroupSchemaPropertyMasterOverridePriorityArray []GroupSchemaPropertyMasterOverridePriorityInput +type pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs -func (GroupSchemaPropertyMasterOverridePriorityArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GroupSchemaPropertyMasterOverridePriority)(nil)).Elem() +func PushProviderConfigurationFcmConfigurationServiceAccountJsonPtr(v *PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput { + return (*pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType)(v) } -func (i GroupSchemaPropertyMasterOverridePriorityArray) ToGroupSchemaPropertyMasterOverridePriorityArrayOutput() GroupSchemaPropertyMasterOverridePriorityArrayOutput { - return i.ToGroupSchemaPropertyMasterOverridePriorityArrayOutputWithContext(context.Background()) +func (*pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**PushProviderConfigurationFcmConfigurationServiceAccountJson)(nil)).Elem() } -func (i GroupSchemaPropertyMasterOverridePriorityArray) ToGroupSchemaPropertyMasterOverridePriorityArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyMasterOverridePriorityArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyMasterOverridePriorityArrayOutput) +func (i *pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return i.ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(context.Background()) +} + +func (i *pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) } -type GroupSchemaPropertyMasterOverridePriorityOutput struct{ *pulumi.OutputState } +type PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput struct{ *pulumi.OutputState } -func (GroupSchemaPropertyMasterOverridePriorityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GroupSchemaPropertyMasterOverridePriority)(nil)).Elem() +func (PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ElementType() reflect.Type { + return reflect.TypeOf((*PushProviderConfigurationFcmConfigurationServiceAccountJson)(nil)).Elem() } -func (o GroupSchemaPropertyMasterOverridePriorityOutput) ToGroupSchemaPropertyMasterOverridePriorityOutput() GroupSchemaPropertyMasterOverridePriorityOutput { +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { return o } -func (o GroupSchemaPropertyMasterOverridePriorityOutput) ToGroupSchemaPropertyMasterOverridePriorityOutputWithContext(ctx context.Context) GroupSchemaPropertyMasterOverridePriorityOutput { +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { return o } -func (o GroupSchemaPropertyMasterOverridePriorityOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v GroupSchemaPropertyMasterOverridePriority) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return o.ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(context.Background()) } -func (o GroupSchemaPropertyMasterOverridePriorityOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GroupSchemaPropertyMasterOverridePriority) string { return v.Value }).(pulumi.StringOutput) +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v PushProviderConfigurationFcmConfigurationServiceAccountJson) *PushProviderConfigurationFcmConfigurationServiceAccountJson { + return &v + }).(PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) } -type GroupSchemaPropertyMasterOverridePriorityArrayOutput struct{ *pulumi.OutputState } - -func (GroupSchemaPropertyMasterOverridePriorityArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GroupSchemaPropertyMasterOverridePriority)(nil)).Elem() +// The auth provider x509 cert URL. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) AuthProviderX509CertUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + return v.AuthProviderX509CertUrl + }).(pulumi.StringPtrOutput) } -func (o GroupSchemaPropertyMasterOverridePriorityArrayOutput) ToGroupSchemaPropertyMasterOverridePriorityArrayOutput() GroupSchemaPropertyMasterOverridePriorityArrayOutput { - return o +// The auth URI. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) AuthUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.AuthUri }).(pulumi.StringPtrOutput) } -func (o GroupSchemaPropertyMasterOverridePriorityArrayOutput) ToGroupSchemaPropertyMasterOverridePriorityArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyMasterOverridePriorityArrayOutput { - return o +// The client email. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ClientEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.ClientEmail }).(pulumi.StringPtrOutput) } -func (o GroupSchemaPropertyMasterOverridePriorityArrayOutput) Index(i pulumi.IntInput) GroupSchemaPropertyMasterOverridePriorityOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupSchemaPropertyMasterOverridePriority { - return vs[0].([]GroupSchemaPropertyMasterOverridePriority)[vs[1].(int)] - }).(GroupSchemaPropertyMasterOverridePriorityOutput) +// The client ID. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.ClientId }).(pulumi.StringPtrOutput) } -type GroupSchemaPropertyOneOf struct { - // Enum value - Const string `pulumi:"const"` - // Enum title - Title string `pulumi:"title"` +// The client x509 cert URL. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ClientX509CertUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + return v.ClientX509CertUrl + }).(pulumi.StringPtrOutput) } -// GroupSchemaPropertyOneOfInput is an input type that accepts GroupSchemaPropertyOneOfArgs and GroupSchemaPropertyOneOfOutput values. -// You can construct a concrete instance of `GroupSchemaPropertyOneOfInput` via: -// -// GroupSchemaPropertyOneOfArgs{...} -type GroupSchemaPropertyOneOfInput interface { - pulumi.Input +// File name for Admin Console display. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) FileName() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.FileName }).(pulumi.StringPtrOutput) +} - ToGroupSchemaPropertyOneOfOutput() GroupSchemaPropertyOneOfOutput - ToGroupSchemaPropertyOneOfOutputWithContext(context.Context) GroupSchemaPropertyOneOfOutput +// The private key. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) } -type GroupSchemaPropertyOneOfArgs struct { - // Enum value - Const pulumi.StringInput `pulumi:"const"` - // Enum title - Title pulumi.StringInput `pulumi:"title"` +// The private key ID. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) PrivateKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.PrivateKeyId }).(pulumi.StringPtrOutput) } -func (GroupSchemaPropertyOneOfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GroupSchemaPropertyOneOf)(nil)).Elem() +// The project ID. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.ProjectId }).(pulumi.StringPtrOutput) } -func (i GroupSchemaPropertyOneOfArgs) ToGroupSchemaPropertyOneOfOutput() GroupSchemaPropertyOneOfOutput { - return i.ToGroupSchemaPropertyOneOfOutputWithContext(context.Background()) +// The token URI. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) TokenUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.TokenUri }).(pulumi.StringPtrOutput) } -func (i GroupSchemaPropertyOneOfArgs) ToGroupSchemaPropertyOneOfOutputWithContext(ctx context.Context) GroupSchemaPropertyOneOfOutput { - return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyOneOfOutput) +// The type of the service account. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.Type }).(pulumi.StringPtrOutput) } -// GroupSchemaPropertyOneOfArrayInput is an input type that accepts GroupSchemaPropertyOneOfArray and GroupSchemaPropertyOneOfArrayOutput values. -// You can construct a concrete instance of `GroupSchemaPropertyOneOfArrayInput` via: -// -// GroupSchemaPropertyOneOfArray{ GroupSchemaPropertyOneOfArgs{...} } -type GroupSchemaPropertyOneOfArrayInput interface { - pulumi.Input +type PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput struct{ *pulumi.OutputState } - ToGroupSchemaPropertyOneOfArrayOutput() GroupSchemaPropertyOneOfArrayOutput - ToGroupSchemaPropertyOneOfArrayOutputWithContext(context.Context) GroupSchemaPropertyOneOfArrayOutput +func (PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PushProviderConfigurationFcmConfigurationServiceAccountJson)(nil)).Elem() } -type GroupSchemaPropertyOneOfArray []GroupSchemaPropertyOneOfInput - -func (GroupSchemaPropertyOneOfArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GroupSchemaPropertyOneOf)(nil)).Elem() +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return o } -func (i GroupSchemaPropertyOneOfArray) ToGroupSchemaPropertyOneOfArrayOutput() GroupSchemaPropertyOneOfArrayOutput { - return i.ToGroupSchemaPropertyOneOfArrayOutputWithContext(context.Background()) +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { + return o } -func (i GroupSchemaPropertyOneOfArray) ToGroupSchemaPropertyOneOfArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyOneOfArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GroupSchemaPropertyOneOfArrayOutput) +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) Elem() PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) PushProviderConfigurationFcmConfigurationServiceAccountJson { + if v != nil { + return *v + } + var ret PushProviderConfigurationFcmConfigurationServiceAccountJson + return ret + }).(PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) } -type GroupSchemaPropertyOneOfOutput struct{ *pulumi.OutputState } +// The auth provider x509 cert URL. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) AuthProviderX509CertUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.AuthProviderX509CertUrl + }).(pulumi.StringPtrOutput) +} -func (GroupSchemaPropertyOneOfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GroupSchemaPropertyOneOf)(nil)).Elem() +// The auth URI. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) AuthUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.AuthUri + }).(pulumi.StringPtrOutput) } -func (o GroupSchemaPropertyOneOfOutput) ToGroupSchemaPropertyOneOfOutput() GroupSchemaPropertyOneOfOutput { - return o +// The client email. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ClientEmail() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.ClientEmail + }).(pulumi.StringPtrOutput) } -func (o GroupSchemaPropertyOneOfOutput) ToGroupSchemaPropertyOneOfOutputWithContext(ctx context.Context) GroupSchemaPropertyOneOfOutput { - return o +// The client ID. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ClientId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.ClientId + }).(pulumi.StringPtrOutput) } -// Enum value -func (o GroupSchemaPropertyOneOfOutput) Const() pulumi.StringOutput { - return o.ApplyT(func(v GroupSchemaPropertyOneOf) string { return v.Const }).(pulumi.StringOutput) +// The client x509 cert URL. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ClientX509CertUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.ClientX509CertUrl + }).(pulumi.StringPtrOutput) } -// Enum title -func (o GroupSchemaPropertyOneOfOutput) Title() pulumi.StringOutput { - return o.ApplyT(func(v GroupSchemaPropertyOneOf) string { return v.Title }).(pulumi.StringOutput) +// File name for Admin Console display. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) FileName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.FileName + }).(pulumi.StringPtrOutput) } -type GroupSchemaPropertyOneOfArrayOutput struct{ *pulumi.OutputState } +// The private key. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) PrivateKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.PrivateKey + }).(pulumi.StringPtrOutput) +} -func (GroupSchemaPropertyOneOfArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GroupSchemaPropertyOneOf)(nil)).Elem() +// The private key ID. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.PrivateKeyId + }).(pulumi.StringPtrOutput) } -func (o GroupSchemaPropertyOneOfArrayOutput) ToGroupSchemaPropertyOneOfArrayOutput() GroupSchemaPropertyOneOfArrayOutput { - return o +// The project ID. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ProjectId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.ProjectId + }).(pulumi.StringPtrOutput) } -func (o GroupSchemaPropertyOneOfArrayOutput) ToGroupSchemaPropertyOneOfArrayOutputWithContext(ctx context.Context) GroupSchemaPropertyOneOfArrayOutput { - return o +// The token URI. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) TokenUri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.TokenUri + }).(pulumi.StringPtrOutput) } -func (o GroupSchemaPropertyOneOfArrayOutput) Index(i pulumi.IntInput) GroupSchemaPropertyOneOfOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GroupSchemaPropertyOneOf { - return vs[0].([]GroupSchemaPropertyOneOf)[vs[1].(int)] - }).(GroupSchemaPropertyOneOfOutput) +// The type of the service account. +func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) } -type LogStreamSettings struct { - // AWS account ID. Required only for 'aws_eventbridge' type - AccountId *string `pulumi:"accountId"` - // Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type - Edition *string `pulumi:"edition"` - // An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type - EventSourceName *string `pulumi:"eventSourceName"` - // The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type - Host *string `pulumi:"host"` - // The destination AWS region where event source is located. Required only for 'aws_eventbridge' type - Region *string `pulumi:"region"` - // The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type - Token *string `pulumi:"token"` +type RateLimitingUseCaseModeOverrides struct { + // Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + LoginPage *string `pulumi:"loginPage"` + // Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + Oauth2Authorize *string `pulumi:"oauth2Authorize"` + // Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + OieAppIntent *string `pulumi:"oieAppIntent"` } -// LogStreamSettingsInput is an input type that accepts LogStreamSettingsArgs and LogStreamSettingsOutput values. -// You can construct a concrete instance of `LogStreamSettingsInput` via: +// RateLimitingUseCaseModeOverridesInput is an input type that accepts RateLimitingUseCaseModeOverridesArgs and RateLimitingUseCaseModeOverridesOutput values. +// You can construct a concrete instance of `RateLimitingUseCaseModeOverridesInput` via: // -// LogStreamSettingsArgs{...} -type LogStreamSettingsInput interface { +// RateLimitingUseCaseModeOverridesArgs{...} +type RateLimitingUseCaseModeOverridesInput interface { pulumi.Input - ToLogStreamSettingsOutput() LogStreamSettingsOutput - ToLogStreamSettingsOutputWithContext(context.Context) LogStreamSettingsOutput + ToRateLimitingUseCaseModeOverridesOutput() RateLimitingUseCaseModeOverridesOutput + ToRateLimitingUseCaseModeOverridesOutputWithContext(context.Context) RateLimitingUseCaseModeOverridesOutput } -type LogStreamSettingsArgs struct { - // AWS account ID. Required only for 'aws_eventbridge' type - AccountId pulumi.StringPtrInput `pulumi:"accountId"` - // Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type - Edition pulumi.StringPtrInput `pulumi:"edition"` - // An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type - EventSourceName pulumi.StringPtrInput `pulumi:"eventSourceName"` - // The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type - Host pulumi.StringPtrInput `pulumi:"host"` - // The destination AWS region where event source is located. Required only for 'aws_eventbridge' type - Region pulumi.StringPtrInput `pulumi:"region"` - // The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type - Token pulumi.StringPtrInput `pulumi:"token"` +type RateLimitingUseCaseModeOverridesArgs struct { + // Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + LoginPage pulumi.StringPtrInput `pulumi:"loginPage"` + // Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + Oauth2Authorize pulumi.StringPtrInput `pulumi:"oauth2Authorize"` + // Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + OieAppIntent pulumi.StringPtrInput `pulumi:"oieAppIntent"` } -func (LogStreamSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LogStreamSettings)(nil)).Elem() +func (RateLimitingUseCaseModeOverridesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RateLimitingUseCaseModeOverrides)(nil)).Elem() } -func (i LogStreamSettingsArgs) ToLogStreamSettingsOutput() LogStreamSettingsOutput { - return i.ToLogStreamSettingsOutputWithContext(context.Background()) +func (i RateLimitingUseCaseModeOverridesArgs) ToRateLimitingUseCaseModeOverridesOutput() RateLimitingUseCaseModeOverridesOutput { + return i.ToRateLimitingUseCaseModeOverridesOutputWithContext(context.Background()) } -func (i LogStreamSettingsArgs) ToLogStreamSettingsOutputWithContext(ctx context.Context) LogStreamSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogStreamSettingsOutput) +func (i RateLimitingUseCaseModeOverridesArgs) ToRateLimitingUseCaseModeOverridesOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesOutput { + return pulumi.ToOutputWithContext(ctx, i).(RateLimitingUseCaseModeOverridesOutput) } -func (i LogStreamSettingsArgs) ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput { - return i.ToLogStreamSettingsPtrOutputWithContext(context.Background()) +func (i RateLimitingUseCaseModeOverridesArgs) ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput { + return i.ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(context.Background()) } -func (i LogStreamSettingsArgs) ToLogStreamSettingsPtrOutputWithContext(ctx context.Context) LogStreamSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogStreamSettingsOutput).ToLogStreamSettingsPtrOutputWithContext(ctx) +func (i RateLimitingUseCaseModeOverridesArgs) ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RateLimitingUseCaseModeOverridesOutput).ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx) } -// LogStreamSettingsPtrInput is an input type that accepts LogStreamSettingsArgs, LogStreamSettingsPtr and LogStreamSettingsPtrOutput values. -// You can construct a concrete instance of `LogStreamSettingsPtrInput` via: +// RateLimitingUseCaseModeOverridesPtrInput is an input type that accepts RateLimitingUseCaseModeOverridesArgs, RateLimitingUseCaseModeOverridesPtr and RateLimitingUseCaseModeOverridesPtrOutput values. +// You can construct a concrete instance of `RateLimitingUseCaseModeOverridesPtrInput` via: // -// LogStreamSettingsArgs{...} +// RateLimitingUseCaseModeOverridesArgs{...} // // or: // // nil -type LogStreamSettingsPtrInput interface { +type RateLimitingUseCaseModeOverridesPtrInput interface { pulumi.Input - ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput - ToLogStreamSettingsPtrOutputWithContext(context.Context) LogStreamSettingsPtrOutput + ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput + ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(context.Context) RateLimitingUseCaseModeOverridesPtrOutput } -type logStreamSettingsPtrType LogStreamSettingsArgs +type rateLimitingUseCaseModeOverridesPtrType RateLimitingUseCaseModeOverridesArgs -func LogStreamSettingsPtr(v *LogStreamSettingsArgs) LogStreamSettingsPtrInput { - return (*logStreamSettingsPtrType)(v) +func RateLimitingUseCaseModeOverridesPtr(v *RateLimitingUseCaseModeOverridesArgs) RateLimitingUseCaseModeOverridesPtrInput { + return (*rateLimitingUseCaseModeOverridesPtrType)(v) } -func (*logStreamSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**LogStreamSettings)(nil)).Elem() +func (*rateLimitingUseCaseModeOverridesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RateLimitingUseCaseModeOverrides)(nil)).Elem() } -func (i *logStreamSettingsPtrType) ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput { - return i.ToLogStreamSettingsPtrOutputWithContext(context.Background()) +func (i *rateLimitingUseCaseModeOverridesPtrType) ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput { + return i.ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(context.Background()) } -func (i *logStreamSettingsPtrType) ToLogStreamSettingsPtrOutputWithContext(ctx context.Context) LogStreamSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(LogStreamSettingsPtrOutput) +func (i *rateLimitingUseCaseModeOverridesPtrType) ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RateLimitingUseCaseModeOverridesPtrOutput) } -type LogStreamSettingsOutput struct{ *pulumi.OutputState } +type RateLimitingUseCaseModeOverridesOutput struct{ *pulumi.OutputState } -func (LogStreamSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LogStreamSettings)(nil)).Elem() +func (RateLimitingUseCaseModeOverridesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RateLimitingUseCaseModeOverrides)(nil)).Elem() } -func (o LogStreamSettingsOutput) ToLogStreamSettingsOutput() LogStreamSettingsOutput { +func (o RateLimitingUseCaseModeOverridesOutput) ToRateLimitingUseCaseModeOverridesOutput() RateLimitingUseCaseModeOverridesOutput { return o } -func (o LogStreamSettingsOutput) ToLogStreamSettingsOutputWithContext(ctx context.Context) LogStreamSettingsOutput { +func (o RateLimitingUseCaseModeOverridesOutput) ToRateLimitingUseCaseModeOverridesOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesOutput { return o } -func (o LogStreamSettingsOutput) ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput { - return o.ToLogStreamSettingsPtrOutputWithContext(context.Background()) +func (o RateLimitingUseCaseModeOverridesOutput) ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput { + return o.ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(context.Background()) } -func (o LogStreamSettingsOutput) ToLogStreamSettingsPtrOutputWithContext(ctx context.Context) LogStreamSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v LogStreamSettings) *LogStreamSettings { +func (o RateLimitingUseCaseModeOverridesOutput) ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RateLimitingUseCaseModeOverrides) *RateLimitingUseCaseModeOverrides { return &v - }).(LogStreamSettingsPtrOutput) -} - -// AWS account ID. Required only for 'aws_eventbridge' type -func (o LogStreamSettingsOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogStreamSettings) *string { return v.AccountId }).(pulumi.StringPtrOutput) -} - -// Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type -func (o LogStreamSettingsOutput) Edition() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogStreamSettings) *string { return v.Edition }).(pulumi.StringPtrOutput) -} - -// An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type -func (o LogStreamSettingsOutput) EventSourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogStreamSettings) *string { return v.EventSourceName }).(pulumi.StringPtrOutput) + }).(RateLimitingUseCaseModeOverridesPtrOutput) } -// The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type -func (o LogStreamSettingsOutput) Host() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogStreamSettings) *string { return v.Host }).(pulumi.StringPtrOutput) +// Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. +func (o RateLimitingUseCaseModeOverridesOutput) LoginPage() pulumi.StringPtrOutput { + return o.ApplyT(func(v RateLimitingUseCaseModeOverrides) *string { return v.LoginPage }).(pulumi.StringPtrOutput) } -// The destination AWS region where event source is located. Required only for 'aws_eventbridge' type -func (o LogStreamSettingsOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogStreamSettings) *string { return v.Region }).(pulumi.StringPtrOutput) +// Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. +func (o RateLimitingUseCaseModeOverridesOutput) Oauth2Authorize() pulumi.StringPtrOutput { + return o.ApplyT(func(v RateLimitingUseCaseModeOverrides) *string { return v.Oauth2Authorize }).(pulumi.StringPtrOutput) } -// The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type -func (o LogStreamSettingsOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v LogStreamSettings) *string { return v.Token }).(pulumi.StringPtrOutput) +// Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. +func (o RateLimitingUseCaseModeOverridesOutput) OieAppIntent() pulumi.StringPtrOutput { + return o.ApplyT(func(v RateLimitingUseCaseModeOverrides) *string { return v.OieAppIntent }).(pulumi.StringPtrOutput) } -type LogStreamSettingsPtrOutput struct{ *pulumi.OutputState } +type RateLimitingUseCaseModeOverridesPtrOutput struct{ *pulumi.OutputState } -func (LogStreamSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**LogStreamSettings)(nil)).Elem() +func (RateLimitingUseCaseModeOverridesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RateLimitingUseCaseModeOverrides)(nil)).Elem() } -func (o LogStreamSettingsPtrOutput) ToLogStreamSettingsPtrOutput() LogStreamSettingsPtrOutput { +func (o RateLimitingUseCaseModeOverridesPtrOutput) ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput { return o } -func (o LogStreamSettingsPtrOutput) ToLogStreamSettingsPtrOutputWithContext(ctx context.Context) LogStreamSettingsPtrOutput { +func (o RateLimitingUseCaseModeOverridesPtrOutput) ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesPtrOutput { return o } -func (o LogStreamSettingsPtrOutput) Elem() LogStreamSettingsOutput { - return o.ApplyT(func(v *LogStreamSettings) LogStreamSettings { +func (o RateLimitingUseCaseModeOverridesPtrOutput) Elem() RateLimitingUseCaseModeOverridesOutput { + return o.ApplyT(func(v *RateLimitingUseCaseModeOverrides) RateLimitingUseCaseModeOverrides { if v != nil { return *v } - var ret LogStreamSettings + var ret RateLimitingUseCaseModeOverrides return ret - }).(LogStreamSettingsOutput) + }).(RateLimitingUseCaseModeOverridesOutput) } -// AWS account ID. Required only for 'aws_eventbridge' type -func (o LogStreamSettingsPtrOutput) AccountId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogStreamSettings) *string { +// Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. +func (o RateLimitingUseCaseModeOverridesPtrOutput) LoginPage() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RateLimitingUseCaseModeOverrides) *string { if v == nil { return nil } - return v.AccountId + return v.LoginPage }).(pulumi.StringPtrOutput) } -// Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type -func (o LogStreamSettingsPtrOutput) Edition() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogStreamSettings) *string { +// Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. +func (o RateLimitingUseCaseModeOverridesPtrOutput) Oauth2Authorize() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RateLimitingUseCaseModeOverrides) *string { if v == nil { return nil } - return v.Edition + return v.Oauth2Authorize }).(pulumi.StringPtrOutput) } -// An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type -func (o LogStreamSettingsPtrOutput) EventSourceName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogStreamSettings) *string { +// Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. +func (o RateLimitingUseCaseModeOverridesPtrOutput) OieAppIntent() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RateLimitingUseCaseModeOverrides) *string { if v == nil { return nil } - return v.EventSourceName + return v.OieAppIntent }).(pulumi.StringPtrOutput) } -// The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type -func (o LogStreamSettingsPtrOutput) Host() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogStreamSettings) *string { - if v == nil { - return nil - } - return v.Host - }).(pulumi.StringPtrOutput) +type RequestConditionAccessDurationSettings struct { + // The duration set by the admin for access durations. Use ISO8061 notation for duration values. + Duration *string `pulumi:"duration"` + Type *string `pulumi:"type"` } -// The destination AWS region where event source is located. Required only for 'aws_eventbridge' type -func (o LogStreamSettingsPtrOutput) Region() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogStreamSettings) *string { - if v == nil { - return nil - } - return v.Region - }).(pulumi.StringPtrOutput) -} +// RequestConditionAccessDurationSettingsInput is an input type that accepts RequestConditionAccessDurationSettingsArgs and RequestConditionAccessDurationSettingsOutput values. +// You can construct a concrete instance of `RequestConditionAccessDurationSettingsInput` via: +// +// RequestConditionAccessDurationSettingsArgs{...} +type RequestConditionAccessDurationSettingsInput interface { + pulumi.Input -// The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type -func (o LogStreamSettingsPtrOutput) Token() pulumi.StringPtrOutput { - return o.ApplyT(func(v *LogStreamSettings) *string { - if v == nil { - return nil - } - return v.Token - }).(pulumi.StringPtrOutput) + ToRequestConditionAccessDurationSettingsOutput() RequestConditionAccessDurationSettingsOutput + ToRequestConditionAccessDurationSettingsOutputWithContext(context.Context) RequestConditionAccessDurationSettingsOutput } -type PolicyRuleProfileEnrollmentProfileAttribute struct { - // A display-friendly label for this property - Label string `pulumi:"label"` - // The name of a User Profile property - Name string `pulumi:"name"` - // Indicates if this property is required for enrollment - Required *bool `pulumi:"required"` +type RequestConditionAccessDurationSettingsArgs struct { + // The duration set by the admin for access durations. Use ISO8061 notation for duration values. + Duration pulumi.StringPtrInput `pulumi:"duration"` + Type pulumi.StringPtrInput `pulumi:"type"` } -// PolicyRuleProfileEnrollmentProfileAttributeInput is an input type that accepts PolicyRuleProfileEnrollmentProfileAttributeArgs and PolicyRuleProfileEnrollmentProfileAttributeOutput values. -// You can construct a concrete instance of `PolicyRuleProfileEnrollmentProfileAttributeInput` via: -// -// PolicyRuleProfileEnrollmentProfileAttributeArgs{...} -type PolicyRuleProfileEnrollmentProfileAttributeInput interface { - pulumi.Input - - ToPolicyRuleProfileEnrollmentProfileAttributeOutput() PolicyRuleProfileEnrollmentProfileAttributeOutput - ToPolicyRuleProfileEnrollmentProfileAttributeOutputWithContext(context.Context) PolicyRuleProfileEnrollmentProfileAttributeOutput +func (RequestConditionAccessDurationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionAccessDurationSettings)(nil)).Elem() } -type PolicyRuleProfileEnrollmentProfileAttributeArgs struct { - // A display-friendly label for this property - Label pulumi.StringInput `pulumi:"label"` - // The name of a User Profile property - Name pulumi.StringInput `pulumi:"name"` - // Indicates if this property is required for enrollment - Required pulumi.BoolPtrInput `pulumi:"required"` +func (i RequestConditionAccessDurationSettingsArgs) ToRequestConditionAccessDurationSettingsOutput() RequestConditionAccessDurationSettingsOutput { + return i.ToRequestConditionAccessDurationSettingsOutputWithContext(context.Background()) } -func (PolicyRuleProfileEnrollmentProfileAttributeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PolicyRuleProfileEnrollmentProfileAttribute)(nil)).Elem() +func (i RequestConditionAccessDurationSettingsArgs) ToRequestConditionAccessDurationSettingsOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessDurationSettingsOutput) } - -func (i PolicyRuleProfileEnrollmentProfileAttributeArgs) ToPolicyRuleProfileEnrollmentProfileAttributeOutput() PolicyRuleProfileEnrollmentProfileAttributeOutput { - return i.ToPolicyRuleProfileEnrollmentProfileAttributeOutputWithContext(context.Background()) + +func (i RequestConditionAccessDurationSettingsArgs) ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput { + return i.ToRequestConditionAccessDurationSettingsPtrOutputWithContext(context.Background()) } -func (i PolicyRuleProfileEnrollmentProfileAttributeArgs) ToPolicyRuleProfileEnrollmentProfileAttributeOutputWithContext(ctx context.Context) PolicyRuleProfileEnrollmentProfileAttributeOutput { - return pulumi.ToOutputWithContext(ctx, i).(PolicyRuleProfileEnrollmentProfileAttributeOutput) +func (i RequestConditionAccessDurationSettingsArgs) ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessDurationSettingsOutput).ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx) } -// PolicyRuleProfileEnrollmentProfileAttributeArrayInput is an input type that accepts PolicyRuleProfileEnrollmentProfileAttributeArray and PolicyRuleProfileEnrollmentProfileAttributeArrayOutput values. -// You can construct a concrete instance of `PolicyRuleProfileEnrollmentProfileAttributeArrayInput` via: +// RequestConditionAccessDurationSettingsPtrInput is an input type that accepts RequestConditionAccessDurationSettingsArgs, RequestConditionAccessDurationSettingsPtr and RequestConditionAccessDurationSettingsPtrOutput values. +// You can construct a concrete instance of `RequestConditionAccessDurationSettingsPtrInput` via: // -// PolicyRuleProfileEnrollmentProfileAttributeArray{ PolicyRuleProfileEnrollmentProfileAttributeArgs{...} } -type PolicyRuleProfileEnrollmentProfileAttributeArrayInput interface { +// RequestConditionAccessDurationSettingsArgs{...} +// +// or: +// +// nil +type RequestConditionAccessDurationSettingsPtrInput interface { pulumi.Input - ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutput() PolicyRuleProfileEnrollmentProfileAttributeArrayOutput - ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutputWithContext(context.Context) PolicyRuleProfileEnrollmentProfileAttributeArrayOutput + ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput + ToRequestConditionAccessDurationSettingsPtrOutputWithContext(context.Context) RequestConditionAccessDurationSettingsPtrOutput } -type PolicyRuleProfileEnrollmentProfileAttributeArray []PolicyRuleProfileEnrollmentProfileAttributeInput +type requestConditionAccessDurationSettingsPtrType RequestConditionAccessDurationSettingsArgs -func (PolicyRuleProfileEnrollmentProfileAttributeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]PolicyRuleProfileEnrollmentProfileAttribute)(nil)).Elem() +func RequestConditionAccessDurationSettingsPtr(v *RequestConditionAccessDurationSettingsArgs) RequestConditionAccessDurationSettingsPtrInput { + return (*requestConditionAccessDurationSettingsPtrType)(v) } -func (i PolicyRuleProfileEnrollmentProfileAttributeArray) ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutput() PolicyRuleProfileEnrollmentProfileAttributeArrayOutput { - return i.ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutputWithContext(context.Background()) +func (*requestConditionAccessDurationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RequestConditionAccessDurationSettings)(nil)).Elem() } -func (i PolicyRuleProfileEnrollmentProfileAttributeArray) ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutputWithContext(ctx context.Context) PolicyRuleProfileEnrollmentProfileAttributeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) +func (i *requestConditionAccessDurationSettingsPtrType) ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput { + return i.ToRequestConditionAccessDurationSettingsPtrOutputWithContext(context.Background()) } -type PolicyRuleProfileEnrollmentProfileAttributeOutput struct{ *pulumi.OutputState } +func (i *requestConditionAccessDurationSettingsPtrType) ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessDurationSettingsPtrOutput) +} -func (PolicyRuleProfileEnrollmentProfileAttributeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PolicyRuleProfileEnrollmentProfileAttribute)(nil)).Elem() +type RequestConditionAccessDurationSettingsOutput struct{ *pulumi.OutputState } + +func (RequestConditionAccessDurationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionAccessDurationSettings)(nil)).Elem() } -func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) ToPolicyRuleProfileEnrollmentProfileAttributeOutput() PolicyRuleProfileEnrollmentProfileAttributeOutput { +func (o RequestConditionAccessDurationSettingsOutput) ToRequestConditionAccessDurationSettingsOutput() RequestConditionAccessDurationSettingsOutput { return o } -func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) ToPolicyRuleProfileEnrollmentProfileAttributeOutputWithContext(ctx context.Context) PolicyRuleProfileEnrollmentProfileAttributeOutput { +func (o RequestConditionAccessDurationSettingsOutput) ToRequestConditionAccessDurationSettingsOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsOutput { return o } -// A display-friendly label for this property -func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) Label() pulumi.StringOutput { - return o.ApplyT(func(v PolicyRuleProfileEnrollmentProfileAttribute) string { return v.Label }).(pulumi.StringOutput) +func (o RequestConditionAccessDurationSettingsOutput) ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput { + return o.ToRequestConditionAccessDurationSettingsPtrOutputWithContext(context.Background()) } -// The name of a User Profile property -func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v PolicyRuleProfileEnrollmentProfileAttribute) string { return v.Name }).(pulumi.StringOutput) +func (o RequestConditionAccessDurationSettingsOutput) ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestConditionAccessDurationSettings) *RequestConditionAccessDurationSettings { + return &v + }).(RequestConditionAccessDurationSettingsPtrOutput) } -// Indicates if this property is required for enrollment -func (o PolicyRuleProfileEnrollmentProfileAttributeOutput) Required() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PolicyRuleProfileEnrollmentProfileAttribute) *bool { return v.Required }).(pulumi.BoolPtrOutput) +// The duration set by the admin for access durations. Use ISO8061 notation for duration values. +func (o RequestConditionAccessDurationSettingsOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestConditionAccessDurationSettings) *string { return v.Duration }).(pulumi.StringPtrOutput) } -type PolicyRuleProfileEnrollmentProfileAttributeArrayOutput struct{ *pulumi.OutputState } +func (o RequestConditionAccessDurationSettingsOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestConditionAccessDurationSettings) *string { return v.Type }).(pulumi.StringPtrOutput) +} -func (PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]PolicyRuleProfileEnrollmentProfileAttribute)(nil)).Elem() +type RequestConditionAccessDurationSettingsPtrOutput struct{ *pulumi.OutputState } + +func (RequestConditionAccessDurationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RequestConditionAccessDurationSettings)(nil)).Elem() } -func (o PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutput() PolicyRuleProfileEnrollmentProfileAttributeArrayOutput { +func (o RequestConditionAccessDurationSettingsPtrOutput) ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput { return o } -func (o PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) ToPolicyRuleProfileEnrollmentProfileAttributeArrayOutputWithContext(ctx context.Context) PolicyRuleProfileEnrollmentProfileAttributeArrayOutput { +func (o RequestConditionAccessDurationSettingsPtrOutput) ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsPtrOutput { return o } -func (o PolicyRuleProfileEnrollmentProfileAttributeArrayOutput) Index(i pulumi.IntInput) PolicyRuleProfileEnrollmentProfileAttributeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) PolicyRuleProfileEnrollmentProfileAttribute { - return vs[0].([]PolicyRuleProfileEnrollmentProfileAttribute)[vs[1].(int)] - }).(PolicyRuleProfileEnrollmentProfileAttributeOutput) +func (o RequestConditionAccessDurationSettingsPtrOutput) Elem() RequestConditionAccessDurationSettingsOutput { + return o.ApplyT(func(v *RequestConditionAccessDurationSettings) RequestConditionAccessDurationSettings { + if v != nil { + return *v + } + var ret RequestConditionAccessDurationSettings + return ret + }).(RequestConditionAccessDurationSettingsOutput) } -type PreviewSigninPageContentSecurityPolicySetting struct { - // enforced or report_only - Mode *string `pulumi:"mode"` - ReportUri *string `pulumi:"reportUri"` - SrcLists []string `pulumi:"srcLists"` +// The duration set by the admin for access durations. Use ISO8061 notation for duration values. +func (o RequestConditionAccessDurationSettingsPtrOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestConditionAccessDurationSettings) *string { + if v == nil { + return nil + } + return v.Duration + }).(pulumi.StringPtrOutput) } -// PreviewSigninPageContentSecurityPolicySettingInput is an input type that accepts PreviewSigninPageContentSecurityPolicySettingArgs and PreviewSigninPageContentSecurityPolicySettingOutput values. -// You can construct a concrete instance of `PreviewSigninPageContentSecurityPolicySettingInput` via: +func (o RequestConditionAccessDurationSettingsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestConditionAccessDurationSettings) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +type RequestConditionAccessScopeSettings struct { + // Block list of groups/entitlement bundles ids. + Ids []RequestConditionAccessScopeSettingsId `pulumi:"ids"` + Type string `pulumi:"type"` +} + +// RequestConditionAccessScopeSettingsInput is an input type that accepts RequestConditionAccessScopeSettingsArgs and RequestConditionAccessScopeSettingsOutput values. +// You can construct a concrete instance of `RequestConditionAccessScopeSettingsInput` via: // -// PreviewSigninPageContentSecurityPolicySettingArgs{...} -type PreviewSigninPageContentSecurityPolicySettingInput interface { +// RequestConditionAccessScopeSettingsArgs{...} +type RequestConditionAccessScopeSettingsInput interface { pulumi.Input - ToPreviewSigninPageContentSecurityPolicySettingOutput() PreviewSigninPageContentSecurityPolicySettingOutput - ToPreviewSigninPageContentSecurityPolicySettingOutputWithContext(context.Context) PreviewSigninPageContentSecurityPolicySettingOutput + ToRequestConditionAccessScopeSettingsOutput() RequestConditionAccessScopeSettingsOutput + ToRequestConditionAccessScopeSettingsOutputWithContext(context.Context) RequestConditionAccessScopeSettingsOutput } -type PreviewSigninPageContentSecurityPolicySettingArgs struct { - // enforced or report_only - Mode pulumi.StringPtrInput `pulumi:"mode"` - ReportUri pulumi.StringPtrInput `pulumi:"reportUri"` - SrcLists pulumi.StringArrayInput `pulumi:"srcLists"` +type RequestConditionAccessScopeSettingsArgs struct { + // Block list of groups/entitlement bundles ids. + Ids RequestConditionAccessScopeSettingsIdArrayInput `pulumi:"ids"` + Type pulumi.StringInput `pulumi:"type"` } -func (PreviewSigninPageContentSecurityPolicySettingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PreviewSigninPageContentSecurityPolicySetting)(nil)).Elem() +func (RequestConditionAccessScopeSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionAccessScopeSettings)(nil)).Elem() } -func (i PreviewSigninPageContentSecurityPolicySettingArgs) ToPreviewSigninPageContentSecurityPolicySettingOutput() PreviewSigninPageContentSecurityPolicySettingOutput { - return i.ToPreviewSigninPageContentSecurityPolicySettingOutputWithContext(context.Background()) +func (i RequestConditionAccessScopeSettingsArgs) ToRequestConditionAccessScopeSettingsOutput() RequestConditionAccessScopeSettingsOutput { + return i.ToRequestConditionAccessScopeSettingsOutputWithContext(context.Background()) } -func (i PreviewSigninPageContentSecurityPolicySettingArgs) ToPreviewSigninPageContentSecurityPolicySettingOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingOutput { - return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageContentSecurityPolicySettingOutput) +func (i RequestConditionAccessScopeSettingsArgs) ToRequestConditionAccessScopeSettingsOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsOutput) } -func (i PreviewSigninPageContentSecurityPolicySettingArgs) ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput { - return i.ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +func (i RequestConditionAccessScopeSettingsArgs) ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput { + return i.ToRequestConditionAccessScopeSettingsPtrOutputWithContext(context.Background()) } -func (i PreviewSigninPageContentSecurityPolicySettingArgs) ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageContentSecurityPolicySettingOutput).ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx) +func (i RequestConditionAccessScopeSettingsArgs) ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsOutput).ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx) } -// PreviewSigninPageContentSecurityPolicySettingPtrInput is an input type that accepts PreviewSigninPageContentSecurityPolicySettingArgs, PreviewSigninPageContentSecurityPolicySettingPtr and PreviewSigninPageContentSecurityPolicySettingPtrOutput values. -// You can construct a concrete instance of `PreviewSigninPageContentSecurityPolicySettingPtrInput` via: +// RequestConditionAccessScopeSettingsPtrInput is an input type that accepts RequestConditionAccessScopeSettingsArgs, RequestConditionAccessScopeSettingsPtr and RequestConditionAccessScopeSettingsPtrOutput values. +// You can construct a concrete instance of `RequestConditionAccessScopeSettingsPtrInput` via: // -// PreviewSigninPageContentSecurityPolicySettingArgs{...} +// RequestConditionAccessScopeSettingsArgs{...} // // or: // // nil -type PreviewSigninPageContentSecurityPolicySettingPtrInput interface { +type RequestConditionAccessScopeSettingsPtrInput interface { pulumi.Input - ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput - ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput + ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput + ToRequestConditionAccessScopeSettingsPtrOutputWithContext(context.Context) RequestConditionAccessScopeSettingsPtrOutput } -type previewSigninPageContentSecurityPolicySettingPtrType PreviewSigninPageContentSecurityPolicySettingArgs +type requestConditionAccessScopeSettingsPtrType RequestConditionAccessScopeSettingsArgs -func PreviewSigninPageContentSecurityPolicySettingPtr(v *PreviewSigninPageContentSecurityPolicySettingArgs) PreviewSigninPageContentSecurityPolicySettingPtrInput { - return (*previewSigninPageContentSecurityPolicySettingPtrType)(v) +func RequestConditionAccessScopeSettingsPtr(v *RequestConditionAccessScopeSettingsArgs) RequestConditionAccessScopeSettingsPtrInput { + return (*requestConditionAccessScopeSettingsPtrType)(v) } -func (*previewSigninPageContentSecurityPolicySettingPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PreviewSigninPageContentSecurityPolicySetting)(nil)).Elem() +func (*requestConditionAccessScopeSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RequestConditionAccessScopeSettings)(nil)).Elem() } -func (i *previewSigninPageContentSecurityPolicySettingPtrType) ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput { - return i.ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +func (i *requestConditionAccessScopeSettingsPtrType) ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput { + return i.ToRequestConditionAccessScopeSettingsPtrOutputWithContext(context.Background()) } -func (i *previewSigninPageContentSecurityPolicySettingPtrType) ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageContentSecurityPolicySettingPtrOutput) +func (i *requestConditionAccessScopeSettingsPtrType) ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsPtrOutput) } -type PreviewSigninPageContentSecurityPolicySettingOutput struct{ *pulumi.OutputState } +type RequestConditionAccessScopeSettingsOutput struct{ *pulumi.OutputState } -func (PreviewSigninPageContentSecurityPolicySettingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PreviewSigninPageContentSecurityPolicySetting)(nil)).Elem() +func (RequestConditionAccessScopeSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionAccessScopeSettings)(nil)).Elem() } -func (o PreviewSigninPageContentSecurityPolicySettingOutput) ToPreviewSigninPageContentSecurityPolicySettingOutput() PreviewSigninPageContentSecurityPolicySettingOutput { +func (o RequestConditionAccessScopeSettingsOutput) ToRequestConditionAccessScopeSettingsOutput() RequestConditionAccessScopeSettingsOutput { return o } -func (o PreviewSigninPageContentSecurityPolicySettingOutput) ToPreviewSigninPageContentSecurityPolicySettingOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingOutput { +func (o RequestConditionAccessScopeSettingsOutput) ToRequestConditionAccessScopeSettingsOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsOutput { return o } -func (o PreviewSigninPageContentSecurityPolicySettingOutput) ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput { - return o.ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(context.Background()) +func (o RequestConditionAccessScopeSettingsOutput) ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput { + return o.ToRequestConditionAccessScopeSettingsPtrOutputWithContext(context.Background()) } -func (o PreviewSigninPageContentSecurityPolicySettingOutput) ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PreviewSigninPageContentSecurityPolicySetting) *PreviewSigninPageContentSecurityPolicySetting { +func (o RequestConditionAccessScopeSettingsOutput) ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestConditionAccessScopeSettings) *RequestConditionAccessScopeSettings { return &v - }).(PreviewSigninPageContentSecurityPolicySettingPtrOutput) -} - -// enforced or report_only -func (o PreviewSigninPageContentSecurityPolicySettingOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageContentSecurityPolicySetting) *string { return v.Mode }).(pulumi.StringPtrOutput) + }).(RequestConditionAccessScopeSettingsPtrOutput) } -func (o PreviewSigninPageContentSecurityPolicySettingOutput) ReportUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageContentSecurityPolicySetting) *string { return v.ReportUri }).(pulumi.StringPtrOutput) +// Block list of groups/entitlement bundles ids. +func (o RequestConditionAccessScopeSettingsOutput) Ids() RequestConditionAccessScopeSettingsIdArrayOutput { + return o.ApplyT(func(v RequestConditionAccessScopeSettings) []RequestConditionAccessScopeSettingsId { return v.Ids }).(RequestConditionAccessScopeSettingsIdArrayOutput) } -func (o PreviewSigninPageContentSecurityPolicySettingOutput) SrcLists() pulumi.StringArrayOutput { - return o.ApplyT(func(v PreviewSigninPageContentSecurityPolicySetting) []string { return v.SrcLists }).(pulumi.StringArrayOutput) +func (o RequestConditionAccessScopeSettingsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v RequestConditionAccessScopeSettings) string { return v.Type }).(pulumi.StringOutput) } -type PreviewSigninPageContentSecurityPolicySettingPtrOutput struct{ *pulumi.OutputState } +type RequestConditionAccessScopeSettingsPtrOutput struct{ *pulumi.OutputState } -func (PreviewSigninPageContentSecurityPolicySettingPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PreviewSigninPageContentSecurityPolicySetting)(nil)).Elem() +func (RequestConditionAccessScopeSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RequestConditionAccessScopeSettings)(nil)).Elem() } -func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) ToPreviewSigninPageContentSecurityPolicySettingPtrOutput() PreviewSigninPageContentSecurityPolicySettingPtrOutput { +func (o RequestConditionAccessScopeSettingsPtrOutput) ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput { return o } -func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) ToPreviewSigninPageContentSecurityPolicySettingPtrOutputWithContext(ctx context.Context) PreviewSigninPageContentSecurityPolicySettingPtrOutput { +func (o RequestConditionAccessScopeSettingsPtrOutput) ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsPtrOutput { return o } -func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) Elem() PreviewSigninPageContentSecurityPolicySettingOutput { - return o.ApplyT(func(v *PreviewSigninPageContentSecurityPolicySetting) PreviewSigninPageContentSecurityPolicySetting { +func (o RequestConditionAccessScopeSettingsPtrOutput) Elem() RequestConditionAccessScopeSettingsOutput { + return o.ApplyT(func(v *RequestConditionAccessScopeSettings) RequestConditionAccessScopeSettings { if v != nil { return *v } - var ret PreviewSigninPageContentSecurityPolicySetting - return ret - }).(PreviewSigninPageContentSecurityPolicySettingOutput) -} - -// enforced or report_only -func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageContentSecurityPolicySetting) *string { - if v == nil { - return nil - } - return v.Mode - }).(pulumi.StringPtrOutput) + var ret RequestConditionAccessScopeSettings + return ret + }).(RequestConditionAccessScopeSettingsOutput) } -func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) ReportUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageContentSecurityPolicySetting) *string { +// Block list of groups/entitlement bundles ids. +func (o RequestConditionAccessScopeSettingsPtrOutput) Ids() RequestConditionAccessScopeSettingsIdArrayOutput { + return o.ApplyT(func(v *RequestConditionAccessScopeSettings) []RequestConditionAccessScopeSettingsId { if v == nil { return nil } - return v.ReportUri - }).(pulumi.StringPtrOutput) + return v.Ids + }).(RequestConditionAccessScopeSettingsIdArrayOutput) } -func (o PreviewSigninPageContentSecurityPolicySettingPtrOutput) SrcLists() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PreviewSigninPageContentSecurityPolicySetting) []string { +func (o RequestConditionAccessScopeSettingsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestConditionAccessScopeSettings) *string { if v == nil { return nil } - return v.SrcLists - }).(pulumi.StringArrayOutput) + return &v.Type + }).(pulumi.StringPtrOutput) } -type PreviewSigninPageWidgetCustomizations struct { - AuthenticatorPageCustomLinkLabel *string `pulumi:"authenticatorPageCustomLinkLabel"` - AuthenticatorPageCustomLinkUrl *string `pulumi:"authenticatorPageCustomLinkUrl"` - ClassicRecoveryFlowEmailOrUsernameLabel *string `pulumi:"classicRecoveryFlowEmailOrUsernameLabel"` - CustomLink1Label *string `pulumi:"customLink1Label"` - CustomLink1Url *string `pulumi:"customLink1Url"` - CustomLink2Label *string `pulumi:"customLink2Label"` - CustomLink2Url *string `pulumi:"customLink2Url"` - ForgotPasswordLabel *string `pulumi:"forgotPasswordLabel"` - ForgotPasswordUrl *string `pulumi:"forgotPasswordUrl"` - HelpLabel *string `pulumi:"helpLabel"` - HelpUrl *string `pulumi:"helpUrl"` - PasswordInfoTip *string `pulumi:"passwordInfoTip"` - PasswordLabel *string `pulumi:"passwordLabel"` - ShowPasswordVisibilityToggle *bool `pulumi:"showPasswordVisibilityToggle"` - ShowUserIdentifier *bool `pulumi:"showUserIdentifier"` - SignInLabel *string `pulumi:"signInLabel"` - UnlockAccountLabel *string `pulumi:"unlockAccountLabel"` - UnlockAccountUrl *string `pulumi:"unlockAccountUrl"` - UsernameInfoTip *string `pulumi:"usernameInfoTip"` - UsernameLabel *string `pulumi:"usernameLabel"` - WidgetGeneration string `pulumi:"widgetGeneration"` +type RequestConditionAccessScopeSettingsId struct { + // Request condition id. + Id *string `pulumi:"id"` } -// PreviewSigninPageWidgetCustomizationsInput is an input type that accepts PreviewSigninPageWidgetCustomizationsArgs and PreviewSigninPageWidgetCustomizationsOutput values. -// You can construct a concrete instance of `PreviewSigninPageWidgetCustomizationsInput` via: +// RequestConditionAccessScopeSettingsIdInput is an input type that accepts RequestConditionAccessScopeSettingsIdArgs and RequestConditionAccessScopeSettingsIdOutput values. +// You can construct a concrete instance of `RequestConditionAccessScopeSettingsIdInput` via: // -// PreviewSigninPageWidgetCustomizationsArgs{...} -type PreviewSigninPageWidgetCustomizationsInput interface { +// RequestConditionAccessScopeSettingsIdArgs{...} +type RequestConditionAccessScopeSettingsIdInput interface { pulumi.Input - ToPreviewSigninPageWidgetCustomizationsOutput() PreviewSigninPageWidgetCustomizationsOutput - ToPreviewSigninPageWidgetCustomizationsOutputWithContext(context.Context) PreviewSigninPageWidgetCustomizationsOutput + ToRequestConditionAccessScopeSettingsIdOutput() RequestConditionAccessScopeSettingsIdOutput + ToRequestConditionAccessScopeSettingsIdOutputWithContext(context.Context) RequestConditionAccessScopeSettingsIdOutput } -type PreviewSigninPageWidgetCustomizationsArgs struct { - AuthenticatorPageCustomLinkLabel pulumi.StringPtrInput `pulumi:"authenticatorPageCustomLinkLabel"` - AuthenticatorPageCustomLinkUrl pulumi.StringPtrInput `pulumi:"authenticatorPageCustomLinkUrl"` - ClassicRecoveryFlowEmailOrUsernameLabel pulumi.StringPtrInput `pulumi:"classicRecoveryFlowEmailOrUsernameLabel"` - CustomLink1Label pulumi.StringPtrInput `pulumi:"customLink1Label"` - CustomLink1Url pulumi.StringPtrInput `pulumi:"customLink1Url"` - CustomLink2Label pulumi.StringPtrInput `pulumi:"customLink2Label"` - CustomLink2Url pulumi.StringPtrInput `pulumi:"customLink2Url"` - ForgotPasswordLabel pulumi.StringPtrInput `pulumi:"forgotPasswordLabel"` - ForgotPasswordUrl pulumi.StringPtrInput `pulumi:"forgotPasswordUrl"` - HelpLabel pulumi.StringPtrInput `pulumi:"helpLabel"` - HelpUrl pulumi.StringPtrInput `pulumi:"helpUrl"` - PasswordInfoTip pulumi.StringPtrInput `pulumi:"passwordInfoTip"` - PasswordLabel pulumi.StringPtrInput `pulumi:"passwordLabel"` - ShowPasswordVisibilityToggle pulumi.BoolPtrInput `pulumi:"showPasswordVisibilityToggle"` - ShowUserIdentifier pulumi.BoolPtrInput `pulumi:"showUserIdentifier"` - SignInLabel pulumi.StringPtrInput `pulumi:"signInLabel"` - UnlockAccountLabel pulumi.StringPtrInput `pulumi:"unlockAccountLabel"` - UnlockAccountUrl pulumi.StringPtrInput `pulumi:"unlockAccountUrl"` - UsernameInfoTip pulumi.StringPtrInput `pulumi:"usernameInfoTip"` - UsernameLabel pulumi.StringPtrInput `pulumi:"usernameLabel"` - WidgetGeneration pulumi.StringInput `pulumi:"widgetGeneration"` +type RequestConditionAccessScopeSettingsIdArgs struct { + // Request condition id. + Id pulumi.StringPtrInput `pulumi:"id"` } -func (PreviewSigninPageWidgetCustomizationsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PreviewSigninPageWidgetCustomizations)(nil)).Elem() +func (RequestConditionAccessScopeSettingsIdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionAccessScopeSettingsId)(nil)).Elem() } -func (i PreviewSigninPageWidgetCustomizationsArgs) ToPreviewSigninPageWidgetCustomizationsOutput() PreviewSigninPageWidgetCustomizationsOutput { - return i.ToPreviewSigninPageWidgetCustomizationsOutputWithContext(context.Background()) +func (i RequestConditionAccessScopeSettingsIdArgs) ToRequestConditionAccessScopeSettingsIdOutput() RequestConditionAccessScopeSettingsIdOutput { + return i.ToRequestConditionAccessScopeSettingsIdOutputWithContext(context.Background()) } -func (i PreviewSigninPageWidgetCustomizationsArgs) ToPreviewSigninPageWidgetCustomizationsOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsOutput { - return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageWidgetCustomizationsOutput) +func (i RequestConditionAccessScopeSettingsIdArgs) ToRequestConditionAccessScopeSettingsIdOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsIdOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsIdOutput) } -func (i PreviewSigninPageWidgetCustomizationsArgs) ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput { - return i.ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) +// RequestConditionAccessScopeSettingsIdArrayInput is an input type that accepts RequestConditionAccessScopeSettingsIdArray and RequestConditionAccessScopeSettingsIdArrayOutput values. +// You can construct a concrete instance of `RequestConditionAccessScopeSettingsIdArrayInput` via: +// +// RequestConditionAccessScopeSettingsIdArray{ RequestConditionAccessScopeSettingsIdArgs{...} } +type RequestConditionAccessScopeSettingsIdArrayInput interface { + pulumi.Input + + ToRequestConditionAccessScopeSettingsIdArrayOutput() RequestConditionAccessScopeSettingsIdArrayOutput + ToRequestConditionAccessScopeSettingsIdArrayOutputWithContext(context.Context) RequestConditionAccessScopeSettingsIdArrayOutput } -func (i PreviewSigninPageWidgetCustomizationsArgs) ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageWidgetCustomizationsOutput).ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx) +type RequestConditionAccessScopeSettingsIdArray []RequestConditionAccessScopeSettingsIdInput + +func (RequestConditionAccessScopeSettingsIdArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestConditionAccessScopeSettingsId)(nil)).Elem() } -// PreviewSigninPageWidgetCustomizationsPtrInput is an input type that accepts PreviewSigninPageWidgetCustomizationsArgs, PreviewSigninPageWidgetCustomizationsPtr and PreviewSigninPageWidgetCustomizationsPtrOutput values. -// You can construct a concrete instance of `PreviewSigninPageWidgetCustomizationsPtrInput` via: -// -// PreviewSigninPageWidgetCustomizationsArgs{...} -// -// or: -// -// nil -type PreviewSigninPageWidgetCustomizationsPtrInput interface { - pulumi.Input +func (i RequestConditionAccessScopeSettingsIdArray) ToRequestConditionAccessScopeSettingsIdArrayOutput() RequestConditionAccessScopeSettingsIdArrayOutput { + return i.ToRequestConditionAccessScopeSettingsIdArrayOutputWithContext(context.Background()) +} - ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput - ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput +func (i RequestConditionAccessScopeSettingsIdArray) ToRequestConditionAccessScopeSettingsIdArrayOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsIdArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsIdArrayOutput) } -type previewSigninPageWidgetCustomizationsPtrType PreviewSigninPageWidgetCustomizationsArgs +type RequestConditionAccessScopeSettingsIdOutput struct{ *pulumi.OutputState } -func PreviewSigninPageWidgetCustomizationsPtr(v *PreviewSigninPageWidgetCustomizationsArgs) PreviewSigninPageWidgetCustomizationsPtrInput { - return (*previewSigninPageWidgetCustomizationsPtrType)(v) +func (RequestConditionAccessScopeSettingsIdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionAccessScopeSettingsId)(nil)).Elem() } -func (*previewSigninPageWidgetCustomizationsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PreviewSigninPageWidgetCustomizations)(nil)).Elem() +func (o RequestConditionAccessScopeSettingsIdOutput) ToRequestConditionAccessScopeSettingsIdOutput() RequestConditionAccessScopeSettingsIdOutput { + return o } -func (i *previewSigninPageWidgetCustomizationsPtrType) ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput { - return i.ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) +func (o RequestConditionAccessScopeSettingsIdOutput) ToRequestConditionAccessScopeSettingsIdOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsIdOutput { + return o } -func (i *previewSigninPageWidgetCustomizationsPtrType) ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PreviewSigninPageWidgetCustomizationsPtrOutput) +// Request condition id. +func (o RequestConditionAccessScopeSettingsIdOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestConditionAccessScopeSettingsId) *string { return v.Id }).(pulumi.StringPtrOutput) } -type PreviewSigninPageWidgetCustomizationsOutput struct{ *pulumi.OutputState } +type RequestConditionAccessScopeSettingsIdArrayOutput struct{ *pulumi.OutputState } -func (PreviewSigninPageWidgetCustomizationsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PreviewSigninPageWidgetCustomizations)(nil)).Elem() +func (RequestConditionAccessScopeSettingsIdArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestConditionAccessScopeSettingsId)(nil)).Elem() } -func (o PreviewSigninPageWidgetCustomizationsOutput) ToPreviewSigninPageWidgetCustomizationsOutput() PreviewSigninPageWidgetCustomizationsOutput { +func (o RequestConditionAccessScopeSettingsIdArrayOutput) ToRequestConditionAccessScopeSettingsIdArrayOutput() RequestConditionAccessScopeSettingsIdArrayOutput { return o } -func (o PreviewSigninPageWidgetCustomizationsOutput) ToPreviewSigninPageWidgetCustomizationsOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsOutput { +func (o RequestConditionAccessScopeSettingsIdArrayOutput) ToRequestConditionAccessScopeSettingsIdArrayOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsIdArrayOutput { return o } -func (o PreviewSigninPageWidgetCustomizationsOutput) ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput { - return o.ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(context.Background()) +func (o RequestConditionAccessScopeSettingsIdArrayOutput) Index(i pulumi.IntInput) RequestConditionAccessScopeSettingsIdOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestConditionAccessScopeSettingsId { + return vs[0].([]RequestConditionAccessScopeSettingsId)[vs[1].(int)] + }).(RequestConditionAccessScopeSettingsIdOutput) } -func (o PreviewSigninPageWidgetCustomizationsOutput) ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PreviewSigninPageWidgetCustomizations) *PreviewSigninPageWidgetCustomizations { - return &v - }).(PreviewSigninPageWidgetCustomizationsPtrOutput) +type RequestConditionRequesterSettings struct { + // Block list of teams/groups ids. + Ids []RequestConditionRequesterSettingsId `pulumi:"ids"` + Type string `pulumi:"type"` } -func (o PreviewSigninPageWidgetCustomizationsOutput) AuthenticatorPageCustomLinkLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.AuthenticatorPageCustomLinkLabel }).(pulumi.StringPtrOutput) -} +// RequestConditionRequesterSettingsInput is an input type that accepts RequestConditionRequesterSettingsArgs and RequestConditionRequesterSettingsOutput values. +// You can construct a concrete instance of `RequestConditionRequesterSettingsInput` via: +// +// RequestConditionRequesterSettingsArgs{...} +type RequestConditionRequesterSettingsInput interface { + pulumi.Input -func (o PreviewSigninPageWidgetCustomizationsOutput) AuthenticatorPageCustomLinkUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.AuthenticatorPageCustomLinkUrl }).(pulumi.StringPtrOutput) + ToRequestConditionRequesterSettingsOutput() RequestConditionRequesterSettingsOutput + ToRequestConditionRequesterSettingsOutputWithContext(context.Context) RequestConditionRequesterSettingsOutput } -func (o PreviewSigninPageWidgetCustomizationsOutput) ClassicRecoveryFlowEmailOrUsernameLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { - return v.ClassicRecoveryFlowEmailOrUsernameLabel - }).(pulumi.StringPtrOutput) +type RequestConditionRequesterSettingsArgs struct { + // Block list of teams/groups ids. + Ids RequestConditionRequesterSettingsIdArrayInput `pulumi:"ids"` + Type pulumi.StringInput `pulumi:"type"` } -func (o PreviewSigninPageWidgetCustomizationsOutput) CustomLink1Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.CustomLink1Label }).(pulumi.StringPtrOutput) +func (RequestConditionRequesterSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionRequesterSettings)(nil)).Elem() } -func (o PreviewSigninPageWidgetCustomizationsOutput) CustomLink1Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.CustomLink1Url }).(pulumi.StringPtrOutput) +func (i RequestConditionRequesterSettingsArgs) ToRequestConditionRequesterSettingsOutput() RequestConditionRequesterSettingsOutput { + return i.ToRequestConditionRequesterSettingsOutputWithContext(context.Background()) } -func (o PreviewSigninPageWidgetCustomizationsOutput) CustomLink2Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.CustomLink2Label }).(pulumi.StringPtrOutput) +func (i RequestConditionRequesterSettingsArgs) ToRequestConditionRequesterSettingsOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsOutput) } -func (o PreviewSigninPageWidgetCustomizationsOutput) CustomLink2Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.CustomLink2Url }).(pulumi.StringPtrOutput) +func (i RequestConditionRequesterSettingsArgs) ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput { + return i.ToRequestConditionRequesterSettingsPtrOutputWithContext(context.Background()) } -func (o PreviewSigninPageWidgetCustomizationsOutput) ForgotPasswordLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.ForgotPasswordLabel }).(pulumi.StringPtrOutput) +func (i RequestConditionRequesterSettingsArgs) ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsOutput).ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx) } -func (o PreviewSigninPageWidgetCustomizationsOutput) ForgotPasswordUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.ForgotPasswordUrl }).(pulumi.StringPtrOutput) -} +// RequestConditionRequesterSettingsPtrInput is an input type that accepts RequestConditionRequesterSettingsArgs, RequestConditionRequesterSettingsPtr and RequestConditionRequesterSettingsPtrOutput values. +// You can construct a concrete instance of `RequestConditionRequesterSettingsPtrInput` via: +// +// RequestConditionRequesterSettingsArgs{...} +// +// or: +// +// nil +type RequestConditionRequesterSettingsPtrInput interface { + pulumi.Input -func (o PreviewSigninPageWidgetCustomizationsOutput) HelpLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.HelpLabel }).(pulumi.StringPtrOutput) + ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput + ToRequestConditionRequesterSettingsPtrOutputWithContext(context.Context) RequestConditionRequesterSettingsPtrOutput } -func (o PreviewSigninPageWidgetCustomizationsOutput) HelpUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.HelpUrl }).(pulumi.StringPtrOutput) +type requestConditionRequesterSettingsPtrType RequestConditionRequesterSettingsArgs + +func RequestConditionRequesterSettingsPtr(v *RequestConditionRequesterSettingsArgs) RequestConditionRequesterSettingsPtrInput { + return (*requestConditionRequesterSettingsPtrType)(v) } -func (o PreviewSigninPageWidgetCustomizationsOutput) PasswordInfoTip() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.PasswordInfoTip }).(pulumi.StringPtrOutput) +func (*requestConditionRequesterSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RequestConditionRequesterSettings)(nil)).Elem() } -func (o PreviewSigninPageWidgetCustomizationsOutput) PasswordLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.PasswordLabel }).(pulumi.StringPtrOutput) +func (i *requestConditionRequesterSettingsPtrType) ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput { + return i.ToRequestConditionRequesterSettingsPtrOutputWithContext(context.Background()) } -func (o PreviewSigninPageWidgetCustomizationsOutput) ShowPasswordVisibilityToggle() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *bool { return v.ShowPasswordVisibilityToggle }).(pulumi.BoolPtrOutput) +func (i *requestConditionRequesterSettingsPtrType) ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsPtrOutput) } -func (o PreviewSigninPageWidgetCustomizationsOutput) ShowUserIdentifier() pulumi.BoolPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *bool { return v.ShowUserIdentifier }).(pulumi.BoolPtrOutput) +type RequestConditionRequesterSettingsOutput struct{ *pulumi.OutputState } + +func (RequestConditionRequesterSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionRequesterSettings)(nil)).Elem() } -func (o PreviewSigninPageWidgetCustomizationsOutput) SignInLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.SignInLabel }).(pulumi.StringPtrOutput) +func (o RequestConditionRequesterSettingsOutput) ToRequestConditionRequesterSettingsOutput() RequestConditionRequesterSettingsOutput { + return o } -func (o PreviewSigninPageWidgetCustomizationsOutput) UnlockAccountLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.UnlockAccountLabel }).(pulumi.StringPtrOutput) +func (o RequestConditionRequesterSettingsOutput) ToRequestConditionRequesterSettingsOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsOutput { + return o } -func (o PreviewSigninPageWidgetCustomizationsOutput) UnlockAccountUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.UnlockAccountUrl }).(pulumi.StringPtrOutput) +func (o RequestConditionRequesterSettingsOutput) ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput { + return o.ToRequestConditionRequesterSettingsPtrOutputWithContext(context.Background()) } -func (o PreviewSigninPageWidgetCustomizationsOutput) UsernameInfoTip() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.UsernameInfoTip }).(pulumi.StringPtrOutput) +func (o RequestConditionRequesterSettingsOutput) ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestConditionRequesterSettings) *RequestConditionRequesterSettings { + return &v + }).(RequestConditionRequesterSettingsPtrOutput) } -func (o PreviewSigninPageWidgetCustomizationsOutput) UsernameLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) *string { return v.UsernameLabel }).(pulumi.StringPtrOutput) +// Block list of teams/groups ids. +func (o RequestConditionRequesterSettingsOutput) Ids() RequestConditionRequesterSettingsIdArrayOutput { + return o.ApplyT(func(v RequestConditionRequesterSettings) []RequestConditionRequesterSettingsId { return v.Ids }).(RequestConditionRequesterSettingsIdArrayOutput) } -func (o PreviewSigninPageWidgetCustomizationsOutput) WidgetGeneration() pulumi.StringOutput { - return o.ApplyT(func(v PreviewSigninPageWidgetCustomizations) string { return v.WidgetGeneration }).(pulumi.StringOutput) +func (o RequestConditionRequesterSettingsOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v RequestConditionRequesterSettings) string { return v.Type }).(pulumi.StringOutput) } -type PreviewSigninPageWidgetCustomizationsPtrOutput struct{ *pulumi.OutputState } +type RequestConditionRequesterSettingsPtrOutput struct{ *pulumi.OutputState } -func (PreviewSigninPageWidgetCustomizationsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PreviewSigninPageWidgetCustomizations)(nil)).Elem() +func (RequestConditionRequesterSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RequestConditionRequesterSettings)(nil)).Elem() } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ToPreviewSigninPageWidgetCustomizationsPtrOutput() PreviewSigninPageWidgetCustomizationsPtrOutput { +func (o RequestConditionRequesterSettingsPtrOutput) ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput { return o } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ToPreviewSigninPageWidgetCustomizationsPtrOutputWithContext(ctx context.Context) PreviewSigninPageWidgetCustomizationsPtrOutput { +func (o RequestConditionRequesterSettingsPtrOutput) ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsPtrOutput { return o } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) Elem() PreviewSigninPageWidgetCustomizationsOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) PreviewSigninPageWidgetCustomizations { +func (o RequestConditionRequesterSettingsPtrOutput) Elem() RequestConditionRequesterSettingsOutput { + return o.ApplyT(func(v *RequestConditionRequesterSettings) RequestConditionRequesterSettings { if v != nil { return *v } - var ret PreviewSigninPageWidgetCustomizations + var ret RequestConditionRequesterSettings return ret - }).(PreviewSigninPageWidgetCustomizationsOutput) + }).(RequestConditionRequesterSettingsOutput) } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) AuthenticatorPageCustomLinkLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { +// Block list of teams/groups ids. +func (o RequestConditionRequesterSettingsPtrOutput) Ids() RequestConditionRequesterSettingsIdArrayOutput { + return o.ApplyT(func(v *RequestConditionRequesterSettings) []RequestConditionRequesterSettingsId { if v == nil { return nil } - return v.AuthenticatorPageCustomLinkLabel - }).(pulumi.StringPtrOutput) + return v.Ids + }).(RequestConditionRequesterSettingsIdArrayOutput) } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) AuthenticatorPageCustomLinkUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { +func (o RequestConditionRequesterSettingsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestConditionRequesterSettings) *string { if v == nil { return nil } - return v.AuthenticatorPageCustomLinkUrl + return &v.Type }).(pulumi.StringPtrOutput) } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ClassicRecoveryFlowEmailOrUsernameLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.ClassicRecoveryFlowEmailOrUsernameLabel - }).(pulumi.StringPtrOutput) +type RequestConditionRequesterSettingsId struct { + // Request condition id. + Id *string `pulumi:"id"` } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) CustomLink1Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.CustomLink1Label - }).(pulumi.StringPtrOutput) -} +// RequestConditionRequesterSettingsIdInput is an input type that accepts RequestConditionRequesterSettingsIdArgs and RequestConditionRequesterSettingsIdOutput values. +// You can construct a concrete instance of `RequestConditionRequesterSettingsIdInput` via: +// +// RequestConditionRequesterSettingsIdArgs{...} +type RequestConditionRequesterSettingsIdInput interface { + pulumi.Input -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) CustomLink1Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.CustomLink1Url - }).(pulumi.StringPtrOutput) + ToRequestConditionRequesterSettingsIdOutput() RequestConditionRequesterSettingsIdOutput + ToRequestConditionRequesterSettingsIdOutputWithContext(context.Context) RequestConditionRequesterSettingsIdOutput } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) CustomLink2Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.CustomLink2Label - }).(pulumi.StringPtrOutput) +type RequestConditionRequesterSettingsIdArgs struct { + // Request condition id. + Id pulumi.StringPtrInput `pulumi:"id"` } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) CustomLink2Url() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.CustomLink2Url - }).(pulumi.StringPtrOutput) +func (RequestConditionRequesterSettingsIdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionRequesterSettingsId)(nil)).Elem() } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ForgotPasswordLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.ForgotPasswordLabel - }).(pulumi.StringPtrOutput) +func (i RequestConditionRequesterSettingsIdArgs) ToRequestConditionRequesterSettingsIdOutput() RequestConditionRequesterSettingsIdOutput { + return i.ToRequestConditionRequesterSettingsIdOutputWithContext(context.Background()) } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ForgotPasswordUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.ForgotPasswordUrl - }).(pulumi.StringPtrOutput) +func (i RequestConditionRequesterSettingsIdArgs) ToRequestConditionRequesterSettingsIdOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsIdOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsIdOutput) } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) HelpLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.HelpLabel - }).(pulumi.StringPtrOutput) -} +// RequestConditionRequesterSettingsIdArrayInput is an input type that accepts RequestConditionRequesterSettingsIdArray and RequestConditionRequesterSettingsIdArrayOutput values. +// You can construct a concrete instance of `RequestConditionRequesterSettingsIdArrayInput` via: +// +// RequestConditionRequesterSettingsIdArray{ RequestConditionRequesterSettingsIdArgs{...} } +type RequestConditionRequesterSettingsIdArrayInput interface { + pulumi.Input -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) HelpUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.HelpUrl - }).(pulumi.StringPtrOutput) + ToRequestConditionRequesterSettingsIdArrayOutput() RequestConditionRequesterSettingsIdArrayOutput + ToRequestConditionRequesterSettingsIdArrayOutputWithContext(context.Context) RequestConditionRequesterSettingsIdArrayOutput } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) PasswordInfoTip() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.PasswordInfoTip - }).(pulumi.StringPtrOutput) +type RequestConditionRequesterSettingsIdArray []RequestConditionRequesterSettingsIdInput + +func (RequestConditionRequesterSettingsIdArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestConditionRequesterSettingsId)(nil)).Elem() } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) PasswordLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.PasswordLabel - }).(pulumi.StringPtrOutput) +func (i RequestConditionRequesterSettingsIdArray) ToRequestConditionRequesterSettingsIdArrayOutput() RequestConditionRequesterSettingsIdArrayOutput { + return i.ToRequestConditionRequesterSettingsIdArrayOutputWithContext(context.Background()) } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ShowPasswordVisibilityToggle() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *bool { - if v == nil { - return nil - } - return v.ShowPasswordVisibilityToggle - }).(pulumi.BoolPtrOutput) +func (i RequestConditionRequesterSettingsIdArray) ToRequestConditionRequesterSettingsIdArrayOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsIdArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsIdArrayOutput) } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) ShowUserIdentifier() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *bool { - if v == nil { - return nil - } - return v.ShowUserIdentifier - }).(pulumi.BoolPtrOutput) +type RequestConditionRequesterSettingsIdOutput struct{ *pulumi.OutputState } + +func (RequestConditionRequesterSettingsIdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestConditionRequesterSettingsId)(nil)).Elem() } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) SignInLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.SignInLabel - }).(pulumi.StringPtrOutput) +func (o RequestConditionRequesterSettingsIdOutput) ToRequestConditionRequesterSettingsIdOutput() RequestConditionRequesterSettingsIdOutput { + return o } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) UnlockAccountLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.UnlockAccountLabel - }).(pulumi.StringPtrOutput) +func (o RequestConditionRequesterSettingsIdOutput) ToRequestConditionRequesterSettingsIdOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsIdOutput { + return o } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) UnlockAccountUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.UnlockAccountUrl - }).(pulumi.StringPtrOutput) +// Request condition id. +func (o RequestConditionRequesterSettingsIdOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestConditionRequesterSettingsId) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) UsernameInfoTip() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.UsernameInfoTip - }).(pulumi.StringPtrOutput) +type RequestConditionRequesterSettingsIdArrayOutput struct{ *pulumi.OutputState } + +func (RequestConditionRequesterSettingsIdArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestConditionRequesterSettingsId)(nil)).Elem() } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) UsernameLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return v.UsernameLabel - }).(pulumi.StringPtrOutput) +func (o RequestConditionRequesterSettingsIdArrayOutput) ToRequestConditionRequesterSettingsIdArrayOutput() RequestConditionRequesterSettingsIdArrayOutput { + return o } -func (o PreviewSigninPageWidgetCustomizationsPtrOutput) WidgetGeneration() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PreviewSigninPageWidgetCustomizations) *string { - if v == nil { - return nil - } - return &v.WidgetGeneration - }).(pulumi.StringPtrOutput) +func (o RequestConditionRequesterSettingsIdArrayOutput) ToRequestConditionRequesterSettingsIdArrayOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsIdArrayOutput { + return o } -type PushGroupAppConfig struct { - DistinguishedName string `pulumi:"distinguishedName"` - GroupScope string `pulumi:"groupScope"` - GroupType string `pulumi:"groupType"` - SamAccountName string `pulumi:"samAccountName"` +func (o RequestConditionRequesterSettingsIdArrayOutput) Index(i pulumi.IntInput) RequestConditionRequesterSettingsIdOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestConditionRequesterSettingsId { + return vs[0].([]RequestConditionRequesterSettingsId)[vs[1].(int)] + }).(RequestConditionRequesterSettingsIdOutput) +} + +type RequestSettingResourceRequestOnBehalfOfSettings struct { + // Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. + Allowed *bool `pulumi:"allowed"` + // Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. + OnlyFors []RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor `pulumi:"onlyFors"` } -// PushGroupAppConfigInput is an input type that accepts PushGroupAppConfigArgs and PushGroupAppConfigOutput values. -// You can construct a concrete instance of `PushGroupAppConfigInput` via: +// RequestSettingResourceRequestOnBehalfOfSettingsInput is an input type that accepts RequestSettingResourceRequestOnBehalfOfSettingsArgs and RequestSettingResourceRequestOnBehalfOfSettingsOutput values. +// You can construct a concrete instance of `RequestSettingResourceRequestOnBehalfOfSettingsInput` via: // -// PushGroupAppConfigArgs{...} -type PushGroupAppConfigInput interface { +// RequestSettingResourceRequestOnBehalfOfSettingsArgs{...} +type RequestSettingResourceRequestOnBehalfOfSettingsInput interface { pulumi.Input - ToPushGroupAppConfigOutput() PushGroupAppConfigOutput - ToPushGroupAppConfigOutputWithContext(context.Context) PushGroupAppConfigOutput + ToRequestSettingResourceRequestOnBehalfOfSettingsOutput() RequestSettingResourceRequestOnBehalfOfSettingsOutput + ToRequestSettingResourceRequestOnBehalfOfSettingsOutputWithContext(context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOutput } -type PushGroupAppConfigArgs struct { - DistinguishedName pulumi.StringInput `pulumi:"distinguishedName"` - GroupScope pulumi.StringInput `pulumi:"groupScope"` - GroupType pulumi.StringInput `pulumi:"groupType"` - SamAccountName pulumi.StringInput `pulumi:"samAccountName"` +type RequestSettingResourceRequestOnBehalfOfSettingsArgs struct { + // Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. + Allowed pulumi.BoolPtrInput `pulumi:"allowed"` + // Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. + OnlyFors RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayInput `pulumi:"onlyFors"` } -func (PushGroupAppConfigArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PushGroupAppConfig)(nil)).Elem() +func (RequestSettingResourceRequestOnBehalfOfSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRequestOnBehalfOfSettings)(nil)).Elem() } -func (i PushGroupAppConfigArgs) ToPushGroupAppConfigOutput() PushGroupAppConfigOutput { - return i.ToPushGroupAppConfigOutputWithContext(context.Background()) +func (i RequestSettingResourceRequestOnBehalfOfSettingsArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsOutput() RequestSettingResourceRequestOnBehalfOfSettingsOutput { + return i.ToRequestSettingResourceRequestOnBehalfOfSettingsOutputWithContext(context.Background()) } -func (i PushGroupAppConfigArgs) ToPushGroupAppConfigOutputWithContext(ctx context.Context) PushGroupAppConfigOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushGroupAppConfigOutput) +func (i RequestSettingResourceRequestOnBehalfOfSettingsArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsOutput) } -func (i PushGroupAppConfigArgs) ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput { - return i.ToPushGroupAppConfigPtrOutputWithContext(context.Background()) +func (i RequestSettingResourceRequestOnBehalfOfSettingsArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { + return i.ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(context.Background()) } -func (i PushGroupAppConfigArgs) ToPushGroupAppConfigPtrOutputWithContext(ctx context.Context) PushGroupAppConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushGroupAppConfigOutput).ToPushGroupAppConfigPtrOutputWithContext(ctx) +func (i RequestSettingResourceRequestOnBehalfOfSettingsArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsOutput).ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx) } -// PushGroupAppConfigPtrInput is an input type that accepts PushGroupAppConfigArgs, PushGroupAppConfigPtr and PushGroupAppConfigPtrOutput values. -// You can construct a concrete instance of `PushGroupAppConfigPtrInput` via: +// RequestSettingResourceRequestOnBehalfOfSettingsPtrInput is an input type that accepts RequestSettingResourceRequestOnBehalfOfSettingsArgs, RequestSettingResourceRequestOnBehalfOfSettingsPtr and RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput values. +// You can construct a concrete instance of `RequestSettingResourceRequestOnBehalfOfSettingsPtrInput` via: // -// PushGroupAppConfigArgs{...} +// RequestSettingResourceRequestOnBehalfOfSettingsArgs{...} // // or: // // nil -type PushGroupAppConfigPtrInput interface { +type RequestSettingResourceRequestOnBehalfOfSettingsPtrInput interface { pulumi.Input - ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput - ToPushGroupAppConfigPtrOutputWithContext(context.Context) PushGroupAppConfigPtrOutput + ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput + ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput } -type pushGroupAppConfigPtrType PushGroupAppConfigArgs +type requestSettingResourceRequestOnBehalfOfSettingsPtrType RequestSettingResourceRequestOnBehalfOfSettingsArgs -func PushGroupAppConfigPtr(v *PushGroupAppConfigArgs) PushGroupAppConfigPtrInput { - return (*pushGroupAppConfigPtrType)(v) +func RequestSettingResourceRequestOnBehalfOfSettingsPtr(v *RequestSettingResourceRequestOnBehalfOfSettingsArgs) RequestSettingResourceRequestOnBehalfOfSettingsPtrInput { + return (*requestSettingResourceRequestOnBehalfOfSettingsPtrType)(v) } -func (*pushGroupAppConfigPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PushGroupAppConfig)(nil)).Elem() +func (*requestSettingResourceRequestOnBehalfOfSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RequestSettingResourceRequestOnBehalfOfSettings)(nil)).Elem() } -func (i *pushGroupAppConfigPtrType) ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput { - return i.ToPushGroupAppConfigPtrOutputWithContext(context.Background()) +func (i *requestSettingResourceRequestOnBehalfOfSettingsPtrType) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { + return i.ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(context.Background()) } -func (i *pushGroupAppConfigPtrType) ToPushGroupAppConfigPtrOutputWithContext(ctx context.Context) PushGroupAppConfigPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushGroupAppConfigPtrOutput) +func (i *requestSettingResourceRequestOnBehalfOfSettingsPtrType) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) } -type PushGroupAppConfigOutput struct{ *pulumi.OutputState } +type RequestSettingResourceRequestOnBehalfOfSettingsOutput struct{ *pulumi.OutputState } -func (PushGroupAppConfigOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PushGroupAppConfig)(nil)).Elem() +func (RequestSettingResourceRequestOnBehalfOfSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRequestOnBehalfOfSettings)(nil)).Elem() } -func (o PushGroupAppConfigOutput) ToPushGroupAppConfigOutput() PushGroupAppConfigOutput { +func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOutput() RequestSettingResourceRequestOnBehalfOfSettingsOutput { return o } -func (o PushGroupAppConfigOutput) ToPushGroupAppConfigOutputWithContext(ctx context.Context) PushGroupAppConfigOutput { +func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOutput { return o } -func (o PushGroupAppConfigOutput) ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput { - return o.ToPushGroupAppConfigPtrOutputWithContext(context.Background()) +func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { + return o.ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(context.Background()) } -func (o PushGroupAppConfigOutput) ToPushGroupAppConfigPtrOutputWithContext(ctx context.Context) PushGroupAppConfigPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PushGroupAppConfig) *PushGroupAppConfig { +func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestSettingResourceRequestOnBehalfOfSettings) *RequestSettingResourceRequestOnBehalfOfSettings { return &v - }).(PushGroupAppConfigPtrOutput) -} - -func (o PushGroupAppConfigOutput) DistinguishedName() pulumi.StringOutput { - return o.ApplyT(func(v PushGroupAppConfig) string { return v.DistinguishedName }).(pulumi.StringOutput) -} - -func (o PushGroupAppConfigOutput) GroupScope() pulumi.StringOutput { - return o.ApplyT(func(v PushGroupAppConfig) string { return v.GroupScope }).(pulumi.StringOutput) + }).(RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) } -func (o PushGroupAppConfigOutput) GroupType() pulumi.StringOutput { - return o.ApplyT(func(v PushGroupAppConfig) string { return v.GroupType }).(pulumi.StringOutput) +// Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. +func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) Allowed() pulumi.BoolPtrOutput { + return o.ApplyT(func(v RequestSettingResourceRequestOnBehalfOfSettings) *bool { return v.Allowed }).(pulumi.BoolPtrOutput) } -func (o PushGroupAppConfigOutput) SamAccountName() pulumi.StringOutput { - return o.ApplyT(func(v PushGroupAppConfig) string { return v.SamAccountName }).(pulumi.StringOutput) +// Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. +func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) OnlyFors() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { + return o.ApplyT(func(v RequestSettingResourceRequestOnBehalfOfSettings) []RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor { + return v.OnlyFors + }).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) } -type PushGroupAppConfigPtrOutput struct{ *pulumi.OutputState } +type RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput struct{ *pulumi.OutputState } -func (PushGroupAppConfigPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PushGroupAppConfig)(nil)).Elem() +func (RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RequestSettingResourceRequestOnBehalfOfSettings)(nil)).Elem() } -func (o PushGroupAppConfigPtrOutput) ToPushGroupAppConfigPtrOutput() PushGroupAppConfigPtrOutput { +func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { return o } -func (o PushGroupAppConfigPtrOutput) ToPushGroupAppConfigPtrOutputWithContext(ctx context.Context) PushGroupAppConfigPtrOutput { +func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { return o } -func (o PushGroupAppConfigPtrOutput) Elem() PushGroupAppConfigOutput { - return o.ApplyT(func(v *PushGroupAppConfig) PushGroupAppConfig { +func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) Elem() RequestSettingResourceRequestOnBehalfOfSettingsOutput { + return o.ApplyT(func(v *RequestSettingResourceRequestOnBehalfOfSettings) RequestSettingResourceRequestOnBehalfOfSettings { if v != nil { return *v } - var ret PushGroupAppConfig + var ret RequestSettingResourceRequestOnBehalfOfSettings return ret - }).(PushGroupAppConfigOutput) -} - -func (o PushGroupAppConfigPtrOutput) DistinguishedName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushGroupAppConfig) *string { - if v == nil { - return nil - } - return &v.DistinguishedName - }).(pulumi.StringPtrOutput) -} - -func (o PushGroupAppConfigPtrOutput) GroupScope() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushGroupAppConfig) *string { - if v == nil { - return nil - } - return &v.GroupScope - }).(pulumi.StringPtrOutput) + }).(RequestSettingResourceRequestOnBehalfOfSettingsOutput) } -func (o PushGroupAppConfigPtrOutput) GroupType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushGroupAppConfig) *string { +// Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. +func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) Allowed() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *RequestSettingResourceRequestOnBehalfOfSettings) *bool { if v == nil { return nil } - return &v.GroupType - }).(pulumi.StringPtrOutput) + return v.Allowed + }).(pulumi.BoolPtrOutput) } -func (o PushGroupAppConfigPtrOutput) SamAccountName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushGroupAppConfig) *string { +// Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. +func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) OnlyFors() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { + return o.ApplyT(func(v *RequestSettingResourceRequestOnBehalfOfSettings) []RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor { if v == nil { return nil } - return &v.SamAccountName - }).(pulumi.StringPtrOutput) + return v.OnlyFors + }).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) } -type PushProviderConfiguration struct { - ApnsConfiguration *PushProviderConfigurationApnsConfiguration `pulumi:"apnsConfiguration"` - FcmConfiguration *PushProviderConfigurationFcmConfiguration `pulumi:"fcmConfiguration"` +type RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor struct { + // Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user + Type *string `pulumi:"type"` } -// PushProviderConfigurationInput is an input type that accepts PushProviderConfigurationArgs and PushProviderConfigurationOutput values. -// You can construct a concrete instance of `PushProviderConfigurationInput` via: +// RequestSettingResourceRequestOnBehalfOfSettingsOnlyForInput is an input type that accepts RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs and RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput values. +// You can construct a concrete instance of `RequestSettingResourceRequestOnBehalfOfSettingsOnlyForInput` via: // -// PushProviderConfigurationArgs{...} -type PushProviderConfigurationInput interface { +// RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs{...} +type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForInput interface { pulumi.Input - ToPushProviderConfigurationOutput() PushProviderConfigurationOutput - ToPushProviderConfigurationOutputWithContext(context.Context) PushProviderConfigurationOutput -} - -type PushProviderConfigurationArgs struct { - ApnsConfiguration PushProviderConfigurationApnsConfigurationPtrInput `pulumi:"apnsConfiguration"` - FcmConfiguration PushProviderConfigurationFcmConfigurationPtrInput `pulumi:"fcmConfiguration"` -} - -func (PushProviderConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PushProviderConfiguration)(nil)).Elem() + ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput + ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutputWithContext(context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput } -func (i PushProviderConfigurationArgs) ToPushProviderConfigurationOutput() PushProviderConfigurationOutput { - return i.ToPushProviderConfigurationOutputWithContext(context.Background()) +type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs struct { + // Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user + Type pulumi.StringPtrInput `pulumi:"type"` } -func (i PushProviderConfigurationArgs) ToPushProviderConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationOutput) +func (RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)(nil)).Elem() } -func (i PushProviderConfigurationArgs) ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput { - return i.ToPushProviderConfigurationPtrOutputWithContext(context.Background()) +func (i RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { + return i.ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutputWithContext(context.Background()) } -func (i PushProviderConfigurationArgs) ToPushProviderConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationOutput).ToPushProviderConfigurationPtrOutputWithContext(ctx) +func (i RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) } -// PushProviderConfigurationPtrInput is an input type that accepts PushProviderConfigurationArgs, PushProviderConfigurationPtr and PushProviderConfigurationPtrOutput values. -// You can construct a concrete instance of `PushProviderConfigurationPtrInput` via: -// -// PushProviderConfigurationArgs{...} -// -// or: +// RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayInput is an input type that accepts RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray and RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput values. +// You can construct a concrete instance of `RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayInput` via: // -// nil -type PushProviderConfigurationPtrInput interface { +// RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray{ RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs{...} } +type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayInput interface { pulumi.Input - ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput - ToPushProviderConfigurationPtrOutputWithContext(context.Context) PushProviderConfigurationPtrOutput -} - -type pushProviderConfigurationPtrType PushProviderConfigurationArgs - -func PushProviderConfigurationPtr(v *PushProviderConfigurationArgs) PushProviderConfigurationPtrInput { - return (*pushProviderConfigurationPtrType)(v) -} - -func (*pushProviderConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PushProviderConfiguration)(nil)).Elem() + ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput + ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutputWithContext(context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput } -func (i *pushProviderConfigurationPtrType) ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput { - return i.ToPushProviderConfigurationPtrOutputWithContext(context.Background()) -} +type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray []RequestSettingResourceRequestOnBehalfOfSettingsOnlyForInput -func (i *pushProviderConfigurationPtrType) ToPushProviderConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationPtrOutput) +func (RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)(nil)).Elem() } -type PushProviderConfigurationOutput struct{ *pulumi.OutputState } - -func (PushProviderConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PushProviderConfiguration)(nil)).Elem() +func (i RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { + return i.ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutputWithContext(context.Background()) } -func (o PushProviderConfigurationOutput) ToPushProviderConfigurationOutput() PushProviderConfigurationOutput { - return o +func (i RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) } -func (o PushProviderConfigurationOutput) ToPushProviderConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationOutput { - return o -} +type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput struct{ *pulumi.OutputState } -func (o PushProviderConfigurationOutput) ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput { - return o.ToPushProviderConfigurationPtrOutputWithContext(context.Background()) +func (RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)(nil)).Elem() } -func (o PushProviderConfigurationOutput) ToPushProviderConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PushProviderConfiguration) *PushProviderConfiguration { - return &v - }).(PushProviderConfigurationPtrOutput) +func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { + return o } -func (o PushProviderConfigurationOutput) ApnsConfiguration() PushProviderConfigurationApnsConfigurationPtrOutput { - return o.ApplyT(func(v PushProviderConfiguration) *PushProviderConfigurationApnsConfiguration { - return v.ApnsConfiguration - }).(PushProviderConfigurationApnsConfigurationPtrOutput) +func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { + return o } -func (o PushProviderConfigurationOutput) FcmConfiguration() PushProviderConfigurationFcmConfigurationPtrOutput { - return o.ApplyT(func(v PushProviderConfiguration) *PushProviderConfigurationFcmConfiguration { - return v.FcmConfiguration - }).(PushProviderConfigurationFcmConfigurationPtrOutput) +// Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user +func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor) *string { return v.Type }).(pulumi.StringPtrOutput) } -type PushProviderConfigurationPtrOutput struct{ *pulumi.OutputState } +type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput struct{ *pulumi.OutputState } -func (PushProviderConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PushProviderConfiguration)(nil)).Elem() +func (RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)(nil)).Elem() } -func (o PushProviderConfigurationPtrOutput) ToPushProviderConfigurationPtrOutput() PushProviderConfigurationPtrOutput { +func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { return o } -func (o PushProviderConfigurationPtrOutput) ToPushProviderConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationPtrOutput { +func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { return o } -func (o PushProviderConfigurationPtrOutput) Elem() PushProviderConfigurationOutput { - return o.ApplyT(func(v *PushProviderConfiguration) PushProviderConfiguration { - if v != nil { - return *v - } - var ret PushProviderConfiguration - return ret - }).(PushProviderConfigurationOutput) -} - -func (o PushProviderConfigurationPtrOutput) ApnsConfiguration() PushProviderConfigurationApnsConfigurationPtrOutput { - return o.ApplyT(func(v *PushProviderConfiguration) *PushProviderConfigurationApnsConfiguration { - if v == nil { - return nil - } - return v.ApnsConfiguration - }).(PushProviderConfigurationApnsConfigurationPtrOutput) -} - -func (o PushProviderConfigurationPtrOutput) FcmConfiguration() PushProviderConfigurationFcmConfigurationPtrOutput { - return o.ApplyT(func(v *PushProviderConfiguration) *PushProviderConfigurationFcmConfiguration { - if v == nil { - return nil - } - return v.FcmConfiguration - }).(PushProviderConfigurationFcmConfigurationPtrOutput) +func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) Index(i pulumi.IntInput) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor { + return vs[0].([]RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)[vs[1].(int)] + }).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) } -type PushProviderConfigurationApnsConfiguration struct { - // File name for Admin Console display. - FileName *string `pulumi:"fileName"` - // 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. - KeyId *string `pulumi:"keyId"` - // 10-character Team ID used to develop the iOS app. Required for APNS provider type. - TeamId *string `pulumi:"teamId"` - // APNs private authentication token signing key. Required for APNS provider type. - TokenSigningKey *string `pulumi:"tokenSigningKey"` +type RequestSettingResourceRiskSettings struct { + // Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. + DefaultSetting *RequestSettingResourceRiskSettingsDefaultSetting `pulumi:"defaultSetting"` } -// PushProviderConfigurationApnsConfigurationInput is an input type that accepts PushProviderConfigurationApnsConfigurationArgs and PushProviderConfigurationApnsConfigurationOutput values. -// You can construct a concrete instance of `PushProviderConfigurationApnsConfigurationInput` via: +// RequestSettingResourceRiskSettingsInput is an input type that accepts RequestSettingResourceRiskSettingsArgs and RequestSettingResourceRiskSettingsOutput values. +// You can construct a concrete instance of `RequestSettingResourceRiskSettingsInput` via: // -// PushProviderConfigurationApnsConfigurationArgs{...} -type PushProviderConfigurationApnsConfigurationInput interface { +// RequestSettingResourceRiskSettingsArgs{...} +type RequestSettingResourceRiskSettingsInput interface { pulumi.Input - ToPushProviderConfigurationApnsConfigurationOutput() PushProviderConfigurationApnsConfigurationOutput - ToPushProviderConfigurationApnsConfigurationOutputWithContext(context.Context) PushProviderConfigurationApnsConfigurationOutput + ToRequestSettingResourceRiskSettingsOutput() RequestSettingResourceRiskSettingsOutput + ToRequestSettingResourceRiskSettingsOutputWithContext(context.Context) RequestSettingResourceRiskSettingsOutput } -type PushProviderConfigurationApnsConfigurationArgs struct { - // File name for Admin Console display. - FileName pulumi.StringPtrInput `pulumi:"fileName"` - // 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. - KeyId pulumi.StringPtrInput `pulumi:"keyId"` - // 10-character Team ID used to develop the iOS app. Required for APNS provider type. - TeamId pulumi.StringPtrInput `pulumi:"teamId"` - // APNs private authentication token signing key. Required for APNS provider type. - TokenSigningKey pulumi.StringPtrInput `pulumi:"tokenSigningKey"` +type RequestSettingResourceRiskSettingsArgs struct { + // Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. + DefaultSetting RequestSettingResourceRiskSettingsDefaultSettingPtrInput `pulumi:"defaultSetting"` } -func (PushProviderConfigurationApnsConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PushProviderConfigurationApnsConfiguration)(nil)).Elem() +func (RequestSettingResourceRiskSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRiskSettings)(nil)).Elem() } -func (i PushProviderConfigurationApnsConfigurationArgs) ToPushProviderConfigurationApnsConfigurationOutput() PushProviderConfigurationApnsConfigurationOutput { - return i.ToPushProviderConfigurationApnsConfigurationOutputWithContext(context.Background()) +func (i RequestSettingResourceRiskSettingsArgs) ToRequestSettingResourceRiskSettingsOutput() RequestSettingResourceRiskSettingsOutput { + return i.ToRequestSettingResourceRiskSettingsOutputWithContext(context.Background()) } -func (i PushProviderConfigurationApnsConfigurationArgs) ToPushProviderConfigurationApnsConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationApnsConfigurationOutput) +func (i RequestSettingResourceRiskSettingsArgs) ToRequestSettingResourceRiskSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsOutput) } -func (i PushProviderConfigurationApnsConfigurationArgs) ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput { - return i.ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(context.Background()) +func (i RequestSettingResourceRiskSettingsArgs) ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput { + return i.ToRequestSettingResourceRiskSettingsPtrOutputWithContext(context.Background()) } -func (i PushProviderConfigurationApnsConfigurationArgs) ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationApnsConfigurationOutput).ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx) +func (i RequestSettingResourceRiskSettingsArgs) ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsOutput).ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx) } -// PushProviderConfigurationApnsConfigurationPtrInput is an input type that accepts PushProviderConfigurationApnsConfigurationArgs, PushProviderConfigurationApnsConfigurationPtr and PushProviderConfigurationApnsConfigurationPtrOutput values. -// You can construct a concrete instance of `PushProviderConfigurationApnsConfigurationPtrInput` via: +// RequestSettingResourceRiskSettingsPtrInput is an input type that accepts RequestSettingResourceRiskSettingsArgs, RequestSettingResourceRiskSettingsPtr and RequestSettingResourceRiskSettingsPtrOutput values. +// You can construct a concrete instance of `RequestSettingResourceRiskSettingsPtrInput` via: // -// PushProviderConfigurationApnsConfigurationArgs{...} +// RequestSettingResourceRiskSettingsArgs{...} // // or: // // nil -type PushProviderConfigurationApnsConfigurationPtrInput interface { +type RequestSettingResourceRiskSettingsPtrInput interface { pulumi.Input - ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput - ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(context.Context) PushProviderConfigurationApnsConfigurationPtrOutput + ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput + ToRequestSettingResourceRiskSettingsPtrOutputWithContext(context.Context) RequestSettingResourceRiskSettingsPtrOutput } -type pushProviderConfigurationApnsConfigurationPtrType PushProviderConfigurationApnsConfigurationArgs +type requestSettingResourceRiskSettingsPtrType RequestSettingResourceRiskSettingsArgs -func PushProviderConfigurationApnsConfigurationPtr(v *PushProviderConfigurationApnsConfigurationArgs) PushProviderConfigurationApnsConfigurationPtrInput { - return (*pushProviderConfigurationApnsConfigurationPtrType)(v) +func RequestSettingResourceRiskSettingsPtr(v *RequestSettingResourceRiskSettingsArgs) RequestSettingResourceRiskSettingsPtrInput { + return (*requestSettingResourceRiskSettingsPtrType)(v) } -func (*pushProviderConfigurationApnsConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PushProviderConfigurationApnsConfiguration)(nil)).Elem() +func (*requestSettingResourceRiskSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RequestSettingResourceRiskSettings)(nil)).Elem() } -func (i *pushProviderConfigurationApnsConfigurationPtrType) ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput { - return i.ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(context.Background()) +func (i *requestSettingResourceRiskSettingsPtrType) ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput { + return i.ToRequestSettingResourceRiskSettingsPtrOutputWithContext(context.Background()) } -func (i *pushProviderConfigurationApnsConfigurationPtrType) ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationApnsConfigurationPtrOutput) +func (i *requestSettingResourceRiskSettingsPtrType) ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsPtrOutput) } -type PushProviderConfigurationApnsConfigurationOutput struct{ *pulumi.OutputState } +type RequestSettingResourceRiskSettingsOutput struct{ *pulumi.OutputState } -func (PushProviderConfigurationApnsConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PushProviderConfigurationApnsConfiguration)(nil)).Elem() +func (RequestSettingResourceRiskSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRiskSettings)(nil)).Elem() } -func (o PushProviderConfigurationApnsConfigurationOutput) ToPushProviderConfigurationApnsConfigurationOutput() PushProviderConfigurationApnsConfigurationOutput { +func (o RequestSettingResourceRiskSettingsOutput) ToRequestSettingResourceRiskSettingsOutput() RequestSettingResourceRiskSettingsOutput { return o } -func (o PushProviderConfigurationApnsConfigurationOutput) ToPushProviderConfigurationApnsConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationOutput { +func (o RequestSettingResourceRiskSettingsOutput) ToRequestSettingResourceRiskSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsOutput { return o } -func (o PushProviderConfigurationApnsConfigurationOutput) ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput { - return o.ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(context.Background()) +func (o RequestSettingResourceRiskSettingsOutput) ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput { + return o.ToRequestSettingResourceRiskSettingsPtrOutputWithContext(context.Background()) } -func (o PushProviderConfigurationApnsConfigurationOutput) ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PushProviderConfigurationApnsConfiguration) *PushProviderConfigurationApnsConfiguration { +func (o RequestSettingResourceRiskSettingsOutput) ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestSettingResourceRiskSettings) *RequestSettingResourceRiskSettings { return &v - }).(PushProviderConfigurationApnsConfigurationPtrOutput) -} - -// File name for Admin Console display. -func (o PushProviderConfigurationApnsConfigurationOutput) FileName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationApnsConfiguration) *string { return v.FileName }).(pulumi.StringPtrOutput) -} - -// 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. -func (o PushProviderConfigurationApnsConfigurationOutput) KeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationApnsConfiguration) *string { return v.KeyId }).(pulumi.StringPtrOutput) -} - -// 10-character Team ID used to develop the iOS app. Required for APNS provider type. -func (o PushProviderConfigurationApnsConfigurationOutput) TeamId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationApnsConfiguration) *string { return v.TeamId }).(pulumi.StringPtrOutput) + }).(RequestSettingResourceRiskSettingsPtrOutput) } -// APNs private authentication token signing key. Required for APNS provider type. -func (o PushProviderConfigurationApnsConfigurationOutput) TokenSigningKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationApnsConfiguration) *string { return v.TokenSigningKey }).(pulumi.StringPtrOutput) +// Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. +func (o RequestSettingResourceRiskSettingsOutput) DefaultSetting() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { + return o.ApplyT(func(v RequestSettingResourceRiskSettings) *RequestSettingResourceRiskSettingsDefaultSetting { + return v.DefaultSetting + }).(RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) } -type PushProviderConfigurationApnsConfigurationPtrOutput struct{ *pulumi.OutputState } +type RequestSettingResourceRiskSettingsPtrOutput struct{ *pulumi.OutputState } -func (PushProviderConfigurationApnsConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PushProviderConfigurationApnsConfiguration)(nil)).Elem() +func (RequestSettingResourceRiskSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RequestSettingResourceRiskSettings)(nil)).Elem() } -func (o PushProviderConfigurationApnsConfigurationPtrOutput) ToPushProviderConfigurationApnsConfigurationPtrOutput() PushProviderConfigurationApnsConfigurationPtrOutput { +func (o RequestSettingResourceRiskSettingsPtrOutput) ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput { return o } -func (o PushProviderConfigurationApnsConfigurationPtrOutput) ToPushProviderConfigurationApnsConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationApnsConfigurationPtrOutput { +func (o RequestSettingResourceRiskSettingsPtrOutput) ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsPtrOutput { return o } -func (o PushProviderConfigurationApnsConfigurationPtrOutput) Elem() PushProviderConfigurationApnsConfigurationOutput { - return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) PushProviderConfigurationApnsConfiguration { +func (o RequestSettingResourceRiskSettingsPtrOutput) Elem() RequestSettingResourceRiskSettingsOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettings) RequestSettingResourceRiskSettings { if v != nil { return *v } - var ret PushProviderConfigurationApnsConfiguration + var ret RequestSettingResourceRiskSettings return ret - }).(PushProviderConfigurationApnsConfigurationOutput) -} - -// File name for Admin Console display. -func (o PushProviderConfigurationApnsConfigurationPtrOutput) FileName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) *string { - if v == nil { - return nil - } - return v.FileName - }).(pulumi.StringPtrOutput) -} - -// 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. -func (o PushProviderConfigurationApnsConfigurationPtrOutput) KeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) *string { - if v == nil { - return nil - } - return v.KeyId - }).(pulumi.StringPtrOutput) -} - -// 10-character Team ID used to develop the iOS app. Required for APNS provider type. -func (o PushProviderConfigurationApnsConfigurationPtrOutput) TeamId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) *string { - if v == nil { - return nil - } - return v.TeamId - }).(pulumi.StringPtrOutput) + }).(RequestSettingResourceRiskSettingsOutput) } -// APNs private authentication token signing key. Required for APNS provider type. -func (o PushProviderConfigurationApnsConfigurationPtrOutput) TokenSigningKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationApnsConfiguration) *string { +// Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. +func (o RequestSettingResourceRiskSettingsPtrOutput) DefaultSetting() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettings) *RequestSettingResourceRiskSettingsDefaultSetting { if v == nil { return nil } - return v.TokenSigningKey - }).(pulumi.StringPtrOutput) + return v.DefaultSetting + }).(RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) } -type PushProviderConfigurationFcmConfiguration struct { - // JSON containing the private service account key and service account details. Required for FCM provider type. - ServiceAccountJson *PushProviderConfigurationFcmConfigurationServiceAccountJson `pulumi:"serviceAccountJson"` +type RequestSettingResourceRiskSettingsDefaultSetting struct { + // Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. + AccessDurationSettings *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings `pulumi:"accessDurationSettings"` + // The ID of the approval sequence. + ApprovalSequenceId *string `pulumi:"approvalSequenceId"` + Errors []string `pulumi:"errors"` + RequestSubmissionType *string `pulumi:"requestSubmissionType"` } -// PushProviderConfigurationFcmConfigurationInput is an input type that accepts PushProviderConfigurationFcmConfigurationArgs and PushProviderConfigurationFcmConfigurationOutput values. -// You can construct a concrete instance of `PushProviderConfigurationFcmConfigurationInput` via: +// RequestSettingResourceRiskSettingsDefaultSettingInput is an input type that accepts RequestSettingResourceRiskSettingsDefaultSettingArgs and RequestSettingResourceRiskSettingsDefaultSettingOutput values. +// You can construct a concrete instance of `RequestSettingResourceRiskSettingsDefaultSettingInput` via: // -// PushProviderConfigurationFcmConfigurationArgs{...} -type PushProviderConfigurationFcmConfigurationInput interface { +// RequestSettingResourceRiskSettingsDefaultSettingArgs{...} +type RequestSettingResourceRiskSettingsDefaultSettingInput interface { pulumi.Input - ToPushProviderConfigurationFcmConfigurationOutput() PushProviderConfigurationFcmConfigurationOutput - ToPushProviderConfigurationFcmConfigurationOutputWithContext(context.Context) PushProviderConfigurationFcmConfigurationOutput + ToRequestSettingResourceRiskSettingsDefaultSettingOutput() RequestSettingResourceRiskSettingsDefaultSettingOutput + ToRequestSettingResourceRiskSettingsDefaultSettingOutputWithContext(context.Context) RequestSettingResourceRiskSettingsDefaultSettingOutput } -type PushProviderConfigurationFcmConfigurationArgs struct { - // JSON containing the private service account key and service account details. Required for FCM provider type. - ServiceAccountJson PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput `pulumi:"serviceAccountJson"` +type RequestSettingResourceRiskSettingsDefaultSettingArgs struct { + // Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. + AccessDurationSettings RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput `pulumi:"accessDurationSettings"` + // The ID of the approval sequence. + ApprovalSequenceId pulumi.StringPtrInput `pulumi:"approvalSequenceId"` + Errors pulumi.StringArrayInput `pulumi:"errors"` + RequestSubmissionType pulumi.StringPtrInput `pulumi:"requestSubmissionType"` } -func (PushProviderConfigurationFcmConfigurationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PushProviderConfigurationFcmConfiguration)(nil)).Elem() +func (RequestSettingResourceRiskSettingsDefaultSettingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRiskSettingsDefaultSetting)(nil)).Elem() } -func (i PushProviderConfigurationFcmConfigurationArgs) ToPushProviderConfigurationFcmConfigurationOutput() PushProviderConfigurationFcmConfigurationOutput { - return i.ToPushProviderConfigurationFcmConfigurationOutputWithContext(context.Background()) +func (i RequestSettingResourceRiskSettingsDefaultSettingArgs) ToRequestSettingResourceRiskSettingsDefaultSettingOutput() RequestSettingResourceRiskSettingsDefaultSettingOutput { + return i.ToRequestSettingResourceRiskSettingsDefaultSettingOutputWithContext(context.Background()) } -func (i PushProviderConfigurationFcmConfigurationArgs) ToPushProviderConfigurationFcmConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationOutput) +func (i RequestSettingResourceRiskSettingsDefaultSettingArgs) ToRequestSettingResourceRiskSettingsDefaultSettingOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingOutput) } -func (i PushProviderConfigurationFcmConfigurationArgs) ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput { - return i.ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(context.Background()) +func (i RequestSettingResourceRiskSettingsDefaultSettingArgs) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { + return i.ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(context.Background()) } -func (i PushProviderConfigurationFcmConfigurationArgs) ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationOutput).ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx) +func (i RequestSettingResourceRiskSettingsDefaultSettingArgs) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingOutput).ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx) } -// PushProviderConfigurationFcmConfigurationPtrInput is an input type that accepts PushProviderConfigurationFcmConfigurationArgs, PushProviderConfigurationFcmConfigurationPtr and PushProviderConfigurationFcmConfigurationPtrOutput values. -// You can construct a concrete instance of `PushProviderConfigurationFcmConfigurationPtrInput` via: +// RequestSettingResourceRiskSettingsDefaultSettingPtrInput is an input type that accepts RequestSettingResourceRiskSettingsDefaultSettingArgs, RequestSettingResourceRiskSettingsDefaultSettingPtr and RequestSettingResourceRiskSettingsDefaultSettingPtrOutput values. +// You can construct a concrete instance of `RequestSettingResourceRiskSettingsDefaultSettingPtrInput` via: // -// PushProviderConfigurationFcmConfigurationArgs{...} +// RequestSettingResourceRiskSettingsDefaultSettingArgs{...} // // or: // // nil -type PushProviderConfigurationFcmConfigurationPtrInput interface { +type RequestSettingResourceRiskSettingsDefaultSettingPtrInput interface { pulumi.Input - ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput - ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(context.Context) PushProviderConfigurationFcmConfigurationPtrOutput + ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput + ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput } -type pushProviderConfigurationFcmConfigurationPtrType PushProviderConfigurationFcmConfigurationArgs +type requestSettingResourceRiskSettingsDefaultSettingPtrType RequestSettingResourceRiskSettingsDefaultSettingArgs -func PushProviderConfigurationFcmConfigurationPtr(v *PushProviderConfigurationFcmConfigurationArgs) PushProviderConfigurationFcmConfigurationPtrInput { - return (*pushProviderConfigurationFcmConfigurationPtrType)(v) +func RequestSettingResourceRiskSettingsDefaultSettingPtr(v *RequestSettingResourceRiskSettingsDefaultSettingArgs) RequestSettingResourceRiskSettingsDefaultSettingPtrInput { + return (*requestSettingResourceRiskSettingsDefaultSettingPtrType)(v) } -func (*pushProviderConfigurationFcmConfigurationPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PushProviderConfigurationFcmConfiguration)(nil)).Elem() +func (*requestSettingResourceRiskSettingsDefaultSettingPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RequestSettingResourceRiskSettingsDefaultSetting)(nil)).Elem() } -func (i *pushProviderConfigurationFcmConfigurationPtrType) ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput { - return i.ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(context.Background()) +func (i *requestSettingResourceRiskSettingsDefaultSettingPtrType) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { + return i.ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(context.Background()) } -func (i *pushProviderConfigurationFcmConfigurationPtrType) ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationPtrOutput) +func (i *requestSettingResourceRiskSettingsDefaultSettingPtrType) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) } -type PushProviderConfigurationFcmConfigurationOutput struct{ *pulumi.OutputState } +type RequestSettingResourceRiskSettingsDefaultSettingOutput struct{ *pulumi.OutputState } -func (PushProviderConfigurationFcmConfigurationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PushProviderConfigurationFcmConfiguration)(nil)).Elem() +func (RequestSettingResourceRiskSettingsDefaultSettingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRiskSettingsDefaultSetting)(nil)).Elem() } -func (o PushProviderConfigurationFcmConfigurationOutput) ToPushProviderConfigurationFcmConfigurationOutput() PushProviderConfigurationFcmConfigurationOutput { +func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ToRequestSettingResourceRiskSettingsDefaultSettingOutput() RequestSettingResourceRiskSettingsDefaultSettingOutput { return o } -func (o PushProviderConfigurationFcmConfigurationOutput) ToPushProviderConfigurationFcmConfigurationOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationOutput { +func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ToRequestSettingResourceRiskSettingsDefaultSettingOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingOutput { return o } -func (o PushProviderConfigurationFcmConfigurationOutput) ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput { - return o.ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(context.Background()) +func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { + return o.ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(context.Background()) } -func (o PushProviderConfigurationFcmConfigurationOutput) ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PushProviderConfigurationFcmConfiguration) *PushProviderConfigurationFcmConfiguration { +func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestSettingResourceRiskSettingsDefaultSetting) *RequestSettingResourceRiskSettingsDefaultSetting { return &v - }).(PushProviderConfigurationFcmConfigurationPtrOutput) + }).(RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) } -// JSON containing the private service account key and service account details. Required for FCM provider type. -func (o PushProviderConfigurationFcmConfigurationOutput) ServiceAccountJson() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfiguration) *PushProviderConfigurationFcmConfigurationServiceAccountJson { - return v.ServiceAccountJson - }).(PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) +// Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. +func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) AccessDurationSettings() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSetting) *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings { + return v.AccessDurationSettings + }).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) } -type PushProviderConfigurationFcmConfigurationPtrOutput struct{ *pulumi.OutputState } +// The ID of the approval sequence. +func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ApprovalSequenceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSetting) *string { return v.ApprovalSequenceId }).(pulumi.StringPtrOutput) +} -func (PushProviderConfigurationFcmConfigurationPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PushProviderConfigurationFcmConfiguration)(nil)).Elem() +func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) Errors() pulumi.StringArrayOutput { + return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSetting) []string { return v.Errors }).(pulumi.StringArrayOutput) } -func (o PushProviderConfigurationFcmConfigurationPtrOutput) ToPushProviderConfigurationFcmConfigurationPtrOutput() PushProviderConfigurationFcmConfigurationPtrOutput { +func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) RequestSubmissionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSetting) *string { return v.RequestSubmissionType }).(pulumi.StringPtrOutput) +} + +type RequestSettingResourceRiskSettingsDefaultSettingPtrOutput struct{ *pulumi.OutputState } + +func (RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RequestSettingResourceRiskSettingsDefaultSetting)(nil)).Elem() +} + +func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { return o } -func (o PushProviderConfigurationFcmConfigurationPtrOutput) ToPushProviderConfigurationFcmConfigurationPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationPtrOutput { +func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { return o } -func (o PushProviderConfigurationFcmConfigurationPtrOutput) Elem() PushProviderConfigurationFcmConfigurationOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfiguration) PushProviderConfigurationFcmConfiguration { +func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) Elem() RequestSettingResourceRiskSettingsDefaultSettingOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) RequestSettingResourceRiskSettingsDefaultSetting { if v != nil { return *v } - var ret PushProviderConfigurationFcmConfiguration + var ret RequestSettingResourceRiskSettingsDefaultSetting return ret - }).(PushProviderConfigurationFcmConfigurationOutput) + }).(RequestSettingResourceRiskSettingsDefaultSettingOutput) } -// JSON containing the private service account key and service account details. Required for FCM provider type. -func (o PushProviderConfigurationFcmConfigurationPtrOutput) ServiceAccountJson() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfiguration) *PushProviderConfigurationFcmConfigurationServiceAccountJson { +// Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. +func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) AccessDurationSettings() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings { if v == nil { return nil - } - return v.ServiceAccountJson - }).(PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) -} - -type PushProviderConfigurationFcmConfigurationServiceAccountJson struct { - // The auth provider x509 cert URL. - AuthProviderX509CertUrl *string `pulumi:"authProviderX509CertUrl"` - // The auth URI. - AuthUri *string `pulumi:"authUri"` - // The client email. - ClientEmail *string `pulumi:"clientEmail"` - // The client ID. - ClientId *string `pulumi:"clientId"` - // The client x509 cert URL. - ClientX509CertUrl *string `pulumi:"clientX509CertUrl"` - // File name for Admin Console display. - FileName *string `pulumi:"fileName"` - // The private key. - PrivateKey *string `pulumi:"privateKey"` - // The private key ID. - PrivateKeyId *string `pulumi:"privateKeyId"` - // The project ID. - ProjectId *string `pulumi:"projectId"` - // The token URI. - TokenUri *string `pulumi:"tokenUri"` - // The type of the service account. - Type *string `pulumi:"type"` -} - -// PushProviderConfigurationFcmConfigurationServiceAccountJsonInput is an input type that accepts PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs and PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput values. -// You can construct a concrete instance of `PushProviderConfigurationFcmConfigurationServiceAccountJsonInput` via: -// -// PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs{...} -type PushProviderConfigurationFcmConfigurationServiceAccountJsonInput interface { - pulumi.Input - - ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput - ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutputWithContext(context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput -} - -type PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs struct { - // The auth provider x509 cert URL. - AuthProviderX509CertUrl pulumi.StringPtrInput `pulumi:"authProviderX509CertUrl"` - // The auth URI. - AuthUri pulumi.StringPtrInput `pulumi:"authUri"` - // The client email. - ClientEmail pulumi.StringPtrInput `pulumi:"clientEmail"` - // The client ID. - ClientId pulumi.StringPtrInput `pulumi:"clientId"` - // The client x509 cert URL. - ClientX509CertUrl pulumi.StringPtrInput `pulumi:"clientX509CertUrl"` - // File name for Admin Console display. - FileName pulumi.StringPtrInput `pulumi:"fileName"` - // The private key. - PrivateKey pulumi.StringPtrInput `pulumi:"privateKey"` - // The private key ID. - PrivateKeyId pulumi.StringPtrInput `pulumi:"privateKeyId"` - // The project ID. - ProjectId pulumi.StringPtrInput `pulumi:"projectId"` - // The token URI. - TokenUri pulumi.StringPtrInput `pulumi:"tokenUri"` - // The type of the service account. - Type pulumi.StringPtrInput `pulumi:"type"` -} - -func (PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ElementType() reflect.Type { - return reflect.TypeOf((*PushProviderConfigurationFcmConfigurationServiceAccountJson)(nil)).Elem() -} - -func (i PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { - return i.ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutputWithContext(context.Background()) -} - -func (i PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) -} - -func (i PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { - return i.ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(context.Background()) -} - -func (i PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput).ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx) -} - -// PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput is an input type that accepts PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs, PushProviderConfigurationFcmConfigurationServiceAccountJsonPtr and PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput values. -// You can construct a concrete instance of `PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput` via: -// -// PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs{...} -// -// or: -// -// nil -type PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput interface { - pulumi.Input - - ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput - ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput -} - -type pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs - -func PushProviderConfigurationFcmConfigurationServiceAccountJsonPtr(v *PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrInput { - return (*pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType)(v) + } + return v.AccessDurationSettings + }).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) } -func (*pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**PushProviderConfigurationFcmConfigurationServiceAccountJson)(nil)).Elem() +// The ID of the approval sequence. +func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) ApprovalSequenceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) *string { + if v == nil { + return nil + } + return v.ApprovalSequenceId + }).(pulumi.StringPtrOutput) } -func (i *pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { - return i.ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(context.Background()) +func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) Errors() pulumi.StringArrayOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) []string { + if v == nil { + return nil + } + return v.Errors + }).(pulumi.StringArrayOutput) } -func (i *pushProviderConfigurationFcmConfigurationServiceAccountJsonPtrType) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) +func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) RequestSubmissionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) *string { + if v == nil { + return nil + } + return v.RequestSubmissionType + }).(pulumi.StringPtrOutput) } -type PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput struct{ *pulumi.OutputState } - -func (PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ElementType() reflect.Type { - return reflect.TypeOf((*PushProviderConfigurationFcmConfigurationServiceAccountJson)(nil)).Elem() +type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings struct { + // The duration set by the admin for access durations. Use ISO8061 notation for duration values. + Duration *string `pulumi:"duration"` + // Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. + Type *string `pulumi:"type"` } -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { - return o -} +// RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsInput is an input type that accepts RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs and RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput values. +// You can construct a concrete instance of `RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsInput` via: +// +// RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs{...} +type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsInput interface { + pulumi.Input -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { - return o + ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput + ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutputWithContext(context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput } -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { - return o.ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(context.Background()) +type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs struct { + // The duration set by the admin for access durations. Use ISO8061 notation for duration values. + Duration pulumi.StringPtrInput `pulumi:"duration"` + // Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. + Type pulumi.StringPtrInput `pulumi:"type"` } -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v PushProviderConfigurationFcmConfigurationServiceAccountJson) *PushProviderConfigurationFcmConfigurationServiceAccountJson { - return &v - }).(PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) +func (RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings)(nil)).Elem() } -// The auth provider x509 cert URL. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) AuthProviderX509CertUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - return v.AuthProviderX509CertUrl - }).(pulumi.StringPtrOutput) +func (i RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { + return i.ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutputWithContext(context.Background()) } -// The auth URI. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) AuthUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.AuthUri }).(pulumi.StringPtrOutput) +func (i RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) } -// The client email. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ClientEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.ClientEmail }).(pulumi.StringPtrOutput) +func (i RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return i.ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(context.Background()) } -// The client ID. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.ClientId }).(pulumi.StringPtrOutput) +func (i RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput).ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx) } -// The client x509 cert URL. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ClientX509CertUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - return v.ClientX509CertUrl - }).(pulumi.StringPtrOutput) -} +// RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput is an input type that accepts RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs, RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtr and RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput values. +// You can construct a concrete instance of `RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput` via: +// +// RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs{...} +// +// or: +// +// nil +type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput interface { + pulumi.Input -// File name for Admin Console display. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) FileName() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.FileName }).(pulumi.StringPtrOutput) + ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput + ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput } -// The private key. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.PrivateKey }).(pulumi.StringPtrOutput) -} +type requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs -// The private key ID. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) PrivateKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.PrivateKeyId }).(pulumi.StringPtrOutput) +func RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtr(v *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput { + return (*requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType)(v) } -// The project ID. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.ProjectId }).(pulumi.StringPtrOutput) +func (*requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings)(nil)).Elem() } -// The token URI. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) TokenUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.TokenUri }).(pulumi.StringPtrOutput) +func (i *requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return i.ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(context.Background()) } -// The type of the service account. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { return v.Type }).(pulumi.StringPtrOutput) +func (i *requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) } -type PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput struct{ *pulumi.OutputState } +type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput struct{ *pulumi.OutputState } -func (PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**PushProviderConfigurationFcmConfigurationServiceAccountJson)(nil)).Elem() +func (RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings)(nil)).Elem() } -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput() PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { return o } -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ToPushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutputWithContext(ctx context.Context) PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput { +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { return o } -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) Elem() PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) PushProviderConfigurationFcmConfigurationServiceAccountJson { - if v != nil { - return *v - } - var ret PushProviderConfigurationFcmConfigurationServiceAccountJson - return ret - }).(PushProviderConfigurationFcmConfigurationServiceAccountJsonOutput) -} - -// The auth provider x509 cert URL. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) AuthProviderX509CertUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - if v == nil { - return nil - } - return v.AuthProviderX509CertUrl - }).(pulumi.StringPtrOutput) +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return o.ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(context.Background()) } -// The auth URI. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) AuthUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - if v == nil { - return nil - } - return v.AuthUri - }).(pulumi.StringPtrOutput) +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings { + return &v + }).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) } -// The client email. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ClientEmail() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - if v == nil { - return nil - } - return v.ClientEmail +// The duration set by the admin for access durations. Use ISO8061 notation for duration values. +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *string { + return v.Duration }).(pulumi.StringPtrOutput) } -// The client ID. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ClientId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - if v == nil { - return nil - } - return v.ClientId - }).(pulumi.StringPtrOutput) +// Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *string { return v.Type }).(pulumi.StringPtrOutput) } -// The client x509 cert URL. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ClientX509CertUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - if v == nil { - return nil - } - return v.ClientX509CertUrl - }).(pulumi.StringPtrOutput) -} +type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput struct{ *pulumi.OutputState } -// File name for Admin Console display. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) FileName() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - if v == nil { - return nil - } - return v.FileName - }).(pulumi.StringPtrOutput) +func (RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings)(nil)).Elem() } -// The private key. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) PrivateKey() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - if v == nil { - return nil - } - return v.PrivateKey - }).(pulumi.StringPtrOutput) +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return o } -// The private key ID. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) PrivateKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - if v == nil { - return nil - } - return v.PrivateKeyId - }).(pulumi.StringPtrOutput) +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { + return o } -// The project ID. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) ProjectId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { - if v == nil { - return nil +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) Elem() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings { + if v != nil { + return *v } - return v.ProjectId - }).(pulumi.StringPtrOutput) + var ret RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings + return ret + }).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) } - -// The token URI. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) TokenUri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { + +// The duration set by the admin for access durations. Use ISO8061 notation for duration values. +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) Duration() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *string { if v == nil { return nil } - return v.TokenUri + return v.Duration }).(pulumi.StringPtrOutput) } -// The type of the service account. -func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *PushProviderConfigurationFcmConfigurationServiceAccountJson) *string { +// Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. +func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *string { if v == nil { return nil } @@ -8059,3895 +12717,4266 @@ func (o PushProviderConfigurationFcmConfigurationServiceAccountJsonPtrOutput) Ty }).(pulumi.StringPtrOutput) } -type RateLimitingUseCaseModeOverrides struct { - // Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - LoginPage *string `pulumi:"loginPage"` - // Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - Oauth2Authorize *string `pulumi:"oauth2Authorize"` - // Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - OieAppIntent *string `pulumi:"oieAppIntent"` +type RequestV2Requested struct { + // The ID of the access scope associated with the resource. + AccessScopeId *string `pulumi:"accessScopeId"` + // The access scope type. + AccessScopeType *string `pulumi:"accessScopeType"` + // The ID of the resource catalog entry. + EntryId string `pulumi:"entryId"` + // The ID of the requested resource. + ResourceId *string `pulumi:"resourceId"` + // The requested resource type. + ResourceType *string `pulumi:"resourceType"` + // The type of the resource. + Type string `pulumi:"type"` } -// RateLimitingUseCaseModeOverridesInput is an input type that accepts RateLimitingUseCaseModeOverridesArgs and RateLimitingUseCaseModeOverridesOutput values. -// You can construct a concrete instance of `RateLimitingUseCaseModeOverridesInput` via: +// RequestV2RequestedInput is an input type that accepts RequestV2RequestedArgs and RequestV2RequestedOutput values. +// You can construct a concrete instance of `RequestV2RequestedInput` via: // -// RateLimitingUseCaseModeOverridesArgs{...} -type RateLimitingUseCaseModeOverridesInput interface { +// RequestV2RequestedArgs{...} +type RequestV2RequestedInput interface { pulumi.Input - ToRateLimitingUseCaseModeOverridesOutput() RateLimitingUseCaseModeOverridesOutput - ToRateLimitingUseCaseModeOverridesOutputWithContext(context.Context) RateLimitingUseCaseModeOverridesOutput + ToRequestV2RequestedOutput() RequestV2RequestedOutput + ToRequestV2RequestedOutputWithContext(context.Context) RequestV2RequestedOutput } -type RateLimitingUseCaseModeOverridesArgs struct { - // Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - LoginPage pulumi.StringPtrInput `pulumi:"loginPage"` - // Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - Oauth2Authorize pulumi.StringPtrInput `pulumi:"oauth2Authorize"` - // Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - OieAppIntent pulumi.StringPtrInput `pulumi:"oieAppIntent"` +type RequestV2RequestedArgs struct { + // The ID of the access scope associated with the resource. + AccessScopeId pulumi.StringPtrInput `pulumi:"accessScopeId"` + // The access scope type. + AccessScopeType pulumi.StringPtrInput `pulumi:"accessScopeType"` + // The ID of the resource catalog entry. + EntryId pulumi.StringInput `pulumi:"entryId"` + // The ID of the requested resource. + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + // The requested resource type. + ResourceType pulumi.StringPtrInput `pulumi:"resourceType"` + // The type of the resource. + Type pulumi.StringInput `pulumi:"type"` } -func (RateLimitingUseCaseModeOverridesArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RateLimitingUseCaseModeOverrides)(nil)).Elem() +func (RequestV2RequestedArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestV2Requested)(nil)).Elem() } -func (i RateLimitingUseCaseModeOverridesArgs) ToRateLimitingUseCaseModeOverridesOutput() RateLimitingUseCaseModeOverridesOutput { - return i.ToRateLimitingUseCaseModeOverridesOutputWithContext(context.Background()) +func (i RequestV2RequestedArgs) ToRequestV2RequestedOutput() RequestV2RequestedOutput { + return i.ToRequestV2RequestedOutputWithContext(context.Background()) } -func (i RateLimitingUseCaseModeOverridesArgs) ToRateLimitingUseCaseModeOverridesOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesOutput { - return pulumi.ToOutputWithContext(ctx, i).(RateLimitingUseCaseModeOverridesOutput) +func (i RequestV2RequestedArgs) ToRequestV2RequestedOutputWithContext(ctx context.Context) RequestV2RequestedOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedOutput) } -func (i RateLimitingUseCaseModeOverridesArgs) ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput { - return i.ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(context.Background()) +func (i RequestV2RequestedArgs) ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput { + return i.ToRequestV2RequestedPtrOutputWithContext(context.Background()) } -func (i RateLimitingUseCaseModeOverridesArgs) ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RateLimitingUseCaseModeOverridesOutput).ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx) +func (i RequestV2RequestedArgs) ToRequestV2RequestedPtrOutputWithContext(ctx context.Context) RequestV2RequestedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedOutput).ToRequestV2RequestedPtrOutputWithContext(ctx) } -// RateLimitingUseCaseModeOverridesPtrInput is an input type that accepts RateLimitingUseCaseModeOverridesArgs, RateLimitingUseCaseModeOverridesPtr and RateLimitingUseCaseModeOverridesPtrOutput values. -// You can construct a concrete instance of `RateLimitingUseCaseModeOverridesPtrInput` via: +// RequestV2RequestedPtrInput is an input type that accepts RequestV2RequestedArgs, RequestV2RequestedPtr and RequestV2RequestedPtrOutput values. +// You can construct a concrete instance of `RequestV2RequestedPtrInput` via: // -// RateLimitingUseCaseModeOverridesArgs{...} +// RequestV2RequestedArgs{...} // // or: // // nil -type RateLimitingUseCaseModeOverridesPtrInput interface { +type RequestV2RequestedPtrInput interface { pulumi.Input - ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput - ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(context.Context) RateLimitingUseCaseModeOverridesPtrOutput + ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput + ToRequestV2RequestedPtrOutputWithContext(context.Context) RequestV2RequestedPtrOutput } -type rateLimitingUseCaseModeOverridesPtrType RateLimitingUseCaseModeOverridesArgs +type requestV2RequestedPtrType RequestV2RequestedArgs -func RateLimitingUseCaseModeOverridesPtr(v *RateLimitingUseCaseModeOverridesArgs) RateLimitingUseCaseModeOverridesPtrInput { - return (*rateLimitingUseCaseModeOverridesPtrType)(v) +func RequestV2RequestedPtr(v *RequestV2RequestedArgs) RequestV2RequestedPtrInput { + return (*requestV2RequestedPtrType)(v) } -func (*rateLimitingUseCaseModeOverridesPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RateLimitingUseCaseModeOverrides)(nil)).Elem() +func (*requestV2RequestedPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RequestV2Requested)(nil)).Elem() } -func (i *rateLimitingUseCaseModeOverridesPtrType) ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput { - return i.ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(context.Background()) +func (i *requestV2RequestedPtrType) ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput { + return i.ToRequestV2RequestedPtrOutputWithContext(context.Background()) } -func (i *rateLimitingUseCaseModeOverridesPtrType) ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RateLimitingUseCaseModeOverridesPtrOutput) +func (i *requestV2RequestedPtrType) ToRequestV2RequestedPtrOutputWithContext(ctx context.Context) RequestV2RequestedPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedPtrOutput) } -type RateLimitingUseCaseModeOverridesOutput struct{ *pulumi.OutputState } +type RequestV2RequestedOutput struct{ *pulumi.OutputState } -func (RateLimitingUseCaseModeOverridesOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RateLimitingUseCaseModeOverrides)(nil)).Elem() +func (RequestV2RequestedOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestV2Requested)(nil)).Elem() } -func (o RateLimitingUseCaseModeOverridesOutput) ToRateLimitingUseCaseModeOverridesOutput() RateLimitingUseCaseModeOverridesOutput { +func (o RequestV2RequestedOutput) ToRequestV2RequestedOutput() RequestV2RequestedOutput { return o } -func (o RateLimitingUseCaseModeOverridesOutput) ToRateLimitingUseCaseModeOverridesOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesOutput { +func (o RequestV2RequestedOutput) ToRequestV2RequestedOutputWithContext(ctx context.Context) RequestV2RequestedOutput { return o } -func (o RateLimitingUseCaseModeOverridesOutput) ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput { - return o.ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(context.Background()) +func (o RequestV2RequestedOutput) ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput { + return o.ToRequestV2RequestedPtrOutputWithContext(context.Background()) } -func (o RateLimitingUseCaseModeOverridesOutput) ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RateLimitingUseCaseModeOverrides) *RateLimitingUseCaseModeOverrides { +func (o RequestV2RequestedOutput) ToRequestV2RequestedPtrOutputWithContext(ctx context.Context) RequestV2RequestedPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestV2Requested) *RequestV2Requested { return &v - }).(RateLimitingUseCaseModeOverridesPtrOutput) + }).(RequestV2RequestedPtrOutput) } -// Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. -func (o RateLimitingUseCaseModeOverridesOutput) LoginPage() pulumi.StringPtrOutput { - return o.ApplyT(func(v RateLimitingUseCaseModeOverrides) *string { return v.LoginPage }).(pulumi.StringPtrOutput) +// The ID of the access scope associated with the resource. +func (o RequestV2RequestedOutput) AccessScopeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestV2Requested) *string { return v.AccessScopeId }).(pulumi.StringPtrOutput) } -// Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. -func (o RateLimitingUseCaseModeOverridesOutput) Oauth2Authorize() pulumi.StringPtrOutput { - return o.ApplyT(func(v RateLimitingUseCaseModeOverrides) *string { return v.Oauth2Authorize }).(pulumi.StringPtrOutput) +// The access scope type. +func (o RequestV2RequestedOutput) AccessScopeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestV2Requested) *string { return v.AccessScopeType }).(pulumi.StringPtrOutput) } -// Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. -func (o RateLimitingUseCaseModeOverridesOutput) OieAppIntent() pulumi.StringPtrOutput { - return o.ApplyT(func(v RateLimitingUseCaseModeOverrides) *string { return v.OieAppIntent }).(pulumi.StringPtrOutput) +// The ID of the resource catalog entry. +func (o RequestV2RequestedOutput) EntryId() pulumi.StringOutput { + return o.ApplyT(func(v RequestV2Requested) string { return v.EntryId }).(pulumi.StringOutput) } -type RateLimitingUseCaseModeOverridesPtrOutput struct{ *pulumi.OutputState } +// The ID of the requested resource. +func (o RequestV2RequestedOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestV2Requested) *string { return v.ResourceId }).(pulumi.StringPtrOutput) +} -func (RateLimitingUseCaseModeOverridesPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RateLimitingUseCaseModeOverrides)(nil)).Elem() +// The requested resource type. +func (o RequestV2RequestedOutput) ResourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestV2Requested) *string { return v.ResourceType }).(pulumi.StringPtrOutput) } -func (o RateLimitingUseCaseModeOverridesPtrOutput) ToRateLimitingUseCaseModeOverridesPtrOutput() RateLimitingUseCaseModeOverridesPtrOutput { +// The type of the resource. +func (o RequestV2RequestedOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v RequestV2Requested) string { return v.Type }).(pulumi.StringOutput) +} + +type RequestV2RequestedPtrOutput struct{ *pulumi.OutputState } + +func (RequestV2RequestedPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RequestV2Requested)(nil)).Elem() +} + +func (o RequestV2RequestedPtrOutput) ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput { return o } -func (o RateLimitingUseCaseModeOverridesPtrOutput) ToRateLimitingUseCaseModeOverridesPtrOutputWithContext(ctx context.Context) RateLimitingUseCaseModeOverridesPtrOutput { +func (o RequestV2RequestedPtrOutput) ToRequestV2RequestedPtrOutputWithContext(ctx context.Context) RequestV2RequestedPtrOutput { return o } -func (o RateLimitingUseCaseModeOverridesPtrOutput) Elem() RateLimitingUseCaseModeOverridesOutput { - return o.ApplyT(func(v *RateLimitingUseCaseModeOverrides) RateLimitingUseCaseModeOverrides { +func (o RequestV2RequestedPtrOutput) Elem() RequestV2RequestedOutput { + return o.ApplyT(func(v *RequestV2Requested) RequestV2Requested { if v != nil { return *v } - var ret RateLimitingUseCaseModeOverrides + var ret RequestV2Requested return ret - }).(RateLimitingUseCaseModeOverridesOutput) + }).(RequestV2RequestedOutput) } -// Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. -func (o RateLimitingUseCaseModeOverridesPtrOutput) LoginPage() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RateLimitingUseCaseModeOverrides) *string { +// The ID of the access scope associated with the resource. +func (o RequestV2RequestedPtrOutput) AccessScopeId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestV2Requested) *string { if v == nil { return nil } - return v.LoginPage + return v.AccessScopeId }).(pulumi.StringPtrOutput) } -// Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. -func (o RateLimitingUseCaseModeOverridesPtrOutput) Oauth2Authorize() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RateLimitingUseCaseModeOverrides) *string { +// The access scope type. +func (o RequestV2RequestedPtrOutput) AccessScopeType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestV2Requested) *string { if v == nil { return nil } - return v.Oauth2Authorize + return v.AccessScopeType }).(pulumi.StringPtrOutput) } -// Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. -func (o RateLimitingUseCaseModeOverridesPtrOutput) OieAppIntent() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RateLimitingUseCaseModeOverrides) *string { +// The ID of the resource catalog entry. +func (o RequestV2RequestedPtrOutput) EntryId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestV2Requested) *string { if v == nil { return nil } - return v.OieAppIntent + return &v.EntryId }).(pulumi.StringPtrOutput) } -type RequestConditionAccessDurationSettings struct { - // The duration set by the admin for access durations. Use ISO8061 notation for duration values. - Duration *string `pulumi:"duration"` - Type *string `pulumi:"type"` +// The ID of the requested resource. +func (o RequestV2RequestedPtrOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestV2Requested) *string { + if v == nil { + return nil + } + return v.ResourceId + }).(pulumi.StringPtrOutput) } -// RequestConditionAccessDurationSettingsInput is an input type that accepts RequestConditionAccessDurationSettingsArgs and RequestConditionAccessDurationSettingsOutput values. -// You can construct a concrete instance of `RequestConditionAccessDurationSettingsInput` via: +// The requested resource type. +func (o RequestV2RequestedPtrOutput) ResourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestV2Requested) *string { + if v == nil { + return nil + } + return v.ResourceType + }).(pulumi.StringPtrOutput) +} + +// The type of the resource. +func (o RequestV2RequestedPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestV2Requested) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type RequestV2RequestedFor struct { + // The ID of the Okta user. + ExternalId string `pulumi:"externalId"` + // The type of principal. + Type string `pulumi:"type"` +} + +// RequestV2RequestedForInput is an input type that accepts RequestV2RequestedForArgs and RequestV2RequestedForOutput values. +// You can construct a concrete instance of `RequestV2RequestedForInput` via: // -// RequestConditionAccessDurationSettingsArgs{...} -type RequestConditionAccessDurationSettingsInput interface { +// RequestV2RequestedForArgs{...} +type RequestV2RequestedForInput interface { pulumi.Input - ToRequestConditionAccessDurationSettingsOutput() RequestConditionAccessDurationSettingsOutput - ToRequestConditionAccessDurationSettingsOutputWithContext(context.Context) RequestConditionAccessDurationSettingsOutput + ToRequestV2RequestedForOutput() RequestV2RequestedForOutput + ToRequestV2RequestedForOutputWithContext(context.Context) RequestV2RequestedForOutput } -type RequestConditionAccessDurationSettingsArgs struct { - // The duration set by the admin for access durations. Use ISO8061 notation for duration values. - Duration pulumi.StringPtrInput `pulumi:"duration"` - Type pulumi.StringPtrInput `pulumi:"type"` +type RequestV2RequestedForArgs struct { + // The ID of the Okta user. + ExternalId pulumi.StringInput `pulumi:"externalId"` + // The type of principal. + Type pulumi.StringInput `pulumi:"type"` } -func (RequestConditionAccessDurationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionAccessDurationSettings)(nil)).Elem() +func (RequestV2RequestedForArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestV2RequestedFor)(nil)).Elem() } -func (i RequestConditionAccessDurationSettingsArgs) ToRequestConditionAccessDurationSettingsOutput() RequestConditionAccessDurationSettingsOutput { - return i.ToRequestConditionAccessDurationSettingsOutputWithContext(context.Background()) +func (i RequestV2RequestedForArgs) ToRequestV2RequestedForOutput() RequestV2RequestedForOutput { + return i.ToRequestV2RequestedForOutputWithContext(context.Background()) } -func (i RequestConditionAccessDurationSettingsArgs) ToRequestConditionAccessDurationSettingsOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessDurationSettingsOutput) +func (i RequestV2RequestedForArgs) ToRequestV2RequestedForOutputWithContext(ctx context.Context) RequestV2RequestedForOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedForOutput) } -func (i RequestConditionAccessDurationSettingsArgs) ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput { - return i.ToRequestConditionAccessDurationSettingsPtrOutputWithContext(context.Background()) +func (i RequestV2RequestedForArgs) ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput { + return i.ToRequestV2RequestedForPtrOutputWithContext(context.Background()) } -func (i RequestConditionAccessDurationSettingsArgs) ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessDurationSettingsOutput).ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx) +func (i RequestV2RequestedForArgs) ToRequestV2RequestedForPtrOutputWithContext(ctx context.Context) RequestV2RequestedForPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedForOutput).ToRequestV2RequestedForPtrOutputWithContext(ctx) } -// RequestConditionAccessDurationSettingsPtrInput is an input type that accepts RequestConditionAccessDurationSettingsArgs, RequestConditionAccessDurationSettingsPtr and RequestConditionAccessDurationSettingsPtrOutput values. -// You can construct a concrete instance of `RequestConditionAccessDurationSettingsPtrInput` via: +// RequestV2RequestedForPtrInput is an input type that accepts RequestV2RequestedForArgs, RequestV2RequestedForPtr and RequestV2RequestedForPtrOutput values. +// You can construct a concrete instance of `RequestV2RequestedForPtrInput` via: // -// RequestConditionAccessDurationSettingsArgs{...} +// RequestV2RequestedForArgs{...} // // or: // // nil -type RequestConditionAccessDurationSettingsPtrInput interface { +type RequestV2RequestedForPtrInput interface { pulumi.Input - ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput - ToRequestConditionAccessDurationSettingsPtrOutputWithContext(context.Context) RequestConditionAccessDurationSettingsPtrOutput + ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput + ToRequestV2RequestedForPtrOutputWithContext(context.Context) RequestV2RequestedForPtrOutput } -type requestConditionAccessDurationSettingsPtrType RequestConditionAccessDurationSettingsArgs +type requestV2RequestedForPtrType RequestV2RequestedForArgs -func RequestConditionAccessDurationSettingsPtr(v *RequestConditionAccessDurationSettingsArgs) RequestConditionAccessDurationSettingsPtrInput { - return (*requestConditionAccessDurationSettingsPtrType)(v) +func RequestV2RequestedForPtr(v *RequestV2RequestedForArgs) RequestV2RequestedForPtrInput { + return (*requestV2RequestedForPtrType)(v) } -func (*requestConditionAccessDurationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RequestConditionAccessDurationSettings)(nil)).Elem() +func (*requestV2RequestedForPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**RequestV2RequestedFor)(nil)).Elem() } -func (i *requestConditionAccessDurationSettingsPtrType) ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput { - return i.ToRequestConditionAccessDurationSettingsPtrOutputWithContext(context.Background()) +func (i *requestV2RequestedForPtrType) ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput { + return i.ToRequestV2RequestedForPtrOutputWithContext(context.Background()) } -func (i *requestConditionAccessDurationSettingsPtrType) ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessDurationSettingsPtrOutput) +func (i *requestV2RequestedForPtrType) ToRequestV2RequestedForPtrOutputWithContext(ctx context.Context) RequestV2RequestedForPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedForPtrOutput) } -type RequestConditionAccessDurationSettingsOutput struct{ *pulumi.OutputState } +type RequestV2RequestedForOutput struct{ *pulumi.OutputState } -func (RequestConditionAccessDurationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionAccessDurationSettings)(nil)).Elem() +func (RequestV2RequestedForOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestV2RequestedFor)(nil)).Elem() } -func (o RequestConditionAccessDurationSettingsOutput) ToRequestConditionAccessDurationSettingsOutput() RequestConditionAccessDurationSettingsOutput { +func (o RequestV2RequestedForOutput) ToRequestV2RequestedForOutput() RequestV2RequestedForOutput { return o } -func (o RequestConditionAccessDurationSettingsOutput) ToRequestConditionAccessDurationSettingsOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsOutput { +func (o RequestV2RequestedForOutput) ToRequestV2RequestedForOutputWithContext(ctx context.Context) RequestV2RequestedForOutput { return o } -func (o RequestConditionAccessDurationSettingsOutput) ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput { - return o.ToRequestConditionAccessDurationSettingsPtrOutputWithContext(context.Background()) +func (o RequestV2RequestedForOutput) ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput { + return o.ToRequestV2RequestedForPtrOutputWithContext(context.Background()) } -func (o RequestConditionAccessDurationSettingsOutput) ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestConditionAccessDurationSettings) *RequestConditionAccessDurationSettings { +func (o RequestV2RequestedForOutput) ToRequestV2RequestedForPtrOutputWithContext(ctx context.Context) RequestV2RequestedForPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestV2RequestedFor) *RequestV2RequestedFor { return &v - }).(RequestConditionAccessDurationSettingsPtrOutput) + }).(RequestV2RequestedForPtrOutput) } -// The duration set by the admin for access durations. Use ISO8061 notation for duration values. -func (o RequestConditionAccessDurationSettingsOutput) Duration() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestConditionAccessDurationSettings) *string { return v.Duration }).(pulumi.StringPtrOutput) +// The ID of the Okta user. +func (o RequestV2RequestedForOutput) ExternalId() pulumi.StringOutput { + return o.ApplyT(func(v RequestV2RequestedFor) string { return v.ExternalId }).(pulumi.StringOutput) } -func (o RequestConditionAccessDurationSettingsOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestConditionAccessDurationSettings) *string { return v.Type }).(pulumi.StringPtrOutput) +// The type of principal. +func (o RequestV2RequestedForOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v RequestV2RequestedFor) string { return v.Type }).(pulumi.StringOutput) } -type RequestConditionAccessDurationSettingsPtrOutput struct{ *pulumi.OutputState } +type RequestV2RequestedForPtrOutput struct{ *pulumi.OutputState } -func (RequestConditionAccessDurationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RequestConditionAccessDurationSettings)(nil)).Elem() +func (RequestV2RequestedForPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**RequestV2RequestedFor)(nil)).Elem() } -func (o RequestConditionAccessDurationSettingsPtrOutput) ToRequestConditionAccessDurationSettingsPtrOutput() RequestConditionAccessDurationSettingsPtrOutput { +func (o RequestV2RequestedForPtrOutput) ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput { return o } -func (o RequestConditionAccessDurationSettingsPtrOutput) ToRequestConditionAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessDurationSettingsPtrOutput { +func (o RequestV2RequestedForPtrOutput) ToRequestV2RequestedForPtrOutputWithContext(ctx context.Context) RequestV2RequestedForPtrOutput { return o } -func (o RequestConditionAccessDurationSettingsPtrOutput) Elem() RequestConditionAccessDurationSettingsOutput { - return o.ApplyT(func(v *RequestConditionAccessDurationSettings) RequestConditionAccessDurationSettings { +func (o RequestV2RequestedForPtrOutput) Elem() RequestV2RequestedForOutput { + return o.ApplyT(func(v *RequestV2RequestedFor) RequestV2RequestedFor { if v != nil { return *v } - var ret RequestConditionAccessDurationSettings + var ret RequestV2RequestedFor return ret - }).(RequestConditionAccessDurationSettingsOutput) + }).(RequestV2RequestedForOutput) } -// The duration set by the admin for access durations. Use ISO8061 notation for duration values. -func (o RequestConditionAccessDurationSettingsPtrOutput) Duration() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestConditionAccessDurationSettings) *string { +// The ID of the Okta user. +func (o RequestV2RequestedForPtrOutput) ExternalId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestV2RequestedFor) *string { if v == nil { return nil } - return v.Duration + return &v.ExternalId }).(pulumi.StringPtrOutput) } -func (o RequestConditionAccessDurationSettingsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestConditionAccessDurationSettings) *string { +// The type of principal. +func (o RequestV2RequestedForPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *RequestV2RequestedFor) *string { if v == nil { return nil } - return v.Type + return &v.Type }).(pulumi.StringPtrOutput) } -type RequestConditionAccessScopeSettings struct { - // Block list of groups/entitlement bundles ids. - Ids []RequestConditionAccessScopeSettingsId `pulumi:"ids"` - Type string `pulumi:"type"` +type RequestV2RequesterFieldValue struct { + // Request condition id. + Id *string `pulumi:"id"` + // A human-readable description of requester field. + Label *string `pulumi:"label"` + // Type of value for the requester field. + Type *string `pulumi:"type"` + // The value of requester field, which depends on the type of the field. + Value *string `pulumi:"value"` + // The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. + Values []RequestV2RequesterFieldValueValue `pulumi:"values"` } -// RequestConditionAccessScopeSettingsInput is an input type that accepts RequestConditionAccessScopeSettingsArgs and RequestConditionAccessScopeSettingsOutput values. -// You can construct a concrete instance of `RequestConditionAccessScopeSettingsInput` via: +// RequestV2RequesterFieldValueInput is an input type that accepts RequestV2RequesterFieldValueArgs and RequestV2RequesterFieldValueOutput values. +// You can construct a concrete instance of `RequestV2RequesterFieldValueInput` via: // -// RequestConditionAccessScopeSettingsArgs{...} -type RequestConditionAccessScopeSettingsInput interface { +// RequestV2RequesterFieldValueArgs{...} +type RequestV2RequesterFieldValueInput interface { pulumi.Input - ToRequestConditionAccessScopeSettingsOutput() RequestConditionAccessScopeSettingsOutput - ToRequestConditionAccessScopeSettingsOutputWithContext(context.Context) RequestConditionAccessScopeSettingsOutput -} - -type RequestConditionAccessScopeSettingsArgs struct { - // Block list of groups/entitlement bundles ids. - Ids RequestConditionAccessScopeSettingsIdArrayInput `pulumi:"ids"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (RequestConditionAccessScopeSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionAccessScopeSettings)(nil)).Elem() + ToRequestV2RequesterFieldValueOutput() RequestV2RequesterFieldValueOutput + ToRequestV2RequesterFieldValueOutputWithContext(context.Context) RequestV2RequesterFieldValueOutput } -func (i RequestConditionAccessScopeSettingsArgs) ToRequestConditionAccessScopeSettingsOutput() RequestConditionAccessScopeSettingsOutput { - return i.ToRequestConditionAccessScopeSettingsOutputWithContext(context.Background()) +type RequestV2RequesterFieldValueArgs struct { + // Request condition id. + Id pulumi.StringPtrInput `pulumi:"id"` + // A human-readable description of requester field. + Label pulumi.StringPtrInput `pulumi:"label"` + // Type of value for the requester field. + Type pulumi.StringPtrInput `pulumi:"type"` + // The value of requester field, which depends on the type of the field. + Value pulumi.StringPtrInput `pulumi:"value"` + // The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. + Values RequestV2RequesterFieldValueValueArrayInput `pulumi:"values"` } -func (i RequestConditionAccessScopeSettingsArgs) ToRequestConditionAccessScopeSettingsOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsOutput) +func (RequestV2RequesterFieldValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestV2RequesterFieldValue)(nil)).Elem() } -func (i RequestConditionAccessScopeSettingsArgs) ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput { - return i.ToRequestConditionAccessScopeSettingsPtrOutputWithContext(context.Background()) +func (i RequestV2RequesterFieldValueArgs) ToRequestV2RequesterFieldValueOutput() RequestV2RequesterFieldValueOutput { + return i.ToRequestV2RequesterFieldValueOutputWithContext(context.Background()) } -func (i RequestConditionAccessScopeSettingsArgs) ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsOutput).ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx) +func (i RequestV2RequesterFieldValueArgs) ToRequestV2RequesterFieldValueOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequesterFieldValueOutput) } -// RequestConditionAccessScopeSettingsPtrInput is an input type that accepts RequestConditionAccessScopeSettingsArgs, RequestConditionAccessScopeSettingsPtr and RequestConditionAccessScopeSettingsPtrOutput values. -// You can construct a concrete instance of `RequestConditionAccessScopeSettingsPtrInput` via: -// -// RequestConditionAccessScopeSettingsArgs{...} -// -// or: +// RequestV2RequesterFieldValueArrayInput is an input type that accepts RequestV2RequesterFieldValueArray and RequestV2RequesterFieldValueArrayOutput values. +// You can construct a concrete instance of `RequestV2RequesterFieldValueArrayInput` via: // -// nil -type RequestConditionAccessScopeSettingsPtrInput interface { +// RequestV2RequesterFieldValueArray{ RequestV2RequesterFieldValueArgs{...} } +type RequestV2RequesterFieldValueArrayInput interface { pulumi.Input - ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput - ToRequestConditionAccessScopeSettingsPtrOutputWithContext(context.Context) RequestConditionAccessScopeSettingsPtrOutput + ToRequestV2RequesterFieldValueArrayOutput() RequestV2RequesterFieldValueArrayOutput + ToRequestV2RequesterFieldValueArrayOutputWithContext(context.Context) RequestV2RequesterFieldValueArrayOutput } -type requestConditionAccessScopeSettingsPtrType RequestConditionAccessScopeSettingsArgs - -func RequestConditionAccessScopeSettingsPtr(v *RequestConditionAccessScopeSettingsArgs) RequestConditionAccessScopeSettingsPtrInput { - return (*requestConditionAccessScopeSettingsPtrType)(v) -} +type RequestV2RequesterFieldValueArray []RequestV2RequesterFieldValueInput -func (*requestConditionAccessScopeSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RequestConditionAccessScopeSettings)(nil)).Elem() +func (RequestV2RequesterFieldValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestV2RequesterFieldValue)(nil)).Elem() } -func (i *requestConditionAccessScopeSettingsPtrType) ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput { - return i.ToRequestConditionAccessScopeSettingsPtrOutputWithContext(context.Background()) +func (i RequestV2RequesterFieldValueArray) ToRequestV2RequesterFieldValueArrayOutput() RequestV2RequesterFieldValueArrayOutput { + return i.ToRequestV2RequesterFieldValueArrayOutputWithContext(context.Background()) } -func (i *requestConditionAccessScopeSettingsPtrType) ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsPtrOutput) +func (i RequestV2RequesterFieldValueArray) ToRequestV2RequesterFieldValueArrayOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequesterFieldValueArrayOutput) } -type RequestConditionAccessScopeSettingsOutput struct{ *pulumi.OutputState } +type RequestV2RequesterFieldValueOutput struct{ *pulumi.OutputState } -func (RequestConditionAccessScopeSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionAccessScopeSettings)(nil)).Elem() +func (RequestV2RequesterFieldValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestV2RequesterFieldValue)(nil)).Elem() } -func (o RequestConditionAccessScopeSettingsOutput) ToRequestConditionAccessScopeSettingsOutput() RequestConditionAccessScopeSettingsOutput { +func (o RequestV2RequesterFieldValueOutput) ToRequestV2RequesterFieldValueOutput() RequestV2RequesterFieldValueOutput { return o } -func (o RequestConditionAccessScopeSettingsOutput) ToRequestConditionAccessScopeSettingsOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsOutput { +func (o RequestV2RequesterFieldValueOutput) ToRequestV2RequesterFieldValueOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueOutput { return o } -func (o RequestConditionAccessScopeSettingsOutput) ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput { - return o.ToRequestConditionAccessScopeSettingsPtrOutputWithContext(context.Background()) +// Request condition id. +func (o RequestV2RequesterFieldValueOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestV2RequesterFieldValue) *string { return v.Id }).(pulumi.StringPtrOutput) } -func (o RequestConditionAccessScopeSettingsOutput) ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestConditionAccessScopeSettings) *RequestConditionAccessScopeSettings { - return &v - }).(RequestConditionAccessScopeSettingsPtrOutput) +// A human-readable description of requester field. +func (o RequestV2RequesterFieldValueOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestV2RequesterFieldValue) *string { return v.Label }).(pulumi.StringPtrOutput) } -// Block list of groups/entitlement bundles ids. -func (o RequestConditionAccessScopeSettingsOutput) Ids() RequestConditionAccessScopeSettingsIdArrayOutput { - return o.ApplyT(func(v RequestConditionAccessScopeSettings) []RequestConditionAccessScopeSettingsId { return v.Ids }).(RequestConditionAccessScopeSettingsIdArrayOutput) +// Type of value for the requester field. +func (o RequestV2RequesterFieldValueOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestV2RequesterFieldValue) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +// The value of requester field, which depends on the type of the field. +func (o RequestV2RequesterFieldValueOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestV2RequesterFieldValue) *string { return v.Value }).(pulumi.StringPtrOutput) } -func (o RequestConditionAccessScopeSettingsOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v RequestConditionAccessScopeSettings) string { return v.Type }).(pulumi.StringOutput) +// The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. +func (o RequestV2RequesterFieldValueOutput) Values() RequestV2RequesterFieldValueValueArrayOutput { + return o.ApplyT(func(v RequestV2RequesterFieldValue) []RequestV2RequesterFieldValueValue { return v.Values }).(RequestV2RequesterFieldValueValueArrayOutput) } -type RequestConditionAccessScopeSettingsPtrOutput struct{ *pulumi.OutputState } +type RequestV2RequesterFieldValueArrayOutput struct{ *pulumi.OutputState } -func (RequestConditionAccessScopeSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RequestConditionAccessScopeSettings)(nil)).Elem() +func (RequestV2RequesterFieldValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestV2RequesterFieldValue)(nil)).Elem() } -func (o RequestConditionAccessScopeSettingsPtrOutput) ToRequestConditionAccessScopeSettingsPtrOutput() RequestConditionAccessScopeSettingsPtrOutput { +func (o RequestV2RequesterFieldValueArrayOutput) ToRequestV2RequesterFieldValueArrayOutput() RequestV2RequesterFieldValueArrayOutput { return o } -func (o RequestConditionAccessScopeSettingsPtrOutput) ToRequestConditionAccessScopeSettingsPtrOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsPtrOutput { +func (o RequestV2RequesterFieldValueArrayOutput) ToRequestV2RequesterFieldValueArrayOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueArrayOutput { return o } -func (o RequestConditionAccessScopeSettingsPtrOutput) Elem() RequestConditionAccessScopeSettingsOutput { - return o.ApplyT(func(v *RequestConditionAccessScopeSettings) RequestConditionAccessScopeSettings { - if v != nil { - return *v - } - var ret RequestConditionAccessScopeSettings - return ret - }).(RequestConditionAccessScopeSettingsOutput) -} - -// Block list of groups/entitlement bundles ids. -func (o RequestConditionAccessScopeSettingsPtrOutput) Ids() RequestConditionAccessScopeSettingsIdArrayOutput { - return o.ApplyT(func(v *RequestConditionAccessScopeSettings) []RequestConditionAccessScopeSettingsId { - if v == nil { - return nil - } - return v.Ids - }).(RequestConditionAccessScopeSettingsIdArrayOutput) -} - -func (o RequestConditionAccessScopeSettingsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestConditionAccessScopeSettings) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) +func (o RequestV2RequesterFieldValueArrayOutput) Index(i pulumi.IntInput) RequestV2RequesterFieldValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestV2RequesterFieldValue { + return vs[0].([]RequestV2RequesterFieldValue)[vs[1].(int)] + }).(RequestV2RequesterFieldValueOutput) } -type RequestConditionAccessScopeSettingsId struct { - // Request condition id. - Id *string `pulumi:"id"` +type RequestV2RequesterFieldValueValue struct { + Value *string `pulumi:"value"` } -// RequestConditionAccessScopeSettingsIdInput is an input type that accepts RequestConditionAccessScopeSettingsIdArgs and RequestConditionAccessScopeSettingsIdOutput values. -// You can construct a concrete instance of `RequestConditionAccessScopeSettingsIdInput` via: +// RequestV2RequesterFieldValueValueInput is an input type that accepts RequestV2RequesterFieldValueValueArgs and RequestV2RequesterFieldValueValueOutput values. +// You can construct a concrete instance of `RequestV2RequesterFieldValueValueInput` via: // -// RequestConditionAccessScopeSettingsIdArgs{...} -type RequestConditionAccessScopeSettingsIdInput interface { +// RequestV2RequesterFieldValueValueArgs{...} +type RequestV2RequesterFieldValueValueInput interface { pulumi.Input - ToRequestConditionAccessScopeSettingsIdOutput() RequestConditionAccessScopeSettingsIdOutput - ToRequestConditionAccessScopeSettingsIdOutputWithContext(context.Context) RequestConditionAccessScopeSettingsIdOutput + ToRequestV2RequesterFieldValueValueOutput() RequestV2RequesterFieldValueValueOutput + ToRequestV2RequesterFieldValueValueOutputWithContext(context.Context) RequestV2RequesterFieldValueValueOutput } -type RequestConditionAccessScopeSettingsIdArgs struct { - // Request condition id. - Id pulumi.StringPtrInput `pulumi:"id"` +type RequestV2RequesterFieldValueValueArgs struct { + Value pulumi.StringPtrInput `pulumi:"value"` } -func (RequestConditionAccessScopeSettingsIdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionAccessScopeSettingsId)(nil)).Elem() +func (RequestV2RequesterFieldValueValueArgs) ElementType() reflect.Type { + return reflect.TypeOf((*RequestV2RequesterFieldValueValue)(nil)).Elem() } -func (i RequestConditionAccessScopeSettingsIdArgs) ToRequestConditionAccessScopeSettingsIdOutput() RequestConditionAccessScopeSettingsIdOutput { - return i.ToRequestConditionAccessScopeSettingsIdOutputWithContext(context.Background()) +func (i RequestV2RequesterFieldValueValueArgs) ToRequestV2RequesterFieldValueValueOutput() RequestV2RequesterFieldValueValueOutput { + return i.ToRequestV2RequesterFieldValueValueOutputWithContext(context.Background()) } -func (i RequestConditionAccessScopeSettingsIdArgs) ToRequestConditionAccessScopeSettingsIdOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsIdOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsIdOutput) +func (i RequestV2RequesterFieldValueValueArgs) ToRequestV2RequesterFieldValueValueOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueValueOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequesterFieldValueValueOutput) } -// RequestConditionAccessScopeSettingsIdArrayInput is an input type that accepts RequestConditionAccessScopeSettingsIdArray and RequestConditionAccessScopeSettingsIdArrayOutput values. -// You can construct a concrete instance of `RequestConditionAccessScopeSettingsIdArrayInput` via: +// RequestV2RequesterFieldValueValueArrayInput is an input type that accepts RequestV2RequesterFieldValueValueArray and RequestV2RequesterFieldValueValueArrayOutput values. +// You can construct a concrete instance of `RequestV2RequesterFieldValueValueArrayInput` via: // -// RequestConditionAccessScopeSettingsIdArray{ RequestConditionAccessScopeSettingsIdArgs{...} } -type RequestConditionAccessScopeSettingsIdArrayInput interface { +// RequestV2RequesterFieldValueValueArray{ RequestV2RequesterFieldValueValueArgs{...} } +type RequestV2RequesterFieldValueValueArrayInput interface { pulumi.Input - ToRequestConditionAccessScopeSettingsIdArrayOutput() RequestConditionAccessScopeSettingsIdArrayOutput - ToRequestConditionAccessScopeSettingsIdArrayOutputWithContext(context.Context) RequestConditionAccessScopeSettingsIdArrayOutput + ToRequestV2RequesterFieldValueValueArrayOutput() RequestV2RequesterFieldValueValueArrayOutput + ToRequestV2RequesterFieldValueValueArrayOutputWithContext(context.Context) RequestV2RequesterFieldValueValueArrayOutput } -type RequestConditionAccessScopeSettingsIdArray []RequestConditionAccessScopeSettingsIdInput +type RequestV2RequesterFieldValueValueArray []RequestV2RequesterFieldValueValueInput -func (RequestConditionAccessScopeSettingsIdArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestConditionAccessScopeSettingsId)(nil)).Elem() +func (RequestV2RequesterFieldValueValueArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestV2RequesterFieldValueValue)(nil)).Elem() } -func (i RequestConditionAccessScopeSettingsIdArray) ToRequestConditionAccessScopeSettingsIdArrayOutput() RequestConditionAccessScopeSettingsIdArrayOutput { - return i.ToRequestConditionAccessScopeSettingsIdArrayOutputWithContext(context.Background()) +func (i RequestV2RequesterFieldValueValueArray) ToRequestV2RequesterFieldValueValueArrayOutput() RequestV2RequesterFieldValueValueArrayOutput { + return i.ToRequestV2RequesterFieldValueValueArrayOutputWithContext(context.Background()) } -func (i RequestConditionAccessScopeSettingsIdArray) ToRequestConditionAccessScopeSettingsIdArrayOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsIdArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionAccessScopeSettingsIdArrayOutput) +func (i RequestV2RequesterFieldValueValueArray) ToRequestV2RequesterFieldValueValueArrayOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueValueArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequesterFieldValueValueArrayOutput) } -type RequestConditionAccessScopeSettingsIdOutput struct{ *pulumi.OutputState } +type RequestV2RequesterFieldValueValueOutput struct{ *pulumi.OutputState } -func (RequestConditionAccessScopeSettingsIdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionAccessScopeSettingsId)(nil)).Elem() +func (RequestV2RequesterFieldValueValueOutput) ElementType() reflect.Type { + return reflect.TypeOf((*RequestV2RequesterFieldValueValue)(nil)).Elem() } -func (o RequestConditionAccessScopeSettingsIdOutput) ToRequestConditionAccessScopeSettingsIdOutput() RequestConditionAccessScopeSettingsIdOutput { +func (o RequestV2RequesterFieldValueValueOutput) ToRequestV2RequesterFieldValueValueOutput() RequestV2RequesterFieldValueValueOutput { return o } -func (o RequestConditionAccessScopeSettingsIdOutput) ToRequestConditionAccessScopeSettingsIdOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsIdOutput { +func (o RequestV2RequesterFieldValueValueOutput) ToRequestV2RequesterFieldValueValueOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueValueOutput { return o } -// Request condition id. -func (o RequestConditionAccessScopeSettingsIdOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestConditionAccessScopeSettingsId) *string { return v.Id }).(pulumi.StringPtrOutput) +func (o RequestV2RequesterFieldValueValueOutput) Value() pulumi.StringPtrOutput { + return o.ApplyT(func(v RequestV2RequesterFieldValueValue) *string { return v.Value }).(pulumi.StringPtrOutput) } -type RequestConditionAccessScopeSettingsIdArrayOutput struct{ *pulumi.OutputState } +type RequestV2RequesterFieldValueValueArrayOutput struct{ *pulumi.OutputState } -func (RequestConditionAccessScopeSettingsIdArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestConditionAccessScopeSettingsId)(nil)).Elem() +func (RequestV2RequesterFieldValueValueArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]RequestV2RequesterFieldValueValue)(nil)).Elem() } -func (o RequestConditionAccessScopeSettingsIdArrayOutput) ToRequestConditionAccessScopeSettingsIdArrayOutput() RequestConditionAccessScopeSettingsIdArrayOutput { +func (o RequestV2RequesterFieldValueValueArrayOutput) ToRequestV2RequesterFieldValueValueArrayOutput() RequestV2RequesterFieldValueValueArrayOutput { return o } -func (o RequestConditionAccessScopeSettingsIdArrayOutput) ToRequestConditionAccessScopeSettingsIdArrayOutputWithContext(ctx context.Context) RequestConditionAccessScopeSettingsIdArrayOutput { +func (o RequestV2RequesterFieldValueValueArrayOutput) ToRequestV2RequesterFieldValueValueArrayOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueValueArrayOutput { return o } -func (o RequestConditionAccessScopeSettingsIdArrayOutput) Index(i pulumi.IntInput) RequestConditionAccessScopeSettingsIdOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestConditionAccessScopeSettingsId { - return vs[0].([]RequestConditionAccessScopeSettingsId)[vs[1].(int)] - }).(RequestConditionAccessScopeSettingsIdOutput) +func (o RequestV2RequesterFieldValueValueArrayOutput) Index(i pulumi.IntInput) RequestV2RequesterFieldValueValueOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestV2RequesterFieldValueValue { + return vs[0].([]RequestV2RequesterFieldValueValue)[vs[1].(int)] + }).(RequestV2RequesterFieldValueValueOutput) } -type RequestConditionRequesterSettings struct { - // Block list of teams/groups ids. - Ids []RequestConditionRequesterSettingsId `pulumi:"ids"` - Type string `pulumi:"type"` +type SecurityEventsProviderSettings struct { + // Issuer URL. Maximum length: 700 characters. To be used along with `jwksUrl`. + Issuer *string `pulumi:"issuer"` + // The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. + JwksUrl *string `pulumi:"jwksUrl"` + // The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. + WellKnownUrl *string `pulumi:"wellKnownUrl"` } -// RequestConditionRequesterSettingsInput is an input type that accepts RequestConditionRequesterSettingsArgs and RequestConditionRequesterSettingsOutput values. -// You can construct a concrete instance of `RequestConditionRequesterSettingsInput` via: +// SecurityEventsProviderSettingsInput is an input type that accepts SecurityEventsProviderSettingsArgs and SecurityEventsProviderSettingsOutput values. +// You can construct a concrete instance of `SecurityEventsProviderSettingsInput` via: // -// RequestConditionRequesterSettingsArgs{...} -type RequestConditionRequesterSettingsInput interface { +// SecurityEventsProviderSettingsArgs{...} +type SecurityEventsProviderSettingsInput interface { pulumi.Input - ToRequestConditionRequesterSettingsOutput() RequestConditionRequesterSettingsOutput - ToRequestConditionRequesterSettingsOutputWithContext(context.Context) RequestConditionRequesterSettingsOutput + ToSecurityEventsProviderSettingsOutput() SecurityEventsProviderSettingsOutput + ToSecurityEventsProviderSettingsOutputWithContext(context.Context) SecurityEventsProviderSettingsOutput } -type RequestConditionRequesterSettingsArgs struct { - // Block list of teams/groups ids. - Ids RequestConditionRequesterSettingsIdArrayInput `pulumi:"ids"` - Type pulumi.StringInput `pulumi:"type"` +type SecurityEventsProviderSettingsArgs struct { + // Issuer URL. Maximum length: 700 characters. To be used along with `jwksUrl`. + Issuer pulumi.StringPtrInput `pulumi:"issuer"` + // The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. + JwksUrl pulumi.StringPtrInput `pulumi:"jwksUrl"` + // The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. + WellKnownUrl pulumi.StringPtrInput `pulumi:"wellKnownUrl"` } -func (RequestConditionRequesterSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionRequesterSettings)(nil)).Elem() +func (SecurityEventsProviderSettingsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityEventsProviderSettings)(nil)).Elem() } -func (i RequestConditionRequesterSettingsArgs) ToRequestConditionRequesterSettingsOutput() RequestConditionRequesterSettingsOutput { - return i.ToRequestConditionRequesterSettingsOutputWithContext(context.Background()) +func (i SecurityEventsProviderSettingsArgs) ToSecurityEventsProviderSettingsOutput() SecurityEventsProviderSettingsOutput { + return i.ToSecurityEventsProviderSettingsOutputWithContext(context.Background()) } -func (i RequestConditionRequesterSettingsArgs) ToRequestConditionRequesterSettingsOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsOutput) +func (i SecurityEventsProviderSettingsArgs) ToSecurityEventsProviderSettingsOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityEventsProviderSettingsOutput) } -func (i RequestConditionRequesterSettingsArgs) ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput { - return i.ToRequestConditionRequesterSettingsPtrOutputWithContext(context.Background()) +func (i SecurityEventsProviderSettingsArgs) ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput { + return i.ToSecurityEventsProviderSettingsPtrOutputWithContext(context.Background()) } -func (i RequestConditionRequesterSettingsArgs) ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsOutput).ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx) +func (i SecurityEventsProviderSettingsArgs) ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityEventsProviderSettingsOutput).ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx) } -// RequestConditionRequesterSettingsPtrInput is an input type that accepts RequestConditionRequesterSettingsArgs, RequestConditionRequesterSettingsPtr and RequestConditionRequesterSettingsPtrOutput values. -// You can construct a concrete instance of `RequestConditionRequesterSettingsPtrInput` via: +// SecurityEventsProviderSettingsPtrInput is an input type that accepts SecurityEventsProviderSettingsArgs, SecurityEventsProviderSettingsPtr and SecurityEventsProviderSettingsPtrOutput values. +// You can construct a concrete instance of `SecurityEventsProviderSettingsPtrInput` via: // -// RequestConditionRequesterSettingsArgs{...} +// SecurityEventsProviderSettingsArgs{...} // // or: // // nil -type RequestConditionRequesterSettingsPtrInput interface { +type SecurityEventsProviderSettingsPtrInput interface { pulumi.Input - ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput - ToRequestConditionRequesterSettingsPtrOutputWithContext(context.Context) RequestConditionRequesterSettingsPtrOutput + ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput + ToSecurityEventsProviderSettingsPtrOutputWithContext(context.Context) SecurityEventsProviderSettingsPtrOutput } -type requestConditionRequesterSettingsPtrType RequestConditionRequesterSettingsArgs +type securityEventsProviderSettingsPtrType SecurityEventsProviderSettingsArgs -func RequestConditionRequesterSettingsPtr(v *RequestConditionRequesterSettingsArgs) RequestConditionRequesterSettingsPtrInput { - return (*requestConditionRequesterSettingsPtrType)(v) +func SecurityEventsProviderSettingsPtr(v *SecurityEventsProviderSettingsArgs) SecurityEventsProviderSettingsPtrInput { + return (*securityEventsProviderSettingsPtrType)(v) } -func (*requestConditionRequesterSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RequestConditionRequesterSettings)(nil)).Elem() +func (*securityEventsProviderSettingsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityEventsProviderSettings)(nil)).Elem() } -func (i *requestConditionRequesterSettingsPtrType) ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput { - return i.ToRequestConditionRequesterSettingsPtrOutputWithContext(context.Background()) +func (i *securityEventsProviderSettingsPtrType) ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput { + return i.ToSecurityEventsProviderSettingsPtrOutputWithContext(context.Background()) } -func (i *requestConditionRequesterSettingsPtrType) ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsPtrOutput) +func (i *securityEventsProviderSettingsPtrType) ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(SecurityEventsProviderSettingsPtrOutput) } -type RequestConditionRequesterSettingsOutput struct{ *pulumi.OutputState } +type SecurityEventsProviderSettingsOutput struct{ *pulumi.OutputState } -func (RequestConditionRequesterSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionRequesterSettings)(nil)).Elem() +func (SecurityEventsProviderSettingsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*SecurityEventsProviderSettings)(nil)).Elem() } -func (o RequestConditionRequesterSettingsOutput) ToRequestConditionRequesterSettingsOutput() RequestConditionRequesterSettingsOutput { +func (o SecurityEventsProviderSettingsOutput) ToSecurityEventsProviderSettingsOutput() SecurityEventsProviderSettingsOutput { return o } -func (o RequestConditionRequesterSettingsOutput) ToRequestConditionRequesterSettingsOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsOutput { +func (o SecurityEventsProviderSettingsOutput) ToSecurityEventsProviderSettingsOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsOutput { return o } -func (o RequestConditionRequesterSettingsOutput) ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput { - return o.ToRequestConditionRequesterSettingsPtrOutputWithContext(context.Background()) +func (o SecurityEventsProviderSettingsOutput) ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput { + return o.ToSecurityEventsProviderSettingsPtrOutputWithContext(context.Background()) } -func (o RequestConditionRequesterSettingsOutput) ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestConditionRequesterSettings) *RequestConditionRequesterSettings { +func (o SecurityEventsProviderSettingsOutput) ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityEventsProviderSettings) *SecurityEventsProviderSettings { return &v - }).(RequestConditionRequesterSettingsPtrOutput) + }).(SecurityEventsProviderSettingsPtrOutput) } -// Block list of teams/groups ids. -func (o RequestConditionRequesterSettingsOutput) Ids() RequestConditionRequesterSettingsIdArrayOutput { - return o.ApplyT(func(v RequestConditionRequesterSettings) []RequestConditionRequesterSettingsId { return v.Ids }).(RequestConditionRequesterSettingsIdArrayOutput) +// Issuer URL. Maximum length: 700 characters. To be used along with `jwksUrl`. +func (o SecurityEventsProviderSettingsOutput) Issuer() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityEventsProviderSettings) *string { return v.Issuer }).(pulumi.StringPtrOutput) } -func (o RequestConditionRequesterSettingsOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v RequestConditionRequesterSettings) string { return v.Type }).(pulumi.StringOutput) +// The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. +func (o SecurityEventsProviderSettingsOutput) JwksUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityEventsProviderSettings) *string { return v.JwksUrl }).(pulumi.StringPtrOutput) +} + +// The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. +func (o SecurityEventsProviderSettingsOutput) WellKnownUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v SecurityEventsProviderSettings) *string { return v.WellKnownUrl }).(pulumi.StringPtrOutput) } -type RequestConditionRequesterSettingsPtrOutput struct{ *pulumi.OutputState } +type SecurityEventsProviderSettingsPtrOutput struct{ *pulumi.OutputState } -func (RequestConditionRequesterSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RequestConditionRequesterSettings)(nil)).Elem() +func (SecurityEventsProviderSettingsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SecurityEventsProviderSettings)(nil)).Elem() } -func (o RequestConditionRequesterSettingsPtrOutput) ToRequestConditionRequesterSettingsPtrOutput() RequestConditionRequesterSettingsPtrOutput { +func (o SecurityEventsProviderSettingsPtrOutput) ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput { return o } -func (o RequestConditionRequesterSettingsPtrOutput) ToRequestConditionRequesterSettingsPtrOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsPtrOutput { +func (o SecurityEventsProviderSettingsPtrOutput) ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsPtrOutput { return o } -func (o RequestConditionRequesterSettingsPtrOutput) Elem() RequestConditionRequesterSettingsOutput { - return o.ApplyT(func(v *RequestConditionRequesterSettings) RequestConditionRequesterSettings { +func (o SecurityEventsProviderSettingsPtrOutput) Elem() SecurityEventsProviderSettingsOutput { + return o.ApplyT(func(v *SecurityEventsProviderSettings) SecurityEventsProviderSettings { if v != nil { return *v } - var ret RequestConditionRequesterSettings + var ret SecurityEventsProviderSettings return ret - }).(RequestConditionRequesterSettingsOutput) + }).(SecurityEventsProviderSettingsOutput) } -// Block list of teams/groups ids. -func (o RequestConditionRequesterSettingsPtrOutput) Ids() RequestConditionRequesterSettingsIdArrayOutput { - return o.ApplyT(func(v *RequestConditionRequesterSettings) []RequestConditionRequesterSettingsId { +// Issuer URL. Maximum length: 700 characters. To be used along with `jwksUrl`. +func (o SecurityEventsProviderSettingsPtrOutput) Issuer() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecurityEventsProviderSettings) *string { if v == nil { return nil } - return v.Ids - }).(RequestConditionRequesterSettingsIdArrayOutput) + return v.Issuer + }).(pulumi.StringPtrOutput) } -func (o RequestConditionRequesterSettingsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestConditionRequesterSettings) *string { +// The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. +func (o SecurityEventsProviderSettingsPtrOutput) JwksUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecurityEventsProviderSettings) *string { if v == nil { return nil } - return &v.Type + return v.JwksUrl }).(pulumi.StringPtrOutput) } -type RequestConditionRequesterSettingsId struct { - // Request condition id. - Id *string `pulumi:"id"` +// The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. +func (o SecurityEventsProviderSettingsPtrOutput) WellKnownUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *SecurityEventsProviderSettings) *string { + if v == nil { + return nil + } + return v.WellKnownUrl + }).(pulumi.StringPtrOutput) } -// RequestConditionRequesterSettingsIdInput is an input type that accepts RequestConditionRequesterSettingsIdArgs and RequestConditionRequesterSettingsIdOutput values. -// You can construct a concrete instance of `RequestConditionRequesterSettingsIdInput` via: +type TemplateSmsTranslation struct { + // The language to map the template to. + Language string `pulumi:"language"` + // The SMS message. + Template string `pulumi:"template"` +} + +// TemplateSmsTranslationInput is an input type that accepts TemplateSmsTranslationArgs and TemplateSmsTranslationOutput values. +// You can construct a concrete instance of `TemplateSmsTranslationInput` via: // -// RequestConditionRequesterSettingsIdArgs{...} -type RequestConditionRequesterSettingsIdInput interface { +// TemplateSmsTranslationArgs{...} +type TemplateSmsTranslationInput interface { pulumi.Input - ToRequestConditionRequesterSettingsIdOutput() RequestConditionRequesterSettingsIdOutput - ToRequestConditionRequesterSettingsIdOutputWithContext(context.Context) RequestConditionRequesterSettingsIdOutput + ToTemplateSmsTranslationOutput() TemplateSmsTranslationOutput + ToTemplateSmsTranslationOutputWithContext(context.Context) TemplateSmsTranslationOutput } -type RequestConditionRequesterSettingsIdArgs struct { - // Request condition id. - Id pulumi.StringPtrInput `pulumi:"id"` +type TemplateSmsTranslationArgs struct { + // The language to map the template to. + Language pulumi.StringInput `pulumi:"language"` + // The SMS message. + Template pulumi.StringInput `pulumi:"template"` } -func (RequestConditionRequesterSettingsIdArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionRequesterSettingsId)(nil)).Elem() +func (TemplateSmsTranslationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*TemplateSmsTranslation)(nil)).Elem() } -func (i RequestConditionRequesterSettingsIdArgs) ToRequestConditionRequesterSettingsIdOutput() RequestConditionRequesterSettingsIdOutput { - return i.ToRequestConditionRequesterSettingsIdOutputWithContext(context.Background()) +func (i TemplateSmsTranslationArgs) ToTemplateSmsTranslationOutput() TemplateSmsTranslationOutput { + return i.ToTemplateSmsTranslationOutputWithContext(context.Background()) } -func (i RequestConditionRequesterSettingsIdArgs) ToRequestConditionRequesterSettingsIdOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsIdOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsIdOutput) +func (i TemplateSmsTranslationArgs) ToTemplateSmsTranslationOutputWithContext(ctx context.Context) TemplateSmsTranslationOutput { + return pulumi.ToOutputWithContext(ctx, i).(TemplateSmsTranslationOutput) } -// RequestConditionRequesterSettingsIdArrayInput is an input type that accepts RequestConditionRequesterSettingsIdArray and RequestConditionRequesterSettingsIdArrayOutput values. -// You can construct a concrete instance of `RequestConditionRequesterSettingsIdArrayInput` via: +// TemplateSmsTranslationArrayInput is an input type that accepts TemplateSmsTranslationArray and TemplateSmsTranslationArrayOutput values. +// You can construct a concrete instance of `TemplateSmsTranslationArrayInput` via: // -// RequestConditionRequesterSettingsIdArray{ RequestConditionRequesterSettingsIdArgs{...} } -type RequestConditionRequesterSettingsIdArrayInput interface { +// TemplateSmsTranslationArray{ TemplateSmsTranslationArgs{...} } +type TemplateSmsTranslationArrayInput interface { pulumi.Input - ToRequestConditionRequesterSettingsIdArrayOutput() RequestConditionRequesterSettingsIdArrayOutput - ToRequestConditionRequesterSettingsIdArrayOutputWithContext(context.Context) RequestConditionRequesterSettingsIdArrayOutput + ToTemplateSmsTranslationArrayOutput() TemplateSmsTranslationArrayOutput + ToTemplateSmsTranslationArrayOutputWithContext(context.Context) TemplateSmsTranslationArrayOutput } -type RequestConditionRequesterSettingsIdArray []RequestConditionRequesterSettingsIdInput +type TemplateSmsTranslationArray []TemplateSmsTranslationInput -func (RequestConditionRequesterSettingsIdArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestConditionRequesterSettingsId)(nil)).Elem() +func (TemplateSmsTranslationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]TemplateSmsTranslation)(nil)).Elem() } -func (i RequestConditionRequesterSettingsIdArray) ToRequestConditionRequesterSettingsIdArrayOutput() RequestConditionRequesterSettingsIdArrayOutput { - return i.ToRequestConditionRequesterSettingsIdArrayOutputWithContext(context.Background()) +func (i TemplateSmsTranslationArray) ToTemplateSmsTranslationArrayOutput() TemplateSmsTranslationArrayOutput { + return i.ToTemplateSmsTranslationArrayOutputWithContext(context.Background()) } -func (i RequestConditionRequesterSettingsIdArray) ToRequestConditionRequesterSettingsIdArrayOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsIdArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestConditionRequesterSettingsIdArrayOutput) +func (i TemplateSmsTranslationArray) ToTemplateSmsTranslationArrayOutputWithContext(ctx context.Context) TemplateSmsTranslationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(TemplateSmsTranslationArrayOutput) } -type RequestConditionRequesterSettingsIdOutput struct{ *pulumi.OutputState } +type TemplateSmsTranslationOutput struct{ *pulumi.OutputState } -func (RequestConditionRequesterSettingsIdOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestConditionRequesterSettingsId)(nil)).Elem() +func (TemplateSmsTranslationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*TemplateSmsTranslation)(nil)).Elem() } -func (o RequestConditionRequesterSettingsIdOutput) ToRequestConditionRequesterSettingsIdOutput() RequestConditionRequesterSettingsIdOutput { +func (o TemplateSmsTranslationOutput) ToTemplateSmsTranslationOutput() TemplateSmsTranslationOutput { return o } -func (o RequestConditionRequesterSettingsIdOutput) ToRequestConditionRequesterSettingsIdOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsIdOutput { +func (o TemplateSmsTranslationOutput) ToTemplateSmsTranslationOutputWithContext(ctx context.Context) TemplateSmsTranslationOutput { return o } -// Request condition id. -func (o RequestConditionRequesterSettingsIdOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestConditionRequesterSettingsId) *string { return v.Id }).(pulumi.StringPtrOutput) +// The language to map the template to. +func (o TemplateSmsTranslationOutput) Language() pulumi.StringOutput { + return o.ApplyT(func(v TemplateSmsTranslation) string { return v.Language }).(pulumi.StringOutput) } -type RequestConditionRequesterSettingsIdArrayOutput struct{ *pulumi.OutputState } +// The SMS message. +func (o TemplateSmsTranslationOutput) Template() pulumi.StringOutput { + return o.ApplyT(func(v TemplateSmsTranslation) string { return v.Template }).(pulumi.StringOutput) +} -func (RequestConditionRequesterSettingsIdArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestConditionRequesterSettingsId)(nil)).Elem() +type TemplateSmsTranslationArrayOutput struct{ *pulumi.OutputState } + +func (TemplateSmsTranslationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]TemplateSmsTranslation)(nil)).Elem() } -func (o RequestConditionRequesterSettingsIdArrayOutput) ToRequestConditionRequesterSettingsIdArrayOutput() RequestConditionRequesterSettingsIdArrayOutput { +func (o TemplateSmsTranslationArrayOutput) ToTemplateSmsTranslationArrayOutput() TemplateSmsTranslationArrayOutput { return o } -func (o RequestConditionRequesterSettingsIdArrayOutput) ToRequestConditionRequesterSettingsIdArrayOutputWithContext(ctx context.Context) RequestConditionRequesterSettingsIdArrayOutput { +func (o TemplateSmsTranslationArrayOutput) ToTemplateSmsTranslationArrayOutputWithContext(ctx context.Context) TemplateSmsTranslationArrayOutput { return o } -func (o RequestConditionRequesterSettingsIdArrayOutput) Index(i pulumi.IntInput) RequestConditionRequesterSettingsIdOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestConditionRequesterSettingsId { - return vs[0].([]RequestConditionRequesterSettingsId)[vs[1].(int)] - }).(RequestConditionRequesterSettingsIdOutput) +func (o TemplateSmsTranslationArrayOutput) Index(i pulumi.IntInput) TemplateSmsTranslationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) TemplateSmsTranslation { + return vs[0].([]TemplateSmsTranslation)[vs[1].(int)] + }).(TemplateSmsTranslationOutput) } -type RequestSettingResourceRequestOnBehalfOfSettings struct { - // Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. - Allowed *bool `pulumi:"allowed"` - // Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. - OnlyFors []RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor `pulumi:"onlyFors"` +type UiSchemaUiSchema struct { + // Specifies the button label for the Submit button at the bottom of the enrollment form. + ButtonLabel *string `pulumi:"buttonLabel"` + Elements []UiSchemaUiSchemaElement `pulumi:"elements"` + // Specifies the label at the top of the enrollment form under the logo. + Label *string `pulumi:"label"` + // Specifies the type of layout. + Type *string `pulumi:"type"` } -// RequestSettingResourceRequestOnBehalfOfSettingsInput is an input type that accepts RequestSettingResourceRequestOnBehalfOfSettingsArgs and RequestSettingResourceRequestOnBehalfOfSettingsOutput values. -// You can construct a concrete instance of `RequestSettingResourceRequestOnBehalfOfSettingsInput` via: +// UiSchemaUiSchemaInput is an input type that accepts UiSchemaUiSchemaArgs and UiSchemaUiSchemaOutput values. +// You can construct a concrete instance of `UiSchemaUiSchemaInput` via: // -// RequestSettingResourceRequestOnBehalfOfSettingsArgs{...} -type RequestSettingResourceRequestOnBehalfOfSettingsInput interface { +// UiSchemaUiSchemaArgs{...} +type UiSchemaUiSchemaInput interface { pulumi.Input - ToRequestSettingResourceRequestOnBehalfOfSettingsOutput() RequestSettingResourceRequestOnBehalfOfSettingsOutput - ToRequestSettingResourceRequestOnBehalfOfSettingsOutputWithContext(context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOutput + ToUiSchemaUiSchemaOutput() UiSchemaUiSchemaOutput + ToUiSchemaUiSchemaOutputWithContext(context.Context) UiSchemaUiSchemaOutput } -type RequestSettingResourceRequestOnBehalfOfSettingsArgs struct { - // Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. - Allowed pulumi.BoolPtrInput `pulumi:"allowed"` - // Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. - OnlyFors RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayInput `pulumi:"onlyFors"` +type UiSchemaUiSchemaArgs struct { + // Specifies the button label for the Submit button at the bottom of the enrollment form. + ButtonLabel pulumi.StringPtrInput `pulumi:"buttonLabel"` + Elements UiSchemaUiSchemaElementArrayInput `pulumi:"elements"` + // Specifies the label at the top of the enrollment form under the logo. + Label pulumi.StringPtrInput `pulumi:"label"` + // Specifies the type of layout. + Type pulumi.StringPtrInput `pulumi:"type"` } -func (RequestSettingResourceRequestOnBehalfOfSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRequestOnBehalfOfSettings)(nil)).Elem() +func (UiSchemaUiSchemaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UiSchemaUiSchema)(nil)).Elem() } -func (i RequestSettingResourceRequestOnBehalfOfSettingsArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsOutput() RequestSettingResourceRequestOnBehalfOfSettingsOutput { - return i.ToRequestSettingResourceRequestOnBehalfOfSettingsOutputWithContext(context.Background()) +func (i UiSchemaUiSchemaArgs) ToUiSchemaUiSchemaOutput() UiSchemaUiSchemaOutput { + return i.ToUiSchemaUiSchemaOutputWithContext(context.Background()) } -func (i RequestSettingResourceRequestOnBehalfOfSettingsArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsOutput) +func (i UiSchemaUiSchemaArgs) ToUiSchemaUiSchemaOutputWithContext(ctx context.Context) UiSchemaUiSchemaOutput { + return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaOutput) } -func (i RequestSettingResourceRequestOnBehalfOfSettingsArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { - return i.ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(context.Background()) +func (i UiSchemaUiSchemaArgs) ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput { + return i.ToUiSchemaUiSchemaPtrOutputWithContext(context.Background()) } -func (i RequestSettingResourceRequestOnBehalfOfSettingsArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsOutput).ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx) +func (i UiSchemaUiSchemaArgs) ToUiSchemaUiSchemaPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaOutput).ToUiSchemaUiSchemaPtrOutputWithContext(ctx) } -// RequestSettingResourceRequestOnBehalfOfSettingsPtrInput is an input type that accepts RequestSettingResourceRequestOnBehalfOfSettingsArgs, RequestSettingResourceRequestOnBehalfOfSettingsPtr and RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput values. -// You can construct a concrete instance of `RequestSettingResourceRequestOnBehalfOfSettingsPtrInput` via: +// UiSchemaUiSchemaPtrInput is an input type that accepts UiSchemaUiSchemaArgs, UiSchemaUiSchemaPtr and UiSchemaUiSchemaPtrOutput values. +// You can construct a concrete instance of `UiSchemaUiSchemaPtrInput` via: // -// RequestSettingResourceRequestOnBehalfOfSettingsArgs{...} +// UiSchemaUiSchemaArgs{...} // // or: // // nil -type RequestSettingResourceRequestOnBehalfOfSettingsPtrInput interface { +type UiSchemaUiSchemaPtrInput interface { pulumi.Input - ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput - ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput + ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput + ToUiSchemaUiSchemaPtrOutputWithContext(context.Context) UiSchemaUiSchemaPtrOutput } -type requestSettingResourceRequestOnBehalfOfSettingsPtrType RequestSettingResourceRequestOnBehalfOfSettingsArgs +type uiSchemaUiSchemaPtrType UiSchemaUiSchemaArgs -func RequestSettingResourceRequestOnBehalfOfSettingsPtr(v *RequestSettingResourceRequestOnBehalfOfSettingsArgs) RequestSettingResourceRequestOnBehalfOfSettingsPtrInput { - return (*requestSettingResourceRequestOnBehalfOfSettingsPtrType)(v) +func UiSchemaUiSchemaPtr(v *UiSchemaUiSchemaArgs) UiSchemaUiSchemaPtrInput { + return (*uiSchemaUiSchemaPtrType)(v) } -func (*requestSettingResourceRequestOnBehalfOfSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RequestSettingResourceRequestOnBehalfOfSettings)(nil)).Elem() +func (*uiSchemaUiSchemaPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**UiSchemaUiSchema)(nil)).Elem() } -func (i *requestSettingResourceRequestOnBehalfOfSettingsPtrType) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { - return i.ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(context.Background()) +func (i *uiSchemaUiSchemaPtrType) ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput { + return i.ToUiSchemaUiSchemaPtrOutputWithContext(context.Background()) } -func (i *requestSettingResourceRequestOnBehalfOfSettingsPtrType) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) +func (i *uiSchemaUiSchemaPtrType) ToUiSchemaUiSchemaPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaPtrOutput) } -type RequestSettingResourceRequestOnBehalfOfSettingsOutput struct{ *pulumi.OutputState } +type UiSchemaUiSchemaOutput struct{ *pulumi.OutputState } -func (RequestSettingResourceRequestOnBehalfOfSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRequestOnBehalfOfSettings)(nil)).Elem() +func (UiSchemaUiSchemaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UiSchemaUiSchema)(nil)).Elem() } -func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOutput() RequestSettingResourceRequestOnBehalfOfSettingsOutput { +func (o UiSchemaUiSchemaOutput) ToUiSchemaUiSchemaOutput() UiSchemaUiSchemaOutput { + return o +} + +func (o UiSchemaUiSchemaOutput) ToUiSchemaUiSchemaOutputWithContext(ctx context.Context) UiSchemaUiSchemaOutput { return o } -func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOutput { - return o +func (o UiSchemaUiSchemaOutput) ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput { + return o.ToUiSchemaUiSchemaPtrOutputWithContext(context.Background()) +} + +func (o UiSchemaUiSchemaOutput) ToUiSchemaUiSchemaPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v UiSchemaUiSchema) *UiSchemaUiSchema { + return &v + }).(UiSchemaUiSchemaPtrOutput) } -func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { - return o.ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(context.Background()) +// Specifies the button label for the Submit button at the bottom of the enrollment form. +func (o UiSchemaUiSchemaOutput) ButtonLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v UiSchemaUiSchema) *string { return v.ButtonLabel }).(pulumi.StringPtrOutput) } -func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestSettingResourceRequestOnBehalfOfSettings) *RequestSettingResourceRequestOnBehalfOfSettings { - return &v - }).(RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) +func (o UiSchemaUiSchemaOutput) Elements() UiSchemaUiSchemaElementArrayOutput { + return o.ApplyT(func(v UiSchemaUiSchema) []UiSchemaUiSchemaElement { return v.Elements }).(UiSchemaUiSchemaElementArrayOutput) } -// Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. -func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) Allowed() pulumi.BoolPtrOutput { - return o.ApplyT(func(v RequestSettingResourceRequestOnBehalfOfSettings) *bool { return v.Allowed }).(pulumi.BoolPtrOutput) +// Specifies the label at the top of the enrollment form under the logo. +func (o UiSchemaUiSchemaOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v UiSchemaUiSchema) *string { return v.Label }).(pulumi.StringPtrOutput) } -// Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. -func (o RequestSettingResourceRequestOnBehalfOfSettingsOutput) OnlyFors() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { - return o.ApplyT(func(v RequestSettingResourceRequestOnBehalfOfSettings) []RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor { - return v.OnlyFors - }).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) +// Specifies the type of layout. +func (o UiSchemaUiSchemaOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v UiSchemaUiSchema) *string { return v.Type }).(pulumi.StringPtrOutput) } -type RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput struct{ *pulumi.OutputState } +type UiSchemaUiSchemaPtrOutput struct{ *pulumi.OutputState } -func (RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RequestSettingResourceRequestOnBehalfOfSettings)(nil)).Elem() +func (UiSchemaUiSchemaPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**UiSchemaUiSchema)(nil)).Elem() } -func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutput() RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { +func (o UiSchemaUiSchemaPtrOutput) ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput { return o } -func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput { +func (o UiSchemaUiSchemaPtrOutput) ToUiSchemaUiSchemaPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaPtrOutput { return o } -func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) Elem() RequestSettingResourceRequestOnBehalfOfSettingsOutput { - return o.ApplyT(func(v *RequestSettingResourceRequestOnBehalfOfSettings) RequestSettingResourceRequestOnBehalfOfSettings { +func (o UiSchemaUiSchemaPtrOutput) Elem() UiSchemaUiSchemaOutput { + return o.ApplyT(func(v *UiSchemaUiSchema) UiSchemaUiSchema { if v != nil { return *v } - var ret RequestSettingResourceRequestOnBehalfOfSettings + var ret UiSchemaUiSchema return ret - }).(RequestSettingResourceRequestOnBehalfOfSettingsOutput) + }).(UiSchemaUiSchemaOutput) } -// Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. -func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) Allowed() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *RequestSettingResourceRequestOnBehalfOfSettings) *bool { +// Specifies the button label for the Submit button at the bottom of the enrollment form. +func (o UiSchemaUiSchemaPtrOutput) ButtonLabel() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UiSchemaUiSchema) *string { if v == nil { return nil } - return v.Allowed - }).(pulumi.BoolPtrOutput) + return v.ButtonLabel + }).(pulumi.StringPtrOutput) } -// Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. -func (o RequestSettingResourceRequestOnBehalfOfSettingsPtrOutput) OnlyFors() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { - return o.ApplyT(func(v *RequestSettingResourceRequestOnBehalfOfSettings) []RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor { +func (o UiSchemaUiSchemaPtrOutput) Elements() UiSchemaUiSchemaElementArrayOutput { + return o.ApplyT(func(v *UiSchemaUiSchema) []UiSchemaUiSchemaElement { if v == nil { return nil } - return v.OnlyFors - }).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) + return v.Elements + }).(UiSchemaUiSchemaElementArrayOutput) } -type RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor struct { - // Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user +// Specifies the label at the top of the enrollment form under the logo. +func (o UiSchemaUiSchemaPtrOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UiSchemaUiSchema) *string { + if v == nil { + return nil + } + return v.Label + }).(pulumi.StringPtrOutput) +} + +// Specifies the type of layout. +func (o UiSchemaUiSchemaPtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UiSchemaUiSchema) *string { + if v == nil { + return nil + } + return v.Type + }).(pulumi.StringPtrOutput) +} + +type UiSchemaUiSchemaElement struct { + // Label name for the UI element. + Label *string `pulumi:"label"` + // UI Schema element options object. + Options *UiSchemaUiSchemaElementOptions `pulumi:"options"` + // Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. + Scope string `pulumi:"scope"` + // Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. Type *string `pulumi:"type"` } -// RequestSettingResourceRequestOnBehalfOfSettingsOnlyForInput is an input type that accepts RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs and RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput values. -// You can construct a concrete instance of `RequestSettingResourceRequestOnBehalfOfSettingsOnlyForInput` via: +// UiSchemaUiSchemaElementInput is an input type that accepts UiSchemaUiSchemaElementArgs and UiSchemaUiSchemaElementOutput values. +// You can construct a concrete instance of `UiSchemaUiSchemaElementInput` via: // -// RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs{...} -type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForInput interface { +// UiSchemaUiSchemaElementArgs{...} +type UiSchemaUiSchemaElementInput interface { pulumi.Input - ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput - ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutputWithContext(context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput + ToUiSchemaUiSchemaElementOutput() UiSchemaUiSchemaElementOutput + ToUiSchemaUiSchemaElementOutputWithContext(context.Context) UiSchemaUiSchemaElementOutput } -type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs struct { - // Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user +type UiSchemaUiSchemaElementArgs struct { + // Label name for the UI element. + Label pulumi.StringPtrInput `pulumi:"label"` + // UI Schema element options object. + Options UiSchemaUiSchemaElementOptionsPtrInput `pulumi:"options"` + // Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. + Scope pulumi.StringInput `pulumi:"scope"` + // Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. Type pulumi.StringPtrInput `pulumi:"type"` } -func (RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)(nil)).Elem() +func (UiSchemaUiSchemaElementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UiSchemaUiSchemaElement)(nil)).Elem() } -func (i RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { - return i.ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutputWithContext(context.Background()) +func (i UiSchemaUiSchemaElementArgs) ToUiSchemaUiSchemaElementOutput() UiSchemaUiSchemaElementOutput { + return i.ToUiSchemaUiSchemaElementOutputWithContext(context.Background()) } -func (i RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) +func (i UiSchemaUiSchemaElementArgs) ToUiSchemaUiSchemaElementOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOutput { + return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementOutput) } -// RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayInput is an input type that accepts RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray and RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput values. -// You can construct a concrete instance of `RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayInput` via: +// UiSchemaUiSchemaElementArrayInput is an input type that accepts UiSchemaUiSchemaElementArray and UiSchemaUiSchemaElementArrayOutput values. +// You can construct a concrete instance of `UiSchemaUiSchemaElementArrayInput` via: // -// RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray{ RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs{...} } -type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayInput interface { +// UiSchemaUiSchemaElementArray{ UiSchemaUiSchemaElementArgs{...} } +type UiSchemaUiSchemaElementArrayInput interface { pulumi.Input - ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput - ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutputWithContext(context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput + ToUiSchemaUiSchemaElementArrayOutput() UiSchemaUiSchemaElementArrayOutput + ToUiSchemaUiSchemaElementArrayOutputWithContext(context.Context) UiSchemaUiSchemaElementArrayOutput } -type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray []RequestSettingResourceRequestOnBehalfOfSettingsOnlyForInput +type UiSchemaUiSchemaElementArray []UiSchemaUiSchemaElementInput -func (RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)(nil)).Elem() +func (UiSchemaUiSchemaElementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]UiSchemaUiSchemaElement)(nil)).Elem() } -func (i RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { - return i.ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutputWithContext(context.Background()) +func (i UiSchemaUiSchemaElementArray) ToUiSchemaUiSchemaElementArrayOutput() UiSchemaUiSchemaElementArrayOutput { + return i.ToUiSchemaUiSchemaElementArrayOutputWithContext(context.Background()) } -func (i RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArray) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) +func (i UiSchemaUiSchemaElementArray) ToUiSchemaUiSchemaElementArrayOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementArrayOutput) } -type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput struct{ *pulumi.OutputState } +type UiSchemaUiSchemaElementOutput struct{ *pulumi.OutputState } -func (RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)(nil)).Elem() +func (UiSchemaUiSchemaElementOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UiSchemaUiSchemaElement)(nil)).Elem() } -func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { +func (o UiSchemaUiSchemaElementOutput) ToUiSchemaUiSchemaElementOutput() UiSchemaUiSchemaElementOutput { return o } -func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { +func (o UiSchemaUiSchemaElementOutput) ToUiSchemaUiSchemaElementOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOutput { return o } -// Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user -func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor) *string { return v.Type }).(pulumi.StringPtrOutput) +// Label name for the UI element. +func (o UiSchemaUiSchemaElementOutput) Label() pulumi.StringPtrOutput { + return o.ApplyT(func(v UiSchemaUiSchemaElement) *string { return v.Label }).(pulumi.StringPtrOutput) } -type RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput struct{ *pulumi.OutputState } +// UI Schema element options object. +func (o UiSchemaUiSchemaElementOutput) Options() UiSchemaUiSchemaElementOptionsPtrOutput { + return o.ApplyT(func(v UiSchemaUiSchemaElement) *UiSchemaUiSchemaElementOptions { return v.Options }).(UiSchemaUiSchemaElementOptionsPtrOutput) +} -func (RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)(nil)).Elem() +// Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. +func (o UiSchemaUiSchemaElementOutput) Scope() pulumi.StringOutput { + return o.ApplyT(func(v UiSchemaUiSchemaElement) string { return v.Scope }).(pulumi.StringOutput) } -func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput() RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { +// Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. +func (o UiSchemaUiSchemaElementOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v UiSchemaUiSchemaElement) *string { return v.Type }).(pulumi.StringPtrOutput) +} + +type UiSchemaUiSchemaElementArrayOutput struct{ *pulumi.OutputState } + +func (UiSchemaUiSchemaElementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]UiSchemaUiSchemaElement)(nil)).Elem() +} + +func (o UiSchemaUiSchemaElementArrayOutput) ToUiSchemaUiSchemaElementArrayOutput() UiSchemaUiSchemaElementArrayOutput { return o } -func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) ToRequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutputWithContext(ctx context.Context) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput { +func (o UiSchemaUiSchemaElementArrayOutput) ToUiSchemaUiSchemaElementArrayOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementArrayOutput { return o } -func (o RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArrayOutput) Index(i pulumi.IntInput) RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor { - return vs[0].([]RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor)[vs[1].(int)] - }).(RequestSettingResourceRequestOnBehalfOfSettingsOnlyForOutput) +func (o UiSchemaUiSchemaElementArrayOutput) Index(i pulumi.IntInput) UiSchemaUiSchemaElementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) UiSchemaUiSchemaElement { + return vs[0].([]UiSchemaUiSchemaElement)[vs[1].(int)] + }).(UiSchemaUiSchemaElementOutput) } -type RequestSettingResourceRiskSettings struct { - // Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. - DefaultSetting *RequestSettingResourceRiskSettingsDefaultSetting `pulumi:"defaultSetting"` +type UiSchemaUiSchemaElementOptions struct { + // Specifies how the input appears. + Format *string `pulumi:"format"` } -// RequestSettingResourceRiskSettingsInput is an input type that accepts RequestSettingResourceRiskSettingsArgs and RequestSettingResourceRiskSettingsOutput values. -// You can construct a concrete instance of `RequestSettingResourceRiskSettingsInput` via: +// UiSchemaUiSchemaElementOptionsInput is an input type that accepts UiSchemaUiSchemaElementOptionsArgs and UiSchemaUiSchemaElementOptionsOutput values. +// You can construct a concrete instance of `UiSchemaUiSchemaElementOptionsInput` via: // -// RequestSettingResourceRiskSettingsArgs{...} -type RequestSettingResourceRiskSettingsInput interface { +// UiSchemaUiSchemaElementOptionsArgs{...} +type UiSchemaUiSchemaElementOptionsInput interface { pulumi.Input - ToRequestSettingResourceRiskSettingsOutput() RequestSettingResourceRiskSettingsOutput - ToRequestSettingResourceRiskSettingsOutputWithContext(context.Context) RequestSettingResourceRiskSettingsOutput + ToUiSchemaUiSchemaElementOptionsOutput() UiSchemaUiSchemaElementOptionsOutput + ToUiSchemaUiSchemaElementOptionsOutputWithContext(context.Context) UiSchemaUiSchemaElementOptionsOutput } -type RequestSettingResourceRiskSettingsArgs struct { - // Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. - DefaultSetting RequestSettingResourceRiskSettingsDefaultSettingPtrInput `pulumi:"defaultSetting"` +type UiSchemaUiSchemaElementOptionsArgs struct { + // Specifies how the input appears. + Format pulumi.StringPtrInput `pulumi:"format"` } -func (RequestSettingResourceRiskSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRiskSettings)(nil)).Elem() +func (UiSchemaUiSchemaElementOptionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UiSchemaUiSchemaElementOptions)(nil)).Elem() } -func (i RequestSettingResourceRiskSettingsArgs) ToRequestSettingResourceRiskSettingsOutput() RequestSettingResourceRiskSettingsOutput { - return i.ToRequestSettingResourceRiskSettingsOutputWithContext(context.Background()) +func (i UiSchemaUiSchemaElementOptionsArgs) ToUiSchemaUiSchemaElementOptionsOutput() UiSchemaUiSchemaElementOptionsOutput { + return i.ToUiSchemaUiSchemaElementOptionsOutputWithContext(context.Background()) } -func (i RequestSettingResourceRiskSettingsArgs) ToRequestSettingResourceRiskSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsOutput) +func (i UiSchemaUiSchemaElementOptionsArgs) ToUiSchemaUiSchemaElementOptionsOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementOptionsOutput) } -func (i RequestSettingResourceRiskSettingsArgs) ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput { - return i.ToRequestSettingResourceRiskSettingsPtrOutputWithContext(context.Background()) +func (i UiSchemaUiSchemaElementOptionsArgs) ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput { + return i.ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(context.Background()) } -func (i RequestSettingResourceRiskSettingsArgs) ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsOutput).ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx) +func (i UiSchemaUiSchemaElementOptionsArgs) ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementOptionsOutput).ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx) } -// RequestSettingResourceRiskSettingsPtrInput is an input type that accepts RequestSettingResourceRiskSettingsArgs, RequestSettingResourceRiskSettingsPtr and RequestSettingResourceRiskSettingsPtrOutput values. -// You can construct a concrete instance of `RequestSettingResourceRiskSettingsPtrInput` via: +// UiSchemaUiSchemaElementOptionsPtrInput is an input type that accepts UiSchemaUiSchemaElementOptionsArgs, UiSchemaUiSchemaElementOptionsPtr and UiSchemaUiSchemaElementOptionsPtrOutput values. +// You can construct a concrete instance of `UiSchemaUiSchemaElementOptionsPtrInput` via: // -// RequestSettingResourceRiskSettingsArgs{...} +// UiSchemaUiSchemaElementOptionsArgs{...} // // or: // // nil -type RequestSettingResourceRiskSettingsPtrInput interface { +type UiSchemaUiSchemaElementOptionsPtrInput interface { pulumi.Input - ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput - ToRequestSettingResourceRiskSettingsPtrOutputWithContext(context.Context) RequestSettingResourceRiskSettingsPtrOutput + ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput + ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(context.Context) UiSchemaUiSchemaElementOptionsPtrOutput } -type requestSettingResourceRiskSettingsPtrType RequestSettingResourceRiskSettingsArgs +type uiSchemaUiSchemaElementOptionsPtrType UiSchemaUiSchemaElementOptionsArgs -func RequestSettingResourceRiskSettingsPtr(v *RequestSettingResourceRiskSettingsArgs) RequestSettingResourceRiskSettingsPtrInput { - return (*requestSettingResourceRiskSettingsPtrType)(v) +func UiSchemaUiSchemaElementOptionsPtr(v *UiSchemaUiSchemaElementOptionsArgs) UiSchemaUiSchemaElementOptionsPtrInput { + return (*uiSchemaUiSchemaElementOptionsPtrType)(v) } -func (*requestSettingResourceRiskSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RequestSettingResourceRiskSettings)(nil)).Elem() +func (*uiSchemaUiSchemaElementOptionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**UiSchemaUiSchemaElementOptions)(nil)).Elem() } -func (i *requestSettingResourceRiskSettingsPtrType) ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput { - return i.ToRequestSettingResourceRiskSettingsPtrOutputWithContext(context.Background()) +func (i *uiSchemaUiSchemaElementOptionsPtrType) ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput { + return i.ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(context.Background()) } -func (i *requestSettingResourceRiskSettingsPtrType) ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsPtrOutput) +func (i *uiSchemaUiSchemaElementOptionsPtrType) ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementOptionsPtrOutput) } -type RequestSettingResourceRiskSettingsOutput struct{ *pulumi.OutputState } +type UiSchemaUiSchemaElementOptionsOutput struct{ *pulumi.OutputState } -func (RequestSettingResourceRiskSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRiskSettings)(nil)).Elem() +func (UiSchemaUiSchemaElementOptionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UiSchemaUiSchemaElementOptions)(nil)).Elem() } -func (o RequestSettingResourceRiskSettingsOutput) ToRequestSettingResourceRiskSettingsOutput() RequestSettingResourceRiskSettingsOutput { +func (o UiSchemaUiSchemaElementOptionsOutput) ToUiSchemaUiSchemaElementOptionsOutput() UiSchemaUiSchemaElementOptionsOutput { return o } -func (o RequestSettingResourceRiskSettingsOutput) ToRequestSettingResourceRiskSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsOutput { +func (o UiSchemaUiSchemaElementOptionsOutput) ToUiSchemaUiSchemaElementOptionsOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsOutput { return o } -func (o RequestSettingResourceRiskSettingsOutput) ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput { - return o.ToRequestSettingResourceRiskSettingsPtrOutputWithContext(context.Background()) +func (o UiSchemaUiSchemaElementOptionsOutput) ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput { + return o.ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(context.Background()) } -func (o RequestSettingResourceRiskSettingsOutput) ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestSettingResourceRiskSettings) *RequestSettingResourceRiskSettings { +func (o UiSchemaUiSchemaElementOptionsOutput) ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v UiSchemaUiSchemaElementOptions) *UiSchemaUiSchemaElementOptions { return &v - }).(RequestSettingResourceRiskSettingsPtrOutput) + }).(UiSchemaUiSchemaElementOptionsPtrOutput) } -// Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. -func (o RequestSettingResourceRiskSettingsOutput) DefaultSetting() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { - return o.ApplyT(func(v RequestSettingResourceRiskSettings) *RequestSettingResourceRiskSettingsDefaultSetting { - return v.DefaultSetting - }).(RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) +// Specifies how the input appears. +func (o UiSchemaUiSchemaElementOptionsOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v UiSchemaUiSchemaElementOptions) *string { return v.Format }).(pulumi.StringPtrOutput) } -type RequestSettingResourceRiskSettingsPtrOutput struct{ *pulumi.OutputState } +type UiSchemaUiSchemaElementOptionsPtrOutput struct{ *pulumi.OutputState } -func (RequestSettingResourceRiskSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RequestSettingResourceRiskSettings)(nil)).Elem() +func (UiSchemaUiSchemaElementOptionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**UiSchemaUiSchemaElementOptions)(nil)).Elem() } -func (o RequestSettingResourceRiskSettingsPtrOutput) ToRequestSettingResourceRiskSettingsPtrOutput() RequestSettingResourceRiskSettingsPtrOutput { +func (o UiSchemaUiSchemaElementOptionsPtrOutput) ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput { return o } -func (o RequestSettingResourceRiskSettingsPtrOutput) ToRequestSettingResourceRiskSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsPtrOutput { +func (o UiSchemaUiSchemaElementOptionsPtrOutput) ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsPtrOutput { return o } -func (o RequestSettingResourceRiskSettingsPtrOutput) Elem() RequestSettingResourceRiskSettingsOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettings) RequestSettingResourceRiskSettings { +func (o UiSchemaUiSchemaElementOptionsPtrOutput) Elem() UiSchemaUiSchemaElementOptionsOutput { + return o.ApplyT(func(v *UiSchemaUiSchemaElementOptions) UiSchemaUiSchemaElementOptions { if v != nil { return *v } - var ret RequestSettingResourceRiskSettings + var ret UiSchemaUiSchemaElementOptions return ret - }).(RequestSettingResourceRiskSettingsOutput) + }).(UiSchemaUiSchemaElementOptionsOutput) } -// Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. -func (o RequestSettingResourceRiskSettingsPtrOutput) DefaultSetting() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettings) *RequestSettingResourceRiskSettingsDefaultSetting { +// Specifies how the input appears. +func (o UiSchemaUiSchemaElementOptionsPtrOutput) Format() pulumi.StringPtrOutput { + return o.ApplyT(func(v *UiSchemaUiSchemaElementOptions) *string { if v == nil { return nil } - return v.DefaultSetting - }).(RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) + return v.Format + }).(pulumi.StringPtrOutput) } -type RequestSettingResourceRiskSettingsDefaultSetting struct { - // Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. - AccessDurationSettings *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings `pulumi:"accessDurationSettings"` - // The ID of the approval sequence. - ApprovalSequenceId *string `pulumi:"approvalSequenceId"` - Errors []string `pulumi:"errors"` - RequestSubmissionType *string `pulumi:"requestSubmissionType"` +type UserSchemaPropertyArrayOneOf struct { + // Value mapping to member of `arrayEnum` + Const string `pulumi:"const"` + // Display name for the enum value. + Title string `pulumi:"title"` } -// RequestSettingResourceRiskSettingsDefaultSettingInput is an input type that accepts RequestSettingResourceRiskSettingsDefaultSettingArgs and RequestSettingResourceRiskSettingsDefaultSettingOutput values. -// You can construct a concrete instance of `RequestSettingResourceRiskSettingsDefaultSettingInput` via: +// UserSchemaPropertyArrayOneOfInput is an input type that accepts UserSchemaPropertyArrayOneOfArgs and UserSchemaPropertyArrayOneOfOutput values. +// You can construct a concrete instance of `UserSchemaPropertyArrayOneOfInput` via: // -// RequestSettingResourceRiskSettingsDefaultSettingArgs{...} -type RequestSettingResourceRiskSettingsDefaultSettingInput interface { +// UserSchemaPropertyArrayOneOfArgs{...} +type UserSchemaPropertyArrayOneOfInput interface { pulumi.Input - ToRequestSettingResourceRiskSettingsDefaultSettingOutput() RequestSettingResourceRiskSettingsDefaultSettingOutput - ToRequestSettingResourceRiskSettingsDefaultSettingOutputWithContext(context.Context) RequestSettingResourceRiskSettingsDefaultSettingOutput -} - -type RequestSettingResourceRiskSettingsDefaultSettingArgs struct { - // Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. - AccessDurationSettings RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput `pulumi:"accessDurationSettings"` - // The ID of the approval sequence. - ApprovalSequenceId pulumi.StringPtrInput `pulumi:"approvalSequenceId"` - Errors pulumi.StringArrayInput `pulumi:"errors"` - RequestSubmissionType pulumi.StringPtrInput `pulumi:"requestSubmissionType"` -} - -func (RequestSettingResourceRiskSettingsDefaultSettingArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRiskSettingsDefaultSetting)(nil)).Elem() + ToUserSchemaPropertyArrayOneOfOutput() UserSchemaPropertyArrayOneOfOutput + ToUserSchemaPropertyArrayOneOfOutputWithContext(context.Context) UserSchemaPropertyArrayOneOfOutput } -func (i RequestSettingResourceRiskSettingsDefaultSettingArgs) ToRequestSettingResourceRiskSettingsDefaultSettingOutput() RequestSettingResourceRiskSettingsDefaultSettingOutput { - return i.ToRequestSettingResourceRiskSettingsDefaultSettingOutputWithContext(context.Background()) +type UserSchemaPropertyArrayOneOfArgs struct { + // Value mapping to member of `arrayEnum` + Const pulumi.StringInput `pulumi:"const"` + // Display name for the enum value. + Title pulumi.StringInput `pulumi:"title"` } -func (i RequestSettingResourceRiskSettingsDefaultSettingArgs) ToRequestSettingResourceRiskSettingsDefaultSettingOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingOutput) +func (UserSchemaPropertyArrayOneOfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UserSchemaPropertyArrayOneOf)(nil)).Elem() } -func (i RequestSettingResourceRiskSettingsDefaultSettingArgs) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { - return i.ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(context.Background()) +func (i UserSchemaPropertyArrayOneOfArgs) ToUserSchemaPropertyArrayOneOfOutput() UserSchemaPropertyArrayOneOfOutput { + return i.ToUserSchemaPropertyArrayOneOfOutputWithContext(context.Background()) } -func (i RequestSettingResourceRiskSettingsDefaultSettingArgs) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingOutput).ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx) +func (i UserSchemaPropertyArrayOneOfArgs) ToUserSchemaPropertyArrayOneOfOutputWithContext(ctx context.Context) UserSchemaPropertyArrayOneOfOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyArrayOneOfOutput) } -// RequestSettingResourceRiskSettingsDefaultSettingPtrInput is an input type that accepts RequestSettingResourceRiskSettingsDefaultSettingArgs, RequestSettingResourceRiskSettingsDefaultSettingPtr and RequestSettingResourceRiskSettingsDefaultSettingPtrOutput values. -// You can construct a concrete instance of `RequestSettingResourceRiskSettingsDefaultSettingPtrInput` via: -// -// RequestSettingResourceRiskSettingsDefaultSettingArgs{...} -// -// or: +// UserSchemaPropertyArrayOneOfArrayInput is an input type that accepts UserSchemaPropertyArrayOneOfArray and UserSchemaPropertyArrayOneOfArrayOutput values. +// You can construct a concrete instance of `UserSchemaPropertyArrayOneOfArrayInput` via: // -// nil -type RequestSettingResourceRiskSettingsDefaultSettingPtrInput interface { +// UserSchemaPropertyArrayOneOfArray{ UserSchemaPropertyArrayOneOfArgs{...} } +type UserSchemaPropertyArrayOneOfArrayInput interface { pulumi.Input - ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput - ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput + ToUserSchemaPropertyArrayOneOfArrayOutput() UserSchemaPropertyArrayOneOfArrayOutput + ToUserSchemaPropertyArrayOneOfArrayOutputWithContext(context.Context) UserSchemaPropertyArrayOneOfArrayOutput } -type requestSettingResourceRiskSettingsDefaultSettingPtrType RequestSettingResourceRiskSettingsDefaultSettingArgs - -func RequestSettingResourceRiskSettingsDefaultSettingPtr(v *RequestSettingResourceRiskSettingsDefaultSettingArgs) RequestSettingResourceRiskSettingsDefaultSettingPtrInput { - return (*requestSettingResourceRiskSettingsDefaultSettingPtrType)(v) -} +type UserSchemaPropertyArrayOneOfArray []UserSchemaPropertyArrayOneOfInput -func (*requestSettingResourceRiskSettingsDefaultSettingPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RequestSettingResourceRiskSettingsDefaultSetting)(nil)).Elem() +func (UserSchemaPropertyArrayOneOfArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserSchemaPropertyArrayOneOf)(nil)).Elem() } -func (i *requestSettingResourceRiskSettingsDefaultSettingPtrType) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { - return i.ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(context.Background()) +func (i UserSchemaPropertyArrayOneOfArray) ToUserSchemaPropertyArrayOneOfArrayOutput() UserSchemaPropertyArrayOneOfArrayOutput { + return i.ToUserSchemaPropertyArrayOneOfArrayOutputWithContext(context.Background()) } -func (i *requestSettingResourceRiskSettingsDefaultSettingPtrType) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) +func (i UserSchemaPropertyArrayOneOfArray) ToUserSchemaPropertyArrayOneOfArrayOutputWithContext(ctx context.Context) UserSchemaPropertyArrayOneOfArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyArrayOneOfArrayOutput) } -type RequestSettingResourceRiskSettingsDefaultSettingOutput struct{ *pulumi.OutputState } - -func (RequestSettingResourceRiskSettingsDefaultSettingOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRiskSettingsDefaultSetting)(nil)).Elem() -} +type UserSchemaPropertyArrayOneOfOutput struct{ *pulumi.OutputState } -func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ToRequestSettingResourceRiskSettingsDefaultSettingOutput() RequestSettingResourceRiskSettingsDefaultSettingOutput { - return o +func (UserSchemaPropertyArrayOneOfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UserSchemaPropertyArrayOneOf)(nil)).Elem() } -func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ToRequestSettingResourceRiskSettingsDefaultSettingOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingOutput { +func (o UserSchemaPropertyArrayOneOfOutput) ToUserSchemaPropertyArrayOneOfOutput() UserSchemaPropertyArrayOneOfOutput { return o } -func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { - return o.ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(context.Background()) -} - -func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestSettingResourceRiskSettingsDefaultSetting) *RequestSettingResourceRiskSettingsDefaultSetting { - return &v - }).(RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) -} - -// Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. -func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) AccessDurationSettings() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSetting) *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings { - return v.AccessDurationSettings - }).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) -} - -// The ID of the approval sequence. -func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) ApprovalSequenceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSetting) *string { return v.ApprovalSequenceId }).(pulumi.StringPtrOutput) -} - -func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) Errors() pulumi.StringArrayOutput { - return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSetting) []string { return v.Errors }).(pulumi.StringArrayOutput) -} - -func (o RequestSettingResourceRiskSettingsDefaultSettingOutput) RequestSubmissionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSetting) *string { return v.RequestSubmissionType }).(pulumi.StringPtrOutput) -} - -type RequestSettingResourceRiskSettingsDefaultSettingPtrOutput struct{ *pulumi.OutputState } - -func (RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RequestSettingResourceRiskSettingsDefaultSetting)(nil)).Elem() -} - -func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { +func (o UserSchemaPropertyArrayOneOfOutput) ToUserSchemaPropertyArrayOneOfOutputWithContext(ctx context.Context) UserSchemaPropertyArrayOneOfOutput { return o } -func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) ToRequestSettingResourceRiskSettingsDefaultSettingPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingPtrOutput { - return o +// Value mapping to member of `arrayEnum` +func (o UserSchemaPropertyArrayOneOfOutput) Const() pulumi.StringOutput { + return o.ApplyT(func(v UserSchemaPropertyArrayOneOf) string { return v.Const }).(pulumi.StringOutput) } -func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) Elem() RequestSettingResourceRiskSettingsDefaultSettingOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) RequestSettingResourceRiskSettingsDefaultSetting { - if v != nil { - return *v - } - var ret RequestSettingResourceRiskSettingsDefaultSetting - return ret - }).(RequestSettingResourceRiskSettingsDefaultSettingOutput) +// Display name for the enum value. +func (o UserSchemaPropertyArrayOneOfOutput) Title() pulumi.StringOutput { + return o.ApplyT(func(v UserSchemaPropertyArrayOneOf) string { return v.Title }).(pulumi.StringOutput) } -// Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. -func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) AccessDurationSettings() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings { - if v == nil { - return nil - } - return v.AccessDurationSettings - }).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) -} +type UserSchemaPropertyArrayOneOfArrayOutput struct{ *pulumi.OutputState } -// The ID of the approval sequence. -func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) ApprovalSequenceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) *string { - if v == nil { - return nil - } - return v.ApprovalSequenceId - }).(pulumi.StringPtrOutput) +func (UserSchemaPropertyArrayOneOfArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserSchemaPropertyArrayOneOf)(nil)).Elem() } -func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) Errors() pulumi.StringArrayOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) []string { - if v == nil { - return nil - } - return v.Errors - }).(pulumi.StringArrayOutput) +func (o UserSchemaPropertyArrayOneOfArrayOutput) ToUserSchemaPropertyArrayOneOfArrayOutput() UserSchemaPropertyArrayOneOfArrayOutput { + return o } -func (o RequestSettingResourceRiskSettingsDefaultSettingPtrOutput) RequestSubmissionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSetting) *string { - if v == nil { - return nil - } - return v.RequestSubmissionType - }).(pulumi.StringPtrOutput) +func (o UserSchemaPropertyArrayOneOfArrayOutput) ToUserSchemaPropertyArrayOneOfArrayOutputWithContext(ctx context.Context) UserSchemaPropertyArrayOneOfArrayOutput { + return o } -type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings struct { - // The duration set by the admin for access durations. Use ISO8061 notation for duration values. - Duration *string `pulumi:"duration"` - // Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. - Type *string `pulumi:"type"` +func (o UserSchemaPropertyArrayOneOfArrayOutput) Index(i pulumi.IntInput) UserSchemaPropertyArrayOneOfOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserSchemaPropertyArrayOneOf { + return vs[0].([]UserSchemaPropertyArrayOneOf)[vs[1].(int)] + }).(UserSchemaPropertyArrayOneOfOutput) } -// RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsInput is an input type that accepts RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs and RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput values. -// You can construct a concrete instance of `RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsInput` via: +type UserSchemaPropertyMasterOverridePriority struct { + Type *string `pulumi:"type"` + Value string `pulumi:"value"` +} + +// UserSchemaPropertyMasterOverridePriorityInput is an input type that accepts UserSchemaPropertyMasterOverridePriorityArgs and UserSchemaPropertyMasterOverridePriorityOutput values. +// You can construct a concrete instance of `UserSchemaPropertyMasterOverridePriorityInput` via: // -// RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs{...} -type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsInput interface { +// UserSchemaPropertyMasterOverridePriorityArgs{...} +type UserSchemaPropertyMasterOverridePriorityInput interface { pulumi.Input - ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput - ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutputWithContext(context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput + ToUserSchemaPropertyMasterOverridePriorityOutput() UserSchemaPropertyMasterOverridePriorityOutput + ToUserSchemaPropertyMasterOverridePriorityOutputWithContext(context.Context) UserSchemaPropertyMasterOverridePriorityOutput } -type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs struct { - // The duration set by the admin for access durations. Use ISO8061 notation for duration values. - Duration pulumi.StringPtrInput `pulumi:"duration"` - // Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. - Type pulumi.StringPtrInput `pulumi:"type"` +type UserSchemaPropertyMasterOverridePriorityArgs struct { + Type pulumi.StringPtrInput `pulumi:"type"` + Value pulumi.StringInput `pulumi:"value"` } -func (RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings)(nil)).Elem() +func (UserSchemaPropertyMasterOverridePriorityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UserSchemaPropertyMasterOverridePriority)(nil)).Elem() } -func (i RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { - return i.ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutputWithContext(context.Background()) +func (i UserSchemaPropertyMasterOverridePriorityArgs) ToUserSchemaPropertyMasterOverridePriorityOutput() UserSchemaPropertyMasterOverridePriorityOutput { + return i.ToUserSchemaPropertyMasterOverridePriorityOutputWithContext(context.Background()) } -func (i RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) +func (i UserSchemaPropertyMasterOverridePriorityArgs) ToUserSchemaPropertyMasterOverridePriorityOutputWithContext(ctx context.Context) UserSchemaPropertyMasterOverridePriorityOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyMasterOverridePriorityOutput) } -func (i RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return i.ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(context.Background()) +// UserSchemaPropertyMasterOverridePriorityArrayInput is an input type that accepts UserSchemaPropertyMasterOverridePriorityArray and UserSchemaPropertyMasterOverridePriorityArrayOutput values. +// You can construct a concrete instance of `UserSchemaPropertyMasterOverridePriorityArrayInput` via: +// +// UserSchemaPropertyMasterOverridePriorityArray{ UserSchemaPropertyMasterOverridePriorityArgs{...} } +type UserSchemaPropertyMasterOverridePriorityArrayInput interface { + pulumi.Input + + ToUserSchemaPropertyMasterOverridePriorityArrayOutput() UserSchemaPropertyMasterOverridePriorityArrayOutput + ToUserSchemaPropertyMasterOverridePriorityArrayOutputWithContext(context.Context) UserSchemaPropertyMasterOverridePriorityArrayOutput } -func (i RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput).ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx) +type UserSchemaPropertyMasterOverridePriorityArray []UserSchemaPropertyMasterOverridePriorityInput + +func (UserSchemaPropertyMasterOverridePriorityArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserSchemaPropertyMasterOverridePriority)(nil)).Elem() } -// RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput is an input type that accepts RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs, RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtr and RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput values. -// You can construct a concrete instance of `RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput` via: -// -// RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs{...} -// -// or: -// -// nil -type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput interface { - pulumi.Input +func (i UserSchemaPropertyMasterOverridePriorityArray) ToUserSchemaPropertyMasterOverridePriorityArrayOutput() UserSchemaPropertyMasterOverridePriorityArrayOutput { + return i.ToUserSchemaPropertyMasterOverridePriorityArrayOutputWithContext(context.Background()) +} - ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput - ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput +func (i UserSchemaPropertyMasterOverridePriorityArray) ToUserSchemaPropertyMasterOverridePriorityArrayOutputWithContext(ctx context.Context) UserSchemaPropertyMasterOverridePriorityArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyMasterOverridePriorityArrayOutput) } -type requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs +type UserSchemaPropertyMasterOverridePriorityOutput struct{ *pulumi.OutputState } -func RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtr(v *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrInput { - return (*requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType)(v) +func (UserSchemaPropertyMasterOverridePriorityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UserSchemaPropertyMasterOverridePriority)(nil)).Elem() } -func (*requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings)(nil)).Elem() +func (o UserSchemaPropertyMasterOverridePriorityOutput) ToUserSchemaPropertyMasterOverridePriorityOutput() UserSchemaPropertyMasterOverridePriorityOutput { + return o } -func (i *requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return i.ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(context.Background()) +func (o UserSchemaPropertyMasterOverridePriorityOutput) ToUserSchemaPropertyMasterOverridePriorityOutputWithContext(ctx context.Context) UserSchemaPropertyMasterOverridePriorityOutput { + return o } -func (i *requestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrType) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) +func (o UserSchemaPropertyMasterOverridePriorityOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v UserSchemaPropertyMasterOverridePriority) *string { return v.Type }).(pulumi.StringPtrOutput) } -type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput struct{ *pulumi.OutputState } +func (o UserSchemaPropertyMasterOverridePriorityOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v UserSchemaPropertyMasterOverridePriority) string { return v.Value }).(pulumi.StringOutput) +} -func (RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings)(nil)).Elem() +type UserSchemaPropertyMasterOverridePriorityArrayOutput struct{ *pulumi.OutputState } + +func (UserSchemaPropertyMasterOverridePriorityArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserSchemaPropertyMasterOverridePriority)(nil)).Elem() } -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { +func (o UserSchemaPropertyMasterOverridePriorityArrayOutput) ToUserSchemaPropertyMasterOverridePriorityArrayOutput() UserSchemaPropertyMasterOverridePriorityArrayOutput { return o } -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { +func (o UserSchemaPropertyMasterOverridePriorityArrayOutput) ToUserSchemaPropertyMasterOverridePriorityArrayOutputWithContext(ctx context.Context) UserSchemaPropertyMasterOverridePriorityArrayOutput { return o } -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return o.ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(context.Background()) +func (o UserSchemaPropertyMasterOverridePriorityArrayOutput) Index(i pulumi.IntInput) UserSchemaPropertyMasterOverridePriorityOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserSchemaPropertyMasterOverridePriority { + return vs[0].([]UserSchemaPropertyMasterOverridePriority)[vs[1].(int)] + }).(UserSchemaPropertyMasterOverridePriorityOutput) } -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings { - return &v - }).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) +type UserSchemaPropertyOneOf struct { + // Enum value + Const string `pulumi:"const"` + // Enum title + Title string `pulumi:"title"` } -// The duration set by the admin for access durations. Use ISO8061 notation for duration values. -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) Duration() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *string { - return v.Duration - }).(pulumi.StringPtrOutput) +// UserSchemaPropertyOneOfInput is an input type that accepts UserSchemaPropertyOneOfArgs and UserSchemaPropertyOneOfOutput values. +// You can construct a concrete instance of `UserSchemaPropertyOneOfInput` via: +// +// UserSchemaPropertyOneOfArgs{...} +type UserSchemaPropertyOneOfInput interface { + pulumi.Input + + ToUserSchemaPropertyOneOfOutput() UserSchemaPropertyOneOfOutput + ToUserSchemaPropertyOneOfOutputWithContext(context.Context) UserSchemaPropertyOneOfOutput } -// Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *string { return v.Type }).(pulumi.StringPtrOutput) +type UserSchemaPropertyOneOfArgs struct { + // Enum value + Const pulumi.StringInput `pulumi:"const"` + // Enum title + Title pulumi.StringInput `pulumi:"title"` } -type RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput struct{ *pulumi.OutputState } +func (UserSchemaPropertyOneOfArgs) ElementType() reflect.Type { + return reflect.TypeOf((*UserSchemaPropertyOneOf)(nil)).Elem() +} -func (RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings)(nil)).Elem() +func (i UserSchemaPropertyOneOfArgs) ToUserSchemaPropertyOneOfOutput() UserSchemaPropertyOneOfOutput { + return i.ToUserSchemaPropertyOneOfOutputWithContext(context.Background()) } -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return o +func (i UserSchemaPropertyOneOfArgs) ToUserSchemaPropertyOneOfOutputWithContext(ctx context.Context) UserSchemaPropertyOneOfOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyOneOfOutput) } -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) ToRequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutputWithContext(ctx context.Context) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput { - return o +// UserSchemaPropertyOneOfArrayInput is an input type that accepts UserSchemaPropertyOneOfArray and UserSchemaPropertyOneOfArrayOutput values. +// You can construct a concrete instance of `UserSchemaPropertyOneOfArrayInput` via: +// +// UserSchemaPropertyOneOfArray{ UserSchemaPropertyOneOfArgs{...} } +type UserSchemaPropertyOneOfArrayInput interface { + pulumi.Input + + ToUserSchemaPropertyOneOfArrayOutput() UserSchemaPropertyOneOfArrayOutput + ToUserSchemaPropertyOneOfArrayOutputWithContext(context.Context) UserSchemaPropertyOneOfArrayOutput } -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) Elem() RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings { - if v != nil { - return *v - } - var ret RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings - return ret - }).(RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsOutput) +type UserSchemaPropertyOneOfArray []UserSchemaPropertyOneOfInput + +func (UserSchemaPropertyOneOfArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserSchemaPropertyOneOf)(nil)).Elem() } -// The duration set by the admin for access durations. Use ISO8061 notation for duration values. -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) Duration() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *string { - if v == nil { - return nil - } - return v.Duration - }).(pulumi.StringPtrOutput) +func (i UserSchemaPropertyOneOfArray) ToUserSchemaPropertyOneOfArrayOutput() UserSchemaPropertyOneOfArrayOutput { + return i.ToUserSchemaPropertyOneOfArrayOutputWithContext(context.Background()) } -// Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. -func (o RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) +func (i UserSchemaPropertyOneOfArray) ToUserSchemaPropertyOneOfArrayOutputWithContext(ctx context.Context) UserSchemaPropertyOneOfArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyOneOfArrayOutput) } -type RequestV2Requested struct { - // The ID of the access scope associated with the resource. - AccessScopeId *string `pulumi:"accessScopeId"` - // The access scope type. - AccessScopeType *string `pulumi:"accessScopeType"` - // The ID of the resource catalog entry. - EntryId string `pulumi:"entryId"` - // The ID of the requested resource. - ResourceId *string `pulumi:"resourceId"` - // The requested resource type. - ResourceType *string `pulumi:"resourceType"` - // The type of the resource. - Type string `pulumi:"type"` +type UserSchemaPropertyOneOfOutput struct{ *pulumi.OutputState } + +func (UserSchemaPropertyOneOfOutput) ElementType() reflect.Type { + return reflect.TypeOf((*UserSchemaPropertyOneOf)(nil)).Elem() } -// RequestV2RequestedInput is an input type that accepts RequestV2RequestedArgs and RequestV2RequestedOutput values. -// You can construct a concrete instance of `RequestV2RequestedInput` via: -// -// RequestV2RequestedArgs{...} -type RequestV2RequestedInput interface { - pulumi.Input +func (o UserSchemaPropertyOneOfOutput) ToUserSchemaPropertyOneOfOutput() UserSchemaPropertyOneOfOutput { + return o +} - ToRequestV2RequestedOutput() RequestV2RequestedOutput - ToRequestV2RequestedOutputWithContext(context.Context) RequestV2RequestedOutput +func (o UserSchemaPropertyOneOfOutput) ToUserSchemaPropertyOneOfOutputWithContext(ctx context.Context) UserSchemaPropertyOneOfOutput { + return o +} + +// Enum value +func (o UserSchemaPropertyOneOfOutput) Const() pulumi.StringOutput { + return o.ApplyT(func(v UserSchemaPropertyOneOf) string { return v.Const }).(pulumi.StringOutput) } -type RequestV2RequestedArgs struct { - // The ID of the access scope associated with the resource. - AccessScopeId pulumi.StringPtrInput `pulumi:"accessScopeId"` - // The access scope type. - AccessScopeType pulumi.StringPtrInput `pulumi:"accessScopeType"` - // The ID of the resource catalog entry. - EntryId pulumi.StringInput `pulumi:"entryId"` - // The ID of the requested resource. - ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` - // The requested resource type. - ResourceType pulumi.StringPtrInput `pulumi:"resourceType"` - // The type of the resource. - Type pulumi.StringInput `pulumi:"type"` +// Enum title +func (o UserSchemaPropertyOneOfOutput) Title() pulumi.StringOutput { + return o.ApplyT(func(v UserSchemaPropertyOneOf) string { return v.Title }).(pulumi.StringOutput) } -func (RequestV2RequestedArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestV2Requested)(nil)).Elem() +type UserSchemaPropertyOneOfArrayOutput struct{ *pulumi.OutputState } + +func (UserSchemaPropertyOneOfArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]UserSchemaPropertyOneOf)(nil)).Elem() } -func (i RequestV2RequestedArgs) ToRequestV2RequestedOutput() RequestV2RequestedOutput { - return i.ToRequestV2RequestedOutputWithContext(context.Background()) +func (o UserSchemaPropertyOneOfArrayOutput) ToUserSchemaPropertyOneOfArrayOutput() UserSchemaPropertyOneOfArrayOutput { + return o } -func (i RequestV2RequestedArgs) ToRequestV2RequestedOutputWithContext(ctx context.Context) RequestV2RequestedOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedOutput) +func (o UserSchemaPropertyOneOfArrayOutput) ToUserSchemaPropertyOneOfArrayOutputWithContext(ctx context.Context) UserSchemaPropertyOneOfArrayOutput { + return o } -func (i RequestV2RequestedArgs) ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput { - return i.ToRequestV2RequestedPtrOutputWithContext(context.Background()) +func (o UserSchemaPropertyOneOfArrayOutput) Index(i pulumi.IntInput) UserSchemaPropertyOneOfOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserSchemaPropertyOneOf { + return vs[0].([]UserSchemaPropertyOneOf)[vs[1].(int)] + }).(UserSchemaPropertyOneOfOutput) } -func (i RequestV2RequestedArgs) ToRequestV2RequestedPtrOutputWithContext(ctx context.Context) RequestV2RequestedPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedOutput).ToRequestV2RequestedPtrOutputWithContext(ctx) +type GetAgentPoolUpdateAgent struct { + // The unique identifier of the agent. + Id string `pulumi:"id"` + // Determines if an agent is hidden from the Admin Console. + IsHidden bool `pulumi:"isHidden"` + // Determines if the agent is on the latest generally available version. + IsLatestGaedVersion bool `pulumi:"isLatestGaedVersion"` + // Timestamp when the agent last connected to Okta. + LastConnection int `pulumi:"lastConnection"` + // The name of the agent. + Name string `pulumi:"name"` + // Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). + OperationalStatus string `pulumi:"operationalStatus"` + // Pool ID. + PoolId string `pulumi:"poolId"` + // Agent types that are being monitored. + Type string `pulumi:"type"` + // Status message of the agent. + UpdateMessage string `pulumi:"updateMessage"` + // Status for one agent regarding the status to auto-update that agent. + UpdateStatus string `pulumi:"updateStatus"` + // Agent version number. + Version string `pulumi:"version"` } -// RequestV2RequestedPtrInput is an input type that accepts RequestV2RequestedArgs, RequestV2RequestedPtr and RequestV2RequestedPtrOutput values. -// You can construct a concrete instance of `RequestV2RequestedPtrInput` via: -// -// RequestV2RequestedArgs{...} -// -// or: +// GetAgentPoolUpdateAgentInput is an input type that accepts GetAgentPoolUpdateAgentArgs and GetAgentPoolUpdateAgentOutput values. +// You can construct a concrete instance of `GetAgentPoolUpdateAgentInput` via: // -// nil -type RequestV2RequestedPtrInput interface { +// GetAgentPoolUpdateAgentArgs{...} +type GetAgentPoolUpdateAgentInput interface { pulumi.Input - ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput - ToRequestV2RequestedPtrOutputWithContext(context.Context) RequestV2RequestedPtrOutput + ToGetAgentPoolUpdateAgentOutput() GetAgentPoolUpdateAgentOutput + ToGetAgentPoolUpdateAgentOutputWithContext(context.Context) GetAgentPoolUpdateAgentOutput } -type requestV2RequestedPtrType RequestV2RequestedArgs - -func RequestV2RequestedPtr(v *RequestV2RequestedArgs) RequestV2RequestedPtrInput { - return (*requestV2RequestedPtrType)(v) +type GetAgentPoolUpdateAgentArgs struct { + // The unique identifier of the agent. + Id pulumi.StringInput `pulumi:"id"` + // Determines if an agent is hidden from the Admin Console. + IsHidden pulumi.BoolInput `pulumi:"isHidden"` + // Determines if the agent is on the latest generally available version. + IsLatestGaedVersion pulumi.BoolInput `pulumi:"isLatestGaedVersion"` + // Timestamp when the agent last connected to Okta. + LastConnection pulumi.IntInput `pulumi:"lastConnection"` + // The name of the agent. + Name pulumi.StringInput `pulumi:"name"` + // Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). + OperationalStatus pulumi.StringInput `pulumi:"operationalStatus"` + // Pool ID. + PoolId pulumi.StringInput `pulumi:"poolId"` + // Agent types that are being monitored. + Type pulumi.StringInput `pulumi:"type"` + // Status message of the agent. + UpdateMessage pulumi.StringInput `pulumi:"updateMessage"` + // Status for one agent regarding the status to auto-update that agent. + UpdateStatus pulumi.StringInput `pulumi:"updateStatus"` + // Agent version number. + Version pulumi.StringInput `pulumi:"version"` } -func (*requestV2RequestedPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RequestV2Requested)(nil)).Elem() +func (GetAgentPoolUpdateAgentArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAgentPoolUpdateAgent)(nil)).Elem() } -func (i *requestV2RequestedPtrType) ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput { - return i.ToRequestV2RequestedPtrOutputWithContext(context.Background()) +func (i GetAgentPoolUpdateAgentArgs) ToGetAgentPoolUpdateAgentOutput() GetAgentPoolUpdateAgentOutput { + return i.ToGetAgentPoolUpdateAgentOutputWithContext(context.Background()) } -func (i *requestV2RequestedPtrType) ToRequestV2RequestedPtrOutputWithContext(ctx context.Context) RequestV2RequestedPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedPtrOutput) +func (i GetAgentPoolUpdateAgentArgs) ToGetAgentPoolUpdateAgentOutputWithContext(ctx context.Context) GetAgentPoolUpdateAgentOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateAgentOutput) } -type RequestV2RequestedOutput struct{ *pulumi.OutputState } +// GetAgentPoolUpdateAgentArrayInput is an input type that accepts GetAgentPoolUpdateAgentArray and GetAgentPoolUpdateAgentArrayOutput values. +// You can construct a concrete instance of `GetAgentPoolUpdateAgentArrayInput` via: +// +// GetAgentPoolUpdateAgentArray{ GetAgentPoolUpdateAgentArgs{...} } +type GetAgentPoolUpdateAgentArrayInput interface { + pulumi.Input -func (RequestV2RequestedOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestV2Requested)(nil)).Elem() + ToGetAgentPoolUpdateAgentArrayOutput() GetAgentPoolUpdateAgentArrayOutput + ToGetAgentPoolUpdateAgentArrayOutputWithContext(context.Context) GetAgentPoolUpdateAgentArrayOutput } -func (o RequestV2RequestedOutput) ToRequestV2RequestedOutput() RequestV2RequestedOutput { - return o -} +type GetAgentPoolUpdateAgentArray []GetAgentPoolUpdateAgentInput -func (o RequestV2RequestedOutput) ToRequestV2RequestedOutputWithContext(ctx context.Context) RequestV2RequestedOutput { - return o +func (GetAgentPoolUpdateAgentArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAgentPoolUpdateAgent)(nil)).Elem() } -func (o RequestV2RequestedOutput) ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput { - return o.ToRequestV2RequestedPtrOutputWithContext(context.Background()) +func (i GetAgentPoolUpdateAgentArray) ToGetAgentPoolUpdateAgentArrayOutput() GetAgentPoolUpdateAgentArrayOutput { + return i.ToGetAgentPoolUpdateAgentArrayOutputWithContext(context.Background()) } -func (o RequestV2RequestedOutput) ToRequestV2RequestedPtrOutputWithContext(ctx context.Context) RequestV2RequestedPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestV2Requested) *RequestV2Requested { - return &v - }).(RequestV2RequestedPtrOutput) +func (i GetAgentPoolUpdateAgentArray) ToGetAgentPoolUpdateAgentArrayOutputWithContext(ctx context.Context) GetAgentPoolUpdateAgentArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateAgentArrayOutput) } -// The ID of the access scope associated with the resource. -func (o RequestV2RequestedOutput) AccessScopeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestV2Requested) *string { return v.AccessScopeId }).(pulumi.StringPtrOutput) +type GetAgentPoolUpdateAgentOutput struct{ *pulumi.OutputState } + +func (GetAgentPoolUpdateAgentOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAgentPoolUpdateAgent)(nil)).Elem() } -// The access scope type. -func (o RequestV2RequestedOutput) AccessScopeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestV2Requested) *string { return v.AccessScopeType }).(pulumi.StringPtrOutput) +func (o GetAgentPoolUpdateAgentOutput) ToGetAgentPoolUpdateAgentOutput() GetAgentPoolUpdateAgentOutput { + return o } -// The ID of the resource catalog entry. -func (o RequestV2RequestedOutput) EntryId() pulumi.StringOutput { - return o.ApplyT(func(v RequestV2Requested) string { return v.EntryId }).(pulumi.StringOutput) +func (o GetAgentPoolUpdateAgentOutput) ToGetAgentPoolUpdateAgentOutputWithContext(ctx context.Context) GetAgentPoolUpdateAgentOutput { + return o } -// The ID of the requested resource. -func (o RequestV2RequestedOutput) ResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestV2Requested) *string { return v.ResourceId }).(pulumi.StringPtrOutput) +// The unique identifier of the agent. +func (o GetAgentPoolUpdateAgentOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.Id }).(pulumi.StringOutput) } -// The requested resource type. -func (o RequestV2RequestedOutput) ResourceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestV2Requested) *string { return v.ResourceType }).(pulumi.StringPtrOutput) +// Determines if an agent is hidden from the Admin Console. +func (o GetAgentPoolUpdateAgentOutput) IsHidden() pulumi.BoolOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) bool { return v.IsHidden }).(pulumi.BoolOutput) } -// The type of the resource. -func (o RequestV2RequestedOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v RequestV2Requested) string { return v.Type }).(pulumi.StringOutput) +// Determines if the agent is on the latest generally available version. +func (o GetAgentPoolUpdateAgentOutput) IsLatestGaedVersion() pulumi.BoolOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) bool { return v.IsLatestGaedVersion }).(pulumi.BoolOutput) } -type RequestV2RequestedPtrOutput struct{ *pulumi.OutputState } +// Timestamp when the agent last connected to Okta. +func (o GetAgentPoolUpdateAgentOutput) LastConnection() pulumi.IntOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) int { return v.LastConnection }).(pulumi.IntOutput) +} -func (RequestV2RequestedPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RequestV2Requested)(nil)).Elem() +// The name of the agent. +func (o GetAgentPoolUpdateAgentOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.Name }).(pulumi.StringOutput) } -func (o RequestV2RequestedPtrOutput) ToRequestV2RequestedPtrOutput() RequestV2RequestedPtrOutput { - return o +// Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). +func (o GetAgentPoolUpdateAgentOutput) OperationalStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.OperationalStatus }).(pulumi.StringOutput) } -func (o RequestV2RequestedPtrOutput) ToRequestV2RequestedPtrOutputWithContext(ctx context.Context) RequestV2RequestedPtrOutput { - return o +// Pool ID. +func (o GetAgentPoolUpdateAgentOutput) PoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.PoolId }).(pulumi.StringOutput) } -func (o RequestV2RequestedPtrOutput) Elem() RequestV2RequestedOutput { - return o.ApplyT(func(v *RequestV2Requested) RequestV2Requested { - if v != nil { - return *v - } - var ret RequestV2Requested - return ret - }).(RequestV2RequestedOutput) +// Agent types that are being monitored. +func (o GetAgentPoolUpdateAgentOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.Type }).(pulumi.StringOutput) } -// The ID of the access scope associated with the resource. -func (o RequestV2RequestedPtrOutput) AccessScopeId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestV2Requested) *string { - if v == nil { - return nil - } - return v.AccessScopeId - }).(pulumi.StringPtrOutput) +// Status message of the agent. +func (o GetAgentPoolUpdateAgentOutput) UpdateMessage() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.UpdateMessage }).(pulumi.StringOutput) } -// The access scope type. -func (o RequestV2RequestedPtrOutput) AccessScopeType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestV2Requested) *string { - if v == nil { - return nil - } - return v.AccessScopeType - }).(pulumi.StringPtrOutput) +// Status for one agent regarding the status to auto-update that agent. +func (o GetAgentPoolUpdateAgentOutput) UpdateStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.UpdateStatus }).(pulumi.StringOutput) } -// The ID of the resource catalog entry. -func (o RequestV2RequestedPtrOutput) EntryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestV2Requested) *string { - if v == nil { - return nil - } - return &v.EntryId - }).(pulumi.StringPtrOutput) +// Agent version number. +func (o GetAgentPoolUpdateAgentOutput) Version() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.Version }).(pulumi.StringOutput) } -// The ID of the requested resource. -func (o RequestV2RequestedPtrOutput) ResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestV2Requested) *string { - if v == nil { - return nil - } - return v.ResourceId - }).(pulumi.StringPtrOutput) +type GetAgentPoolUpdateAgentArrayOutput struct{ *pulumi.OutputState } + +func (GetAgentPoolUpdateAgentArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAgentPoolUpdateAgent)(nil)).Elem() } -// The requested resource type. -func (o RequestV2RequestedPtrOutput) ResourceType() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestV2Requested) *string { - if v == nil { - return nil - } - return v.ResourceType - }).(pulumi.StringPtrOutput) +func (o GetAgentPoolUpdateAgentArrayOutput) ToGetAgentPoolUpdateAgentArrayOutput() GetAgentPoolUpdateAgentArrayOutput { + return o } -// The type of the resource. -func (o RequestV2RequestedPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestV2Requested) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) +func (o GetAgentPoolUpdateAgentArrayOutput) ToGetAgentPoolUpdateAgentArrayOutputWithContext(ctx context.Context) GetAgentPoolUpdateAgentArrayOutput { + return o } -type RequestV2RequestedFor struct { - // The ID of the Okta user. - ExternalId string `pulumi:"externalId"` - // The type of principal. - Type string `pulumi:"type"` +func (o GetAgentPoolUpdateAgentArrayOutput) Index(i pulumi.IntInput) GetAgentPoolUpdateAgentOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAgentPoolUpdateAgent { + return vs[0].([]GetAgentPoolUpdateAgent)[vs[1].(int)] + }).(GetAgentPoolUpdateAgentOutput) } -// RequestV2RequestedForInput is an input type that accepts RequestV2RequestedForArgs and RequestV2RequestedForOutput values. -// You can construct a concrete instance of `RequestV2RequestedForInput` via: +type GetAgentPoolUpdateSchedule struct { + // The schedule of the update in cron format. + Cron string `pulumi:"cron"` + // Delay in days. + Delay int `pulumi:"delay"` + // Duration in minutes. + Duration int `pulumi:"duration"` + // Timestamp when the update finished. + LastUpdated string `pulumi:"lastUpdated"` + // Timezone of where the scheduled job takes place. + Timezone string `pulumi:"timezone"` +} + +// GetAgentPoolUpdateScheduleInput is an input type that accepts GetAgentPoolUpdateScheduleArgs and GetAgentPoolUpdateScheduleOutput values. +// You can construct a concrete instance of `GetAgentPoolUpdateScheduleInput` via: // -// RequestV2RequestedForArgs{...} -type RequestV2RequestedForInput interface { +// GetAgentPoolUpdateScheduleArgs{...} +type GetAgentPoolUpdateScheduleInput interface { pulumi.Input - ToRequestV2RequestedForOutput() RequestV2RequestedForOutput - ToRequestV2RequestedForOutputWithContext(context.Context) RequestV2RequestedForOutput + ToGetAgentPoolUpdateScheduleOutput() GetAgentPoolUpdateScheduleOutput + ToGetAgentPoolUpdateScheduleOutputWithContext(context.Context) GetAgentPoolUpdateScheduleOutput } -type RequestV2RequestedForArgs struct { - // The ID of the Okta user. - ExternalId pulumi.StringInput `pulumi:"externalId"` - // The type of principal. - Type pulumi.StringInput `pulumi:"type"` +type GetAgentPoolUpdateScheduleArgs struct { + // The schedule of the update in cron format. + Cron pulumi.StringInput `pulumi:"cron"` + // Delay in days. + Delay pulumi.IntInput `pulumi:"delay"` + // Duration in minutes. + Duration pulumi.IntInput `pulumi:"duration"` + // Timestamp when the update finished. + LastUpdated pulumi.StringInput `pulumi:"lastUpdated"` + // Timezone of where the scheduled job takes place. + Timezone pulumi.StringInput `pulumi:"timezone"` } -func (RequestV2RequestedForArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestV2RequestedFor)(nil)).Elem() +func (GetAgentPoolUpdateScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAgentPoolUpdateSchedule)(nil)).Elem() } -func (i RequestV2RequestedForArgs) ToRequestV2RequestedForOutput() RequestV2RequestedForOutput { - return i.ToRequestV2RequestedForOutputWithContext(context.Background()) +func (i GetAgentPoolUpdateScheduleArgs) ToGetAgentPoolUpdateScheduleOutput() GetAgentPoolUpdateScheduleOutput { + return i.ToGetAgentPoolUpdateScheduleOutputWithContext(context.Background()) } -func (i RequestV2RequestedForArgs) ToRequestV2RequestedForOutputWithContext(ctx context.Context) RequestV2RequestedForOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedForOutput) +func (i GetAgentPoolUpdateScheduleArgs) ToGetAgentPoolUpdateScheduleOutputWithContext(ctx context.Context) GetAgentPoolUpdateScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateScheduleOutput) } -func (i RequestV2RequestedForArgs) ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput { - return i.ToRequestV2RequestedForPtrOutputWithContext(context.Background()) +func (i GetAgentPoolUpdateScheduleArgs) ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput { + return i.ToGetAgentPoolUpdateSchedulePtrOutputWithContext(context.Background()) } -func (i RequestV2RequestedForArgs) ToRequestV2RequestedForPtrOutputWithContext(ctx context.Context) RequestV2RequestedForPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedForOutput).ToRequestV2RequestedForPtrOutputWithContext(ctx) +func (i GetAgentPoolUpdateScheduleArgs) ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx context.Context) GetAgentPoolUpdateSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateScheduleOutput).ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx) } -// RequestV2RequestedForPtrInput is an input type that accepts RequestV2RequestedForArgs, RequestV2RequestedForPtr and RequestV2RequestedForPtrOutput values. -// You can construct a concrete instance of `RequestV2RequestedForPtrInput` via: +// GetAgentPoolUpdateSchedulePtrInput is an input type that accepts GetAgentPoolUpdateScheduleArgs, GetAgentPoolUpdateSchedulePtr and GetAgentPoolUpdateSchedulePtrOutput values. +// You can construct a concrete instance of `GetAgentPoolUpdateSchedulePtrInput` via: // -// RequestV2RequestedForArgs{...} +// GetAgentPoolUpdateScheduleArgs{...} // // or: // // nil -type RequestV2RequestedForPtrInput interface { +type GetAgentPoolUpdateSchedulePtrInput interface { pulumi.Input - ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput - ToRequestV2RequestedForPtrOutputWithContext(context.Context) RequestV2RequestedForPtrOutput + ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput + ToGetAgentPoolUpdateSchedulePtrOutputWithContext(context.Context) GetAgentPoolUpdateSchedulePtrOutput } -type requestV2RequestedForPtrType RequestV2RequestedForArgs +type getAgentPoolUpdateSchedulePtrType GetAgentPoolUpdateScheduleArgs -func RequestV2RequestedForPtr(v *RequestV2RequestedForArgs) RequestV2RequestedForPtrInput { - return (*requestV2RequestedForPtrType)(v) +func GetAgentPoolUpdateSchedulePtr(v *GetAgentPoolUpdateScheduleArgs) GetAgentPoolUpdateSchedulePtrInput { + return (*getAgentPoolUpdateSchedulePtrType)(v) } -func (*requestV2RequestedForPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**RequestV2RequestedFor)(nil)).Elem() +func (*getAgentPoolUpdateSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAgentPoolUpdateSchedule)(nil)).Elem() } -func (i *requestV2RequestedForPtrType) ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput { - return i.ToRequestV2RequestedForPtrOutputWithContext(context.Background()) +func (i *getAgentPoolUpdateSchedulePtrType) ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput { + return i.ToGetAgentPoolUpdateSchedulePtrOutputWithContext(context.Background()) } -func (i *requestV2RequestedForPtrType) ToRequestV2RequestedForPtrOutputWithContext(ctx context.Context) RequestV2RequestedForPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequestedForPtrOutput) +func (i *getAgentPoolUpdateSchedulePtrType) ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx context.Context) GetAgentPoolUpdateSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateSchedulePtrOutput) } -type RequestV2RequestedForOutput struct{ *pulumi.OutputState } +type GetAgentPoolUpdateScheduleOutput struct{ *pulumi.OutputState } -func (RequestV2RequestedForOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestV2RequestedFor)(nil)).Elem() +func (GetAgentPoolUpdateScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAgentPoolUpdateSchedule)(nil)).Elem() } -func (o RequestV2RequestedForOutput) ToRequestV2RequestedForOutput() RequestV2RequestedForOutput { +func (o GetAgentPoolUpdateScheduleOutput) ToGetAgentPoolUpdateScheduleOutput() GetAgentPoolUpdateScheduleOutput { return o } -func (o RequestV2RequestedForOutput) ToRequestV2RequestedForOutputWithContext(ctx context.Context) RequestV2RequestedForOutput { +func (o GetAgentPoolUpdateScheduleOutput) ToGetAgentPoolUpdateScheduleOutputWithContext(ctx context.Context) GetAgentPoolUpdateScheduleOutput { return o } -func (o RequestV2RequestedForOutput) ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput { - return o.ToRequestV2RequestedForPtrOutputWithContext(context.Background()) +func (o GetAgentPoolUpdateScheduleOutput) ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput { + return o.ToGetAgentPoolUpdateSchedulePtrOutputWithContext(context.Background()) } -func (o RequestV2RequestedForOutput) ToRequestV2RequestedForPtrOutputWithContext(ctx context.Context) RequestV2RequestedForPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v RequestV2RequestedFor) *RequestV2RequestedFor { +func (o GetAgentPoolUpdateScheduleOutput) ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx context.Context) GetAgentPoolUpdateSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAgentPoolUpdateSchedule) *GetAgentPoolUpdateSchedule { return &v - }).(RequestV2RequestedForPtrOutput) + }).(GetAgentPoolUpdateSchedulePtrOutput) } -// The ID of the Okta user. -func (o RequestV2RequestedForOutput) ExternalId() pulumi.StringOutput { - return o.ApplyT(func(v RequestV2RequestedFor) string { return v.ExternalId }).(pulumi.StringOutput) +// The schedule of the update in cron format. +func (o GetAgentPoolUpdateScheduleOutput) Cron() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateSchedule) string { return v.Cron }).(pulumi.StringOutput) } -// The type of principal. -func (o RequestV2RequestedForOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v RequestV2RequestedFor) string { return v.Type }).(pulumi.StringOutput) +// Delay in days. +func (o GetAgentPoolUpdateScheduleOutput) Delay() pulumi.IntOutput { + return o.ApplyT(func(v GetAgentPoolUpdateSchedule) int { return v.Delay }).(pulumi.IntOutput) } -type RequestV2RequestedForPtrOutput struct{ *pulumi.OutputState } +// Duration in minutes. +func (o GetAgentPoolUpdateScheduleOutput) Duration() pulumi.IntOutput { + return o.ApplyT(func(v GetAgentPoolUpdateSchedule) int { return v.Duration }).(pulumi.IntOutput) +} -func (RequestV2RequestedForPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**RequestV2RequestedFor)(nil)).Elem() +// Timestamp when the update finished. +func (o GetAgentPoolUpdateScheduleOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateSchedule) string { return v.LastUpdated }).(pulumi.StringOutput) } -func (o RequestV2RequestedForPtrOutput) ToRequestV2RequestedForPtrOutput() RequestV2RequestedForPtrOutput { +// Timezone of where the scheduled job takes place. +func (o GetAgentPoolUpdateScheduleOutput) Timezone() pulumi.StringOutput { + return o.ApplyT(func(v GetAgentPoolUpdateSchedule) string { return v.Timezone }).(pulumi.StringOutput) +} + +type GetAgentPoolUpdateSchedulePtrOutput struct{ *pulumi.OutputState } + +func (GetAgentPoolUpdateSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAgentPoolUpdateSchedule)(nil)).Elem() +} + +func (o GetAgentPoolUpdateSchedulePtrOutput) ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput { return o } -func (o RequestV2RequestedForPtrOutput) ToRequestV2RequestedForPtrOutputWithContext(ctx context.Context) RequestV2RequestedForPtrOutput { +func (o GetAgentPoolUpdateSchedulePtrOutput) ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx context.Context) GetAgentPoolUpdateSchedulePtrOutput { return o } -func (o RequestV2RequestedForPtrOutput) Elem() RequestV2RequestedForOutput { - return o.ApplyT(func(v *RequestV2RequestedFor) RequestV2RequestedFor { +func (o GetAgentPoolUpdateSchedulePtrOutput) Elem() GetAgentPoolUpdateScheduleOutput { + return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) GetAgentPoolUpdateSchedule { if v != nil { return *v } - var ret RequestV2RequestedFor + var ret GetAgentPoolUpdateSchedule return ret - }).(RequestV2RequestedForOutput) + }).(GetAgentPoolUpdateScheduleOutput) } -// The ID of the Okta user. -func (o RequestV2RequestedForPtrOutput) ExternalId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestV2RequestedFor) *string { +// The schedule of the update in cron format. +func (o GetAgentPoolUpdateSchedulePtrOutput) Cron() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *string { if v == nil { return nil } - return &v.ExternalId + return &v.Cron }).(pulumi.StringPtrOutput) } -// The type of principal. -func (o RequestV2RequestedForPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *RequestV2RequestedFor) *string { +// Delay in days. +func (o GetAgentPoolUpdateSchedulePtrOutput) Delay() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *int { if v == nil { return nil } - return &v.Type + return &v.Delay + }).(pulumi.IntPtrOutput) +} + +// Duration in minutes. +func (o GetAgentPoolUpdateSchedulePtrOutput) Duration() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *int { + if v == nil { + return nil + } + return &v.Duration + }).(pulumi.IntPtrOutput) +} + +// Timestamp when the update finished. +func (o GetAgentPoolUpdateSchedulePtrOutput) LastUpdated() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *string { + if v == nil { + return nil + } + return &v.LastUpdated }).(pulumi.StringPtrOutput) } -type RequestV2RequesterFieldValue struct { - // Request condition id. - Id *string `pulumi:"id"` - // A human-readable description of requester field. - Label *string `pulumi:"label"` - // Type of value for the requester field. - Type *string `pulumi:"type"` - // The value of requester field, which depends on the type of the field. - Value *string `pulumi:"value"` - // The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. - Values []RequestV2RequesterFieldValueValue `pulumi:"values"` +// Timezone of where the scheduled job takes place. +func (o GetAgentPoolUpdateSchedulePtrOutput) Timezone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *string { + if v == nil { + return nil + } + return &v.Timezone + }).(pulumi.StringPtrOutput) } -// RequestV2RequesterFieldValueInput is an input type that accepts RequestV2RequesterFieldValueArgs and RequestV2RequesterFieldValueOutput values. -// You can construct a concrete instance of `RequestV2RequesterFieldValueInput` via: +type GetApiServiceIntegrationGrantedScope struct { + // The scope of the API service integration granted. + Scope string `pulumi:"scope"` +} + +// GetApiServiceIntegrationGrantedScopeInput is an input type that accepts GetApiServiceIntegrationGrantedScopeArgs and GetApiServiceIntegrationGrantedScopeOutput values. +// You can construct a concrete instance of `GetApiServiceIntegrationGrantedScopeInput` via: // -// RequestV2RequesterFieldValueArgs{...} -type RequestV2RequesterFieldValueInput interface { +// GetApiServiceIntegrationGrantedScopeArgs{...} +type GetApiServiceIntegrationGrantedScopeInput interface { pulumi.Input - ToRequestV2RequesterFieldValueOutput() RequestV2RequesterFieldValueOutput - ToRequestV2RequesterFieldValueOutputWithContext(context.Context) RequestV2RequesterFieldValueOutput + ToGetApiServiceIntegrationGrantedScopeOutput() GetApiServiceIntegrationGrantedScopeOutput + ToGetApiServiceIntegrationGrantedScopeOutputWithContext(context.Context) GetApiServiceIntegrationGrantedScopeOutput } -type RequestV2RequesterFieldValueArgs struct { - // Request condition id. - Id pulumi.StringPtrInput `pulumi:"id"` - // A human-readable description of requester field. - Label pulumi.StringPtrInput `pulumi:"label"` - // Type of value for the requester field. - Type pulumi.StringPtrInput `pulumi:"type"` - // The value of requester field, which depends on the type of the field. - Value pulumi.StringPtrInput `pulumi:"value"` - // The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. - Values RequestV2RequesterFieldValueValueArrayInput `pulumi:"values"` +type GetApiServiceIntegrationGrantedScopeArgs struct { + // The scope of the API service integration granted. + Scope pulumi.StringInput `pulumi:"scope"` } -func (RequestV2RequesterFieldValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestV2RequesterFieldValue)(nil)).Elem() +func (GetApiServiceIntegrationGrantedScopeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiServiceIntegrationGrantedScope)(nil)).Elem() } -func (i RequestV2RequesterFieldValueArgs) ToRequestV2RequesterFieldValueOutput() RequestV2RequesterFieldValueOutput { - return i.ToRequestV2RequesterFieldValueOutputWithContext(context.Background()) +func (i GetApiServiceIntegrationGrantedScopeArgs) ToGetApiServiceIntegrationGrantedScopeOutput() GetApiServiceIntegrationGrantedScopeOutput { + return i.ToGetApiServiceIntegrationGrantedScopeOutputWithContext(context.Background()) } -func (i RequestV2RequesterFieldValueArgs) ToRequestV2RequesterFieldValueOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequesterFieldValueOutput) +func (i GetApiServiceIntegrationGrantedScopeArgs) ToGetApiServiceIntegrationGrantedScopeOutputWithContext(ctx context.Context) GetApiServiceIntegrationGrantedScopeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiServiceIntegrationGrantedScopeOutput) } -// RequestV2RequesterFieldValueArrayInput is an input type that accepts RequestV2RequesterFieldValueArray and RequestV2RequesterFieldValueArrayOutput values. -// You can construct a concrete instance of `RequestV2RequesterFieldValueArrayInput` via: +// GetApiServiceIntegrationGrantedScopeArrayInput is an input type that accepts GetApiServiceIntegrationGrantedScopeArray and GetApiServiceIntegrationGrantedScopeArrayOutput values. +// You can construct a concrete instance of `GetApiServiceIntegrationGrantedScopeArrayInput` via: // -// RequestV2RequesterFieldValueArray{ RequestV2RequesterFieldValueArgs{...} } -type RequestV2RequesterFieldValueArrayInput interface { +// GetApiServiceIntegrationGrantedScopeArray{ GetApiServiceIntegrationGrantedScopeArgs{...} } +type GetApiServiceIntegrationGrantedScopeArrayInput interface { pulumi.Input - ToRequestV2RequesterFieldValueArrayOutput() RequestV2RequesterFieldValueArrayOutput - ToRequestV2RequesterFieldValueArrayOutputWithContext(context.Context) RequestV2RequesterFieldValueArrayOutput + ToGetApiServiceIntegrationGrantedScopeArrayOutput() GetApiServiceIntegrationGrantedScopeArrayOutput + ToGetApiServiceIntegrationGrantedScopeArrayOutputWithContext(context.Context) GetApiServiceIntegrationGrantedScopeArrayOutput } -type RequestV2RequesterFieldValueArray []RequestV2RequesterFieldValueInput +type GetApiServiceIntegrationGrantedScopeArray []GetApiServiceIntegrationGrantedScopeInput -func (RequestV2RequesterFieldValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestV2RequesterFieldValue)(nil)).Elem() +func (GetApiServiceIntegrationGrantedScopeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetApiServiceIntegrationGrantedScope)(nil)).Elem() } -func (i RequestV2RequesterFieldValueArray) ToRequestV2RequesterFieldValueArrayOutput() RequestV2RequesterFieldValueArrayOutput { - return i.ToRequestV2RequesterFieldValueArrayOutputWithContext(context.Background()) +func (i GetApiServiceIntegrationGrantedScopeArray) ToGetApiServiceIntegrationGrantedScopeArrayOutput() GetApiServiceIntegrationGrantedScopeArrayOutput { + return i.ToGetApiServiceIntegrationGrantedScopeArrayOutputWithContext(context.Background()) } -func (i RequestV2RequesterFieldValueArray) ToRequestV2RequesterFieldValueArrayOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequesterFieldValueArrayOutput) +func (i GetApiServiceIntegrationGrantedScopeArray) ToGetApiServiceIntegrationGrantedScopeArrayOutputWithContext(ctx context.Context) GetApiServiceIntegrationGrantedScopeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiServiceIntegrationGrantedScopeArrayOutput) } -type RequestV2RequesterFieldValueOutput struct{ *pulumi.OutputState } +type GetApiServiceIntegrationGrantedScopeOutput struct{ *pulumi.OutputState } -func (RequestV2RequesterFieldValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestV2RequesterFieldValue)(nil)).Elem() +func (GetApiServiceIntegrationGrantedScopeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiServiceIntegrationGrantedScope)(nil)).Elem() } -func (o RequestV2RequesterFieldValueOutput) ToRequestV2RequesterFieldValueOutput() RequestV2RequesterFieldValueOutput { +func (o GetApiServiceIntegrationGrantedScopeOutput) ToGetApiServiceIntegrationGrantedScopeOutput() GetApiServiceIntegrationGrantedScopeOutput { return o } -func (o RequestV2RequesterFieldValueOutput) ToRequestV2RequesterFieldValueOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueOutput { +func (o GetApiServiceIntegrationGrantedScopeOutput) ToGetApiServiceIntegrationGrantedScopeOutputWithContext(ctx context.Context) GetApiServiceIntegrationGrantedScopeOutput { return o } -// Request condition id. -func (o RequestV2RequesterFieldValueOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestV2RequesterFieldValue) *string { return v.Id }).(pulumi.StringPtrOutput) +// The scope of the API service integration granted. +func (o GetApiServiceIntegrationGrantedScopeOutput) Scope() pulumi.StringOutput { + return o.ApplyT(func(v GetApiServiceIntegrationGrantedScope) string { return v.Scope }).(pulumi.StringOutput) } -// A human-readable description of requester field. -func (o RequestV2RequesterFieldValueOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestV2RequesterFieldValue) *string { return v.Label }).(pulumi.StringPtrOutput) +type GetApiServiceIntegrationGrantedScopeArrayOutput struct{ *pulumi.OutputState } + +func (GetApiServiceIntegrationGrantedScopeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetApiServiceIntegrationGrantedScope)(nil)).Elem() } -// Type of value for the requester field. -func (o RequestV2RequesterFieldValueOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestV2RequesterFieldValue) *string { return v.Type }).(pulumi.StringPtrOutput) +func (o GetApiServiceIntegrationGrantedScopeArrayOutput) ToGetApiServiceIntegrationGrantedScopeArrayOutput() GetApiServiceIntegrationGrantedScopeArrayOutput { + return o } -// The value of requester field, which depends on the type of the field. -func (o RequestV2RequesterFieldValueOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestV2RequesterFieldValue) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetApiServiceIntegrationGrantedScopeArrayOutput) ToGetApiServiceIntegrationGrantedScopeArrayOutputWithContext(ctx context.Context) GetApiServiceIntegrationGrantedScopeArrayOutput { + return o } -// The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. -func (o RequestV2RequesterFieldValueOutput) Values() RequestV2RequesterFieldValueValueArrayOutput { - return o.ApplyT(func(v RequestV2RequesterFieldValue) []RequestV2RequesterFieldValueValue { return v.Values }).(RequestV2RequesterFieldValueValueArrayOutput) +func (o GetApiServiceIntegrationGrantedScopeArrayOutput) Index(i pulumi.IntInput) GetApiServiceIntegrationGrantedScopeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetApiServiceIntegrationGrantedScope { + return vs[0].([]GetApiServiceIntegrationGrantedScope)[vs[1].(int)] + }).(GetApiServiceIntegrationGrantedScopeOutput) } -type RequestV2RequesterFieldValueArrayOutput struct{ *pulumi.OutputState } +type GetApiTokenNetwork struct { + // The connection type of the Network Condition. + Connection string `pulumi:"connection"` + // The IP address the excluded zone. + Excludes []string `pulumi:"excludes"` + // The IP address the included zone. + Includes []string `pulumi:"includes"` +} -func (RequestV2RequesterFieldValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestV2RequesterFieldValue)(nil)).Elem() +// GetApiTokenNetworkInput is an input type that accepts GetApiTokenNetworkArgs and GetApiTokenNetworkOutput values. +// You can construct a concrete instance of `GetApiTokenNetworkInput` via: +// +// GetApiTokenNetworkArgs{...} +type GetApiTokenNetworkInput interface { + pulumi.Input + + ToGetApiTokenNetworkOutput() GetApiTokenNetworkOutput + ToGetApiTokenNetworkOutputWithContext(context.Context) GetApiTokenNetworkOutput } -func (o RequestV2RequesterFieldValueArrayOutput) ToRequestV2RequesterFieldValueArrayOutput() RequestV2RequesterFieldValueArrayOutput { - return o +type GetApiTokenNetworkArgs struct { + // The connection type of the Network Condition. + Connection pulumi.StringInput `pulumi:"connection"` + // The IP address the excluded zone. + Excludes pulumi.StringArrayInput `pulumi:"excludes"` + // The IP address the included zone. + Includes pulumi.StringArrayInput `pulumi:"includes"` } -func (o RequestV2RequesterFieldValueArrayOutput) ToRequestV2RequesterFieldValueArrayOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueArrayOutput { - return o +func (GetApiTokenNetworkArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokenNetwork)(nil)).Elem() } -func (o RequestV2RequesterFieldValueArrayOutput) Index(i pulumi.IntInput) RequestV2RequesterFieldValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestV2RequesterFieldValue { - return vs[0].([]RequestV2RequesterFieldValue)[vs[1].(int)] - }).(RequestV2RequesterFieldValueOutput) +func (i GetApiTokenNetworkArgs) ToGetApiTokenNetworkOutput() GetApiTokenNetworkOutput { + return i.ToGetApiTokenNetworkOutputWithContext(context.Background()) } -type RequestV2RequesterFieldValueValue struct { - Value *string `pulumi:"value"` +func (i GetApiTokenNetworkArgs) ToGetApiTokenNetworkOutputWithContext(ctx context.Context) GetApiTokenNetworkOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenNetworkOutput) } -// RequestV2RequesterFieldValueValueInput is an input type that accepts RequestV2RequesterFieldValueValueArgs and RequestV2RequesterFieldValueValueOutput values. -// You can construct a concrete instance of `RequestV2RequesterFieldValueValueInput` via: +func (i GetApiTokenNetworkArgs) ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput { + return i.ToGetApiTokenNetworkPtrOutputWithContext(context.Background()) +} + +func (i GetApiTokenNetworkArgs) ToGetApiTokenNetworkPtrOutputWithContext(ctx context.Context) GetApiTokenNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenNetworkOutput).ToGetApiTokenNetworkPtrOutputWithContext(ctx) +} + +// GetApiTokenNetworkPtrInput is an input type that accepts GetApiTokenNetworkArgs, GetApiTokenNetworkPtr and GetApiTokenNetworkPtrOutput values. +// You can construct a concrete instance of `GetApiTokenNetworkPtrInput` via: // -// RequestV2RequesterFieldValueValueArgs{...} -type RequestV2RequesterFieldValueValueInput interface { +// GetApiTokenNetworkArgs{...} +// +// or: +// +// nil +type GetApiTokenNetworkPtrInput interface { pulumi.Input - ToRequestV2RequesterFieldValueValueOutput() RequestV2RequesterFieldValueValueOutput - ToRequestV2RequesterFieldValueValueOutputWithContext(context.Context) RequestV2RequesterFieldValueValueOutput + ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput + ToGetApiTokenNetworkPtrOutputWithContext(context.Context) GetApiTokenNetworkPtrOutput } -type RequestV2RequesterFieldValueValueArgs struct { - Value pulumi.StringPtrInput `pulumi:"value"` +type getApiTokenNetworkPtrType GetApiTokenNetworkArgs + +func GetApiTokenNetworkPtr(v *GetApiTokenNetworkArgs) GetApiTokenNetworkPtrInput { + return (*getApiTokenNetworkPtrType)(v) } -func (RequestV2RequesterFieldValueValueArgs) ElementType() reflect.Type { - return reflect.TypeOf((*RequestV2RequesterFieldValueValue)(nil)).Elem() +func (*getApiTokenNetworkPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetApiTokenNetwork)(nil)).Elem() } -func (i RequestV2RequesterFieldValueValueArgs) ToRequestV2RequesterFieldValueValueOutput() RequestV2RequesterFieldValueValueOutput { - return i.ToRequestV2RequesterFieldValueValueOutputWithContext(context.Background()) +func (i *getApiTokenNetworkPtrType) ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput { + return i.ToGetApiTokenNetworkPtrOutputWithContext(context.Background()) } -func (i RequestV2RequesterFieldValueValueArgs) ToRequestV2RequesterFieldValueValueOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueValueOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequesterFieldValueValueOutput) +func (i *getApiTokenNetworkPtrType) ToGetApiTokenNetworkPtrOutputWithContext(ctx context.Context) GetApiTokenNetworkPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenNetworkPtrOutput) } -// RequestV2RequesterFieldValueValueArrayInput is an input type that accepts RequestV2RequesterFieldValueValueArray and RequestV2RequesterFieldValueValueArrayOutput values. -// You can construct a concrete instance of `RequestV2RequesterFieldValueValueArrayInput` via: -// -// RequestV2RequesterFieldValueValueArray{ RequestV2RequesterFieldValueValueArgs{...} } -type RequestV2RequesterFieldValueValueArrayInput interface { - pulumi.Input +type GetApiTokenNetworkOutput struct{ *pulumi.OutputState } - ToRequestV2RequesterFieldValueValueArrayOutput() RequestV2RequesterFieldValueValueArrayOutput - ToRequestV2RequesterFieldValueValueArrayOutputWithContext(context.Context) RequestV2RequesterFieldValueValueArrayOutput +func (GetApiTokenNetworkOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetApiTokenNetwork)(nil)).Elem() } -type RequestV2RequesterFieldValueValueArray []RequestV2RequesterFieldValueValueInput +func (o GetApiTokenNetworkOutput) ToGetApiTokenNetworkOutput() GetApiTokenNetworkOutput { + return o +} -func (RequestV2RequesterFieldValueValueArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestV2RequesterFieldValueValue)(nil)).Elem() +func (o GetApiTokenNetworkOutput) ToGetApiTokenNetworkOutputWithContext(ctx context.Context) GetApiTokenNetworkOutput { + return o } -func (i RequestV2RequesterFieldValueValueArray) ToRequestV2RequesterFieldValueValueArrayOutput() RequestV2RequesterFieldValueValueArrayOutput { - return i.ToRequestV2RequesterFieldValueValueArrayOutputWithContext(context.Background()) +func (o GetApiTokenNetworkOutput) ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput { + return o.ToGetApiTokenNetworkPtrOutputWithContext(context.Background()) } -func (i RequestV2RequesterFieldValueValueArray) ToRequestV2RequesterFieldValueValueArrayOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueValueArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(RequestV2RequesterFieldValueValueArrayOutput) +func (o GetApiTokenNetworkOutput) ToGetApiTokenNetworkPtrOutputWithContext(ctx context.Context) GetApiTokenNetworkPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetApiTokenNetwork) *GetApiTokenNetwork { + return &v + }).(GetApiTokenNetworkPtrOutput) } -type RequestV2RequesterFieldValueValueOutput struct{ *pulumi.OutputState } +// The connection type of the Network Condition. +func (o GetApiTokenNetworkOutput) Connection() pulumi.StringOutput { + return o.ApplyT(func(v GetApiTokenNetwork) string { return v.Connection }).(pulumi.StringOutput) +} -func (RequestV2RequesterFieldValueValueOutput) ElementType() reflect.Type { - return reflect.TypeOf((*RequestV2RequesterFieldValueValue)(nil)).Elem() +// The IP address the excluded zone. +func (o GetApiTokenNetworkOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetApiTokenNetwork) []string { return v.Excludes }).(pulumi.StringArrayOutput) } -func (o RequestV2RequesterFieldValueValueOutput) ToRequestV2RequesterFieldValueValueOutput() RequestV2RequesterFieldValueValueOutput { - return o +// The IP address the included zone. +func (o GetApiTokenNetworkOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetApiTokenNetwork) []string { return v.Includes }).(pulumi.StringArrayOutput) } -func (o RequestV2RequesterFieldValueValueOutput) ToRequestV2RequesterFieldValueValueOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueValueOutput { - return o +type GetApiTokenNetworkPtrOutput struct{ *pulumi.OutputState } + +func (GetApiTokenNetworkPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetApiTokenNetwork)(nil)).Elem() } -func (o RequestV2RequesterFieldValueValueOutput) Value() pulumi.StringPtrOutput { - return o.ApplyT(func(v RequestV2RequesterFieldValueValue) *string { return v.Value }).(pulumi.StringPtrOutput) +func (o GetApiTokenNetworkPtrOutput) ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput { + return o } -type RequestV2RequesterFieldValueValueArrayOutput struct{ *pulumi.OutputState } +func (o GetApiTokenNetworkPtrOutput) ToGetApiTokenNetworkPtrOutputWithContext(ctx context.Context) GetApiTokenNetworkPtrOutput { + return o +} -func (RequestV2RequesterFieldValueValueArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]RequestV2RequesterFieldValueValue)(nil)).Elem() +func (o GetApiTokenNetworkPtrOutput) Elem() GetApiTokenNetworkOutput { + return o.ApplyT(func(v *GetApiTokenNetwork) GetApiTokenNetwork { + if v != nil { + return *v + } + var ret GetApiTokenNetwork + return ret + }).(GetApiTokenNetworkOutput) } -func (o RequestV2RequesterFieldValueValueArrayOutput) ToRequestV2RequesterFieldValueValueArrayOutput() RequestV2RequesterFieldValueValueArrayOutput { - return o +// The connection type of the Network Condition. +func (o GetApiTokenNetworkPtrOutput) Connection() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetApiTokenNetwork) *string { + if v == nil { + return nil + } + return &v.Connection + }).(pulumi.StringPtrOutput) } -func (o RequestV2RequesterFieldValueValueArrayOutput) ToRequestV2RequesterFieldValueValueArrayOutputWithContext(ctx context.Context) RequestV2RequesterFieldValueValueArrayOutput { - return o +// The IP address the excluded zone. +func (o GetApiTokenNetworkPtrOutput) Excludes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetApiTokenNetwork) []string { + if v == nil { + return nil + } + return v.Excludes + }).(pulumi.StringArrayOutput) } -func (o RequestV2RequesterFieldValueValueArrayOutput) Index(i pulumi.IntInput) RequestV2RequesterFieldValueValueOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) RequestV2RequesterFieldValueValue { - return vs[0].([]RequestV2RequesterFieldValueValue)[vs[1].(int)] - }).(RequestV2RequesterFieldValueValueOutput) +// The IP address the included zone. +func (o GetApiTokenNetworkPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetApiTokenNetwork) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) } -type SecurityEventsProviderSettings struct { - // Issuer URL. Maximum length: 700 characters. To be used along with `jwksUrl`. - Issuer *string `pulumi:"issuer"` - // The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. - JwksUrl *string `pulumi:"jwksUrl"` - // The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. - WellKnownUrl *string `pulumi:"wellKnownUrl"` +type GetAppsApp struct { + AdminNote string `pulumi:"adminNote"` + Created string `pulumi:"created"` + EnduserNote string `pulumi:"enduserNote"` + Features []string `pulumi:"features"` + Id string `pulumi:"id"` + Label string `pulumi:"label"` + LastUpdated string `pulumi:"lastUpdated"` + Name string `pulumi:"name"` + SignOnMode string `pulumi:"signOnMode"` + Status string `pulumi:"status"` + Visibility GetAppsAppVisibility `pulumi:"visibility"` } -// SecurityEventsProviderSettingsInput is an input type that accepts SecurityEventsProviderSettingsArgs and SecurityEventsProviderSettingsOutput values. -// You can construct a concrete instance of `SecurityEventsProviderSettingsInput` via: +// GetAppsAppInput is an input type that accepts GetAppsAppArgs and GetAppsAppOutput values. +// You can construct a concrete instance of `GetAppsAppInput` via: // -// SecurityEventsProviderSettingsArgs{...} -type SecurityEventsProviderSettingsInput interface { +// GetAppsAppArgs{...} +type GetAppsAppInput interface { pulumi.Input - ToSecurityEventsProviderSettingsOutput() SecurityEventsProviderSettingsOutput - ToSecurityEventsProviderSettingsOutputWithContext(context.Context) SecurityEventsProviderSettingsOutput -} - -type SecurityEventsProviderSettingsArgs struct { - // Issuer URL. Maximum length: 700 characters. To be used along with `jwksUrl`. - Issuer pulumi.StringPtrInput `pulumi:"issuer"` - // The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. - JwksUrl pulumi.StringPtrInput `pulumi:"jwksUrl"` - // The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. - WellKnownUrl pulumi.StringPtrInput `pulumi:"wellKnownUrl"` -} - -func (SecurityEventsProviderSettingsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityEventsProviderSettings)(nil)).Elem() + ToGetAppsAppOutput() GetAppsAppOutput + ToGetAppsAppOutputWithContext(context.Context) GetAppsAppOutput } -func (i SecurityEventsProviderSettingsArgs) ToSecurityEventsProviderSettingsOutput() SecurityEventsProviderSettingsOutput { - return i.ToSecurityEventsProviderSettingsOutputWithContext(context.Background()) +type GetAppsAppArgs struct { + AdminNote pulumi.StringInput `pulumi:"adminNote"` + Created pulumi.StringInput `pulumi:"created"` + EnduserNote pulumi.StringInput `pulumi:"enduserNote"` + Features pulumi.StringArrayInput `pulumi:"features"` + Id pulumi.StringInput `pulumi:"id"` + Label pulumi.StringInput `pulumi:"label"` + LastUpdated pulumi.StringInput `pulumi:"lastUpdated"` + Name pulumi.StringInput `pulumi:"name"` + SignOnMode pulumi.StringInput `pulumi:"signOnMode"` + Status pulumi.StringInput `pulumi:"status"` + Visibility GetAppsAppVisibilityInput `pulumi:"visibility"` } -func (i SecurityEventsProviderSettingsArgs) ToSecurityEventsProviderSettingsOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityEventsProviderSettingsOutput) +func (GetAppsAppArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsApp)(nil)).Elem() } -func (i SecurityEventsProviderSettingsArgs) ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput { - return i.ToSecurityEventsProviderSettingsPtrOutputWithContext(context.Background()) +func (i GetAppsAppArgs) ToGetAppsAppOutput() GetAppsAppOutput { + return i.ToGetAppsAppOutputWithContext(context.Background()) } -func (i SecurityEventsProviderSettingsArgs) ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityEventsProviderSettingsOutput).ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx) +func (i GetAppsAppArgs) ToGetAppsAppOutputWithContext(ctx context.Context) GetAppsAppOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppOutput) } -// SecurityEventsProviderSettingsPtrInput is an input type that accepts SecurityEventsProviderSettingsArgs, SecurityEventsProviderSettingsPtr and SecurityEventsProviderSettingsPtrOutput values. -// You can construct a concrete instance of `SecurityEventsProviderSettingsPtrInput` via: -// -// SecurityEventsProviderSettingsArgs{...} -// -// or: +// GetAppsAppArrayInput is an input type that accepts GetAppsAppArray and GetAppsAppArrayOutput values. +// You can construct a concrete instance of `GetAppsAppArrayInput` via: // -// nil -type SecurityEventsProviderSettingsPtrInput interface { +// GetAppsAppArray{ GetAppsAppArgs{...} } +type GetAppsAppArrayInput interface { pulumi.Input - ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput - ToSecurityEventsProviderSettingsPtrOutputWithContext(context.Context) SecurityEventsProviderSettingsPtrOutput + ToGetAppsAppArrayOutput() GetAppsAppArrayOutput + ToGetAppsAppArrayOutputWithContext(context.Context) GetAppsAppArrayOutput } -type securityEventsProviderSettingsPtrType SecurityEventsProviderSettingsArgs - -func SecurityEventsProviderSettingsPtr(v *SecurityEventsProviderSettingsArgs) SecurityEventsProviderSettingsPtrInput { - return (*securityEventsProviderSettingsPtrType)(v) -} +type GetAppsAppArray []GetAppsAppInput -func (*securityEventsProviderSettingsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityEventsProviderSettings)(nil)).Elem() +func (GetAppsAppArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAppsApp)(nil)).Elem() } -func (i *securityEventsProviderSettingsPtrType) ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput { - return i.ToSecurityEventsProviderSettingsPtrOutputWithContext(context.Background()) +func (i GetAppsAppArray) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput { + return i.ToGetAppsAppArrayOutputWithContext(context.Background()) } -func (i *securityEventsProviderSettingsPtrType) ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(SecurityEventsProviderSettingsPtrOutput) +func (i GetAppsAppArray) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppArrayOutput) } -type SecurityEventsProviderSettingsOutput struct{ *pulumi.OutputState } +type GetAppsAppOutput struct{ *pulumi.OutputState } -func (SecurityEventsProviderSettingsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*SecurityEventsProviderSettings)(nil)).Elem() +func (GetAppsAppOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsApp)(nil)).Elem() } -func (o SecurityEventsProviderSettingsOutput) ToSecurityEventsProviderSettingsOutput() SecurityEventsProviderSettingsOutput { +func (o GetAppsAppOutput) ToGetAppsAppOutput() GetAppsAppOutput { return o } -func (o SecurityEventsProviderSettingsOutput) ToSecurityEventsProviderSettingsOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsOutput { +func (o GetAppsAppOutput) ToGetAppsAppOutputWithContext(ctx context.Context) GetAppsAppOutput { return o } -func (o SecurityEventsProviderSettingsOutput) ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput { - return o.ToSecurityEventsProviderSettingsPtrOutputWithContext(context.Background()) -} - -func (o SecurityEventsProviderSettingsOutput) ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v SecurityEventsProviderSettings) *SecurityEventsProviderSettings { - return &v - }).(SecurityEventsProviderSettingsPtrOutput) -} - -// Issuer URL. Maximum length: 700 characters. To be used along with `jwksUrl`. -func (o SecurityEventsProviderSettingsOutput) Issuer() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityEventsProviderSettings) *string { return v.Issuer }).(pulumi.StringPtrOutput) +func (o GetAppsAppOutput) AdminNote() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.AdminNote }).(pulumi.StringOutput) } -// The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. -func (o SecurityEventsProviderSettingsOutput) JwksUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityEventsProviderSettings) *string { return v.JwksUrl }).(pulumi.StringPtrOutput) +func (o GetAppsAppOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.Created }).(pulumi.StringOutput) } -// The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. -func (o SecurityEventsProviderSettingsOutput) WellKnownUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v SecurityEventsProviderSettings) *string { return v.WellKnownUrl }).(pulumi.StringPtrOutput) +func (o GetAppsAppOutput) EnduserNote() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.EnduserNote }).(pulumi.StringOutput) } -type SecurityEventsProviderSettingsPtrOutput struct{ *pulumi.OutputState } - -func (SecurityEventsProviderSettingsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**SecurityEventsProviderSettings)(nil)).Elem() +func (o GetAppsAppOutput) Features() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAppsApp) []string { return v.Features }).(pulumi.StringArrayOutput) } -func (o SecurityEventsProviderSettingsPtrOutput) ToSecurityEventsProviderSettingsPtrOutput() SecurityEventsProviderSettingsPtrOutput { - return o +func (o GetAppsAppOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.Id }).(pulumi.StringOutput) } -func (o SecurityEventsProviderSettingsPtrOutput) ToSecurityEventsProviderSettingsPtrOutputWithContext(ctx context.Context) SecurityEventsProviderSettingsPtrOutput { - return o +func (o GetAppsAppOutput) Label() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.Label }).(pulumi.StringOutput) } -func (o SecurityEventsProviderSettingsPtrOutput) Elem() SecurityEventsProviderSettingsOutput { - return o.ApplyT(func(v *SecurityEventsProviderSettings) SecurityEventsProviderSettings { - if v != nil { - return *v - } - var ret SecurityEventsProviderSettings - return ret - }).(SecurityEventsProviderSettingsOutput) +func (o GetAppsAppOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.LastUpdated }).(pulumi.StringOutput) } -// Issuer URL. Maximum length: 700 characters. To be used along with `jwksUrl`. -func (o SecurityEventsProviderSettingsPtrOutput) Issuer() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityEventsProviderSettings) *string { - if v == nil { - return nil - } - return v.Issuer - }).(pulumi.StringPtrOutput) +func (o GetAppsAppOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.Name }).(pulumi.StringOutput) } -// The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. -func (o SecurityEventsProviderSettingsPtrOutput) JwksUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityEventsProviderSettings) *string { - if v == nil { - return nil - } - return v.JwksUrl - }).(pulumi.StringPtrOutput) +func (o GetAppsAppOutput) SignOnMode() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.SignOnMode }).(pulumi.StringOutput) } -// The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. -func (o SecurityEventsProviderSettingsPtrOutput) WellKnownUrl() pulumi.StringPtrOutput { - return o.ApplyT(func(v *SecurityEventsProviderSettings) *string { - if v == nil { - return nil - } - return v.WellKnownUrl - }).(pulumi.StringPtrOutput) +func (o GetAppsAppOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetAppsApp) string { return v.Status }).(pulumi.StringOutput) } -type TemplateSmsTranslation struct { - // The language to map the template to. - Language string `pulumi:"language"` - // The SMS message. - Template string `pulumi:"template"` +func (o GetAppsAppOutput) Visibility() GetAppsAppVisibilityOutput { + return o.ApplyT(func(v GetAppsApp) GetAppsAppVisibility { return v.Visibility }).(GetAppsAppVisibilityOutput) } -// TemplateSmsTranslationInput is an input type that accepts TemplateSmsTranslationArgs and TemplateSmsTranslationOutput values. -// You can construct a concrete instance of `TemplateSmsTranslationInput` via: -// -// TemplateSmsTranslationArgs{...} -type TemplateSmsTranslationInput interface { - pulumi.Input +type GetAppsAppArrayOutput struct{ *pulumi.OutputState } - ToTemplateSmsTranslationOutput() TemplateSmsTranslationOutput - ToTemplateSmsTranslationOutputWithContext(context.Context) TemplateSmsTranslationOutput +func (GetAppsAppArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAppsApp)(nil)).Elem() } -type TemplateSmsTranslationArgs struct { - // The language to map the template to. - Language pulumi.StringInput `pulumi:"language"` - // The SMS message. - Template pulumi.StringInput `pulumi:"template"` +func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput { + return o } -func (TemplateSmsTranslationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*TemplateSmsTranslation)(nil)).Elem() +func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput { + return o } -func (i TemplateSmsTranslationArgs) ToTemplateSmsTranslationOutput() TemplateSmsTranslationOutput { - return i.ToTemplateSmsTranslationOutputWithContext(context.Background()) +func (o GetAppsAppArrayOutput) Index(i pulumi.IntInput) GetAppsAppOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAppsApp { + return vs[0].([]GetAppsApp)[vs[1].(int)] + }).(GetAppsAppOutput) } -func (i TemplateSmsTranslationArgs) ToTemplateSmsTranslationOutputWithContext(ctx context.Context) TemplateSmsTranslationOutput { - return pulumi.ToOutputWithContext(ctx, i).(TemplateSmsTranslationOutput) +type GetAppsAppVisibility struct { + AutoLaunch bool `pulumi:"autoLaunch"` + AutoSubmitToolbar bool `pulumi:"autoSubmitToolbar"` + Hide GetAppsAppVisibilityHide `pulumi:"hide"` } -// TemplateSmsTranslationArrayInput is an input type that accepts TemplateSmsTranslationArray and TemplateSmsTranslationArrayOutput values. -// You can construct a concrete instance of `TemplateSmsTranslationArrayInput` via: +// GetAppsAppVisibilityInput is an input type that accepts GetAppsAppVisibilityArgs and GetAppsAppVisibilityOutput values. +// You can construct a concrete instance of `GetAppsAppVisibilityInput` via: // -// TemplateSmsTranslationArray{ TemplateSmsTranslationArgs{...} } -type TemplateSmsTranslationArrayInput interface { +// GetAppsAppVisibilityArgs{...} +type GetAppsAppVisibilityInput interface { pulumi.Input - ToTemplateSmsTranslationArrayOutput() TemplateSmsTranslationArrayOutput - ToTemplateSmsTranslationArrayOutputWithContext(context.Context) TemplateSmsTranslationArrayOutput + ToGetAppsAppVisibilityOutput() GetAppsAppVisibilityOutput + ToGetAppsAppVisibilityOutputWithContext(context.Context) GetAppsAppVisibilityOutput } -type TemplateSmsTranslationArray []TemplateSmsTranslationInput +type GetAppsAppVisibilityArgs struct { + AutoLaunch pulumi.BoolInput `pulumi:"autoLaunch"` + AutoSubmitToolbar pulumi.BoolInput `pulumi:"autoSubmitToolbar"` + Hide GetAppsAppVisibilityHideInput `pulumi:"hide"` +} -func (TemplateSmsTranslationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]TemplateSmsTranslation)(nil)).Elem() +func (GetAppsAppVisibilityArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppVisibility)(nil)).Elem() } -func (i TemplateSmsTranslationArray) ToTemplateSmsTranslationArrayOutput() TemplateSmsTranslationArrayOutput { - return i.ToTemplateSmsTranslationArrayOutputWithContext(context.Background()) +func (i GetAppsAppVisibilityArgs) ToGetAppsAppVisibilityOutput() GetAppsAppVisibilityOutput { + return i.ToGetAppsAppVisibilityOutputWithContext(context.Background()) } -func (i TemplateSmsTranslationArray) ToTemplateSmsTranslationArrayOutputWithContext(ctx context.Context) TemplateSmsTranslationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(TemplateSmsTranslationArrayOutput) +func (i GetAppsAppVisibilityArgs) ToGetAppsAppVisibilityOutputWithContext(ctx context.Context) GetAppsAppVisibilityOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppVisibilityOutput) } -type TemplateSmsTranslationOutput struct{ *pulumi.OutputState } +type GetAppsAppVisibilityOutput struct{ *pulumi.OutputState } -func (TemplateSmsTranslationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*TemplateSmsTranslation)(nil)).Elem() +func (GetAppsAppVisibilityOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppVisibility)(nil)).Elem() } -func (o TemplateSmsTranslationOutput) ToTemplateSmsTranslationOutput() TemplateSmsTranslationOutput { +func (o GetAppsAppVisibilityOutput) ToGetAppsAppVisibilityOutput() GetAppsAppVisibilityOutput { return o } -func (o TemplateSmsTranslationOutput) ToTemplateSmsTranslationOutputWithContext(ctx context.Context) TemplateSmsTranslationOutput { +func (o GetAppsAppVisibilityOutput) ToGetAppsAppVisibilityOutputWithContext(ctx context.Context) GetAppsAppVisibilityOutput { return o } -// The language to map the template to. -func (o TemplateSmsTranslationOutput) Language() pulumi.StringOutput { - return o.ApplyT(func(v TemplateSmsTranslation) string { return v.Language }).(pulumi.StringOutput) +func (o GetAppsAppVisibilityOutput) AutoLaunch() pulumi.BoolOutput { + return o.ApplyT(func(v GetAppsAppVisibility) bool { return v.AutoLaunch }).(pulumi.BoolOutput) } -// The SMS message. -func (o TemplateSmsTranslationOutput) Template() pulumi.StringOutput { - return o.ApplyT(func(v TemplateSmsTranslation) string { return v.Template }).(pulumi.StringOutput) +func (o GetAppsAppVisibilityOutput) AutoSubmitToolbar() pulumi.BoolOutput { + return o.ApplyT(func(v GetAppsAppVisibility) bool { return v.AutoSubmitToolbar }).(pulumi.BoolOutput) } -type TemplateSmsTranslationArrayOutput struct{ *pulumi.OutputState } - -func (TemplateSmsTranslationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]TemplateSmsTranslation)(nil)).Elem() +func (o GetAppsAppVisibilityOutput) Hide() GetAppsAppVisibilityHideOutput { + return o.ApplyT(func(v GetAppsAppVisibility) GetAppsAppVisibilityHide { return v.Hide }).(GetAppsAppVisibilityHideOutput) } -func (o TemplateSmsTranslationArrayOutput) ToTemplateSmsTranslationArrayOutput() TemplateSmsTranslationArrayOutput { - return o +type GetAppsAppVisibilityHide struct { + Ios bool `pulumi:"ios"` + Web bool `pulumi:"web"` } -func (o TemplateSmsTranslationArrayOutput) ToTemplateSmsTranslationArrayOutputWithContext(ctx context.Context) TemplateSmsTranslationArrayOutput { - return o +// GetAppsAppVisibilityHideInput is an input type that accepts GetAppsAppVisibilityHideArgs and GetAppsAppVisibilityHideOutput values. +// You can construct a concrete instance of `GetAppsAppVisibilityHideInput` via: +// +// GetAppsAppVisibilityHideArgs{...} +type GetAppsAppVisibilityHideInput interface { + pulumi.Input + + ToGetAppsAppVisibilityHideOutput() GetAppsAppVisibilityHideOutput + ToGetAppsAppVisibilityHideOutputWithContext(context.Context) GetAppsAppVisibilityHideOutput } -func (o TemplateSmsTranslationArrayOutput) Index(i pulumi.IntInput) TemplateSmsTranslationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) TemplateSmsTranslation { - return vs[0].([]TemplateSmsTranslation)[vs[1].(int)] - }).(TemplateSmsTranslationOutput) +type GetAppsAppVisibilityHideArgs struct { + Ios pulumi.BoolInput `pulumi:"ios"` + Web pulumi.BoolInput `pulumi:"web"` } -type UiSchemaUiSchema struct { - // Specifies the button label for the Submit button at the bottom of the enrollment form. - ButtonLabel *string `pulumi:"buttonLabel"` - Elements []UiSchemaUiSchemaElement `pulumi:"elements"` - // Specifies the label at the top of the enrollment form under the logo. - Label *string `pulumi:"label"` - // Specifies the type of layout. - Type *string `pulumi:"type"` +func (GetAppsAppVisibilityHideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppVisibilityHide)(nil)).Elem() } -// UiSchemaUiSchemaInput is an input type that accepts UiSchemaUiSchemaArgs and UiSchemaUiSchemaOutput values. -// You can construct a concrete instance of `UiSchemaUiSchemaInput` via: -// -// UiSchemaUiSchemaArgs{...} -type UiSchemaUiSchemaInput interface { - pulumi.Input +func (i GetAppsAppVisibilityHideArgs) ToGetAppsAppVisibilityHideOutput() GetAppsAppVisibilityHideOutput { + return i.ToGetAppsAppVisibilityHideOutputWithContext(context.Background()) +} - ToUiSchemaUiSchemaOutput() UiSchemaUiSchemaOutput - ToUiSchemaUiSchemaOutputWithContext(context.Context) UiSchemaUiSchemaOutput +func (i GetAppsAppVisibilityHideArgs) ToGetAppsAppVisibilityHideOutputWithContext(ctx context.Context) GetAppsAppVisibilityHideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppVisibilityHideOutput) } -type UiSchemaUiSchemaArgs struct { - // Specifies the button label for the Submit button at the bottom of the enrollment form. - ButtonLabel pulumi.StringPtrInput `pulumi:"buttonLabel"` - Elements UiSchemaUiSchemaElementArrayInput `pulumi:"elements"` - // Specifies the label at the top of the enrollment form under the logo. - Label pulumi.StringPtrInput `pulumi:"label"` - // Specifies the type of layout. - Type pulumi.StringPtrInput `pulumi:"type"` +type GetAppsAppVisibilityHideOutput struct{ *pulumi.OutputState } + +func (GetAppsAppVisibilityHideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAppsAppVisibilityHide)(nil)).Elem() } -func (UiSchemaUiSchemaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*UiSchemaUiSchema)(nil)).Elem() +func (o GetAppsAppVisibilityHideOutput) ToGetAppsAppVisibilityHideOutput() GetAppsAppVisibilityHideOutput { + return o } -func (i UiSchemaUiSchemaArgs) ToUiSchemaUiSchemaOutput() UiSchemaUiSchemaOutput { - return i.ToUiSchemaUiSchemaOutputWithContext(context.Background()) +func (o GetAppsAppVisibilityHideOutput) ToGetAppsAppVisibilityHideOutputWithContext(ctx context.Context) GetAppsAppVisibilityHideOutput { + return o } -func (i UiSchemaUiSchemaArgs) ToUiSchemaUiSchemaOutputWithContext(ctx context.Context) UiSchemaUiSchemaOutput { - return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaOutput) +func (o GetAppsAppVisibilityHideOutput) Ios() pulumi.BoolOutput { + return o.ApplyT(func(v GetAppsAppVisibilityHide) bool { return v.Ios }).(pulumi.BoolOutput) } -func (i UiSchemaUiSchemaArgs) ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput { - return i.ToUiSchemaUiSchemaPtrOutputWithContext(context.Background()) +func (o GetAppsAppVisibilityHideOutput) Web() pulumi.BoolOutput { + return o.ApplyT(func(v GetAppsAppVisibilityHide) bool { return v.Web }).(pulumi.BoolOutput) } -func (i UiSchemaUiSchemaArgs) ToUiSchemaUiSchemaPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaOutput).ToUiSchemaUiSchemaPtrOutputWithContext(ctx) +type GetAuthServerClaimsClaim struct { + // Specifies whether to include Claims in the token. + AlwaysIncludeInToken bool `pulumi:"alwaysIncludeInToken"` + // Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). + ClaimType string `pulumi:"claimType"` + // ID of the claim. + Id string `pulumi:"id"` + // Name of the claim. + Name string `pulumi:"name"` + // Specifies the scopes for this Claim. + Scopes []string `pulumi:"scopes"` + // Status of the claim. + Status string `pulumi:"status"` + // Value of the claim. + Value string `pulumi:"value"` + // Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) + ValueType string `pulumi:"valueType"` } -// UiSchemaUiSchemaPtrInput is an input type that accepts UiSchemaUiSchemaArgs, UiSchemaUiSchemaPtr and UiSchemaUiSchemaPtrOutput values. -// You can construct a concrete instance of `UiSchemaUiSchemaPtrInput` via: -// -// UiSchemaUiSchemaArgs{...} -// -// or: +// GetAuthServerClaimsClaimInput is an input type that accepts GetAuthServerClaimsClaimArgs and GetAuthServerClaimsClaimOutput values. +// You can construct a concrete instance of `GetAuthServerClaimsClaimInput` via: // -// nil -type UiSchemaUiSchemaPtrInput interface { +// GetAuthServerClaimsClaimArgs{...} +type GetAuthServerClaimsClaimInput interface { pulumi.Input - ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput - ToUiSchemaUiSchemaPtrOutputWithContext(context.Context) UiSchemaUiSchemaPtrOutput + ToGetAuthServerClaimsClaimOutput() GetAuthServerClaimsClaimOutput + ToGetAuthServerClaimsClaimOutputWithContext(context.Context) GetAuthServerClaimsClaimOutput } -type uiSchemaUiSchemaPtrType UiSchemaUiSchemaArgs +type GetAuthServerClaimsClaimArgs struct { + // Specifies whether to include Claims in the token. + AlwaysIncludeInToken pulumi.BoolInput `pulumi:"alwaysIncludeInToken"` + // Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). + ClaimType pulumi.StringInput `pulumi:"claimType"` + // ID of the claim. + Id pulumi.StringInput `pulumi:"id"` + // Name of the claim. + Name pulumi.StringInput `pulumi:"name"` + // Specifies the scopes for this Claim. + Scopes pulumi.StringArrayInput `pulumi:"scopes"` + // Status of the claim. + Status pulumi.StringInput `pulumi:"status"` + // Value of the claim. + Value pulumi.StringInput `pulumi:"value"` + // Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) + ValueType pulumi.StringInput `pulumi:"valueType"` +} -func UiSchemaUiSchemaPtr(v *UiSchemaUiSchemaArgs) UiSchemaUiSchemaPtrInput { - return (*uiSchemaUiSchemaPtrType)(v) +func (GetAuthServerClaimsClaimArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthServerClaimsClaim)(nil)).Elem() } -func (*uiSchemaUiSchemaPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**UiSchemaUiSchema)(nil)).Elem() +func (i GetAuthServerClaimsClaimArgs) ToGetAuthServerClaimsClaimOutput() GetAuthServerClaimsClaimOutput { + return i.ToGetAuthServerClaimsClaimOutputWithContext(context.Background()) } -func (i *uiSchemaUiSchemaPtrType) ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput { - return i.ToUiSchemaUiSchemaPtrOutputWithContext(context.Background()) +func (i GetAuthServerClaimsClaimArgs) ToGetAuthServerClaimsClaimOutputWithContext(ctx context.Context) GetAuthServerClaimsClaimOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthServerClaimsClaimOutput) } -func (i *uiSchemaUiSchemaPtrType) ToUiSchemaUiSchemaPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaPtrOutput) +// GetAuthServerClaimsClaimArrayInput is an input type that accepts GetAuthServerClaimsClaimArray and GetAuthServerClaimsClaimArrayOutput values. +// You can construct a concrete instance of `GetAuthServerClaimsClaimArrayInput` via: +// +// GetAuthServerClaimsClaimArray{ GetAuthServerClaimsClaimArgs{...} } +type GetAuthServerClaimsClaimArrayInput interface { + pulumi.Input + + ToGetAuthServerClaimsClaimArrayOutput() GetAuthServerClaimsClaimArrayOutput + ToGetAuthServerClaimsClaimArrayOutputWithContext(context.Context) GetAuthServerClaimsClaimArrayOutput } -type UiSchemaUiSchemaOutput struct{ *pulumi.OutputState } +type GetAuthServerClaimsClaimArray []GetAuthServerClaimsClaimInput -func (UiSchemaUiSchemaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UiSchemaUiSchema)(nil)).Elem() +func (GetAuthServerClaimsClaimArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAuthServerClaimsClaim)(nil)).Elem() } -func (o UiSchemaUiSchemaOutput) ToUiSchemaUiSchemaOutput() UiSchemaUiSchemaOutput { - return o +func (i GetAuthServerClaimsClaimArray) ToGetAuthServerClaimsClaimArrayOutput() GetAuthServerClaimsClaimArrayOutput { + return i.ToGetAuthServerClaimsClaimArrayOutputWithContext(context.Background()) } -func (o UiSchemaUiSchemaOutput) ToUiSchemaUiSchemaOutputWithContext(ctx context.Context) UiSchemaUiSchemaOutput { - return o +func (i GetAuthServerClaimsClaimArray) ToGetAuthServerClaimsClaimArrayOutputWithContext(ctx context.Context) GetAuthServerClaimsClaimArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthServerClaimsClaimArrayOutput) } -func (o UiSchemaUiSchemaOutput) ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput { - return o.ToUiSchemaUiSchemaPtrOutputWithContext(context.Background()) +type GetAuthServerClaimsClaimOutput struct{ *pulumi.OutputState } + +func (GetAuthServerClaimsClaimOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthServerClaimsClaim)(nil)).Elem() } -func (o UiSchemaUiSchemaOutput) ToUiSchemaUiSchemaPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v UiSchemaUiSchema) *UiSchemaUiSchema { - return &v - }).(UiSchemaUiSchemaPtrOutput) +func (o GetAuthServerClaimsClaimOutput) ToGetAuthServerClaimsClaimOutput() GetAuthServerClaimsClaimOutput { + return o } -// Specifies the button label for the Submit button at the bottom of the enrollment form. -func (o UiSchemaUiSchemaOutput) ButtonLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v UiSchemaUiSchema) *string { return v.ButtonLabel }).(pulumi.StringPtrOutput) +func (o GetAuthServerClaimsClaimOutput) ToGetAuthServerClaimsClaimOutputWithContext(ctx context.Context) GetAuthServerClaimsClaimOutput { + return o } -func (o UiSchemaUiSchemaOutput) Elements() UiSchemaUiSchemaElementArrayOutput { - return o.ApplyT(func(v UiSchemaUiSchema) []UiSchemaUiSchemaElement { return v.Elements }).(UiSchemaUiSchemaElementArrayOutput) +// Specifies whether to include Claims in the token. +func (o GetAuthServerClaimsClaimOutput) AlwaysIncludeInToken() pulumi.BoolOutput { + return o.ApplyT(func(v GetAuthServerClaimsClaim) bool { return v.AlwaysIncludeInToken }).(pulumi.BoolOutput) } -// Specifies the label at the top of the enrollment form under the logo. -func (o UiSchemaUiSchemaOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v UiSchemaUiSchema) *string { return v.Label }).(pulumi.StringPtrOutput) +// Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). +func (o GetAuthServerClaimsClaimOutput) ClaimType() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.ClaimType }).(pulumi.StringOutput) } -// Specifies the type of layout. -func (o UiSchemaUiSchemaOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v UiSchemaUiSchema) *string { return v.Type }).(pulumi.StringPtrOutput) +// ID of the claim. +func (o GetAuthServerClaimsClaimOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.Id }).(pulumi.StringOutput) } -type UiSchemaUiSchemaPtrOutput struct{ *pulumi.OutputState } +// Name of the claim. +func (o GetAuthServerClaimsClaimOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.Name }).(pulumi.StringOutput) +} -func (UiSchemaUiSchemaPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**UiSchemaUiSchema)(nil)).Elem() +// Specifies the scopes for this Claim. +func (o GetAuthServerClaimsClaimOutput) Scopes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAuthServerClaimsClaim) []string { return v.Scopes }).(pulumi.StringArrayOutput) } -func (o UiSchemaUiSchemaPtrOutput) ToUiSchemaUiSchemaPtrOutput() UiSchemaUiSchemaPtrOutput { - return o +// Status of the claim. +func (o GetAuthServerClaimsClaimOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.Status }).(pulumi.StringOutput) } -func (o UiSchemaUiSchemaPtrOutput) ToUiSchemaUiSchemaPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaPtrOutput { - return o +// Value of the claim. +func (o GetAuthServerClaimsClaimOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.Value }).(pulumi.StringOutput) } -func (o UiSchemaUiSchemaPtrOutput) Elem() UiSchemaUiSchemaOutput { - return o.ApplyT(func(v *UiSchemaUiSchema) UiSchemaUiSchema { - if v != nil { - return *v - } - var ret UiSchemaUiSchema - return ret - }).(UiSchemaUiSchemaOutput) +// Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) +func (o GetAuthServerClaimsClaimOutput) ValueType() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.ValueType }).(pulumi.StringOutput) } -// Specifies the button label for the Submit button at the bottom of the enrollment form. -func (o UiSchemaUiSchemaPtrOutput) ButtonLabel() pulumi.StringPtrOutput { - return o.ApplyT(func(v *UiSchemaUiSchema) *string { - if v == nil { - return nil - } - return v.ButtonLabel - }).(pulumi.StringPtrOutput) +type GetAuthServerClaimsClaimArrayOutput struct{ *pulumi.OutputState } + +func (GetAuthServerClaimsClaimArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAuthServerClaimsClaim)(nil)).Elem() } -func (o UiSchemaUiSchemaPtrOutput) Elements() UiSchemaUiSchemaElementArrayOutput { - return o.ApplyT(func(v *UiSchemaUiSchema) []UiSchemaUiSchemaElement { - if v == nil { - return nil - } - return v.Elements - }).(UiSchemaUiSchemaElementArrayOutput) +func (o GetAuthServerClaimsClaimArrayOutput) ToGetAuthServerClaimsClaimArrayOutput() GetAuthServerClaimsClaimArrayOutput { + return o } -// Specifies the label at the top of the enrollment form under the logo. -func (o UiSchemaUiSchemaPtrOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v *UiSchemaUiSchema) *string { - if v == nil { - return nil - } - return v.Label - }).(pulumi.StringPtrOutput) +func (o GetAuthServerClaimsClaimArrayOutput) ToGetAuthServerClaimsClaimArrayOutputWithContext(ctx context.Context) GetAuthServerClaimsClaimArrayOutput { + return o } -// Specifies the type of layout. -func (o UiSchemaUiSchemaPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *UiSchemaUiSchema) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) +func (o GetAuthServerClaimsClaimArrayOutput) Index(i pulumi.IntInput) GetAuthServerClaimsClaimOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAuthServerClaimsClaim { + return vs[0].([]GetAuthServerClaimsClaim)[vs[1].(int)] + }).(GetAuthServerClaimsClaimOutput) } -type UiSchemaUiSchemaElement struct { - // Label name for the UI element. - Label *string `pulumi:"label"` - // UI Schema element options object. - Options *UiSchemaUiSchemaElementOptions `pulumi:"options"` - // Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. - Scope string `pulumi:"scope"` - // Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. - Type *string `pulumi:"type"` +type GetAuthenticatorMethodWebauthnAaguidGroup struct { + // List of FIDO2 AAGUIDs in this group. + Aaguids []string `pulumi:"aaguids"` + // The name of the AAGUID group. + Name string `pulumi:"name"` } -// UiSchemaUiSchemaElementInput is an input type that accepts UiSchemaUiSchemaElementArgs and UiSchemaUiSchemaElementOutput values. -// You can construct a concrete instance of `UiSchemaUiSchemaElementInput` via: +// GetAuthenticatorMethodWebauthnAaguidGroupInput is an input type that accepts GetAuthenticatorMethodWebauthnAaguidGroupArgs and GetAuthenticatorMethodWebauthnAaguidGroupOutput values. +// You can construct a concrete instance of `GetAuthenticatorMethodWebauthnAaguidGroupInput` via: // -// UiSchemaUiSchemaElementArgs{...} -type UiSchemaUiSchemaElementInput interface { +// GetAuthenticatorMethodWebauthnAaguidGroupArgs{...} +type GetAuthenticatorMethodWebauthnAaguidGroupInput interface { pulumi.Input - ToUiSchemaUiSchemaElementOutput() UiSchemaUiSchemaElementOutput - ToUiSchemaUiSchemaElementOutputWithContext(context.Context) UiSchemaUiSchemaElementOutput + ToGetAuthenticatorMethodWebauthnAaguidGroupOutput() GetAuthenticatorMethodWebauthnAaguidGroupOutput + ToGetAuthenticatorMethodWebauthnAaguidGroupOutputWithContext(context.Context) GetAuthenticatorMethodWebauthnAaguidGroupOutput } -type UiSchemaUiSchemaElementArgs struct { - // Label name for the UI element. - Label pulumi.StringPtrInput `pulumi:"label"` - // UI Schema element options object. - Options UiSchemaUiSchemaElementOptionsPtrInput `pulumi:"options"` - // Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. - Scope pulumi.StringInput `pulumi:"scope"` - // Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. - Type pulumi.StringPtrInput `pulumi:"type"` +type GetAuthenticatorMethodWebauthnAaguidGroupArgs struct { + // List of FIDO2 AAGUIDs in this group. + Aaguids pulumi.StringArrayInput `pulumi:"aaguids"` + // The name of the AAGUID group. + Name pulumi.StringInput `pulumi:"name"` } -func (UiSchemaUiSchemaElementArgs) ElementType() reflect.Type { - return reflect.TypeOf((*UiSchemaUiSchemaElement)(nil)).Elem() +func (GetAuthenticatorMethodWebauthnAaguidGroupArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorMethodWebauthnAaguidGroup)(nil)).Elem() } -func (i UiSchemaUiSchemaElementArgs) ToUiSchemaUiSchemaElementOutput() UiSchemaUiSchemaElementOutput { - return i.ToUiSchemaUiSchemaElementOutputWithContext(context.Background()) +func (i GetAuthenticatorMethodWebauthnAaguidGroupArgs) ToGetAuthenticatorMethodWebauthnAaguidGroupOutput() GetAuthenticatorMethodWebauthnAaguidGroupOutput { + return i.ToGetAuthenticatorMethodWebauthnAaguidGroupOutputWithContext(context.Background()) } -func (i UiSchemaUiSchemaElementArgs) ToUiSchemaUiSchemaElementOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOutput { - return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementOutput) +func (i GetAuthenticatorMethodWebauthnAaguidGroupArgs) ToGetAuthenticatorMethodWebauthnAaguidGroupOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnAaguidGroupOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorMethodWebauthnAaguidGroupOutput) } -// UiSchemaUiSchemaElementArrayInput is an input type that accepts UiSchemaUiSchemaElementArray and UiSchemaUiSchemaElementArrayOutput values. -// You can construct a concrete instance of `UiSchemaUiSchemaElementArrayInput` via: +// GetAuthenticatorMethodWebauthnAaguidGroupArrayInput is an input type that accepts GetAuthenticatorMethodWebauthnAaguidGroupArray and GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput values. +// You can construct a concrete instance of `GetAuthenticatorMethodWebauthnAaguidGroupArrayInput` via: // -// UiSchemaUiSchemaElementArray{ UiSchemaUiSchemaElementArgs{...} } -type UiSchemaUiSchemaElementArrayInput interface { +// GetAuthenticatorMethodWebauthnAaguidGroupArray{ GetAuthenticatorMethodWebauthnAaguidGroupArgs{...} } +type GetAuthenticatorMethodWebauthnAaguidGroupArrayInput interface { pulumi.Input - ToUiSchemaUiSchemaElementArrayOutput() UiSchemaUiSchemaElementArrayOutput - ToUiSchemaUiSchemaElementArrayOutputWithContext(context.Context) UiSchemaUiSchemaElementArrayOutput + ToGetAuthenticatorMethodWebauthnAaguidGroupArrayOutput() GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput + ToGetAuthenticatorMethodWebauthnAaguidGroupArrayOutputWithContext(context.Context) GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput } -type UiSchemaUiSchemaElementArray []UiSchemaUiSchemaElementInput +type GetAuthenticatorMethodWebauthnAaguidGroupArray []GetAuthenticatorMethodWebauthnAaguidGroupInput -func (UiSchemaUiSchemaElementArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]UiSchemaUiSchemaElement)(nil)).Elem() +func (GetAuthenticatorMethodWebauthnAaguidGroupArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAuthenticatorMethodWebauthnAaguidGroup)(nil)).Elem() } -func (i UiSchemaUiSchemaElementArray) ToUiSchemaUiSchemaElementArrayOutput() UiSchemaUiSchemaElementArrayOutput { - return i.ToUiSchemaUiSchemaElementArrayOutputWithContext(context.Background()) +func (i GetAuthenticatorMethodWebauthnAaguidGroupArray) ToGetAuthenticatorMethodWebauthnAaguidGroupArrayOutput() GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput { + return i.ToGetAuthenticatorMethodWebauthnAaguidGroupArrayOutputWithContext(context.Background()) } -func (i UiSchemaUiSchemaElementArray) ToUiSchemaUiSchemaElementArrayOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementArrayOutput) +func (i GetAuthenticatorMethodWebauthnAaguidGroupArray) ToGetAuthenticatorMethodWebauthnAaguidGroupArrayOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput) } -type UiSchemaUiSchemaElementOutput struct{ *pulumi.OutputState } +type GetAuthenticatorMethodWebauthnAaguidGroupOutput struct{ *pulumi.OutputState } -func (UiSchemaUiSchemaElementOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UiSchemaUiSchemaElement)(nil)).Elem() +func (GetAuthenticatorMethodWebauthnAaguidGroupOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorMethodWebauthnAaguidGroup)(nil)).Elem() } -func (o UiSchemaUiSchemaElementOutput) ToUiSchemaUiSchemaElementOutput() UiSchemaUiSchemaElementOutput { +func (o GetAuthenticatorMethodWebauthnAaguidGroupOutput) ToGetAuthenticatorMethodWebauthnAaguidGroupOutput() GetAuthenticatorMethodWebauthnAaguidGroupOutput { return o } -func (o UiSchemaUiSchemaElementOutput) ToUiSchemaUiSchemaElementOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOutput { +func (o GetAuthenticatorMethodWebauthnAaguidGroupOutput) ToGetAuthenticatorMethodWebauthnAaguidGroupOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnAaguidGroupOutput { return o } -// Label name for the UI element. -func (o UiSchemaUiSchemaElementOutput) Label() pulumi.StringPtrOutput { - return o.ApplyT(func(v UiSchemaUiSchemaElement) *string { return v.Label }).(pulumi.StringPtrOutput) -} - -// UI Schema element options object. -func (o UiSchemaUiSchemaElementOutput) Options() UiSchemaUiSchemaElementOptionsPtrOutput { - return o.ApplyT(func(v UiSchemaUiSchemaElement) *UiSchemaUiSchemaElementOptions { return v.Options }).(UiSchemaUiSchemaElementOptionsPtrOutput) -} - -// Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. -func (o UiSchemaUiSchemaElementOutput) Scope() pulumi.StringOutput { - return o.ApplyT(func(v UiSchemaUiSchemaElement) string { return v.Scope }).(pulumi.StringOutput) +// List of FIDO2 AAGUIDs in this group. +func (o GetAuthenticatorMethodWebauthnAaguidGroupOutput) Aaguids() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAuthenticatorMethodWebauthnAaguidGroup) []string { return v.Aaguids }).(pulumi.StringArrayOutput) } -// Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. -func (o UiSchemaUiSchemaElementOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v UiSchemaUiSchemaElement) *string { return v.Type }).(pulumi.StringPtrOutput) +// The name of the AAGUID group. +func (o GetAuthenticatorMethodWebauthnAaguidGroupOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthenticatorMethodWebauthnAaguidGroup) string { return v.Name }).(pulumi.StringOutput) } -type UiSchemaUiSchemaElementArrayOutput struct{ *pulumi.OutputState } +type GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput struct{ *pulumi.OutputState } -func (UiSchemaUiSchemaElementArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]UiSchemaUiSchemaElement)(nil)).Elem() +func (GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAuthenticatorMethodWebauthnAaguidGroup)(nil)).Elem() } -func (o UiSchemaUiSchemaElementArrayOutput) ToUiSchemaUiSchemaElementArrayOutput() UiSchemaUiSchemaElementArrayOutput { +func (o GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput) ToGetAuthenticatorMethodWebauthnAaguidGroupArrayOutput() GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput { return o } -func (o UiSchemaUiSchemaElementArrayOutput) ToUiSchemaUiSchemaElementArrayOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementArrayOutput { +func (o GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput) ToGetAuthenticatorMethodWebauthnAaguidGroupArrayOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput { return o } -func (o UiSchemaUiSchemaElementArrayOutput) Index(i pulumi.IntInput) UiSchemaUiSchemaElementOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) UiSchemaUiSchemaElement { - return vs[0].([]UiSchemaUiSchemaElement)[vs[1].(int)] - }).(UiSchemaUiSchemaElementOutput) +func (o GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput) Index(i pulumi.IntInput) GetAuthenticatorMethodWebauthnAaguidGroupOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAuthenticatorMethodWebauthnAaguidGroup { + return vs[0].([]GetAuthenticatorMethodWebauthnAaguidGroup)[vs[1].(int)] + }).(GetAuthenticatorMethodWebauthnAaguidGroupOutput) } -type UiSchemaUiSchemaElementOptions struct { - // Specifies how the input appears. - Format *string `pulumi:"format"` +type GetAuthenticatorMethodWebauthnRpId struct { + // The RP domain configuration. Contains: + Domain *GetAuthenticatorMethodWebauthnRpIdDomain `pulumi:"domain"` + // Whether the RP ID is active and used for WebAuthn operations. + Enabled bool `pulumi:"enabled"` } -// UiSchemaUiSchemaElementOptionsInput is an input type that accepts UiSchemaUiSchemaElementOptionsArgs and UiSchemaUiSchemaElementOptionsOutput values. -// You can construct a concrete instance of `UiSchemaUiSchemaElementOptionsInput` via: +// GetAuthenticatorMethodWebauthnRpIdInput is an input type that accepts GetAuthenticatorMethodWebauthnRpIdArgs and GetAuthenticatorMethodWebauthnRpIdOutput values. +// You can construct a concrete instance of `GetAuthenticatorMethodWebauthnRpIdInput` via: // -// UiSchemaUiSchemaElementOptionsArgs{...} -type UiSchemaUiSchemaElementOptionsInput interface { +// GetAuthenticatorMethodWebauthnRpIdArgs{...} +type GetAuthenticatorMethodWebauthnRpIdInput interface { pulumi.Input - ToUiSchemaUiSchemaElementOptionsOutput() UiSchemaUiSchemaElementOptionsOutput - ToUiSchemaUiSchemaElementOptionsOutputWithContext(context.Context) UiSchemaUiSchemaElementOptionsOutput + ToGetAuthenticatorMethodWebauthnRpIdOutput() GetAuthenticatorMethodWebauthnRpIdOutput + ToGetAuthenticatorMethodWebauthnRpIdOutputWithContext(context.Context) GetAuthenticatorMethodWebauthnRpIdOutput } -type UiSchemaUiSchemaElementOptionsArgs struct { - // Specifies how the input appears. - Format pulumi.StringPtrInput `pulumi:"format"` +type GetAuthenticatorMethodWebauthnRpIdArgs struct { + // The RP domain configuration. Contains: + Domain GetAuthenticatorMethodWebauthnRpIdDomainPtrInput `pulumi:"domain"` + // Whether the RP ID is active and used for WebAuthn operations. + Enabled pulumi.BoolInput `pulumi:"enabled"` } -func (UiSchemaUiSchemaElementOptionsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*UiSchemaUiSchemaElementOptions)(nil)).Elem() +func (GetAuthenticatorMethodWebauthnRpIdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorMethodWebauthnRpId)(nil)).Elem() } -func (i UiSchemaUiSchemaElementOptionsArgs) ToUiSchemaUiSchemaElementOptionsOutput() UiSchemaUiSchemaElementOptionsOutput { - return i.ToUiSchemaUiSchemaElementOptionsOutputWithContext(context.Background()) +func (i GetAuthenticatorMethodWebauthnRpIdArgs) ToGetAuthenticatorMethodWebauthnRpIdOutput() GetAuthenticatorMethodWebauthnRpIdOutput { + return i.ToGetAuthenticatorMethodWebauthnRpIdOutputWithContext(context.Background()) } -func (i UiSchemaUiSchemaElementOptionsArgs) ToUiSchemaUiSchemaElementOptionsOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsOutput { - return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementOptionsOutput) +func (i GetAuthenticatorMethodWebauthnRpIdArgs) ToGetAuthenticatorMethodWebauthnRpIdOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorMethodWebauthnRpIdOutput) } -func (i UiSchemaUiSchemaElementOptionsArgs) ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput { - return i.ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(context.Background()) +func (i GetAuthenticatorMethodWebauthnRpIdArgs) ToGetAuthenticatorMethodWebauthnRpIdPtrOutput() GetAuthenticatorMethodWebauthnRpIdPtrOutput { + return i.ToGetAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(context.Background()) } -func (i UiSchemaUiSchemaElementOptionsArgs) ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementOptionsOutput).ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx) +func (i GetAuthenticatorMethodWebauthnRpIdArgs) ToGetAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorMethodWebauthnRpIdOutput).ToGetAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx) } -// UiSchemaUiSchemaElementOptionsPtrInput is an input type that accepts UiSchemaUiSchemaElementOptionsArgs, UiSchemaUiSchemaElementOptionsPtr and UiSchemaUiSchemaElementOptionsPtrOutput values. -// You can construct a concrete instance of `UiSchemaUiSchemaElementOptionsPtrInput` via: +// GetAuthenticatorMethodWebauthnRpIdPtrInput is an input type that accepts GetAuthenticatorMethodWebauthnRpIdArgs, GetAuthenticatorMethodWebauthnRpIdPtr and GetAuthenticatorMethodWebauthnRpIdPtrOutput values. +// You can construct a concrete instance of `GetAuthenticatorMethodWebauthnRpIdPtrInput` via: // -// UiSchemaUiSchemaElementOptionsArgs{...} +// GetAuthenticatorMethodWebauthnRpIdArgs{...} // // or: // // nil -type UiSchemaUiSchemaElementOptionsPtrInput interface { +type GetAuthenticatorMethodWebauthnRpIdPtrInput interface { pulumi.Input - ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput - ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(context.Context) UiSchemaUiSchemaElementOptionsPtrOutput + ToGetAuthenticatorMethodWebauthnRpIdPtrOutput() GetAuthenticatorMethodWebauthnRpIdPtrOutput + ToGetAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(context.Context) GetAuthenticatorMethodWebauthnRpIdPtrOutput } -type uiSchemaUiSchemaElementOptionsPtrType UiSchemaUiSchemaElementOptionsArgs +type getAuthenticatorMethodWebauthnRpIdPtrType GetAuthenticatorMethodWebauthnRpIdArgs -func UiSchemaUiSchemaElementOptionsPtr(v *UiSchemaUiSchemaElementOptionsArgs) UiSchemaUiSchemaElementOptionsPtrInput { - return (*uiSchemaUiSchemaElementOptionsPtrType)(v) +func GetAuthenticatorMethodWebauthnRpIdPtr(v *GetAuthenticatorMethodWebauthnRpIdArgs) GetAuthenticatorMethodWebauthnRpIdPtrInput { + return (*getAuthenticatorMethodWebauthnRpIdPtrType)(v) } -func (*uiSchemaUiSchemaElementOptionsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**UiSchemaUiSchemaElementOptions)(nil)).Elem() +func (*getAuthenticatorMethodWebauthnRpIdPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthenticatorMethodWebauthnRpId)(nil)).Elem() } -func (i *uiSchemaUiSchemaElementOptionsPtrType) ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput { - return i.ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(context.Background()) +func (i *getAuthenticatorMethodWebauthnRpIdPtrType) ToGetAuthenticatorMethodWebauthnRpIdPtrOutput() GetAuthenticatorMethodWebauthnRpIdPtrOutput { + return i.ToGetAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(context.Background()) } -func (i *uiSchemaUiSchemaElementOptionsPtrType) ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(UiSchemaUiSchemaElementOptionsPtrOutput) +func (i *getAuthenticatorMethodWebauthnRpIdPtrType) ToGetAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorMethodWebauthnRpIdPtrOutput) } -type UiSchemaUiSchemaElementOptionsOutput struct{ *pulumi.OutputState } +type GetAuthenticatorMethodWebauthnRpIdOutput struct{ *pulumi.OutputState } -func (UiSchemaUiSchemaElementOptionsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UiSchemaUiSchemaElementOptions)(nil)).Elem() +func (GetAuthenticatorMethodWebauthnRpIdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorMethodWebauthnRpId)(nil)).Elem() } -func (o UiSchemaUiSchemaElementOptionsOutput) ToUiSchemaUiSchemaElementOptionsOutput() UiSchemaUiSchemaElementOptionsOutput { +func (o GetAuthenticatorMethodWebauthnRpIdOutput) ToGetAuthenticatorMethodWebauthnRpIdOutput() GetAuthenticatorMethodWebauthnRpIdOutput { return o } -func (o UiSchemaUiSchemaElementOptionsOutput) ToUiSchemaUiSchemaElementOptionsOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsOutput { +func (o GetAuthenticatorMethodWebauthnRpIdOutput) ToGetAuthenticatorMethodWebauthnRpIdOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdOutput { return o } -func (o UiSchemaUiSchemaElementOptionsOutput) ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput { - return o.ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(context.Background()) +func (o GetAuthenticatorMethodWebauthnRpIdOutput) ToGetAuthenticatorMethodWebauthnRpIdPtrOutput() GetAuthenticatorMethodWebauthnRpIdPtrOutput { + return o.ToGetAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(context.Background()) } -func (o UiSchemaUiSchemaElementOptionsOutput) ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v UiSchemaUiSchemaElementOptions) *UiSchemaUiSchemaElementOptions { +func (o GetAuthenticatorMethodWebauthnRpIdOutput) ToGetAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthenticatorMethodWebauthnRpId) *GetAuthenticatorMethodWebauthnRpId { return &v - }).(UiSchemaUiSchemaElementOptionsPtrOutput) + }).(GetAuthenticatorMethodWebauthnRpIdPtrOutput) } -// Specifies how the input appears. -func (o UiSchemaUiSchemaElementOptionsOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v UiSchemaUiSchemaElementOptions) *string { return v.Format }).(pulumi.StringPtrOutput) +// The RP domain configuration. Contains: +func (o GetAuthenticatorMethodWebauthnRpIdOutput) Domain() GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return o.ApplyT(func(v GetAuthenticatorMethodWebauthnRpId) *GetAuthenticatorMethodWebauthnRpIdDomain { return v.Domain }).(GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) } -type UiSchemaUiSchemaElementOptionsPtrOutput struct{ *pulumi.OutputState } +// Whether the RP ID is active and used for WebAuthn operations. +func (o GetAuthenticatorMethodWebauthnRpIdOutput) Enabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetAuthenticatorMethodWebauthnRpId) bool { return v.Enabled }).(pulumi.BoolOutput) +} -func (UiSchemaUiSchemaElementOptionsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**UiSchemaUiSchemaElementOptions)(nil)).Elem() +type GetAuthenticatorMethodWebauthnRpIdPtrOutput struct{ *pulumi.OutputState } + +func (GetAuthenticatorMethodWebauthnRpIdPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthenticatorMethodWebauthnRpId)(nil)).Elem() } -func (o UiSchemaUiSchemaElementOptionsPtrOutput) ToUiSchemaUiSchemaElementOptionsPtrOutput() UiSchemaUiSchemaElementOptionsPtrOutput { +func (o GetAuthenticatorMethodWebauthnRpIdPtrOutput) ToGetAuthenticatorMethodWebauthnRpIdPtrOutput() GetAuthenticatorMethodWebauthnRpIdPtrOutput { return o } -func (o UiSchemaUiSchemaElementOptionsPtrOutput) ToUiSchemaUiSchemaElementOptionsPtrOutputWithContext(ctx context.Context) UiSchemaUiSchemaElementOptionsPtrOutput { +func (o GetAuthenticatorMethodWebauthnRpIdPtrOutput) ToGetAuthenticatorMethodWebauthnRpIdPtrOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdPtrOutput { return o } -func (o UiSchemaUiSchemaElementOptionsPtrOutput) Elem() UiSchemaUiSchemaElementOptionsOutput { - return o.ApplyT(func(v *UiSchemaUiSchemaElementOptions) UiSchemaUiSchemaElementOptions { +func (o GetAuthenticatorMethodWebauthnRpIdPtrOutput) Elem() GetAuthenticatorMethodWebauthnRpIdOutput { + return o.ApplyT(func(v *GetAuthenticatorMethodWebauthnRpId) GetAuthenticatorMethodWebauthnRpId { if v != nil { return *v } - var ret UiSchemaUiSchemaElementOptions + var ret GetAuthenticatorMethodWebauthnRpId return ret - }).(UiSchemaUiSchemaElementOptionsOutput) + }).(GetAuthenticatorMethodWebauthnRpIdOutput) } -// Specifies how the input appears. -func (o UiSchemaUiSchemaElementOptionsPtrOutput) Format() pulumi.StringPtrOutput { - return o.ApplyT(func(v *UiSchemaUiSchemaElementOptions) *string { +// The RP domain configuration. Contains: +func (o GetAuthenticatorMethodWebauthnRpIdPtrOutput) Domain() GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return o.ApplyT(func(v *GetAuthenticatorMethodWebauthnRpId) *GetAuthenticatorMethodWebauthnRpIdDomain { if v == nil { return nil } - return v.Format - }).(pulumi.StringPtrOutput) + return v.Domain + }).(GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) } -type UserSchemaPropertyArrayOneOf struct { - // Value mapping to member of `arrayEnum` - Const string `pulumi:"const"` - // Display name for the enum value. - Title string `pulumi:"title"` +// Whether the RP ID is active and used for WebAuthn operations. +func (o GetAuthenticatorMethodWebauthnRpIdPtrOutput) Enabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetAuthenticatorMethodWebauthnRpId) *bool { + if v == nil { + return nil + } + return &v.Enabled + }).(pulumi.BoolPtrOutput) } -// UserSchemaPropertyArrayOneOfInput is an input type that accepts UserSchemaPropertyArrayOneOfArgs and UserSchemaPropertyArrayOneOfOutput values. -// You can construct a concrete instance of `UserSchemaPropertyArrayOneOfInput` via: +type GetAuthenticatorMethodWebauthnRpIdDomain struct { + // The name of the AAGUID group. + Name string `pulumi:"name"` + // The validation status of the domain. + ValidationStatus string `pulumi:"validationStatus"` +} + +// GetAuthenticatorMethodWebauthnRpIdDomainInput is an input type that accepts GetAuthenticatorMethodWebauthnRpIdDomainArgs and GetAuthenticatorMethodWebauthnRpIdDomainOutput values. +// You can construct a concrete instance of `GetAuthenticatorMethodWebauthnRpIdDomainInput` via: // -// UserSchemaPropertyArrayOneOfArgs{...} -type UserSchemaPropertyArrayOneOfInput interface { +// GetAuthenticatorMethodWebauthnRpIdDomainArgs{...} +type GetAuthenticatorMethodWebauthnRpIdDomainInput interface { pulumi.Input - ToUserSchemaPropertyArrayOneOfOutput() UserSchemaPropertyArrayOneOfOutput - ToUserSchemaPropertyArrayOneOfOutputWithContext(context.Context) UserSchemaPropertyArrayOneOfOutput + ToGetAuthenticatorMethodWebauthnRpIdDomainOutput() GetAuthenticatorMethodWebauthnRpIdDomainOutput + ToGetAuthenticatorMethodWebauthnRpIdDomainOutputWithContext(context.Context) GetAuthenticatorMethodWebauthnRpIdDomainOutput } -type UserSchemaPropertyArrayOneOfArgs struct { - // Value mapping to member of `arrayEnum` - Const pulumi.StringInput `pulumi:"const"` - // Display name for the enum value. - Title pulumi.StringInput `pulumi:"title"` +type GetAuthenticatorMethodWebauthnRpIdDomainArgs struct { + // The name of the AAGUID group. + Name pulumi.StringInput `pulumi:"name"` + // The validation status of the domain. + ValidationStatus pulumi.StringInput `pulumi:"validationStatus"` } -func (UserSchemaPropertyArrayOneOfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*UserSchemaPropertyArrayOneOf)(nil)).Elem() +func (GetAuthenticatorMethodWebauthnRpIdDomainArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorMethodWebauthnRpIdDomain)(nil)).Elem() } -func (i UserSchemaPropertyArrayOneOfArgs) ToUserSchemaPropertyArrayOneOfOutput() UserSchemaPropertyArrayOneOfOutput { - return i.ToUserSchemaPropertyArrayOneOfOutputWithContext(context.Background()) +func (i GetAuthenticatorMethodWebauthnRpIdDomainArgs) ToGetAuthenticatorMethodWebauthnRpIdDomainOutput() GetAuthenticatorMethodWebauthnRpIdDomainOutput { + return i.ToGetAuthenticatorMethodWebauthnRpIdDomainOutputWithContext(context.Background()) } -func (i UserSchemaPropertyArrayOneOfArgs) ToUserSchemaPropertyArrayOneOfOutputWithContext(ctx context.Context) UserSchemaPropertyArrayOneOfOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyArrayOneOfOutput) +func (i GetAuthenticatorMethodWebauthnRpIdDomainArgs) ToGetAuthenticatorMethodWebauthnRpIdDomainOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdDomainOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorMethodWebauthnRpIdDomainOutput) } -// UserSchemaPropertyArrayOneOfArrayInput is an input type that accepts UserSchemaPropertyArrayOneOfArray and UserSchemaPropertyArrayOneOfArrayOutput values. -// You can construct a concrete instance of `UserSchemaPropertyArrayOneOfArrayInput` via: +func (i GetAuthenticatorMethodWebauthnRpIdDomainArgs) ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutput() GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return i.ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(context.Background()) +} + +func (i GetAuthenticatorMethodWebauthnRpIdDomainArgs) ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorMethodWebauthnRpIdDomainOutput).ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx) +} + +// GetAuthenticatorMethodWebauthnRpIdDomainPtrInput is an input type that accepts GetAuthenticatorMethodWebauthnRpIdDomainArgs, GetAuthenticatorMethodWebauthnRpIdDomainPtr and GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput values. +// You can construct a concrete instance of `GetAuthenticatorMethodWebauthnRpIdDomainPtrInput` via: +// +// GetAuthenticatorMethodWebauthnRpIdDomainArgs{...} +// +// or: // -// UserSchemaPropertyArrayOneOfArray{ UserSchemaPropertyArrayOneOfArgs{...} } -type UserSchemaPropertyArrayOneOfArrayInput interface { +// nil +type GetAuthenticatorMethodWebauthnRpIdDomainPtrInput interface { pulumi.Input - ToUserSchemaPropertyArrayOneOfArrayOutput() UserSchemaPropertyArrayOneOfArrayOutput - ToUserSchemaPropertyArrayOneOfArrayOutputWithContext(context.Context) UserSchemaPropertyArrayOneOfArrayOutput + ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutput() GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput + ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(context.Context) GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput } -type UserSchemaPropertyArrayOneOfArray []UserSchemaPropertyArrayOneOfInput +type getAuthenticatorMethodWebauthnRpIdDomainPtrType GetAuthenticatorMethodWebauthnRpIdDomainArgs -func (UserSchemaPropertyArrayOneOfArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]UserSchemaPropertyArrayOneOf)(nil)).Elem() +func GetAuthenticatorMethodWebauthnRpIdDomainPtr(v *GetAuthenticatorMethodWebauthnRpIdDomainArgs) GetAuthenticatorMethodWebauthnRpIdDomainPtrInput { + return (*getAuthenticatorMethodWebauthnRpIdDomainPtrType)(v) } -func (i UserSchemaPropertyArrayOneOfArray) ToUserSchemaPropertyArrayOneOfArrayOutput() UserSchemaPropertyArrayOneOfArrayOutput { - return i.ToUserSchemaPropertyArrayOneOfArrayOutputWithContext(context.Background()) +func (*getAuthenticatorMethodWebauthnRpIdDomainPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthenticatorMethodWebauthnRpIdDomain)(nil)).Elem() } -func (i UserSchemaPropertyArrayOneOfArray) ToUserSchemaPropertyArrayOneOfArrayOutputWithContext(ctx context.Context) UserSchemaPropertyArrayOneOfArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyArrayOneOfArrayOutput) +func (i *getAuthenticatorMethodWebauthnRpIdDomainPtrType) ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutput() GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return i.ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(context.Background()) } -type UserSchemaPropertyArrayOneOfOutput struct{ *pulumi.OutputState } +func (i *getAuthenticatorMethodWebauthnRpIdDomainPtrType) ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) +} -func (UserSchemaPropertyArrayOneOfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UserSchemaPropertyArrayOneOf)(nil)).Elem() +type GetAuthenticatorMethodWebauthnRpIdDomainOutput struct{ *pulumi.OutputState } + +func (GetAuthenticatorMethodWebauthnRpIdDomainOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorMethodWebauthnRpIdDomain)(nil)).Elem() } -func (o UserSchemaPropertyArrayOneOfOutput) ToUserSchemaPropertyArrayOneOfOutput() UserSchemaPropertyArrayOneOfOutput { +func (o GetAuthenticatorMethodWebauthnRpIdDomainOutput) ToGetAuthenticatorMethodWebauthnRpIdDomainOutput() GetAuthenticatorMethodWebauthnRpIdDomainOutput { return o } -func (o UserSchemaPropertyArrayOneOfOutput) ToUserSchemaPropertyArrayOneOfOutputWithContext(ctx context.Context) UserSchemaPropertyArrayOneOfOutput { +func (o GetAuthenticatorMethodWebauthnRpIdDomainOutput) ToGetAuthenticatorMethodWebauthnRpIdDomainOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdDomainOutput { return o } -// Value mapping to member of `arrayEnum` -func (o UserSchemaPropertyArrayOneOfOutput) Const() pulumi.StringOutput { - return o.ApplyT(func(v UserSchemaPropertyArrayOneOf) string { return v.Const }).(pulumi.StringOutput) +func (o GetAuthenticatorMethodWebauthnRpIdDomainOutput) ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutput() GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return o.ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(context.Background()) } -// Display name for the enum value. -func (o UserSchemaPropertyArrayOneOfOutput) Title() pulumi.StringOutput { - return o.ApplyT(func(v UserSchemaPropertyArrayOneOf) string { return v.Title }).(pulumi.StringOutput) +func (o GetAuthenticatorMethodWebauthnRpIdDomainOutput) ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthenticatorMethodWebauthnRpIdDomain) *GetAuthenticatorMethodWebauthnRpIdDomain { + return &v + }).(GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) } -type UserSchemaPropertyArrayOneOfArrayOutput struct{ *pulumi.OutputState } +// The name of the AAGUID group. +func (o GetAuthenticatorMethodWebauthnRpIdDomainOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthenticatorMethodWebauthnRpIdDomain) string { return v.Name }).(pulumi.StringOutput) +} -func (UserSchemaPropertyArrayOneOfArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]UserSchemaPropertyArrayOneOf)(nil)).Elem() +// The validation status of the domain. +func (o GetAuthenticatorMethodWebauthnRpIdDomainOutput) ValidationStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthenticatorMethodWebauthnRpIdDomain) string { return v.ValidationStatus }).(pulumi.StringOutput) } -func (o UserSchemaPropertyArrayOneOfArrayOutput) ToUserSchemaPropertyArrayOneOfArrayOutput() UserSchemaPropertyArrayOneOfArrayOutput { +type GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput struct{ *pulumi.OutputState } + +func (GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthenticatorMethodWebauthnRpIdDomain)(nil)).Elem() +} + +func (o GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutput() GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { return o } -func (o UserSchemaPropertyArrayOneOfArrayOutput) ToUserSchemaPropertyArrayOneOfArrayOutputWithContext(ctx context.Context) UserSchemaPropertyArrayOneOfArrayOutput { +func (o GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) ToGetAuthenticatorMethodWebauthnRpIdDomainPtrOutputWithContext(ctx context.Context) GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput { return o } -func (o UserSchemaPropertyArrayOneOfArrayOutput) Index(i pulumi.IntInput) UserSchemaPropertyArrayOneOfOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserSchemaPropertyArrayOneOf { - return vs[0].([]UserSchemaPropertyArrayOneOf)[vs[1].(int)] - }).(UserSchemaPropertyArrayOneOfOutput) +func (o GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) Elem() GetAuthenticatorMethodWebauthnRpIdDomainOutput { + return o.ApplyT(func(v *GetAuthenticatorMethodWebauthnRpIdDomain) GetAuthenticatorMethodWebauthnRpIdDomain { + if v != nil { + return *v + } + var ret GetAuthenticatorMethodWebauthnRpIdDomain + return ret + }).(GetAuthenticatorMethodWebauthnRpIdDomainOutput) } -type UserSchemaPropertyMasterOverridePriority struct { - Type *string `pulumi:"type"` - Value string `pulumi:"value"` +// The name of the AAGUID group. +func (o GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAuthenticatorMethodWebauthnRpIdDomain) *string { + if v == nil { + return nil + } + return &v.Name + }).(pulumi.StringPtrOutput) } -// UserSchemaPropertyMasterOverridePriorityInput is an input type that accepts UserSchemaPropertyMasterOverridePriorityArgs and UserSchemaPropertyMasterOverridePriorityOutput values. -// You can construct a concrete instance of `UserSchemaPropertyMasterOverridePriorityInput` via: +// The validation status of the domain. +func (o GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput) ValidationStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAuthenticatorMethodWebauthnRpIdDomain) *string { + if v == nil { + return nil + } + return &v.ValidationStatus + }).(pulumi.StringPtrOutput) +} + +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguid struct { + // The AAGUID identifier. + Aaguid string `pulumi:"aaguid"` + // Properties of the custom AAGUID authenticator. + AuthenticatorCharacteristics *GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics `pulumi:"authenticatorCharacteristics"` + // The product name associated with the AAGUID. + Name string `pulumi:"name"` +} + +// GetAuthenticatorWebauthnCustomAaguidsCustomAaguidInput is an input type that accepts GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs and GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput values. +// You can construct a concrete instance of `GetAuthenticatorWebauthnCustomAaguidsCustomAaguidInput` via: // -// UserSchemaPropertyMasterOverridePriorityArgs{...} -type UserSchemaPropertyMasterOverridePriorityInput interface { +// GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs{...} +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidInput interface { pulumi.Input - ToUserSchemaPropertyMasterOverridePriorityOutput() UserSchemaPropertyMasterOverridePriorityOutput - ToUserSchemaPropertyMasterOverridePriorityOutputWithContext(context.Context) UserSchemaPropertyMasterOverridePriorityOutput + ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput + ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutputWithContext(context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput } -type UserSchemaPropertyMasterOverridePriorityArgs struct { - Type pulumi.StringPtrInput `pulumi:"type"` - Value pulumi.StringInput `pulumi:"value"` +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs struct { + // The AAGUID identifier. + Aaguid pulumi.StringInput `pulumi:"aaguid"` + // Properties of the custom AAGUID authenticator. + AuthenticatorCharacteristics GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrInput `pulumi:"authenticatorCharacteristics"` + // The product name associated with the AAGUID. + Name pulumi.StringInput `pulumi:"name"` } -func (UserSchemaPropertyMasterOverridePriorityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*UserSchemaPropertyMasterOverridePriority)(nil)).Elem() +func (GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsCustomAaguid)(nil)).Elem() } -func (i UserSchemaPropertyMasterOverridePriorityArgs) ToUserSchemaPropertyMasterOverridePriorityOutput() UserSchemaPropertyMasterOverridePriorityOutput { - return i.ToUserSchemaPropertyMasterOverridePriorityOutputWithContext(context.Background()) +func (i GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput { + return i.ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutputWithContext(context.Background()) } -func (i UserSchemaPropertyMasterOverridePriorityArgs) ToUserSchemaPropertyMasterOverridePriorityOutputWithContext(ctx context.Context) UserSchemaPropertyMasterOverridePriorityOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyMasterOverridePriorityOutput) +func (i GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput) } -// UserSchemaPropertyMasterOverridePriorityArrayInput is an input type that accepts UserSchemaPropertyMasterOverridePriorityArray and UserSchemaPropertyMasterOverridePriorityArrayOutput values. -// You can construct a concrete instance of `UserSchemaPropertyMasterOverridePriorityArrayInput` via: +// GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayInput is an input type that accepts GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArray and GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput values. +// You can construct a concrete instance of `GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayInput` via: // -// UserSchemaPropertyMasterOverridePriorityArray{ UserSchemaPropertyMasterOverridePriorityArgs{...} } -type UserSchemaPropertyMasterOverridePriorityArrayInput interface { +// GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArray{ GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs{...} } +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayInput interface { pulumi.Input - ToUserSchemaPropertyMasterOverridePriorityArrayOutput() UserSchemaPropertyMasterOverridePriorityArrayOutput - ToUserSchemaPropertyMasterOverridePriorityArrayOutputWithContext(context.Context) UserSchemaPropertyMasterOverridePriorityArrayOutput + ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput + ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutputWithContext(context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput } -type UserSchemaPropertyMasterOverridePriorityArray []UserSchemaPropertyMasterOverridePriorityInput +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArray []GetAuthenticatorWebauthnCustomAaguidsCustomAaguidInput -func (UserSchemaPropertyMasterOverridePriorityArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]UserSchemaPropertyMasterOverridePriority)(nil)).Elem() +func (GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAuthenticatorWebauthnCustomAaguidsCustomAaguid)(nil)).Elem() } -func (i UserSchemaPropertyMasterOverridePriorityArray) ToUserSchemaPropertyMasterOverridePriorityArrayOutput() UserSchemaPropertyMasterOverridePriorityArrayOutput { - return i.ToUserSchemaPropertyMasterOverridePriorityArrayOutputWithContext(context.Background()) +func (i GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArray) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput { + return i.ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutputWithContext(context.Background()) } -func (i UserSchemaPropertyMasterOverridePriorityArray) ToUserSchemaPropertyMasterOverridePriorityArrayOutputWithContext(ctx context.Context) UserSchemaPropertyMasterOverridePriorityArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyMasterOverridePriorityArrayOutput) +func (i GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArray) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput) } -type UserSchemaPropertyMasterOverridePriorityOutput struct{ *pulumi.OutputState } +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput struct{ *pulumi.OutputState } -func (UserSchemaPropertyMasterOverridePriorityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UserSchemaPropertyMasterOverridePriority)(nil)).Elem() +func (GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsCustomAaguid)(nil)).Elem() } -func (o UserSchemaPropertyMasterOverridePriorityOutput) ToUserSchemaPropertyMasterOverridePriorityOutput() UserSchemaPropertyMasterOverridePriorityOutput { +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput { return o } -func (o UserSchemaPropertyMasterOverridePriorityOutput) ToUserSchemaPropertyMasterOverridePriorityOutputWithContext(ctx context.Context) UserSchemaPropertyMasterOverridePriorityOutput { +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput { return o } -func (o UserSchemaPropertyMasterOverridePriorityOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v UserSchemaPropertyMasterOverridePriority) *string { return v.Type }).(pulumi.StringPtrOutput) +// The AAGUID identifier. +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput) Aaguid() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthenticatorWebauthnCustomAaguidsCustomAaguid) string { return v.Aaguid }).(pulumi.StringOutput) } -func (o UserSchemaPropertyMasterOverridePriorityOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v UserSchemaPropertyMasterOverridePriority) string { return v.Value }).(pulumi.StringOutput) +// Properties of the custom AAGUID authenticator. +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput) AuthenticatorCharacteristics() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return o.ApplyT(func(v GetAuthenticatorWebauthnCustomAaguidsCustomAaguid) *GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics { + return v.AuthenticatorCharacteristics + }).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) } -type UserSchemaPropertyMasterOverridePriorityArrayOutput struct{ *pulumi.OutputState } +// The product name associated with the AAGUID. +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthenticatorWebauthnCustomAaguidsCustomAaguid) string { return v.Name }).(pulumi.StringOutput) +} -func (UserSchemaPropertyMasterOverridePriorityArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]UserSchemaPropertyMasterOverridePriority)(nil)).Elem() +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput struct{ *pulumi.OutputState } + +func (GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAuthenticatorWebauthnCustomAaguidsCustomAaguid)(nil)).Elem() } -func (o UserSchemaPropertyMasterOverridePriorityArrayOutput) ToUserSchemaPropertyMasterOverridePriorityArrayOutput() UserSchemaPropertyMasterOverridePriorityArrayOutput { +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput { return o } -func (o UserSchemaPropertyMasterOverridePriorityArrayOutput) ToUserSchemaPropertyMasterOverridePriorityArrayOutputWithContext(ctx context.Context) UserSchemaPropertyMasterOverridePriorityArrayOutput { +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput { return o } -func (o UserSchemaPropertyMasterOverridePriorityArrayOutput) Index(i pulumi.IntInput) UserSchemaPropertyMasterOverridePriorityOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserSchemaPropertyMasterOverridePriority { - return vs[0].([]UserSchemaPropertyMasterOverridePriority)[vs[1].(int)] - }).(UserSchemaPropertyMasterOverridePriorityOutput) +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput) Index(i pulumi.IntInput) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAuthenticatorWebauthnCustomAaguidsCustomAaguid { + return vs[0].([]GetAuthenticatorWebauthnCustomAaguidsCustomAaguid)[vs[1].(int)] + }).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput) } -type UserSchemaPropertyOneOf struct { - // Enum value - Const string `pulumi:"const"` - // Enum title - Title string `pulumi:"title"` +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics struct { + // Whether the authenticator meets FIPS compliance requirements. + FipsCompliant bool `pulumi:"fipsCompliant"` + // Whether the authenticator stores the private key on hardware. + HardwareProtected bool `pulumi:"hardwareProtected"` + // Whether the AAGUID is built into the authenticator or is external. + PlatformAttached bool `pulumi:"platformAttached"` } -// UserSchemaPropertyOneOfInput is an input type that accepts UserSchemaPropertyOneOfArgs and UserSchemaPropertyOneOfOutput values. -// You can construct a concrete instance of `UserSchemaPropertyOneOfInput` via: +// GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsInput is an input type that accepts GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs and GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput values. +// You can construct a concrete instance of `GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsInput` via: // -// UserSchemaPropertyOneOfArgs{...} -type UserSchemaPropertyOneOfInput interface { +// GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs{...} +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsInput interface { pulumi.Input - ToUserSchemaPropertyOneOfOutput() UserSchemaPropertyOneOfOutput - ToUserSchemaPropertyOneOfOutputWithContext(context.Context) UserSchemaPropertyOneOfOutput + ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput + ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutputWithContext(context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput } -type UserSchemaPropertyOneOfArgs struct { - // Enum value - Const pulumi.StringInput `pulumi:"const"` - // Enum title - Title pulumi.StringInput `pulumi:"title"` +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs struct { + // Whether the authenticator meets FIPS compliance requirements. + FipsCompliant pulumi.BoolInput `pulumi:"fipsCompliant"` + // Whether the authenticator stores the private key on hardware. + HardwareProtected pulumi.BoolInput `pulumi:"hardwareProtected"` + // Whether the AAGUID is built into the authenticator or is external. + PlatformAttached pulumi.BoolInput `pulumi:"platformAttached"` } -func (UserSchemaPropertyOneOfArgs) ElementType() reflect.Type { - return reflect.TypeOf((*UserSchemaPropertyOneOf)(nil)).Elem() +func (GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics)(nil)).Elem() } -func (i UserSchemaPropertyOneOfArgs) ToUserSchemaPropertyOneOfOutput() UserSchemaPropertyOneOfOutput { - return i.ToUserSchemaPropertyOneOfOutputWithContext(context.Background()) +func (i GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput { + return i.ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutputWithContext(context.Background()) } -func (i UserSchemaPropertyOneOfArgs) ToUserSchemaPropertyOneOfOutputWithContext(ctx context.Context) UserSchemaPropertyOneOfOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyOneOfOutput) +func (i GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) } -// UserSchemaPropertyOneOfArrayInput is an input type that accepts UserSchemaPropertyOneOfArray and UserSchemaPropertyOneOfArrayOutput values. -// You can construct a concrete instance of `UserSchemaPropertyOneOfArrayInput` via: +func (i GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return i.ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(context.Background()) +} + +func (i GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput).ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx) +} + +// GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrInput is an input type that accepts GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs, GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtr and GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput values. +// You can construct a concrete instance of `GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrInput` via: // -// UserSchemaPropertyOneOfArray{ UserSchemaPropertyOneOfArgs{...} } -type UserSchemaPropertyOneOfArrayInput interface { +// GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs{...} +// +// or: +// +// nil +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrInput interface { pulumi.Input - ToUserSchemaPropertyOneOfArrayOutput() UserSchemaPropertyOneOfArrayOutput - ToUserSchemaPropertyOneOfArrayOutputWithContext(context.Context) UserSchemaPropertyOneOfArrayOutput + ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput + ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput } -type UserSchemaPropertyOneOfArray []UserSchemaPropertyOneOfInput +type getAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrType GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs -func (UserSchemaPropertyOneOfArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]UserSchemaPropertyOneOf)(nil)).Elem() +func GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtr(v *GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrInput { + return (*getAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrType)(v) } -func (i UserSchemaPropertyOneOfArray) ToUserSchemaPropertyOneOfArrayOutput() UserSchemaPropertyOneOfArrayOutput { - return i.ToUserSchemaPropertyOneOfArrayOutputWithContext(context.Background()) +func (*getAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics)(nil)).Elem() } -func (i UserSchemaPropertyOneOfArray) ToUserSchemaPropertyOneOfArrayOutputWithContext(ctx context.Context) UserSchemaPropertyOneOfArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(UserSchemaPropertyOneOfArrayOutput) +func (i *getAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrType) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return i.ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(context.Background()) } -type UserSchemaPropertyOneOfOutput struct{ *pulumi.OutputState } +func (i *getAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrType) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) +} -func (UserSchemaPropertyOneOfOutput) ElementType() reflect.Type { - return reflect.TypeOf((*UserSchemaPropertyOneOf)(nil)).Elem() +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput struct{ *pulumi.OutputState } + +func (GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics)(nil)).Elem() } -func (o UserSchemaPropertyOneOfOutput) ToUserSchemaPropertyOneOfOutput() UserSchemaPropertyOneOfOutput { +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput { return o } -func (o UserSchemaPropertyOneOfOutput) ToUserSchemaPropertyOneOfOutputWithContext(ctx context.Context) UserSchemaPropertyOneOfOutput { +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput { return o } -// Enum value -func (o UserSchemaPropertyOneOfOutput) Const() pulumi.StringOutput { - return o.ApplyT(func(v UserSchemaPropertyOneOf) string { return v.Const }).(pulumi.StringOutput) +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return o.ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(context.Background()) } -// Enum title -func (o UserSchemaPropertyOneOfOutput) Title() pulumi.StringOutput { - return o.ApplyT(func(v UserSchemaPropertyOneOf) string { return v.Title }).(pulumi.StringOutput) +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics) *GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics { + return &v + }).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) } -type UserSchemaPropertyOneOfArrayOutput struct{ *pulumi.OutputState } - -func (UserSchemaPropertyOneOfArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]UserSchemaPropertyOneOf)(nil)).Elem() +// Whether the authenticator meets FIPS compliance requirements. +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) FipsCompliant() pulumi.BoolOutput { + return o.ApplyT(func(v GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics) bool { + return v.FipsCompliant + }).(pulumi.BoolOutput) } -func (o UserSchemaPropertyOneOfArrayOutput) ToUserSchemaPropertyOneOfArrayOutput() UserSchemaPropertyOneOfArrayOutput { - return o +// Whether the authenticator stores the private key on hardware. +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) HardwareProtected() pulumi.BoolOutput { + return o.ApplyT(func(v GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics) bool { + return v.HardwareProtected + }).(pulumi.BoolOutput) } -func (o UserSchemaPropertyOneOfArrayOutput) ToUserSchemaPropertyOneOfArrayOutputWithContext(ctx context.Context) UserSchemaPropertyOneOfArrayOutput { - return o +// Whether the AAGUID is built into the authenticator or is external. +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) PlatformAttached() pulumi.BoolOutput { + return o.ApplyT(func(v GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics) bool { + return v.PlatformAttached + }).(pulumi.BoolOutput) } -func (o UserSchemaPropertyOneOfArrayOutput) Index(i pulumi.IntInput) UserSchemaPropertyOneOfOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) UserSchemaPropertyOneOf { - return vs[0].([]UserSchemaPropertyOneOf)[vs[1].(int)] - }).(UserSchemaPropertyOneOfOutput) +type GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput struct{ *pulumi.OutputState } + +func (GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics)(nil)).Elem() } -type GetAgentPoolUpdateAgent struct { - // The unique identifier of the agent. - Id string `pulumi:"id"` - // Determines if an agent is hidden from the Admin Console. - IsHidden bool `pulumi:"isHidden"` - // Determines if the agent is on the latest generally available version. - IsLatestGaedVersion bool `pulumi:"isLatestGaedVersion"` - // Timestamp when the agent last connected to Okta. - LastConnection int `pulumi:"lastConnection"` - // The name of the agent. - Name string `pulumi:"name"` - // Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). - OperationalStatus string `pulumi:"operationalStatus"` - // Pool ID. - PoolId string `pulumi:"poolId"` - // Agent types that are being monitored. - Type string `pulumi:"type"` - // Status message of the agent. - UpdateMessage string `pulumi:"updateMessage"` - // Status for one agent regarding the status to auto-update that agent. - UpdateStatus string `pulumi:"updateStatus"` - // Agent version number. - Version string `pulumi:"version"` +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return o } -// GetAgentPoolUpdateAgentInput is an input type that accepts GetAgentPoolUpdateAgentArgs and GetAgentPoolUpdateAgentOutput values. -// You can construct a concrete instance of `GetAgentPoolUpdateAgentInput` via: -// -// GetAgentPoolUpdateAgentArgs{...} -type GetAgentPoolUpdateAgentInput interface { - pulumi.Input +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) ToGetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutputWithContext(ctx context.Context) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput { + return o +} - ToGetAgentPoolUpdateAgentOutput() GetAgentPoolUpdateAgentOutput - ToGetAgentPoolUpdateAgentOutputWithContext(context.Context) GetAgentPoolUpdateAgentOutput +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) Elem() GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput { + return o.ApplyT(func(v *GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics) GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics { + if v != nil { + return *v + } + var ret GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics + return ret + }).(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput) } -type GetAgentPoolUpdateAgentArgs struct { - // The unique identifier of the agent. - Id pulumi.StringInput `pulumi:"id"` - // Determines if an agent is hidden from the Admin Console. - IsHidden pulumi.BoolInput `pulumi:"isHidden"` - // Determines if the agent is on the latest generally available version. - IsLatestGaedVersion pulumi.BoolInput `pulumi:"isLatestGaedVersion"` - // Timestamp when the agent last connected to Okta. - LastConnection pulumi.IntInput `pulumi:"lastConnection"` - // The name of the agent. - Name pulumi.StringInput `pulumi:"name"` - // Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). - OperationalStatus pulumi.StringInput `pulumi:"operationalStatus"` - // Pool ID. - PoolId pulumi.StringInput `pulumi:"poolId"` - // Agent types that are being monitored. - Type pulumi.StringInput `pulumi:"type"` - // Status message of the agent. - UpdateMessage pulumi.StringInput `pulumi:"updateMessage"` - // Status for one agent regarding the status to auto-update that agent. - UpdateStatus pulumi.StringInput `pulumi:"updateStatus"` - // Agent version number. - Version pulumi.StringInput `pulumi:"version"` +// Whether the authenticator meets FIPS compliance requirements. +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) FipsCompliant() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics) *bool { + if v == nil { + return nil + } + return &v.FipsCompliant + }).(pulumi.BoolPtrOutput) } -func (GetAgentPoolUpdateAgentArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAgentPoolUpdateAgent)(nil)).Elem() +// Whether the authenticator stores the private key on hardware. +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) HardwareProtected() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics) *bool { + if v == nil { + return nil + } + return &v.HardwareProtected + }).(pulumi.BoolPtrOutput) } -func (i GetAgentPoolUpdateAgentArgs) ToGetAgentPoolUpdateAgentOutput() GetAgentPoolUpdateAgentOutput { - return i.ToGetAgentPoolUpdateAgentOutputWithContext(context.Background()) +// Whether the AAGUID is built into the authenticator or is external. +func (o GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput) PlatformAttached() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics) *bool { + if v == nil { + return nil + } + return &v.PlatformAttached + }).(pulumi.BoolPtrOutput) } -func (i GetAgentPoolUpdateAgentArgs) ToGetAgentPoolUpdateAgentOutputWithContext(ctx context.Context) GetAgentPoolUpdateAgentOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateAgentOutput) +type GetAuthorizationServersPoliciesRuleActions struct { + // Token + Token *GetAuthorizationServersPoliciesRuleActionsToken `pulumi:"token"` } -// GetAgentPoolUpdateAgentArrayInput is an input type that accepts GetAgentPoolUpdateAgentArray and GetAgentPoolUpdateAgentArrayOutput values. -// You can construct a concrete instance of `GetAgentPoolUpdateAgentArrayInput` via: +// GetAuthorizationServersPoliciesRuleActionsInput is an input type that accepts GetAuthorizationServersPoliciesRuleActionsArgs and GetAuthorizationServersPoliciesRuleActionsOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleActionsInput` via: // -// GetAgentPoolUpdateAgentArray{ GetAgentPoolUpdateAgentArgs{...} } -type GetAgentPoolUpdateAgentArrayInput interface { +// GetAuthorizationServersPoliciesRuleActionsArgs{...} +type GetAuthorizationServersPoliciesRuleActionsInput interface { pulumi.Input - ToGetAgentPoolUpdateAgentArrayOutput() GetAgentPoolUpdateAgentArrayOutput - ToGetAgentPoolUpdateAgentArrayOutputWithContext(context.Context) GetAgentPoolUpdateAgentArrayOutput + ToGetAuthorizationServersPoliciesRuleActionsOutput() GetAuthorizationServersPoliciesRuleActionsOutput + ToGetAuthorizationServersPoliciesRuleActionsOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleActionsOutput } -type GetAgentPoolUpdateAgentArray []GetAgentPoolUpdateAgentInput - -func (GetAgentPoolUpdateAgentArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAgentPoolUpdateAgent)(nil)).Elem() +type GetAuthorizationServersPoliciesRuleActionsArgs struct { + // Token + Token GetAuthorizationServersPoliciesRuleActionsTokenPtrInput `pulumi:"token"` } -func (i GetAgentPoolUpdateAgentArray) ToGetAgentPoolUpdateAgentArrayOutput() GetAgentPoolUpdateAgentArrayOutput { - return i.ToGetAgentPoolUpdateAgentArrayOutputWithContext(context.Background()) +func (GetAuthorizationServersPoliciesRuleActionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActions)(nil)).Elem() } -func (i GetAgentPoolUpdateAgentArray) ToGetAgentPoolUpdateAgentArrayOutputWithContext(ctx context.Context) GetAgentPoolUpdateAgentArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateAgentArrayOutput) +func (i GetAuthorizationServersPoliciesRuleActionsArgs) ToGetAuthorizationServersPoliciesRuleActionsOutput() GetAuthorizationServersPoliciesRuleActionsOutput { + return i.ToGetAuthorizationServersPoliciesRuleActionsOutputWithContext(context.Background()) } -type GetAgentPoolUpdateAgentOutput struct{ *pulumi.OutputState } - -func (GetAgentPoolUpdateAgentOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAgentPoolUpdateAgent)(nil)).Elem() +func (i GetAuthorizationServersPoliciesRuleActionsArgs) ToGetAuthorizationServersPoliciesRuleActionsOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleActionsOutput) } -func (o GetAgentPoolUpdateAgentOutput) ToGetAgentPoolUpdateAgentOutput() GetAgentPoolUpdateAgentOutput { - return o +func (i GetAuthorizationServersPoliciesRuleActionsArgs) ToGetAuthorizationServersPoliciesRuleActionsPtrOutput() GetAuthorizationServersPoliciesRuleActionsPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleActionsPtrOutputWithContext(context.Background()) } -func (o GetAgentPoolUpdateAgentOutput) ToGetAgentPoolUpdateAgentOutputWithContext(ctx context.Context) GetAgentPoolUpdateAgentOutput { - return o +func (i GetAuthorizationServersPoliciesRuleActionsArgs) ToGetAuthorizationServersPoliciesRuleActionsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleActionsOutput).ToGetAuthorizationServersPoliciesRuleActionsPtrOutputWithContext(ctx) } -// The unique identifier of the agent. -func (o GetAgentPoolUpdateAgentOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.Id }).(pulumi.StringOutput) +// GetAuthorizationServersPoliciesRuleActionsPtrInput is an input type that accepts GetAuthorizationServersPoliciesRuleActionsArgs, GetAuthorizationServersPoliciesRuleActionsPtr and GetAuthorizationServersPoliciesRuleActionsPtrOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleActionsPtrInput` via: +// +// GetAuthorizationServersPoliciesRuleActionsArgs{...} +// +// or: +// +// nil +type GetAuthorizationServersPoliciesRuleActionsPtrInput interface { + pulumi.Input + + ToGetAuthorizationServersPoliciesRuleActionsPtrOutput() GetAuthorizationServersPoliciesRuleActionsPtrOutput + ToGetAuthorizationServersPoliciesRuleActionsPtrOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleActionsPtrOutput } -// Determines if an agent is hidden from the Admin Console. -func (o GetAgentPoolUpdateAgentOutput) IsHidden() pulumi.BoolOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) bool { return v.IsHidden }).(pulumi.BoolOutput) +type getAuthorizationServersPoliciesRuleActionsPtrType GetAuthorizationServersPoliciesRuleActionsArgs + +func GetAuthorizationServersPoliciesRuleActionsPtr(v *GetAuthorizationServersPoliciesRuleActionsArgs) GetAuthorizationServersPoliciesRuleActionsPtrInput { + return (*getAuthorizationServersPoliciesRuleActionsPtrType)(v) } -// Determines if the agent is on the latest generally available version. -func (o GetAgentPoolUpdateAgentOutput) IsLatestGaedVersion() pulumi.BoolOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) bool { return v.IsLatestGaedVersion }).(pulumi.BoolOutput) +func (*getAuthorizationServersPoliciesRuleActionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleActions)(nil)).Elem() } -// Timestamp when the agent last connected to Okta. -func (o GetAgentPoolUpdateAgentOutput) LastConnection() pulumi.IntOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) int { return v.LastConnection }).(pulumi.IntOutput) +func (i *getAuthorizationServersPoliciesRuleActionsPtrType) ToGetAuthorizationServersPoliciesRuleActionsPtrOutput() GetAuthorizationServersPoliciesRuleActionsPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleActionsPtrOutputWithContext(context.Background()) } -// The name of the agent. -func (o GetAgentPoolUpdateAgentOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.Name }).(pulumi.StringOutput) +func (i *getAuthorizationServersPoliciesRuleActionsPtrType) ToGetAuthorizationServersPoliciesRuleActionsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleActionsPtrOutput) } -// Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). -func (o GetAgentPoolUpdateAgentOutput) OperationalStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.OperationalStatus }).(pulumi.StringOutput) +type GetAuthorizationServersPoliciesRuleActionsOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleActionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActions)(nil)).Elem() } -// Pool ID. -func (o GetAgentPoolUpdateAgentOutput) PoolId() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.PoolId }).(pulumi.StringOutput) +func (o GetAuthorizationServersPoliciesRuleActionsOutput) ToGetAuthorizationServersPoliciesRuleActionsOutput() GetAuthorizationServersPoliciesRuleActionsOutput { + return o } -// Agent types that are being monitored. -func (o GetAgentPoolUpdateAgentOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.Type }).(pulumi.StringOutput) +func (o GetAuthorizationServersPoliciesRuleActionsOutput) ToGetAuthorizationServersPoliciesRuleActionsOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsOutput { + return o } -// Status message of the agent. -func (o GetAgentPoolUpdateAgentOutput) UpdateMessage() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.UpdateMessage }).(pulumi.StringOutput) +func (o GetAuthorizationServersPoliciesRuleActionsOutput) ToGetAuthorizationServersPoliciesRuleActionsPtrOutput() GetAuthorizationServersPoliciesRuleActionsPtrOutput { + return o.ToGetAuthorizationServersPoliciesRuleActionsPtrOutputWithContext(context.Background()) } -// Status for one agent regarding the status to auto-update that agent. -func (o GetAgentPoolUpdateAgentOutput) UpdateStatus() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.UpdateStatus }).(pulumi.StringOutput) +func (o GetAuthorizationServersPoliciesRuleActionsOutput) ToGetAuthorizationServersPoliciesRuleActionsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthorizationServersPoliciesRuleActions) *GetAuthorizationServersPoliciesRuleActions { + return &v + }).(GetAuthorizationServersPoliciesRuleActionsPtrOutput) } -// Agent version number. -func (o GetAgentPoolUpdateAgentOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateAgent) string { return v.Version }).(pulumi.StringOutput) +// Token +func (o GetAuthorizationServersPoliciesRuleActionsOutput) Token() GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleActions) *GetAuthorizationServersPoliciesRuleActionsToken { + return v.Token + }).(GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) } -type GetAgentPoolUpdateAgentArrayOutput struct{ *pulumi.OutputState } +type GetAuthorizationServersPoliciesRuleActionsPtrOutput struct{ *pulumi.OutputState } -func (GetAgentPoolUpdateAgentArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAgentPoolUpdateAgent)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleActionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleActions)(nil)).Elem() } -func (o GetAgentPoolUpdateAgentArrayOutput) ToGetAgentPoolUpdateAgentArrayOutput() GetAgentPoolUpdateAgentArrayOutput { +func (o GetAuthorizationServersPoliciesRuleActionsPtrOutput) ToGetAuthorizationServersPoliciesRuleActionsPtrOutput() GetAuthorizationServersPoliciesRuleActionsPtrOutput { return o } -func (o GetAgentPoolUpdateAgentArrayOutput) ToGetAgentPoolUpdateAgentArrayOutputWithContext(ctx context.Context) GetAgentPoolUpdateAgentArrayOutput { +func (o GetAuthorizationServersPoliciesRuleActionsPtrOutput) ToGetAuthorizationServersPoliciesRuleActionsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsPtrOutput { return o } -func (o GetAgentPoolUpdateAgentArrayOutput) Index(i pulumi.IntInput) GetAgentPoolUpdateAgentOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAgentPoolUpdateAgent { - return vs[0].([]GetAgentPoolUpdateAgent)[vs[1].(int)] - }).(GetAgentPoolUpdateAgentOutput) +func (o GetAuthorizationServersPoliciesRuleActionsPtrOutput) Elem() GetAuthorizationServersPoliciesRuleActionsOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleActions) GetAuthorizationServersPoliciesRuleActions { + if v != nil { + return *v + } + var ret GetAuthorizationServersPoliciesRuleActions + return ret + }).(GetAuthorizationServersPoliciesRuleActionsOutput) } -type GetAgentPoolUpdateSchedule struct { - // The schedule of the update in cron format. - Cron string `pulumi:"cron"` - // Delay in days. - Delay int `pulumi:"delay"` - // Duration in minutes. - Duration int `pulumi:"duration"` - // Timestamp when the update finished. - LastUpdated string `pulumi:"lastUpdated"` - // Timezone of where the scheduled job takes place. - Timezone string `pulumi:"timezone"` +// Token +func (o GetAuthorizationServersPoliciesRuleActionsPtrOutput) Token() GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleActions) *GetAuthorizationServersPoliciesRuleActionsToken { + if v == nil { + return nil + } + return v.Token + }).(GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) } -// GetAgentPoolUpdateScheduleInput is an input type that accepts GetAgentPoolUpdateScheduleArgs and GetAgentPoolUpdateScheduleOutput values. -// You can construct a concrete instance of `GetAgentPoolUpdateScheduleInput` via: +type GetAuthorizationServersPoliciesRuleActionsToken struct { + // Lifetime of the access token in minutes. + AccessTokenLifetimeMinutes int `pulumi:"accessTokenLifetimeMinutes"` + // InlineHook + InlineHook *GetAuthorizationServersPoliciesRuleActionsTokenInlineHook `pulumi:"inlineHook"` + // Lifetime of the refresh token is the minimum access token lifetime. + RefreshTokenLifetimeMinutes int `pulumi:"refreshTokenLifetimeMinutes"` + // Timeframe when the refresh token is valid. + RefreshTokenWindowMinutes int `pulumi:"refreshTokenWindowMinutes"` +} + +// GetAuthorizationServersPoliciesRuleActionsTokenInput is an input type that accepts GetAuthorizationServersPoliciesRuleActionsTokenArgs and GetAuthorizationServersPoliciesRuleActionsTokenOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleActionsTokenInput` via: // -// GetAgentPoolUpdateScheduleArgs{...} -type GetAgentPoolUpdateScheduleInput interface { +// GetAuthorizationServersPoliciesRuleActionsTokenArgs{...} +type GetAuthorizationServersPoliciesRuleActionsTokenInput interface { pulumi.Input - ToGetAgentPoolUpdateScheduleOutput() GetAgentPoolUpdateScheduleOutput - ToGetAgentPoolUpdateScheduleOutputWithContext(context.Context) GetAgentPoolUpdateScheduleOutput + ToGetAuthorizationServersPoliciesRuleActionsTokenOutput() GetAuthorizationServersPoliciesRuleActionsTokenOutput + ToGetAuthorizationServersPoliciesRuleActionsTokenOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleActionsTokenOutput } -type GetAgentPoolUpdateScheduleArgs struct { - // The schedule of the update in cron format. - Cron pulumi.StringInput `pulumi:"cron"` - // Delay in days. - Delay pulumi.IntInput `pulumi:"delay"` - // Duration in minutes. - Duration pulumi.IntInput `pulumi:"duration"` - // Timestamp when the update finished. - LastUpdated pulumi.StringInput `pulumi:"lastUpdated"` - // Timezone of where the scheduled job takes place. - Timezone pulumi.StringInput `pulumi:"timezone"` +type GetAuthorizationServersPoliciesRuleActionsTokenArgs struct { + // Lifetime of the access token in minutes. + AccessTokenLifetimeMinutes pulumi.IntInput `pulumi:"accessTokenLifetimeMinutes"` + // InlineHook + InlineHook GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrInput `pulumi:"inlineHook"` + // Lifetime of the refresh token is the minimum access token lifetime. + RefreshTokenLifetimeMinutes pulumi.IntInput `pulumi:"refreshTokenLifetimeMinutes"` + // Timeframe when the refresh token is valid. + RefreshTokenWindowMinutes pulumi.IntInput `pulumi:"refreshTokenWindowMinutes"` } -func (GetAgentPoolUpdateScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAgentPoolUpdateSchedule)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleActionsTokenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsToken)(nil)).Elem() } -func (i GetAgentPoolUpdateScheduleArgs) ToGetAgentPoolUpdateScheduleOutput() GetAgentPoolUpdateScheduleOutput { - return i.ToGetAgentPoolUpdateScheduleOutputWithContext(context.Background()) +func (i GetAuthorizationServersPoliciesRuleActionsTokenArgs) ToGetAuthorizationServersPoliciesRuleActionsTokenOutput() GetAuthorizationServersPoliciesRuleActionsTokenOutput { + return i.ToGetAuthorizationServersPoliciesRuleActionsTokenOutputWithContext(context.Background()) } -func (i GetAgentPoolUpdateScheduleArgs) ToGetAgentPoolUpdateScheduleOutputWithContext(ctx context.Context) GetAgentPoolUpdateScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateScheduleOutput) +func (i GetAuthorizationServersPoliciesRuleActionsTokenArgs) ToGetAuthorizationServersPoliciesRuleActionsTokenOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleActionsTokenOutput) } -func (i GetAgentPoolUpdateScheduleArgs) ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput { - return i.ToGetAgentPoolUpdateSchedulePtrOutputWithContext(context.Background()) +func (i GetAuthorizationServersPoliciesRuleActionsTokenArgs) ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutputWithContext(context.Background()) } -func (i GetAgentPoolUpdateScheduleArgs) ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx context.Context) GetAgentPoolUpdateSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateScheduleOutput).ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx) +func (i GetAuthorizationServersPoliciesRuleActionsTokenArgs) ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleActionsTokenOutput).ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutputWithContext(ctx) } -// GetAgentPoolUpdateSchedulePtrInput is an input type that accepts GetAgentPoolUpdateScheduleArgs, GetAgentPoolUpdateSchedulePtr and GetAgentPoolUpdateSchedulePtrOutput values. -// You can construct a concrete instance of `GetAgentPoolUpdateSchedulePtrInput` via: +// GetAuthorizationServersPoliciesRuleActionsTokenPtrInput is an input type that accepts GetAuthorizationServersPoliciesRuleActionsTokenArgs, GetAuthorizationServersPoliciesRuleActionsTokenPtr and GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleActionsTokenPtrInput` via: // -// GetAgentPoolUpdateScheduleArgs{...} +// GetAuthorizationServersPoliciesRuleActionsTokenArgs{...} // // or: // // nil -type GetAgentPoolUpdateSchedulePtrInput interface { +type GetAuthorizationServersPoliciesRuleActionsTokenPtrInput interface { pulumi.Input - ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput - ToGetAgentPoolUpdateSchedulePtrOutputWithContext(context.Context) GetAgentPoolUpdateSchedulePtrOutput + ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput + ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput } -type getAgentPoolUpdateSchedulePtrType GetAgentPoolUpdateScheduleArgs +type getAuthorizationServersPoliciesRuleActionsTokenPtrType GetAuthorizationServersPoliciesRuleActionsTokenArgs -func GetAgentPoolUpdateSchedulePtr(v *GetAgentPoolUpdateScheduleArgs) GetAgentPoolUpdateSchedulePtrInput { - return (*getAgentPoolUpdateSchedulePtrType)(v) +func GetAuthorizationServersPoliciesRuleActionsTokenPtr(v *GetAuthorizationServersPoliciesRuleActionsTokenArgs) GetAuthorizationServersPoliciesRuleActionsTokenPtrInput { + return (*getAuthorizationServersPoliciesRuleActionsTokenPtrType)(v) } -func (*getAgentPoolUpdateSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetAgentPoolUpdateSchedule)(nil)).Elem() +func (*getAuthorizationServersPoliciesRuleActionsTokenPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleActionsToken)(nil)).Elem() } -func (i *getAgentPoolUpdateSchedulePtrType) ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput { - return i.ToGetAgentPoolUpdateSchedulePtrOutputWithContext(context.Background()) +func (i *getAuthorizationServersPoliciesRuleActionsTokenPtrType) ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutputWithContext(context.Background()) } -func (i *getAgentPoolUpdateSchedulePtrType) ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx context.Context) GetAgentPoolUpdateSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAgentPoolUpdateSchedulePtrOutput) +func (i *getAuthorizationServersPoliciesRuleActionsTokenPtrType) ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) } -type GetAgentPoolUpdateScheduleOutput struct{ *pulumi.OutputState } +type GetAuthorizationServersPoliciesRuleActionsTokenOutput struct{ *pulumi.OutputState } -func (GetAgentPoolUpdateScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAgentPoolUpdateSchedule)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleActionsTokenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsToken)(nil)).Elem() } -func (o GetAgentPoolUpdateScheduleOutput) ToGetAgentPoolUpdateScheduleOutput() GetAgentPoolUpdateScheduleOutput { +func (o GetAuthorizationServersPoliciesRuleActionsTokenOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenOutput() GetAuthorizationServersPoliciesRuleActionsTokenOutput { return o } -func (o GetAgentPoolUpdateScheduleOutput) ToGetAgentPoolUpdateScheduleOutputWithContext(ctx context.Context) GetAgentPoolUpdateScheduleOutput { +func (o GetAuthorizationServersPoliciesRuleActionsTokenOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenOutput { return o } -func (o GetAgentPoolUpdateScheduleOutput) ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput { - return o.ToGetAgentPoolUpdateSchedulePtrOutputWithContext(context.Background()) +func (o GetAuthorizationServersPoliciesRuleActionsTokenOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { + return o.ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutputWithContext(context.Background()) } -func (o GetAgentPoolUpdateScheduleOutput) ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx context.Context) GetAgentPoolUpdateSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAgentPoolUpdateSchedule) *GetAgentPoolUpdateSchedule { +func (o GetAuthorizationServersPoliciesRuleActionsTokenOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthorizationServersPoliciesRuleActionsToken) *GetAuthorizationServersPoliciesRuleActionsToken { return &v - }).(GetAgentPoolUpdateSchedulePtrOutput) -} - -// The schedule of the update in cron format. -func (o GetAgentPoolUpdateScheduleOutput) Cron() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateSchedule) string { return v.Cron }).(pulumi.StringOutput) + }).(GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) } -// Delay in days. -func (o GetAgentPoolUpdateScheduleOutput) Delay() pulumi.IntOutput { - return o.ApplyT(func(v GetAgentPoolUpdateSchedule) int { return v.Delay }).(pulumi.IntOutput) +// Lifetime of the access token in minutes. +func (o GetAuthorizationServersPoliciesRuleActionsTokenOutput) AccessTokenLifetimeMinutes() pulumi.IntOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleActionsToken) int { return v.AccessTokenLifetimeMinutes }).(pulumi.IntOutput) } -// Duration in minutes. -func (o GetAgentPoolUpdateScheduleOutput) Duration() pulumi.IntOutput { - return o.ApplyT(func(v GetAgentPoolUpdateSchedule) int { return v.Duration }).(pulumi.IntOutput) +// InlineHook +func (o GetAuthorizationServersPoliciesRuleActionsTokenOutput) InlineHook() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleActionsToken) *GetAuthorizationServersPoliciesRuleActionsTokenInlineHook { + return v.InlineHook + }).(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput) } -// Timestamp when the update finished. -func (o GetAgentPoolUpdateScheduleOutput) LastUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateSchedule) string { return v.LastUpdated }).(pulumi.StringOutput) +// Lifetime of the refresh token is the minimum access token lifetime. +func (o GetAuthorizationServersPoliciesRuleActionsTokenOutput) RefreshTokenLifetimeMinutes() pulumi.IntOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleActionsToken) int { return v.RefreshTokenLifetimeMinutes }).(pulumi.IntOutput) } -// Timezone of where the scheduled job takes place. -func (o GetAgentPoolUpdateScheduleOutput) Timezone() pulumi.StringOutput { - return o.ApplyT(func(v GetAgentPoolUpdateSchedule) string { return v.Timezone }).(pulumi.StringOutput) +// Timeframe when the refresh token is valid. +func (o GetAuthorizationServersPoliciesRuleActionsTokenOutput) RefreshTokenWindowMinutes() pulumi.IntOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleActionsToken) int { return v.RefreshTokenWindowMinutes }).(pulumi.IntOutput) } -type GetAgentPoolUpdateSchedulePtrOutput struct{ *pulumi.OutputState } +type GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput struct{ *pulumi.OutputState } -func (GetAgentPoolUpdateSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetAgentPoolUpdateSchedule)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleActionsToken)(nil)).Elem() } -func (o GetAgentPoolUpdateSchedulePtrOutput) ToGetAgentPoolUpdateSchedulePtrOutput() GetAgentPoolUpdateSchedulePtrOutput { +func (o GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { return o } -func (o GetAgentPoolUpdateSchedulePtrOutput) ToGetAgentPoolUpdateSchedulePtrOutputWithContext(ctx context.Context) GetAgentPoolUpdateSchedulePtrOutput { +func (o GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput { return o } -func (o GetAgentPoolUpdateSchedulePtrOutput) Elem() GetAgentPoolUpdateScheduleOutput { - return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) GetAgentPoolUpdateSchedule { +func (o GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) Elem() GetAuthorizationServersPoliciesRuleActionsTokenOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleActionsToken) GetAuthorizationServersPoliciesRuleActionsToken { if v != nil { return *v } - var ret GetAgentPoolUpdateSchedule + var ret GetAuthorizationServersPoliciesRuleActionsToken return ret - }).(GetAgentPoolUpdateScheduleOutput) + }).(GetAuthorizationServersPoliciesRuleActionsTokenOutput) } -// The schedule of the update in cron format. -func (o GetAgentPoolUpdateSchedulePtrOutput) Cron() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *string { +// Lifetime of the access token in minutes. +func (o GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) AccessTokenLifetimeMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleActionsToken) *int { if v == nil { return nil } - return &v.Cron - }).(pulumi.StringPtrOutput) + return &v.AccessTokenLifetimeMinutes + }).(pulumi.IntPtrOutput) } -// Delay in days. -func (o GetAgentPoolUpdateSchedulePtrOutput) Delay() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *int { +// InlineHook +func (o GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) InlineHook() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleActionsToken) *GetAuthorizationServersPoliciesRuleActionsTokenInlineHook { if v == nil { return nil } - return &v.Delay + return v.InlineHook + }).(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput) +} + +// Lifetime of the refresh token is the minimum access token lifetime. +func (o GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) RefreshTokenLifetimeMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleActionsToken) *int { + if v == nil { + return nil + } + return &v.RefreshTokenLifetimeMinutes }).(pulumi.IntPtrOutput) } -// Duration in minutes. -func (o GetAgentPoolUpdateSchedulePtrOutput) Duration() pulumi.IntPtrOutput { - return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *int { +// Timeframe when the refresh token is valid. +func (o GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput) RefreshTokenWindowMinutes() pulumi.IntPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleActionsToken) *int { if v == nil { return nil } - return &v.Duration + return &v.RefreshTokenWindowMinutes }).(pulumi.IntPtrOutput) } -// Timestamp when the update finished. -func (o GetAgentPoolUpdateSchedulePtrOutput) LastUpdated() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *string { - if v == nil { - return nil +type GetAuthorizationServersPoliciesRuleActionsTokenInlineHook struct { + // Unique identifier of the authorization server policy rule. + Id string `pulumi:"id"` +} + +// GetAuthorizationServersPoliciesRuleActionsTokenInlineHookInput is an input type that accepts GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs and GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleActionsTokenInlineHookInput` via: +// +// GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs{...} +type GetAuthorizationServersPoliciesRuleActionsTokenInlineHookInput interface { + pulumi.Input + + ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput + ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput +} + +type GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs struct { + // Unique identifier of the authorization server policy rule. + Id pulumi.StringInput `pulumi:"id"` +} + +func (GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsTokenInlineHook)(nil)).Elem() +} + +func (i GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput { + return i.ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutputWithContext(context.Background()) +} + +func (i GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput) +} + +func (i GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutputWithContext(context.Background()) +} + +func (i GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput).ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutputWithContext(ctx) +} + +// GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrInput is an input type that accepts GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs, GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtr and GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrInput` via: +// +// GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs{...} +// +// or: +// +// nil +type GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrInput interface { + pulumi.Input + + ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput + ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput +} + +type getAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrType GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs + +func GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtr(v *GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs) GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrInput { + return (*getAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrType)(v) +} + +func (*getAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleActionsTokenInlineHook)(nil)).Elem() +} + +func (i *getAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrType) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutputWithContext(context.Background()) +} + +func (i *getAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrType) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput) +} + +type GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsTokenInlineHook)(nil)).Elem() +} + +func (o GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput { + return o +} + +func (o GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput { + return o +} + +func (o GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return o.ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutputWithContext(context.Background()) +} + +func (o GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthorizationServersPoliciesRuleActionsTokenInlineHook) *GetAuthorizationServersPoliciesRuleActionsTokenInlineHook { + return &v + }).(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput) +} + +// Unique identifier of the authorization server policy rule. +func (o GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleActionsTokenInlineHook) string { return v.Id }).(pulumi.StringOutput) +} + +type GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleActionsTokenInlineHook)(nil)).Elem() +} + +func (o GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return o +} + +func (o GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput) ToGetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput { + return o +} + +func (o GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput) Elem() GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleActionsTokenInlineHook) GetAuthorizationServersPoliciesRuleActionsTokenInlineHook { + if v != nil { + return *v } - return &v.LastUpdated - }).(pulumi.StringPtrOutput) + var ret GetAuthorizationServersPoliciesRuleActionsTokenInlineHook + return ret + }).(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput) } -// Timezone of where the scheduled job takes place. -func (o GetAgentPoolUpdateSchedulePtrOutput) Timezone() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetAgentPoolUpdateSchedule) *string { +// Unique identifier of the authorization server policy rule. +func (o GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleActionsTokenInlineHook) *string { if v == nil { return nil } - return &v.Timezone + return &v.Id }).(pulumi.StringPtrOutput) } -type GetApiServiceIntegrationGrantedScope struct { - // The scope of the API service integration granted. - Scope string `pulumi:"scope"` +type GetAuthorizationServersPoliciesRuleConditions struct { + // Array of grant types that this condition includes. + GrantTypes *GetAuthorizationServersPoliciesRuleConditionsGrantTypes `pulumi:"grantTypes"` + // Identifies Users and Groups that are used together + People *GetAuthorizationServersPoliciesRuleConditionsPeople `pulumi:"people"` + // Array of scopes that the condition includes + Scopes *GetAuthorizationServersPoliciesRuleConditionsScopes `pulumi:"scopes"` } -// GetApiServiceIntegrationGrantedScopeInput is an input type that accepts GetApiServiceIntegrationGrantedScopeArgs and GetApiServiceIntegrationGrantedScopeOutput values. -// You can construct a concrete instance of `GetApiServiceIntegrationGrantedScopeInput` via: +// GetAuthorizationServersPoliciesRuleConditionsInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsArgs and GetAuthorizationServersPoliciesRuleConditionsOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsInput` via: // -// GetApiServiceIntegrationGrantedScopeArgs{...} -type GetApiServiceIntegrationGrantedScopeInput interface { +// GetAuthorizationServersPoliciesRuleConditionsArgs{...} +type GetAuthorizationServersPoliciesRuleConditionsInput interface { pulumi.Input - ToGetApiServiceIntegrationGrantedScopeOutput() GetApiServiceIntegrationGrantedScopeOutput - ToGetApiServiceIntegrationGrantedScopeOutputWithContext(context.Context) GetApiServiceIntegrationGrantedScopeOutput + ToGetAuthorizationServersPoliciesRuleConditionsOutput() GetAuthorizationServersPoliciesRuleConditionsOutput + ToGetAuthorizationServersPoliciesRuleConditionsOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsOutput } -type GetApiServiceIntegrationGrantedScopeArgs struct { - // The scope of the API service integration granted. - Scope pulumi.StringInput `pulumi:"scope"` +type GetAuthorizationServersPoliciesRuleConditionsArgs struct { + // Array of grant types that this condition includes. + GrantTypes GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrInput `pulumi:"grantTypes"` + // Identifies Users and Groups that are used together + People GetAuthorizationServersPoliciesRuleConditionsPeoplePtrInput `pulumi:"people"` + // Array of scopes that the condition includes + Scopes GetAuthorizationServersPoliciesRuleConditionsScopesPtrInput `pulumi:"scopes"` } -func (GetApiServiceIntegrationGrantedScopeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiServiceIntegrationGrantedScope)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleConditionsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditions)(nil)).Elem() } -func (i GetApiServiceIntegrationGrantedScopeArgs) ToGetApiServiceIntegrationGrantedScopeOutput() GetApiServiceIntegrationGrantedScopeOutput { - return i.ToGetApiServiceIntegrationGrantedScopeOutputWithContext(context.Background()) +func (i GetAuthorizationServersPoliciesRuleConditionsArgs) ToGetAuthorizationServersPoliciesRuleConditionsOutput() GetAuthorizationServersPoliciesRuleConditionsOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsOutputWithContext(context.Background()) } -func (i GetApiServiceIntegrationGrantedScopeArgs) ToGetApiServiceIntegrationGrantedScopeOutputWithContext(ctx context.Context) GetApiServiceIntegrationGrantedScopeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiServiceIntegrationGrantedScopeOutput) +func (i GetAuthorizationServersPoliciesRuleConditionsArgs) ToGetAuthorizationServersPoliciesRuleConditionsOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsOutput) } -// GetApiServiceIntegrationGrantedScopeArrayInput is an input type that accepts GetApiServiceIntegrationGrantedScopeArray and GetApiServiceIntegrationGrantedScopeArrayOutput values. -// You can construct a concrete instance of `GetApiServiceIntegrationGrantedScopeArrayInput` via: +func (i GetAuthorizationServersPoliciesRuleConditionsArgs) ToGetAuthorizationServersPoliciesRuleConditionsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPtrOutputWithContext(context.Background()) +} + +func (i GetAuthorizationServersPoliciesRuleConditionsArgs) ToGetAuthorizationServersPoliciesRuleConditionsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsOutput).ToGetAuthorizationServersPoliciesRuleConditionsPtrOutputWithContext(ctx) +} + +// GetAuthorizationServersPoliciesRuleConditionsPtrInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsArgs, GetAuthorizationServersPoliciesRuleConditionsPtr and GetAuthorizationServersPoliciesRuleConditionsPtrOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsPtrInput` via: // -// GetApiServiceIntegrationGrantedScopeArray{ GetApiServiceIntegrationGrantedScopeArgs{...} } -type GetApiServiceIntegrationGrantedScopeArrayInput interface { +// GetAuthorizationServersPoliciesRuleConditionsArgs{...} +// +// or: +// +// nil +type GetAuthorizationServersPoliciesRuleConditionsPtrInput interface { pulumi.Input - ToGetApiServiceIntegrationGrantedScopeArrayOutput() GetApiServiceIntegrationGrantedScopeArrayOutput - ToGetApiServiceIntegrationGrantedScopeArrayOutputWithContext(context.Context) GetApiServiceIntegrationGrantedScopeArrayOutput + ToGetAuthorizationServersPoliciesRuleConditionsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPtrOutput + ToGetAuthorizationServersPoliciesRuleConditionsPtrOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsPtrOutput } -type GetApiServiceIntegrationGrantedScopeArray []GetApiServiceIntegrationGrantedScopeInput +type getAuthorizationServersPoliciesRuleConditionsPtrType GetAuthorizationServersPoliciesRuleConditionsArgs -func (GetApiServiceIntegrationGrantedScopeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetApiServiceIntegrationGrantedScope)(nil)).Elem() +func GetAuthorizationServersPoliciesRuleConditionsPtr(v *GetAuthorizationServersPoliciesRuleConditionsArgs) GetAuthorizationServersPoliciesRuleConditionsPtrInput { + return (*getAuthorizationServersPoliciesRuleConditionsPtrType)(v) } -func (i GetApiServiceIntegrationGrantedScopeArray) ToGetApiServiceIntegrationGrantedScopeArrayOutput() GetApiServiceIntegrationGrantedScopeArrayOutput { - return i.ToGetApiServiceIntegrationGrantedScopeArrayOutputWithContext(context.Background()) +func (*getAuthorizationServersPoliciesRuleConditionsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditions)(nil)).Elem() } -func (i GetApiServiceIntegrationGrantedScopeArray) ToGetApiServiceIntegrationGrantedScopeArrayOutputWithContext(ctx context.Context) GetApiServiceIntegrationGrantedScopeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiServiceIntegrationGrantedScopeArrayOutput) +func (i *getAuthorizationServersPoliciesRuleConditionsPtrType) ToGetAuthorizationServersPoliciesRuleConditionsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPtrOutputWithContext(context.Background()) } -type GetApiServiceIntegrationGrantedScopeOutput struct{ *pulumi.OutputState } +func (i *getAuthorizationServersPoliciesRuleConditionsPtrType) ToGetAuthorizationServersPoliciesRuleConditionsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPtrOutput) +} -func (GetApiServiceIntegrationGrantedScopeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiServiceIntegrationGrantedScope)(nil)).Elem() +type GetAuthorizationServersPoliciesRuleConditionsOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleConditionsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditions)(nil)).Elem() } -func (o GetApiServiceIntegrationGrantedScopeOutput) ToGetApiServiceIntegrationGrantedScopeOutput() GetApiServiceIntegrationGrantedScopeOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsOutput) ToGetAuthorizationServersPoliciesRuleConditionsOutput() GetAuthorizationServersPoliciesRuleConditionsOutput { return o } -func (o GetApiServiceIntegrationGrantedScopeOutput) ToGetApiServiceIntegrationGrantedScopeOutputWithContext(ctx context.Context) GetApiServiceIntegrationGrantedScopeOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsOutput) ToGetAuthorizationServersPoliciesRuleConditionsOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsOutput { return o } -// The scope of the API service integration granted. -func (o GetApiServiceIntegrationGrantedScopeOutput) Scope() pulumi.StringOutput { - return o.ApplyT(func(v GetApiServiceIntegrationGrantedScope) string { return v.Scope }).(pulumi.StringOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsOutput) ToGetAuthorizationServersPoliciesRuleConditionsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPtrOutput { + return o.ToGetAuthorizationServersPoliciesRuleConditionsPtrOutputWithContext(context.Background()) } -type GetApiServiceIntegrationGrantedScopeArrayOutput struct{ *pulumi.OutputState } +func (o GetAuthorizationServersPoliciesRuleConditionsOutput) ToGetAuthorizationServersPoliciesRuleConditionsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthorizationServersPoliciesRuleConditions) *GetAuthorizationServersPoliciesRuleConditions { + return &v + }).(GetAuthorizationServersPoliciesRuleConditionsPtrOutput) +} -func (GetApiServiceIntegrationGrantedScopeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetApiServiceIntegrationGrantedScope)(nil)).Elem() +// Array of grant types that this condition includes. +func (o GetAuthorizationServersPoliciesRuleConditionsOutput) GrantTypes() GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleConditions) *GetAuthorizationServersPoliciesRuleConditionsGrantTypes { + return v.GrantTypes + }).(GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput) } -func (o GetApiServiceIntegrationGrantedScopeArrayOutput) ToGetApiServiceIntegrationGrantedScopeArrayOutput() GetApiServiceIntegrationGrantedScopeArrayOutput { +// Identifies Users and Groups that are used together +func (o GetAuthorizationServersPoliciesRuleConditionsOutput) People() GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleConditions) *GetAuthorizationServersPoliciesRuleConditionsPeople { + return v.People + }).(GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) +} + +// Array of scopes that the condition includes +func (o GetAuthorizationServersPoliciesRuleConditionsOutput) Scopes() GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleConditions) *GetAuthorizationServersPoliciesRuleConditionsScopes { + return v.Scopes + }).(GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput) +} + +type GetAuthorizationServersPoliciesRuleConditionsPtrOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleConditionsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditions)(nil)).Elem() +} + +func (o GetAuthorizationServersPoliciesRuleConditionsPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPtrOutput { return o } -func (o GetApiServiceIntegrationGrantedScopeArrayOutput) ToGetApiServiceIntegrationGrantedScopeArrayOutputWithContext(ctx context.Context) GetApiServiceIntegrationGrantedScopeArrayOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPtrOutput { return o } -func (o GetApiServiceIntegrationGrantedScopeArrayOutput) Index(i pulumi.IntInput) GetApiServiceIntegrationGrantedScopeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetApiServiceIntegrationGrantedScope { - return vs[0].([]GetApiServiceIntegrationGrantedScope)[vs[1].(int)] - }).(GetApiServiceIntegrationGrantedScopeOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsPtrOutput) Elem() GetAuthorizationServersPoliciesRuleConditionsOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditions) GetAuthorizationServersPoliciesRuleConditions { + if v != nil { + return *v + } + var ret GetAuthorizationServersPoliciesRuleConditions + return ret + }).(GetAuthorizationServersPoliciesRuleConditionsOutput) } -type GetApiTokenNetwork struct { - // The connection type of the Network Condition. - Connection string `pulumi:"connection"` - // The IP address the excluded zone. - Excludes []string `pulumi:"excludes"` - // The IP address the included zone. +// Array of grant types that this condition includes. +func (o GetAuthorizationServersPoliciesRuleConditionsPtrOutput) GrantTypes() GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditions) *GetAuthorizationServersPoliciesRuleConditionsGrantTypes { + if v == nil { + return nil + } + return v.GrantTypes + }).(GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput) +} + +// Identifies Users and Groups that are used together +func (o GetAuthorizationServersPoliciesRuleConditionsPtrOutput) People() GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditions) *GetAuthorizationServersPoliciesRuleConditionsPeople { + if v == nil { + return nil + } + return v.People + }).(GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) +} + +// Array of scopes that the condition includes +func (o GetAuthorizationServersPoliciesRuleConditionsPtrOutput) Scopes() GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditions) *GetAuthorizationServersPoliciesRuleConditionsScopes { + if v == nil { + return nil + } + return v.Scopes + }).(GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput) +} + +type GetAuthorizationServersPoliciesRuleConditionsGrantTypes struct { + // Array of grant types that this condition includes. Includes []string `pulumi:"includes"` } -// GetApiTokenNetworkInput is an input type that accepts GetApiTokenNetworkArgs and GetApiTokenNetworkOutput values. -// You can construct a concrete instance of `GetApiTokenNetworkInput` via: +// GetAuthorizationServersPoliciesRuleConditionsGrantTypesInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs and GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsGrantTypesInput` via: // -// GetApiTokenNetworkArgs{...} -type GetApiTokenNetworkInput interface { +// GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs{...} +type GetAuthorizationServersPoliciesRuleConditionsGrantTypesInput interface { pulumi.Input - ToGetApiTokenNetworkOutput() GetApiTokenNetworkOutput - ToGetApiTokenNetworkOutputWithContext(context.Context) GetApiTokenNetworkOutput + ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput() GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput + ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput } -type GetApiTokenNetworkArgs struct { - // The connection type of the Network Condition. - Connection pulumi.StringInput `pulumi:"connection"` - // The IP address the excluded zone. - Excludes pulumi.StringArrayInput `pulumi:"excludes"` - // The IP address the included zone. +type GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs struct { + // Array of grant types that this condition includes. Includes pulumi.StringArrayInput `pulumi:"includes"` } -func (GetApiTokenNetworkArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiTokenNetwork)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsGrantTypes)(nil)).Elem() } -func (i GetApiTokenNetworkArgs) ToGetApiTokenNetworkOutput() GetApiTokenNetworkOutput { - return i.ToGetApiTokenNetworkOutputWithContext(context.Background()) +func (i GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput() GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesOutputWithContext(context.Background()) } -func (i GetApiTokenNetworkArgs) ToGetApiTokenNetworkOutputWithContext(ctx context.Context) GetApiTokenNetworkOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenNetworkOutput) +func (i GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput) } -func (i GetApiTokenNetworkArgs) ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput { - return i.ToGetApiTokenNetworkPtrOutputWithContext(context.Background()) +func (i GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutputWithContext(context.Background()) } -func (i GetApiTokenNetworkArgs) ToGetApiTokenNetworkPtrOutputWithContext(ctx context.Context) GetApiTokenNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenNetworkOutput).ToGetApiTokenNetworkPtrOutputWithContext(ctx) +func (i GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput).ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutputWithContext(ctx) } -// GetApiTokenNetworkPtrInput is an input type that accepts GetApiTokenNetworkArgs, GetApiTokenNetworkPtr and GetApiTokenNetworkPtrOutput values. -// You can construct a concrete instance of `GetApiTokenNetworkPtrInput` via: +// GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs, GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtr and GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrInput` via: // -// GetApiTokenNetworkArgs{...} +// GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs{...} // // or: // // nil -type GetApiTokenNetworkPtrInput interface { +type GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrInput interface { pulumi.Input - ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput - ToGetApiTokenNetworkPtrOutputWithContext(context.Context) GetApiTokenNetworkPtrOutput + ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput + ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput } -type getApiTokenNetworkPtrType GetApiTokenNetworkArgs +type getAuthorizationServersPoliciesRuleConditionsGrantTypesPtrType GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs -func GetApiTokenNetworkPtr(v *GetApiTokenNetworkArgs) GetApiTokenNetworkPtrInput { - return (*getApiTokenNetworkPtrType)(v) +func GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtr(v *GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs) GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrInput { + return (*getAuthorizationServersPoliciesRuleConditionsGrantTypesPtrType)(v) } -func (*getApiTokenNetworkPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**GetApiTokenNetwork)(nil)).Elem() +func (*getAuthorizationServersPoliciesRuleConditionsGrantTypesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsGrantTypes)(nil)).Elem() } -func (i *getApiTokenNetworkPtrType) ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput { - return i.ToGetApiTokenNetworkPtrOutputWithContext(context.Background()) +func (i *getAuthorizationServersPoliciesRuleConditionsGrantTypesPtrType) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutputWithContext(context.Background()) } -func (i *getApiTokenNetworkPtrType) ToGetApiTokenNetworkPtrOutputWithContext(ctx context.Context) GetApiTokenNetworkPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetApiTokenNetworkPtrOutput) +func (i *getAuthorizationServersPoliciesRuleConditionsGrantTypesPtrType) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput) } -type GetApiTokenNetworkOutput struct{ *pulumi.OutputState } +type GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput struct{ *pulumi.OutputState } -func (GetApiTokenNetworkOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetApiTokenNetwork)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsGrantTypes)(nil)).Elem() } -func (o GetApiTokenNetworkOutput) ToGetApiTokenNetworkOutput() GetApiTokenNetworkOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput() GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput { return o } -func (o GetApiTokenNetworkOutput) ToGetApiTokenNetworkOutputWithContext(ctx context.Context) GetApiTokenNetworkOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput { return o } -func (o GetApiTokenNetworkOutput) ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput { - return o.ToGetApiTokenNetworkPtrOutputWithContext(context.Background()) +func (o GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { + return o.ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutputWithContext(context.Background()) } -func (o GetApiTokenNetworkOutput) ToGetApiTokenNetworkPtrOutputWithContext(ctx context.Context) GetApiTokenNetworkPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v GetApiTokenNetwork) *GetApiTokenNetwork { +func (o GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthorizationServersPoliciesRuleConditionsGrantTypes) *GetAuthorizationServersPoliciesRuleConditionsGrantTypes { return &v - }).(GetApiTokenNetworkPtrOutput) -} - -// The connection type of the Network Condition. -func (o GetApiTokenNetworkOutput) Connection() pulumi.StringOutput { - return o.ApplyT(func(v GetApiTokenNetwork) string { return v.Connection }).(pulumi.StringOutput) -} - -// The IP address the excluded zone. -func (o GetApiTokenNetworkOutput) Excludes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetApiTokenNetwork) []string { return v.Excludes }).(pulumi.StringArrayOutput) + }).(GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput) } -// The IP address the included zone. -func (o GetApiTokenNetworkOutput) Includes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetApiTokenNetwork) []string { return v.Includes }).(pulumi.StringArrayOutput) +// Array of grant types that this condition includes. +func (o GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleConditionsGrantTypes) []string { return v.Includes }).(pulumi.StringArrayOutput) } -type GetApiTokenNetworkPtrOutput struct{ *pulumi.OutputState } +type GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput struct{ *pulumi.OutputState } -func (GetApiTokenNetworkPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**GetApiTokenNetwork)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsGrantTypes)(nil)).Elem() } -func (o GetApiTokenNetworkPtrOutput) ToGetApiTokenNetworkPtrOutput() GetApiTokenNetworkPtrOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { return o } -func (o GetApiTokenNetworkPtrOutput) ToGetApiTokenNetworkPtrOutputWithContext(ctx context.Context) GetApiTokenNetworkPtrOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput { return o } -func (o GetApiTokenNetworkPtrOutput) Elem() GetApiTokenNetworkOutput { - return o.ApplyT(func(v *GetApiTokenNetwork) GetApiTokenNetwork { +func (o GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput) Elem() GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsGrantTypes) GetAuthorizationServersPoliciesRuleConditionsGrantTypes { if v != nil { return *v } - var ret GetApiTokenNetwork + var ret GetAuthorizationServersPoliciesRuleConditionsGrantTypes return ret - }).(GetApiTokenNetworkOutput) -} - -// The connection type of the Network Condition. -func (o GetApiTokenNetworkPtrOutput) Connection() pulumi.StringPtrOutput { - return o.ApplyT(func(v *GetApiTokenNetwork) *string { - if v == nil { - return nil - } - return &v.Connection - }).(pulumi.StringPtrOutput) -} - -// The IP address the excluded zone. -func (o GetApiTokenNetworkPtrOutput) Excludes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetApiTokenNetwork) []string { - if v == nil { - return nil - } - return v.Excludes - }).(pulumi.StringArrayOutput) + }).(GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput) } -// The IP address the included zone. -func (o GetApiTokenNetworkPtrOutput) Includes() pulumi.StringArrayOutput { - return o.ApplyT(func(v *GetApiTokenNetwork) []string { +// Array of grant types that this condition includes. +func (o GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsGrantTypes) []string { if v == nil { return nil } @@ -11955,434 +16984,575 @@ func (o GetApiTokenNetworkPtrOutput) Includes() pulumi.StringArrayOutput { }).(pulumi.StringArrayOutput) } -type GetAppsApp struct { - AdminNote string `pulumi:"adminNote"` - Created string `pulumi:"created"` - EnduserNote string `pulumi:"enduserNote"` - Features []string `pulumi:"features"` - Id string `pulumi:"id"` - Label string `pulumi:"label"` - LastUpdated string `pulumi:"lastUpdated"` - Name string `pulumi:"name"` - SignOnMode string `pulumi:"signOnMode"` - Status string `pulumi:"status"` - Visibility GetAppsAppVisibility `pulumi:"visibility"` +type GetAuthorizationServersPoliciesRuleConditionsPeople struct { + // Specifies a set of Groups whose Users are to be included + Groups *GetAuthorizationServersPoliciesRuleConditionsPeopleGroups `pulumi:"groups"` + // Specifies a set of Users to be included + Users *GetAuthorizationServersPoliciesRuleConditionsPeopleUsers `pulumi:"users"` } -// GetAppsAppInput is an input type that accepts GetAppsAppArgs and GetAppsAppOutput values. -// You can construct a concrete instance of `GetAppsAppInput` via: +// GetAuthorizationServersPoliciesRuleConditionsPeopleInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsPeopleArgs and GetAuthorizationServersPoliciesRuleConditionsPeopleOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsPeopleInput` via: // -// GetAppsAppArgs{...} -type GetAppsAppInput interface { +// GetAuthorizationServersPoliciesRuleConditionsPeopleArgs{...} +type GetAuthorizationServersPoliciesRuleConditionsPeopleInput interface { pulumi.Input - ToGetAppsAppOutput() GetAppsAppOutput - ToGetAppsAppOutputWithContext(context.Context) GetAppsAppOutput + ToGetAuthorizationServersPoliciesRuleConditionsPeopleOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleOutput + ToGetAuthorizationServersPoliciesRuleConditionsPeopleOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleOutput } -type GetAppsAppArgs struct { - AdminNote pulumi.StringInput `pulumi:"adminNote"` - Created pulumi.StringInput `pulumi:"created"` - EnduserNote pulumi.StringInput `pulumi:"enduserNote"` - Features pulumi.StringArrayInput `pulumi:"features"` - Id pulumi.StringInput `pulumi:"id"` - Label pulumi.StringInput `pulumi:"label"` - LastUpdated pulumi.StringInput `pulumi:"lastUpdated"` - Name pulumi.StringInput `pulumi:"name"` - SignOnMode pulumi.StringInput `pulumi:"signOnMode"` - Status pulumi.StringInput `pulumi:"status"` - Visibility GetAppsAppVisibilityInput `pulumi:"visibility"` +type GetAuthorizationServersPoliciesRuleConditionsPeopleArgs struct { + // Specifies a set of Groups whose Users are to be included + Groups GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrInput `pulumi:"groups"` + // Specifies a set of Users to be included + Users GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrInput `pulumi:"users"` +} + +func (GetAuthorizationServersPoliciesRuleConditionsPeopleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeople)(nil)).Elem() +} + +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPeopleOutputWithContext(context.Background()) +} + +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPeopleOutput) +} + +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutputWithContext(context.Background()) +} + +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPeopleOutput).ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutputWithContext(ctx) +} + +// GetAuthorizationServersPoliciesRuleConditionsPeoplePtrInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsPeopleArgs, GetAuthorizationServersPoliciesRuleConditionsPeoplePtr and GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsPeoplePtrInput` via: +// +// GetAuthorizationServersPoliciesRuleConditionsPeopleArgs{...} +// +// or: +// +// nil +type GetAuthorizationServersPoliciesRuleConditionsPeoplePtrInput interface { + pulumi.Input + + ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput + ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput } -func (GetAppsAppArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAppsApp)(nil)).Elem() +type getAuthorizationServersPoliciesRuleConditionsPeoplePtrType GetAuthorizationServersPoliciesRuleConditionsPeopleArgs + +func GetAuthorizationServersPoliciesRuleConditionsPeoplePtr(v *GetAuthorizationServersPoliciesRuleConditionsPeopleArgs) GetAuthorizationServersPoliciesRuleConditionsPeoplePtrInput { + return (*getAuthorizationServersPoliciesRuleConditionsPeoplePtrType)(v) } -func (i GetAppsAppArgs) ToGetAppsAppOutput() GetAppsAppOutput { - return i.ToGetAppsAppOutputWithContext(context.Background()) +func (*getAuthorizationServersPoliciesRuleConditionsPeoplePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsPeople)(nil)).Elem() } -func (i GetAppsAppArgs) ToGetAppsAppOutputWithContext(ctx context.Context) GetAppsAppOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppOutput) +func (i *getAuthorizationServersPoliciesRuleConditionsPeoplePtrType) ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutputWithContext(context.Background()) } -// GetAppsAppArrayInput is an input type that accepts GetAppsAppArray and GetAppsAppArrayOutput values. -// You can construct a concrete instance of `GetAppsAppArrayInput` via: -// -// GetAppsAppArray{ GetAppsAppArgs{...} } -type GetAppsAppArrayInput interface { - pulumi.Input +func (i *getAuthorizationServersPoliciesRuleConditionsPeoplePtrType) ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) +} - ToGetAppsAppArrayOutput() GetAppsAppArrayOutput - ToGetAppsAppArrayOutputWithContext(context.Context) GetAppsAppArrayOutput +type GetAuthorizationServersPoliciesRuleConditionsPeopleOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleConditionsPeopleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeople)(nil)).Elem() } -type GetAppsAppArray []GetAppsAppInput +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleOutput { + return o +} -func (GetAppsAppArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAppsApp)(nil)).Elem() +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleOutput { + return o } -func (i GetAppsAppArray) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput { - return i.ToGetAppsAppArrayOutputWithContext(context.Background()) +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { + return o.ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutputWithContext(context.Background()) } -func (i GetAppsAppArray) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppArrayOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthorizationServersPoliciesRuleConditionsPeople) *GetAuthorizationServersPoliciesRuleConditionsPeople { + return &v + }).(GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) } -type GetAppsAppOutput struct{ *pulumi.OutputState } +// Specifies a set of Groups whose Users are to be included +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleOutput) Groups() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleConditionsPeople) *GetAuthorizationServersPoliciesRuleConditionsPeopleGroups { + return v.Groups + }).(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput) +} -func (GetAppsAppOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAppsApp)(nil)).Elem() +// Specifies a set of Users to be included +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleOutput) Users() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleConditionsPeople) *GetAuthorizationServersPoliciesRuleConditionsPeopleUsers { + return v.Users + }).(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput) } -func (o GetAppsAppOutput) ToGetAppsAppOutput() GetAppsAppOutput { +type GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsPeople)(nil)).Elem() +} + +func (o GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { return o } -func (o GetAppsAppOutput) ToGetAppsAppOutputWithContext(ctx context.Context) GetAppsAppOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput { return o } -func (o GetAppsAppOutput) AdminNote() pulumi.StringOutput { - return o.ApplyT(func(v GetAppsApp) string { return v.AdminNote }).(pulumi.StringOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) Elem() GetAuthorizationServersPoliciesRuleConditionsPeopleOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsPeople) GetAuthorizationServersPoliciesRuleConditionsPeople { + if v != nil { + return *v + } + var ret GetAuthorizationServersPoliciesRuleConditionsPeople + return ret + }).(GetAuthorizationServersPoliciesRuleConditionsPeopleOutput) } -func (o GetAppsAppOutput) Created() pulumi.StringOutput { - return o.ApplyT(func(v GetAppsApp) string { return v.Created }).(pulumi.StringOutput) +// Specifies a set of Groups whose Users are to be included +func (o GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) Groups() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsPeople) *GetAuthorizationServersPoliciesRuleConditionsPeopleGroups { + if v == nil { + return nil + } + return v.Groups + }).(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput) } -func (o GetAppsAppOutput) EnduserNote() pulumi.StringOutput { - return o.ApplyT(func(v GetAppsApp) string { return v.EnduserNote }).(pulumi.StringOutput) +// Specifies a set of Users to be included +func (o GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput) Users() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsPeople) *GetAuthorizationServersPoliciesRuleConditionsPeopleUsers { + if v == nil { + return nil + } + return v.Users + }).(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput) } -func (o GetAppsAppOutput) Features() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetAppsApp) []string { return v.Features }).(pulumi.StringArrayOutput) +type GetAuthorizationServersPoliciesRuleConditionsPeopleGroups struct { + // Groups to be included + Includes []string `pulumi:"includes"` } -func (o GetAppsAppOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetAppsApp) string { return v.Id }).(pulumi.StringOutput) +// GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs and GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsInput` via: +// +// GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs{...} +type GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsInput interface { + pulumi.Input + + ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput + ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput } -func (o GetAppsAppOutput) Label() pulumi.StringOutput { - return o.ApplyT(func(v GetAppsApp) string { return v.Label }).(pulumi.StringOutput) +type GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs struct { + // Groups to be included + Includes pulumi.StringArrayInput `pulumi:"includes"` } -func (o GetAppsAppOutput) LastUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetAppsApp) string { return v.LastUpdated }).(pulumi.StringOutput) +func (GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeopleGroups)(nil)).Elem() } -func (o GetAppsAppOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetAppsApp) string { return v.Name }).(pulumi.StringOutput) +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutputWithContext(context.Background()) } -func (o GetAppsAppOutput) SignOnMode() pulumi.StringOutput { - return o.ApplyT(func(v GetAppsApp) string { return v.SignOnMode }).(pulumi.StringOutput) +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput) } -func (o GetAppsAppOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetAppsApp) string { return v.Status }).(pulumi.StringOutput) +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutputWithContext(context.Background()) } -func (o GetAppsAppOutput) Visibility() GetAppsAppVisibilityOutput { - return o.ApplyT(func(v GetAppsApp) GetAppsAppVisibility { return v.Visibility }).(GetAppsAppVisibilityOutput) +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput).ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutputWithContext(ctx) } -type GetAppsAppArrayOutput struct{ *pulumi.OutputState } +// GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs, GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtr and GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrInput` via: +// +// GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs{...} +// +// or: +// +// nil +type GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrInput interface { + pulumi.Input -func (GetAppsAppArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAppsApp)(nil)).Elem() + ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput + ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput } -func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutput() GetAppsAppArrayOutput { - return o +type getAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrType GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs + +func GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtr(v *GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs) GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrInput { + return (*getAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrType)(v) } -func (o GetAppsAppArrayOutput) ToGetAppsAppArrayOutputWithContext(ctx context.Context) GetAppsAppArrayOutput { - return o +func (*getAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsPeopleGroups)(nil)).Elem() } -func (o GetAppsAppArrayOutput) Index(i pulumi.IntInput) GetAppsAppOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAppsApp { - return vs[0].([]GetAppsApp)[vs[1].(int)] - }).(GetAppsAppOutput) +func (i *getAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrType) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutputWithContext(context.Background()) } -type GetAppsAppVisibility struct { - AutoLaunch bool `pulumi:"autoLaunch"` - AutoSubmitToolbar bool `pulumi:"autoSubmitToolbar"` - Hide GetAppsAppVisibilityHide `pulumi:"hide"` +func (i *getAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrType) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput) } -// GetAppsAppVisibilityInput is an input type that accepts GetAppsAppVisibilityArgs and GetAppsAppVisibilityOutput values. -// You can construct a concrete instance of `GetAppsAppVisibilityInput` via: -// -// GetAppsAppVisibilityArgs{...} -type GetAppsAppVisibilityInput interface { - pulumi.Input +type GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput struct{ *pulumi.OutputState } - ToGetAppsAppVisibilityOutput() GetAppsAppVisibilityOutput - ToGetAppsAppVisibilityOutputWithContext(context.Context) GetAppsAppVisibilityOutput +func (GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeopleGroups)(nil)).Elem() } -type GetAppsAppVisibilityArgs struct { - AutoLaunch pulumi.BoolInput `pulumi:"autoLaunch"` - AutoSubmitToolbar pulumi.BoolInput `pulumi:"autoSubmitToolbar"` - Hide GetAppsAppVisibilityHideInput `pulumi:"hide"` +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput { + return o } -func (GetAppsAppVisibilityArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAppsAppVisibility)(nil)).Elem() +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput { + return o } -func (i GetAppsAppVisibilityArgs) ToGetAppsAppVisibilityOutput() GetAppsAppVisibilityOutput { - return i.ToGetAppsAppVisibilityOutputWithContext(context.Background()) +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { + return o.ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutputWithContext(context.Background()) } -func (i GetAppsAppVisibilityArgs) ToGetAppsAppVisibilityOutputWithContext(ctx context.Context) GetAppsAppVisibilityOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppVisibilityOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthorizationServersPoliciesRuleConditionsPeopleGroups) *GetAuthorizationServersPoliciesRuleConditionsPeopleGroups { + return &v + }).(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput) } -type GetAppsAppVisibilityOutput struct{ *pulumi.OutputState } +// Groups to be included +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleConditionsPeopleGroups) []string { return v.Includes }).(pulumi.StringArrayOutput) +} -func (GetAppsAppVisibilityOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAppsAppVisibility)(nil)).Elem() +type GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsPeopleGroups)(nil)).Elem() } -func (o GetAppsAppVisibilityOutput) ToGetAppsAppVisibilityOutput() GetAppsAppVisibilityOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { return o } -func (o GetAppsAppVisibilityOutput) ToGetAppsAppVisibilityOutputWithContext(ctx context.Context) GetAppsAppVisibilityOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput { return o } -func (o GetAppsAppVisibilityOutput) AutoLaunch() pulumi.BoolOutput { - return o.ApplyT(func(v GetAppsAppVisibility) bool { return v.AutoLaunch }).(pulumi.BoolOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput) Elem() GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsPeopleGroups) GetAuthorizationServersPoliciesRuleConditionsPeopleGroups { + if v != nil { + return *v + } + var ret GetAuthorizationServersPoliciesRuleConditionsPeopleGroups + return ret + }).(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput) } -func (o GetAppsAppVisibilityOutput) AutoSubmitToolbar() pulumi.BoolOutput { - return o.ApplyT(func(v GetAppsAppVisibility) bool { return v.AutoSubmitToolbar }).(pulumi.BoolOutput) +// Groups to be included +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsPeopleGroups) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) } -func (o GetAppsAppVisibilityOutput) Hide() GetAppsAppVisibilityHideOutput { - return o.ApplyT(func(v GetAppsAppVisibility) GetAppsAppVisibilityHide { return v.Hide }).(GetAppsAppVisibilityHideOutput) +type GetAuthorizationServersPoliciesRuleConditionsPeopleUsers struct { + // Users to be included + Includes []string `pulumi:"includes"` } -type GetAppsAppVisibilityHide struct { - Ios bool `pulumi:"ios"` - Web bool `pulumi:"web"` +// GetAuthorizationServersPoliciesRuleConditionsPeopleUsersInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs and GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsPeopleUsersInput` via: +// +// GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs{...} +type GetAuthorizationServersPoliciesRuleConditionsPeopleUsersInput interface { + pulumi.Input + + ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput + ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput } -// GetAppsAppVisibilityHideInput is an input type that accepts GetAppsAppVisibilityHideArgs and GetAppsAppVisibilityHideOutput values. -// You can construct a concrete instance of `GetAppsAppVisibilityHideInput` via: +type GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs struct { + // Users to be included + Includes pulumi.StringArrayInput `pulumi:"includes"` +} + +func (GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeopleUsers)(nil)).Elem() +} + +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutputWithContext(context.Background()) +} + +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput) +} + +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutputWithContext(context.Background()) +} + +func (i GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput).ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutputWithContext(ctx) +} + +// GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs, GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtr and GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrInput` via: // -// GetAppsAppVisibilityHideArgs{...} -type GetAppsAppVisibilityHideInput interface { +// GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs{...} +// +// or: +// +// nil +type GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrInput interface { pulumi.Input - ToGetAppsAppVisibilityHideOutput() GetAppsAppVisibilityHideOutput - ToGetAppsAppVisibilityHideOutputWithContext(context.Context) GetAppsAppVisibilityHideOutput + ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput + ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput } -type GetAppsAppVisibilityHideArgs struct { - Ios pulumi.BoolInput `pulumi:"ios"` - Web pulumi.BoolInput `pulumi:"web"` +type getAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrType GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs + +func GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtr(v *GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs) GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrInput { + return (*getAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrType)(v) } -func (GetAppsAppVisibilityHideArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAppsAppVisibilityHide)(nil)).Elem() +func (*getAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsPeopleUsers)(nil)).Elem() } -func (i GetAppsAppVisibilityHideArgs) ToGetAppsAppVisibilityHideOutput() GetAppsAppVisibilityHideOutput { - return i.ToGetAppsAppVisibilityHideOutputWithContext(context.Background()) +func (i *getAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrType) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutputWithContext(context.Background()) } -func (i GetAppsAppVisibilityHideArgs) ToGetAppsAppVisibilityHideOutputWithContext(ctx context.Context) GetAppsAppVisibilityHideOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAppsAppVisibilityHideOutput) +func (i *getAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrType) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput) } -type GetAppsAppVisibilityHideOutput struct{ *pulumi.OutputState } +type GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput struct{ *pulumi.OutputState } -func (GetAppsAppVisibilityHideOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAppsAppVisibilityHide)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeopleUsers)(nil)).Elem() } -func (o GetAppsAppVisibilityHideOutput) ToGetAppsAppVisibilityHideOutput() GetAppsAppVisibilityHideOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput { return o } -func (o GetAppsAppVisibilityHideOutput) ToGetAppsAppVisibilityHideOutputWithContext(ctx context.Context) GetAppsAppVisibilityHideOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput { return o } -func (o GetAppsAppVisibilityHideOutput) Ios() pulumi.BoolOutput { - return o.ApplyT(func(v GetAppsAppVisibilityHide) bool { return v.Ios }).(pulumi.BoolOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return o.ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutputWithContext(context.Background()) } -func (o GetAppsAppVisibilityHideOutput) Web() pulumi.BoolOutput { - return o.ApplyT(func(v GetAppsAppVisibilityHide) bool { return v.Web }).(pulumi.BoolOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthorizationServersPoliciesRuleConditionsPeopleUsers) *GetAuthorizationServersPoliciesRuleConditionsPeopleUsers { + return &v + }).(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput) } -type GetAuthServerClaimsClaim struct { - // Specifies whether to include Claims in the token. - AlwaysIncludeInToken bool `pulumi:"alwaysIncludeInToken"` - // Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). - ClaimType string `pulumi:"claimType"` - // ID of the claim. - Id string `pulumi:"id"` - // Name of the claim. - Name string `pulumi:"name"` - // Specifies the scopes for this Claim. - Scopes []string `pulumi:"scopes"` - // Status of the claim. - Status string `pulumi:"status"` - // Value of the claim. - Value string `pulumi:"value"` - // Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) - ValueType string `pulumi:"valueType"` +// Users to be included +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleConditionsPeopleUsers) []string { return v.Includes }).(pulumi.StringArrayOutput) } -// GetAuthServerClaimsClaimInput is an input type that accepts GetAuthServerClaimsClaimArgs and GetAuthServerClaimsClaimOutput values. -// You can construct a concrete instance of `GetAuthServerClaimsClaimInput` via: -// -// GetAuthServerClaimsClaimArgs{...} -type GetAuthServerClaimsClaimInput interface { - pulumi.Input +type GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput struct{ *pulumi.OutputState } - ToGetAuthServerClaimsClaimOutput() GetAuthServerClaimsClaimOutput - ToGetAuthServerClaimsClaimOutputWithContext(context.Context) GetAuthServerClaimsClaimOutput +func (GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsPeopleUsers)(nil)).Elem() } -type GetAuthServerClaimsClaimArgs struct { - // Specifies whether to include Claims in the token. - AlwaysIncludeInToken pulumi.BoolInput `pulumi:"alwaysIncludeInToken"` - // Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). - ClaimType pulumi.StringInput `pulumi:"claimType"` - // ID of the claim. - Id pulumi.StringInput `pulumi:"id"` - // Name of the claim. - Name pulumi.StringInput `pulumi:"name"` - // Specifies the scopes for this Claim. - Scopes pulumi.StringArrayInput `pulumi:"scopes"` - // Status of the claim. - Status pulumi.StringInput `pulumi:"status"` - // Value of the claim. - Value pulumi.StringInput `pulumi:"value"` - // Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) - ValueType pulumi.StringInput `pulumi:"valueType"` +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return o } -func (GetAuthServerClaimsClaimArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetAuthServerClaimsClaim)(nil)).Elem() +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput { + return o } -func (i GetAuthServerClaimsClaimArgs) ToGetAuthServerClaimsClaimOutput() GetAuthServerClaimsClaimOutput { - return i.ToGetAuthServerClaimsClaimOutputWithContext(context.Background()) +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput) Elem() GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsPeopleUsers) GetAuthorizationServersPoliciesRuleConditionsPeopleUsers { + if v != nil { + return *v + } + var ret GetAuthorizationServersPoliciesRuleConditionsPeopleUsers + return ret + }).(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput) } -func (i GetAuthServerClaimsClaimArgs) ToGetAuthServerClaimsClaimOutputWithContext(ctx context.Context) GetAuthServerClaimsClaimOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAuthServerClaimsClaimOutput) +// Users to be included +func (o GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsPeopleUsers) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) } -// GetAuthServerClaimsClaimArrayInput is an input type that accepts GetAuthServerClaimsClaimArray and GetAuthServerClaimsClaimArrayOutput values. -// You can construct a concrete instance of `GetAuthServerClaimsClaimArrayInput` via: -// -// GetAuthServerClaimsClaimArray{ GetAuthServerClaimsClaimArgs{...} } -type GetAuthServerClaimsClaimArrayInput interface { +type GetAuthorizationServersPoliciesRuleConditionsScopes struct { + // Include + Includes []string `pulumi:"includes"` +} + +// GetAuthorizationServersPoliciesRuleConditionsScopesInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsScopesArgs and GetAuthorizationServersPoliciesRuleConditionsScopesOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsScopesInput` via: +// +// GetAuthorizationServersPoliciesRuleConditionsScopesArgs{...} +type GetAuthorizationServersPoliciesRuleConditionsScopesInput interface { pulumi.Input - ToGetAuthServerClaimsClaimArrayOutput() GetAuthServerClaimsClaimArrayOutput - ToGetAuthServerClaimsClaimArrayOutputWithContext(context.Context) GetAuthServerClaimsClaimArrayOutput + ToGetAuthorizationServersPoliciesRuleConditionsScopesOutput() GetAuthorizationServersPoliciesRuleConditionsScopesOutput + ToGetAuthorizationServersPoliciesRuleConditionsScopesOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsScopesOutput } -type GetAuthServerClaimsClaimArray []GetAuthServerClaimsClaimInput +type GetAuthorizationServersPoliciesRuleConditionsScopesArgs struct { + // Include + Includes pulumi.StringArrayInput `pulumi:"includes"` +} -func (GetAuthServerClaimsClaimArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAuthServerClaimsClaim)(nil)).Elem() +func (GetAuthorizationServersPoliciesRuleConditionsScopesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsScopes)(nil)).Elem() } -func (i GetAuthServerClaimsClaimArray) ToGetAuthServerClaimsClaimArrayOutput() GetAuthServerClaimsClaimArrayOutput { - return i.ToGetAuthServerClaimsClaimArrayOutputWithContext(context.Background()) +func (i GetAuthorizationServersPoliciesRuleConditionsScopesArgs) ToGetAuthorizationServersPoliciesRuleConditionsScopesOutput() GetAuthorizationServersPoliciesRuleConditionsScopesOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsScopesOutputWithContext(context.Background()) } -func (i GetAuthServerClaimsClaimArray) ToGetAuthServerClaimsClaimArrayOutputWithContext(ctx context.Context) GetAuthServerClaimsClaimArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetAuthServerClaimsClaimArrayOutput) +func (i GetAuthorizationServersPoliciesRuleConditionsScopesArgs) ToGetAuthorizationServersPoliciesRuleConditionsScopesOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsScopesOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsScopesOutput) } -type GetAuthServerClaimsClaimOutput struct{ *pulumi.OutputState } +func (i GetAuthorizationServersPoliciesRuleConditionsScopesArgs) ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutputWithContext(context.Background()) +} -func (GetAuthServerClaimsClaimOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetAuthServerClaimsClaim)(nil)).Elem() +func (i GetAuthorizationServersPoliciesRuleConditionsScopesArgs) ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsScopesOutput).ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutputWithContext(ctx) } -func (o GetAuthServerClaimsClaimOutput) ToGetAuthServerClaimsClaimOutput() GetAuthServerClaimsClaimOutput { - return o +// GetAuthorizationServersPoliciesRuleConditionsScopesPtrInput is an input type that accepts GetAuthorizationServersPoliciesRuleConditionsScopesArgs, GetAuthorizationServersPoliciesRuleConditionsScopesPtr and GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput values. +// You can construct a concrete instance of `GetAuthorizationServersPoliciesRuleConditionsScopesPtrInput` via: +// +// GetAuthorizationServersPoliciesRuleConditionsScopesArgs{...} +// +// or: +// +// nil +type GetAuthorizationServersPoliciesRuleConditionsScopesPtrInput interface { + pulumi.Input + + ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput + ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutputWithContext(context.Context) GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput } -func (o GetAuthServerClaimsClaimOutput) ToGetAuthServerClaimsClaimOutputWithContext(ctx context.Context) GetAuthServerClaimsClaimOutput { - return o +type getAuthorizationServersPoliciesRuleConditionsScopesPtrType GetAuthorizationServersPoliciesRuleConditionsScopesArgs + +func GetAuthorizationServersPoliciesRuleConditionsScopesPtr(v *GetAuthorizationServersPoliciesRuleConditionsScopesArgs) GetAuthorizationServersPoliciesRuleConditionsScopesPtrInput { + return (*getAuthorizationServersPoliciesRuleConditionsScopesPtrType)(v) } -// Specifies whether to include Claims in the token. -func (o GetAuthServerClaimsClaimOutput) AlwaysIncludeInToken() pulumi.BoolOutput { - return o.ApplyT(func(v GetAuthServerClaimsClaim) bool { return v.AlwaysIncludeInToken }).(pulumi.BoolOutput) +func (*getAuthorizationServersPoliciesRuleConditionsScopesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsScopes)(nil)).Elem() } -// Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). -func (o GetAuthServerClaimsClaimOutput) ClaimType() pulumi.StringOutput { - return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.ClaimType }).(pulumi.StringOutput) +func (i *getAuthorizationServersPoliciesRuleConditionsScopesPtrType) ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { + return i.ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutputWithContext(context.Background()) } -// ID of the claim. -func (o GetAuthServerClaimsClaimOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.Id }).(pulumi.StringOutput) +func (i *getAuthorizationServersPoliciesRuleConditionsScopesPtrType) ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput) } -// Name of the claim. -func (o GetAuthServerClaimsClaimOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.Name }).(pulumi.StringOutput) +type GetAuthorizationServersPoliciesRuleConditionsScopesOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleConditionsScopesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsScopes)(nil)).Elem() } -// Specifies the scopes for this Claim. -func (o GetAuthServerClaimsClaimOutput) Scopes() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetAuthServerClaimsClaim) []string { return v.Scopes }).(pulumi.StringArrayOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsScopesOutput) ToGetAuthorizationServersPoliciesRuleConditionsScopesOutput() GetAuthorizationServersPoliciesRuleConditionsScopesOutput { + return o } -// Status of the claim. -func (o GetAuthServerClaimsClaimOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.Status }).(pulumi.StringOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsScopesOutput) ToGetAuthorizationServersPoliciesRuleConditionsScopesOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsScopesOutput { + return o } -// Value of the claim. -func (o GetAuthServerClaimsClaimOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.Value }).(pulumi.StringOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsScopesOutput) ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { + return o.ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutputWithContext(context.Background()) } -// Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) -func (o GetAuthServerClaimsClaimOutput) ValueType() pulumi.StringOutput { - return o.ApplyT(func(v GetAuthServerClaimsClaim) string { return v.ValueType }).(pulumi.StringOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsScopesOutput) ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetAuthorizationServersPoliciesRuleConditionsScopes) *GetAuthorizationServersPoliciesRuleConditionsScopes { + return &v + }).(GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput) } -type GetAuthServerClaimsClaimArrayOutput struct{ *pulumi.OutputState } +// Include +func (o GetAuthorizationServersPoliciesRuleConditionsScopesOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAuthorizationServersPoliciesRuleConditionsScopes) []string { return v.Includes }).(pulumi.StringArrayOutput) +} -func (GetAuthServerClaimsClaimArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetAuthServerClaimsClaim)(nil)).Elem() +type GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput struct{ *pulumi.OutputState } + +func (GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetAuthorizationServersPoliciesRuleConditionsScopes)(nil)).Elem() } -func (o GetAuthServerClaimsClaimArrayOutput) ToGetAuthServerClaimsClaimArrayOutput() GetAuthServerClaimsClaimArrayOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput() GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { return o } -func (o GetAuthServerClaimsClaimArrayOutput) ToGetAuthServerClaimsClaimArrayOutputWithContext(ctx context.Context) GetAuthServerClaimsClaimArrayOutput { +func (o GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput) ToGetAuthorizationServersPoliciesRuleConditionsScopesPtrOutputWithContext(ctx context.Context) GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput { return o } -func (o GetAuthServerClaimsClaimArrayOutput) Index(i pulumi.IntInput) GetAuthServerClaimsClaimOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAuthServerClaimsClaim { - return vs[0].([]GetAuthServerClaimsClaim)[vs[1].(int)] - }).(GetAuthServerClaimsClaimOutput) +func (o GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput) Elem() GetAuthorizationServersPoliciesRuleConditionsScopesOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsScopes) GetAuthorizationServersPoliciesRuleConditionsScopes { + if v != nil { + return *v + } + var ret GetAuthorizationServersPoliciesRuleConditionsScopes + return ret + }).(GetAuthorizationServersPoliciesRuleConditionsScopesOutput) +} + +// Include +func (o GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput) Includes() pulumi.StringArrayOutput { + return o.ApplyT(func(v *GetAuthorizationServersPoliciesRuleConditionsScopes) []string { + if v == nil { + return nil + } + return v.Includes + }).(pulumi.StringArrayOutput) } type GetBehavioursBehavior struct { @@ -20726,6 +25896,350 @@ func (o GetGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetGroupsGroupOutput }).(GetGroupsGroupOutput) } +type GetIamAssigneesUserItem struct { + Id string `pulumi:"id"` + // ORN representing the assignee + Orn string `pulumi:"orn"` +} + +// GetIamAssigneesUserItemInput is an input type that accepts GetIamAssigneesUserItemArgs and GetIamAssigneesUserItemOutput values. +// You can construct a concrete instance of `GetIamAssigneesUserItemInput` via: +// +// GetIamAssigneesUserItemArgs{...} +type GetIamAssigneesUserItemInput interface { + pulumi.Input + + ToGetIamAssigneesUserItemOutput() GetIamAssigneesUserItemOutput + ToGetIamAssigneesUserItemOutputWithContext(context.Context) GetIamAssigneesUserItemOutput +} + +type GetIamAssigneesUserItemArgs struct { + Id pulumi.StringInput `pulumi:"id"` + // ORN representing the assignee + Orn pulumi.StringInput `pulumi:"orn"` +} + +func (GetIamAssigneesUserItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamAssigneesUserItem)(nil)).Elem() +} + +func (i GetIamAssigneesUserItemArgs) ToGetIamAssigneesUserItemOutput() GetIamAssigneesUserItemOutput { + return i.ToGetIamAssigneesUserItemOutputWithContext(context.Background()) +} + +func (i GetIamAssigneesUserItemArgs) ToGetIamAssigneesUserItemOutputWithContext(ctx context.Context) GetIamAssigneesUserItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIamAssigneesUserItemOutput) +} + +// GetIamAssigneesUserItemArrayInput is an input type that accepts GetIamAssigneesUserItemArray and GetIamAssigneesUserItemArrayOutput values. +// You can construct a concrete instance of `GetIamAssigneesUserItemArrayInput` via: +// +// GetIamAssigneesUserItemArray{ GetIamAssigneesUserItemArgs{...} } +type GetIamAssigneesUserItemArrayInput interface { + pulumi.Input + + ToGetIamAssigneesUserItemArrayOutput() GetIamAssigneesUserItemArrayOutput + ToGetIamAssigneesUserItemArrayOutputWithContext(context.Context) GetIamAssigneesUserItemArrayOutput +} + +type GetIamAssigneesUserItemArray []GetIamAssigneesUserItemInput + +func (GetIamAssigneesUserItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetIamAssigneesUserItem)(nil)).Elem() +} + +func (i GetIamAssigneesUserItemArray) ToGetIamAssigneesUserItemArrayOutput() GetIamAssigneesUserItemArrayOutput { + return i.ToGetIamAssigneesUserItemArrayOutputWithContext(context.Background()) +} + +func (i GetIamAssigneesUserItemArray) ToGetIamAssigneesUserItemArrayOutputWithContext(ctx context.Context) GetIamAssigneesUserItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIamAssigneesUserItemArrayOutput) +} + +type GetIamAssigneesUserItemOutput struct{ *pulumi.OutputState } + +func (GetIamAssigneesUserItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIamAssigneesUserItem)(nil)).Elem() +} + +func (o GetIamAssigneesUserItemOutput) ToGetIamAssigneesUserItemOutput() GetIamAssigneesUserItemOutput { + return o +} + +func (o GetIamAssigneesUserItemOutput) ToGetIamAssigneesUserItemOutputWithContext(ctx context.Context) GetIamAssigneesUserItemOutput { + return o +} + +func (o GetIamAssigneesUserItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetIamAssigneesUserItem) string { return v.Id }).(pulumi.StringOutput) +} + +// ORN representing the assignee +func (o GetIamAssigneesUserItemOutput) Orn() pulumi.StringOutput { + return o.ApplyT(func(v GetIamAssigneesUserItem) string { return v.Orn }).(pulumi.StringOutput) +} + +type GetIamAssigneesUserItemArrayOutput struct{ *pulumi.OutputState } + +func (GetIamAssigneesUserItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetIamAssigneesUserItem)(nil)).Elem() +} + +func (o GetIamAssigneesUserItemArrayOutput) ToGetIamAssigneesUserItemArrayOutput() GetIamAssigneesUserItemArrayOutput { + return o +} + +func (o GetIamAssigneesUserItemArrayOutput) ToGetIamAssigneesUserItemArrayOutputWithContext(ctx context.Context) GetIamAssigneesUserItemArrayOutput { + return o +} + +func (o GetIamAssigneesUserItemArrayOutput) Index(i pulumi.IntInput) GetIamAssigneesUserItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetIamAssigneesUserItem { + return vs[0].([]GetIamAssigneesUserItem)[vs[1].(int)] + }).(GetIamAssigneesUserItemOutput) +} + +type GetIdentitySourceGroupsProfile struct { + // Description of the group. + Description string `pulumi:"description"` + // Display name of the group. + DisplayName string `pulumi:"displayName"` +} + +// GetIdentitySourceGroupsProfileInput is an input type that accepts GetIdentitySourceGroupsProfileArgs and GetIdentitySourceGroupsProfileOutput values. +// You can construct a concrete instance of `GetIdentitySourceGroupsProfileInput` via: +// +// GetIdentitySourceGroupsProfileArgs{...} +type GetIdentitySourceGroupsProfileInput interface { + pulumi.Input + + ToGetIdentitySourceGroupsProfileOutput() GetIdentitySourceGroupsProfileOutput + ToGetIdentitySourceGroupsProfileOutputWithContext(context.Context) GetIdentitySourceGroupsProfileOutput +} + +type GetIdentitySourceGroupsProfileArgs struct { + // Description of the group. + Description pulumi.StringInput `pulumi:"description"` + // Display name of the group. + DisplayName pulumi.StringInput `pulumi:"displayName"` +} + +func (GetIdentitySourceGroupsProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceGroupsProfile)(nil)).Elem() +} + +func (i GetIdentitySourceGroupsProfileArgs) ToGetIdentitySourceGroupsProfileOutput() GetIdentitySourceGroupsProfileOutput { + return i.ToGetIdentitySourceGroupsProfileOutputWithContext(context.Background()) +} + +func (i GetIdentitySourceGroupsProfileArgs) ToGetIdentitySourceGroupsProfileOutputWithContext(ctx context.Context) GetIdentitySourceGroupsProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIdentitySourceGroupsProfileOutput) +} + +func (i GetIdentitySourceGroupsProfileArgs) ToGetIdentitySourceGroupsProfilePtrOutput() GetIdentitySourceGroupsProfilePtrOutput { + return i.ToGetIdentitySourceGroupsProfilePtrOutputWithContext(context.Background()) +} + +func (i GetIdentitySourceGroupsProfileArgs) ToGetIdentitySourceGroupsProfilePtrOutputWithContext(ctx context.Context) GetIdentitySourceGroupsProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIdentitySourceGroupsProfileOutput).ToGetIdentitySourceGroupsProfilePtrOutputWithContext(ctx) +} + +// GetIdentitySourceGroupsProfilePtrInput is an input type that accepts GetIdentitySourceGroupsProfileArgs, GetIdentitySourceGroupsProfilePtr and GetIdentitySourceGroupsProfilePtrOutput values. +// You can construct a concrete instance of `GetIdentitySourceGroupsProfilePtrInput` via: +// +// GetIdentitySourceGroupsProfileArgs{...} +// +// or: +// +// nil +type GetIdentitySourceGroupsProfilePtrInput interface { + pulumi.Input + + ToGetIdentitySourceGroupsProfilePtrOutput() GetIdentitySourceGroupsProfilePtrOutput + ToGetIdentitySourceGroupsProfilePtrOutputWithContext(context.Context) GetIdentitySourceGroupsProfilePtrOutput +} + +type getIdentitySourceGroupsProfilePtrType GetIdentitySourceGroupsProfileArgs + +func GetIdentitySourceGroupsProfilePtr(v *GetIdentitySourceGroupsProfileArgs) GetIdentitySourceGroupsProfilePtrInput { + return (*getIdentitySourceGroupsProfilePtrType)(v) +} + +func (*getIdentitySourceGroupsProfilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**GetIdentitySourceGroupsProfile)(nil)).Elem() +} + +func (i *getIdentitySourceGroupsProfilePtrType) ToGetIdentitySourceGroupsProfilePtrOutput() GetIdentitySourceGroupsProfilePtrOutput { + return i.ToGetIdentitySourceGroupsProfilePtrOutputWithContext(context.Background()) +} + +func (i *getIdentitySourceGroupsProfilePtrType) ToGetIdentitySourceGroupsProfilePtrOutputWithContext(ctx context.Context) GetIdentitySourceGroupsProfilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIdentitySourceGroupsProfilePtrOutput) +} + +type GetIdentitySourceGroupsProfileOutput struct{ *pulumi.OutputState } + +func (GetIdentitySourceGroupsProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceGroupsProfile)(nil)).Elem() +} + +func (o GetIdentitySourceGroupsProfileOutput) ToGetIdentitySourceGroupsProfileOutput() GetIdentitySourceGroupsProfileOutput { + return o +} + +func (o GetIdentitySourceGroupsProfileOutput) ToGetIdentitySourceGroupsProfileOutputWithContext(ctx context.Context) GetIdentitySourceGroupsProfileOutput { + return o +} + +func (o GetIdentitySourceGroupsProfileOutput) ToGetIdentitySourceGroupsProfilePtrOutput() GetIdentitySourceGroupsProfilePtrOutput { + return o.ToGetIdentitySourceGroupsProfilePtrOutputWithContext(context.Background()) +} + +func (o GetIdentitySourceGroupsProfileOutput) ToGetIdentitySourceGroupsProfilePtrOutputWithContext(ctx context.Context) GetIdentitySourceGroupsProfilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v GetIdentitySourceGroupsProfile) *GetIdentitySourceGroupsProfile { + return &v + }).(GetIdentitySourceGroupsProfilePtrOutput) +} + +// Description of the group. +func (o GetIdentitySourceGroupsProfileOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceGroupsProfile) string { return v.Description }).(pulumi.StringOutput) +} + +// Display name of the group. +func (o GetIdentitySourceGroupsProfileOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceGroupsProfile) string { return v.DisplayName }).(pulumi.StringOutput) +} + +type GetIdentitySourceGroupsProfilePtrOutput struct{ *pulumi.OutputState } + +func (GetIdentitySourceGroupsProfilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**GetIdentitySourceGroupsProfile)(nil)).Elem() +} + +func (o GetIdentitySourceGroupsProfilePtrOutput) ToGetIdentitySourceGroupsProfilePtrOutput() GetIdentitySourceGroupsProfilePtrOutput { + return o +} + +func (o GetIdentitySourceGroupsProfilePtrOutput) ToGetIdentitySourceGroupsProfilePtrOutputWithContext(ctx context.Context) GetIdentitySourceGroupsProfilePtrOutput { + return o +} + +func (o GetIdentitySourceGroupsProfilePtrOutput) Elem() GetIdentitySourceGroupsProfileOutput { + return o.ApplyT(func(v *GetIdentitySourceGroupsProfile) GetIdentitySourceGroupsProfile { + if v != nil { + return *v + } + var ret GetIdentitySourceGroupsProfile + return ret + }).(GetIdentitySourceGroupsProfileOutput) +} + +// Description of the group. +func (o GetIdentitySourceGroupsProfilePtrOutput) Description() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetIdentitySourceGroupsProfile) *string { + if v == nil { + return nil + } + return &v.Description + }).(pulumi.StringPtrOutput) +} + +// Display name of the group. +func (o GetIdentitySourceGroupsProfilePtrOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *GetIdentitySourceGroupsProfile) *string { + if v == nil { + return nil + } + return &v.DisplayName + }).(pulumi.StringPtrOutput) +} + +type GetIdentitySourceUsersProfile struct { + Email string `pulumi:"email"` + FirstName string `pulumi:"firstName"` + HomeAddress string `pulumi:"homeAddress"` + LastName string `pulumi:"lastName"` + MobilePhone string `pulumi:"mobilePhone"` + SecondEmail string `pulumi:"secondEmail"` + UserName string `pulumi:"userName"` +} + +// GetIdentitySourceUsersProfileInput is an input type that accepts GetIdentitySourceUsersProfileArgs and GetIdentitySourceUsersProfileOutput values. +// You can construct a concrete instance of `GetIdentitySourceUsersProfileInput` via: +// +// GetIdentitySourceUsersProfileArgs{...} +type GetIdentitySourceUsersProfileInput interface { + pulumi.Input + + ToGetIdentitySourceUsersProfileOutput() GetIdentitySourceUsersProfileOutput + ToGetIdentitySourceUsersProfileOutputWithContext(context.Context) GetIdentitySourceUsersProfileOutput +} + +type GetIdentitySourceUsersProfileArgs struct { + Email pulumi.StringInput `pulumi:"email"` + FirstName pulumi.StringInput `pulumi:"firstName"` + HomeAddress pulumi.StringInput `pulumi:"homeAddress"` + LastName pulumi.StringInput `pulumi:"lastName"` + MobilePhone pulumi.StringInput `pulumi:"mobilePhone"` + SecondEmail pulumi.StringInput `pulumi:"secondEmail"` + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (GetIdentitySourceUsersProfileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceUsersProfile)(nil)).Elem() +} + +func (i GetIdentitySourceUsersProfileArgs) ToGetIdentitySourceUsersProfileOutput() GetIdentitySourceUsersProfileOutput { + return i.ToGetIdentitySourceUsersProfileOutputWithContext(context.Background()) +} + +func (i GetIdentitySourceUsersProfileArgs) ToGetIdentitySourceUsersProfileOutputWithContext(ctx context.Context) GetIdentitySourceUsersProfileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetIdentitySourceUsersProfileOutput) +} + +type GetIdentitySourceUsersProfileOutput struct{ *pulumi.OutputState } + +func (GetIdentitySourceUsersProfileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetIdentitySourceUsersProfile)(nil)).Elem() +} + +func (o GetIdentitySourceUsersProfileOutput) ToGetIdentitySourceUsersProfileOutput() GetIdentitySourceUsersProfileOutput { + return o +} + +func (o GetIdentitySourceUsersProfileOutput) ToGetIdentitySourceUsersProfileOutputWithContext(ctx context.Context) GetIdentitySourceUsersProfileOutput { + return o +} + +func (o GetIdentitySourceUsersProfileOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersProfile) string { return v.Email }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersProfileOutput) FirstName() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersProfile) string { return v.FirstName }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersProfileOutput) HomeAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersProfile) string { return v.HomeAddress }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersProfileOutput) LastName() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersProfile) string { return v.LastName }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersProfileOutput) MobilePhone() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersProfile) string { return v.MobilePhone }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersProfileOutput) SecondEmail() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersProfile) string { return v.SecondEmail }).(pulumi.StringOutput) +} + +func (o GetIdentitySourceUsersProfileOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetIdentitySourceUsersProfile) string { return v.UserName }).(pulumi.StringOutput) +} + type GetLogStreamSettings struct { // AWS account ID. Required only for 'aws_eventbridge' type AccountId string `pulumi:"accountId"` @@ -28050,12 +33564,24 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ApiTokenNetworkPtrInput)(nil)).Elem(), ApiTokenNetworkArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AppGroupAssignmentsGroupInput)(nil)).Elem(), AppGroupAssignmentsGroupArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AppGroupAssignmentsGroupArrayInput)(nil)).Elem(), AppGroupAssignmentsGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppSignonPolicyRuleKeepMeSignedInInput)(nil)).Elem(), AppSignonPolicyRuleKeepMeSignedInArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AppSignonPolicyRuleKeepMeSignedInPtrInput)(nil)).Elem(), AppSignonPolicyRuleKeepMeSignedInArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AppSignonPolicyRulePlatformIncludeInput)(nil)).Elem(), AppSignonPolicyRulePlatformIncludeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AppSignonPolicyRulePlatformIncludeArrayInput)(nil)).Elem(), AppSignonPolicyRulePlatformIncludeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AppUserSchemaPropertyArrayOneOfInput)(nil)).Elem(), AppUserSchemaPropertyArrayOneOfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AppUserSchemaPropertyArrayOneOfArrayInput)(nil)).Elem(), AppUserSchemaPropertyArrayOneOfArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AppUserSchemaPropertyOneOfInput)(nil)).Elem(), AppUserSchemaPropertyOneOfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AppUserSchemaPropertyOneOfArrayInput)(nil)).Elem(), AppUserSchemaPropertyOneOfArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorMethodWebauthnAaguidGroupInput)(nil)).Elem(), AuthenticatorMethodWebauthnAaguidGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorMethodWebauthnAaguidGroupArrayInput)(nil)).Elem(), AuthenticatorMethodWebauthnAaguidGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorMethodWebauthnRpIdInput)(nil)).Elem(), AuthenticatorMethodWebauthnRpIdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorMethodWebauthnRpIdPtrInput)(nil)).Elem(), AuthenticatorMethodWebauthnRpIdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorMethodWebauthnRpIdDomainInput)(nil)).Elem(), AuthenticatorMethodWebauthnRpIdDomainArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorMethodWebauthnRpIdDomainPtrInput)(nil)).Elem(), AuthenticatorMethodWebauthnRpIdDomainArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidAttestationRootCertificateInput)(nil)).Elem(), AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayInput)(nil)).Elem(), AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsInput)(nil)).Elem(), AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrInput)(nil)).Elem(), AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CampaignNotificationSettingsInput)(nil)).Elem(), CampaignNotificationSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CampaignNotificationSettingsPtrInput)(nil)).Elem(), CampaignNotificationSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*CampaignPrincipalScopeSettingsInput)(nil)).Elem(), CampaignPrincipalScopeSettingsArgs{}) @@ -28122,6 +33648,36 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GroupSchemaPropertyMasterOverridePriorityArrayInput)(nil)).Elem(), GroupSchemaPropertyMasterOverridePriorityArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GroupSchemaPropertyOneOfInput)(nil)).Elem(), GroupSchemaPropertyOneOfArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GroupSchemaPropertyOneOfArrayInput)(nil)).Elem(), GroupSchemaPropertyOneOfArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceGroupProfileInput)(nil)).Elem(), IdentitySourceGroupProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceGroupProfilePtrInput)(nil)).Elem(), IdentitySourceGroupProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteGroupMembershipsInput)(nil)).Elem(), IdentitySourceImportDeleteGroupMembershipsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteGroupMembershipsPtrInput)(nil)).Elem(), IdentitySourceImportDeleteGroupMembershipsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteGroupMembershipsMembershipInput)(nil)).Elem(), IdentitySourceImportDeleteGroupMembershipsMembershipArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteGroupMembershipsMembershipArrayInput)(nil)).Elem(), IdentitySourceImportDeleteGroupMembershipsMembershipArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteGroupsInput)(nil)).Elem(), IdentitySourceImportDeleteGroupsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteGroupsPtrInput)(nil)).Elem(), IdentitySourceImportDeleteGroupsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteUsersInput)(nil)).Elem(), IdentitySourceImportDeleteUsersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteUsersPtrInput)(nil)).Elem(), IdentitySourceImportDeleteUsersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteUsersProfileInput)(nil)).Elem(), IdentitySourceImportDeleteUsersProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportDeleteUsersProfileArrayInput)(nil)).Elem(), IdentitySourceImportDeleteUsersProfileArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupMembershipsInput)(nil)).Elem(), IdentitySourceImportUpsertGroupMembershipsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupMembershipsPtrInput)(nil)).Elem(), IdentitySourceImportUpsertGroupMembershipsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupMembershipsMembershipInput)(nil)).Elem(), IdentitySourceImportUpsertGroupMembershipsMembershipArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupMembershipsMembershipArrayInput)(nil)).Elem(), IdentitySourceImportUpsertGroupMembershipsMembershipArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupsInput)(nil)).Elem(), IdentitySourceImportUpsertGroupsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupsPtrInput)(nil)).Elem(), IdentitySourceImportUpsertGroupsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupsProfileInput)(nil)).Elem(), IdentitySourceImportUpsertGroupsProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupsProfileArrayInput)(nil)).Elem(), IdentitySourceImportUpsertGroupsProfileArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupsProfileGroupProfileInput)(nil)).Elem(), IdentitySourceImportUpsertGroupsProfileGroupProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertGroupsProfileGroupProfilePtrInput)(nil)).Elem(), IdentitySourceImportUpsertGroupsProfileGroupProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertUsersInput)(nil)).Elem(), IdentitySourceImportUpsertUsersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertUsersPtrInput)(nil)).Elem(), IdentitySourceImportUpsertUsersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertUsersProfileInput)(nil)).Elem(), IdentitySourceImportUpsertUsersProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertUsersProfileArrayInput)(nil)).Elem(), IdentitySourceImportUpsertUsersProfileArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertUsersProfileProfileInput)(nil)).Elem(), IdentitySourceImportUpsertUsersProfileProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceImportUpsertUsersProfileProfilePtrInput)(nil)).Elem(), IdentitySourceImportUpsertUsersProfileProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceUserProfileInput)(nil)).Elem(), IdentitySourceUserProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*IdentitySourceUserProfilePtrInput)(nil)).Elem(), IdentitySourceUserProfileArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LogStreamSettingsInput)(nil)).Elem(), LogStreamSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*LogStreamSettingsPtrInput)(nil)).Elem(), LogStreamSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*PolicyRuleProfileEnrollmentProfileAttributeInput)(nil)).Elem(), PolicyRuleProfileEnrollmentProfileAttributeArgs{}) @@ -28200,6 +33756,34 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetAppsAppVisibilityHideInput)(nil)).Elem(), GetAppsAppVisibilityHideArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAuthServerClaimsClaimInput)(nil)).Elem(), GetAuthServerClaimsClaimArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAuthServerClaimsClaimArrayInput)(nil)).Elem(), GetAuthServerClaimsClaimArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorMethodWebauthnAaguidGroupInput)(nil)).Elem(), GetAuthenticatorMethodWebauthnAaguidGroupArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorMethodWebauthnAaguidGroupArrayInput)(nil)).Elem(), GetAuthenticatorMethodWebauthnAaguidGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorMethodWebauthnRpIdInput)(nil)).Elem(), GetAuthenticatorMethodWebauthnRpIdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorMethodWebauthnRpIdPtrInput)(nil)).Elem(), GetAuthenticatorMethodWebauthnRpIdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorMethodWebauthnRpIdDomainInput)(nil)).Elem(), GetAuthenticatorMethodWebauthnRpIdDomainArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorMethodWebauthnRpIdDomainPtrInput)(nil)).Elem(), GetAuthenticatorMethodWebauthnRpIdDomainArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsCustomAaguidInput)(nil)).Elem(), GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayInput)(nil)).Elem(), GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsInput)(nil)).Elem(), GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrInput)(nil)).Elem(), GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleActionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsPtrInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleActionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsTokenInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleActionsTokenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsTokenPtrInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleActionsTokenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsTokenInlineHookInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPtrInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsGrantTypesInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeopleInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsPeopleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeoplePtrInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsPeopleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeopleUsersInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsScopesInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsScopesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAuthorizationServersPoliciesRuleConditionsScopesPtrInput)(nil)).Elem(), GetAuthorizationServersPoliciesRuleConditionsScopesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetBehavioursBehaviorInput)(nil)).Elem(), GetBehavioursBehaviorArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetBehavioursBehaviorArrayInput)(nil)).Elem(), GetBehavioursBehaviorArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetBrandsBrandInput)(nil)).Elem(), GetBrandsBrandArgs{}) @@ -28304,6 +33888,11 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetFeaturesFeatureStageInput)(nil)).Elem(), GetFeaturesFeatureStageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetGroupsGroupInput)(nil)).Elem(), GetGroupsGroupArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetGroupsGroupArrayInput)(nil)).Elem(), GetGroupsGroupArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIamAssigneesUserItemInput)(nil)).Elem(), GetIamAssigneesUserItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIamAssigneesUserItemArrayInput)(nil)).Elem(), GetIamAssigneesUserItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIdentitySourceGroupsProfileInput)(nil)).Elem(), GetIdentitySourceGroupsProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIdentitySourceGroupsProfilePtrInput)(nil)).Elem(), GetIdentitySourceGroupsProfileArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetIdentitySourceUsersProfileInput)(nil)).Elem(), GetIdentitySourceUsersProfileArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLogStreamSettingsInput)(nil)).Elem(), GetLogStreamSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetLogStreamSettingsPtrInput)(nil)).Elem(), GetLogStreamSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetOrgMetadataDomainsInput)(nil)).Elem(), GetOrgMetadataDomainsArgs{}) @@ -28410,12 +33999,24 @@ func init() { pulumi.RegisterOutputType(ApiTokenNetworkPtrOutput{}) pulumi.RegisterOutputType(AppGroupAssignmentsGroupOutput{}) pulumi.RegisterOutputType(AppGroupAssignmentsGroupArrayOutput{}) + pulumi.RegisterOutputType(AppSignonPolicyRuleKeepMeSignedInOutput{}) + pulumi.RegisterOutputType(AppSignonPolicyRuleKeepMeSignedInPtrOutput{}) pulumi.RegisterOutputType(AppSignonPolicyRulePlatformIncludeOutput{}) pulumi.RegisterOutputType(AppSignonPolicyRulePlatformIncludeArrayOutput{}) pulumi.RegisterOutputType(AppUserSchemaPropertyArrayOneOfOutput{}) pulumi.RegisterOutputType(AppUserSchemaPropertyArrayOneOfArrayOutput{}) pulumi.RegisterOutputType(AppUserSchemaPropertyOneOfOutput{}) pulumi.RegisterOutputType(AppUserSchemaPropertyOneOfArrayOutput{}) + pulumi.RegisterOutputType(AuthenticatorMethodWebauthnAaguidGroupOutput{}) + pulumi.RegisterOutputType(AuthenticatorMethodWebauthnAaguidGroupArrayOutput{}) + pulumi.RegisterOutputType(AuthenticatorMethodWebauthnRpIdOutput{}) + pulumi.RegisterOutputType(AuthenticatorMethodWebauthnRpIdPtrOutput{}) + pulumi.RegisterOutputType(AuthenticatorMethodWebauthnRpIdDomainOutput{}) + pulumi.RegisterOutputType(AuthenticatorMethodWebauthnRpIdDomainPtrOutput{}) + pulumi.RegisterOutputType(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateOutput{}) + pulumi.RegisterOutputType(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArrayOutput{}) + pulumi.RegisterOutputType(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsOutput{}) + pulumi.RegisterOutputType(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsPtrOutput{}) pulumi.RegisterOutputType(CampaignNotificationSettingsOutput{}) pulumi.RegisterOutputType(CampaignNotificationSettingsPtrOutput{}) pulumi.RegisterOutputType(CampaignPrincipalScopeSettingsOutput{}) @@ -28482,6 +34083,36 @@ func init() { pulumi.RegisterOutputType(GroupSchemaPropertyMasterOverridePriorityArrayOutput{}) pulumi.RegisterOutputType(GroupSchemaPropertyOneOfOutput{}) pulumi.RegisterOutputType(GroupSchemaPropertyOneOfArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceGroupProfileOutput{}) + pulumi.RegisterOutputType(IdentitySourceGroupProfilePtrOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteGroupMembershipsOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteGroupMembershipsPtrOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteGroupMembershipsMembershipOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteGroupMembershipsMembershipArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteGroupsOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteGroupsPtrOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteUsersOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteUsersPtrOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteUsersProfileOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportDeleteUsersProfileArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupMembershipsOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupMembershipsPtrOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupMembershipsMembershipOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupMembershipsMembershipArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupsOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupsPtrOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupsProfileOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupsProfileArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupsProfileGroupProfileOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertGroupsProfileGroupProfilePtrOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertUsersOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertUsersPtrOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertUsersProfileOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertUsersProfileArrayOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertUsersProfileProfileOutput{}) + pulumi.RegisterOutputType(IdentitySourceImportUpsertUsersProfileProfilePtrOutput{}) + pulumi.RegisterOutputType(IdentitySourceUserProfileOutput{}) + pulumi.RegisterOutputType(IdentitySourceUserProfilePtrOutput{}) pulumi.RegisterOutputType(LogStreamSettingsOutput{}) pulumi.RegisterOutputType(LogStreamSettingsPtrOutput{}) pulumi.RegisterOutputType(PolicyRuleProfileEnrollmentProfileAttributeOutput{}) @@ -28560,6 +34191,34 @@ func init() { pulumi.RegisterOutputType(GetAppsAppVisibilityHideOutput{}) pulumi.RegisterOutputType(GetAuthServerClaimsClaimOutput{}) pulumi.RegisterOutputType(GetAuthServerClaimsClaimArrayOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorMethodWebauthnAaguidGroupOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorMethodWebauthnAaguidGroupArrayOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorMethodWebauthnRpIdOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorMethodWebauthnRpIdPtrOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorMethodWebauthnRpIdDomainOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorMethodWebauthnRpIdDomainPtrOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArrayOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsOutput{}) + pulumi.RegisterOutputType(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsPtrOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleActionsOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleActionsPtrOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleActionsTokenOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleActionsTokenPtrOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookPtrOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsPtrOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsGrantTypesOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsGrantTypesPtrOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsPeopleOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsPeoplePtrOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsPtrOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersPtrOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsScopesOutput{}) + pulumi.RegisterOutputType(GetAuthorizationServersPoliciesRuleConditionsScopesPtrOutput{}) pulumi.RegisterOutputType(GetBehavioursBehaviorOutput{}) pulumi.RegisterOutputType(GetBehavioursBehaviorArrayOutput{}) pulumi.RegisterOutputType(GetBrandsBrandOutput{}) @@ -28664,6 +34323,11 @@ func init() { pulumi.RegisterOutputType(GetFeaturesFeatureStageOutput{}) pulumi.RegisterOutputType(GetGroupsGroupOutput{}) pulumi.RegisterOutputType(GetGroupsGroupArrayOutput{}) + pulumi.RegisterOutputType(GetIamAssigneesUserItemOutput{}) + pulumi.RegisterOutputType(GetIamAssigneesUserItemArrayOutput{}) + pulumi.RegisterOutputType(GetIdentitySourceGroupsProfileOutput{}) + pulumi.RegisterOutputType(GetIdentitySourceGroupsProfilePtrOutput{}) + pulumi.RegisterOutputType(GetIdentitySourceUsersProfileOutput{}) pulumi.RegisterOutputType(GetLogStreamSettingsOutput{}) pulumi.RegisterOutputType(GetLogStreamSettingsPtrOutput{}) pulumi.RegisterOutputType(GetOrgMetadataDomainsOutput{}) diff --git a/sdk/go/okta/pushGroup.go b/sdk/go/okta/pushGroup.go index cc7e527db..f5b99975a 100644 --- a/sdk/go/okta/pushGroup.go +++ b/sdk/go/okta/pushGroup.go @@ -69,6 +69,7 @@ import ( // SourceGroupId: testGroup.ID(), // Status: pulumi.String("ACTIVE"), // AppConfig: &okta.PushGroupAppConfigArgs{ +// Type: pulumi.String("ACTIVE_DIRECTORY"), // DistinguishedName: pulumi.String("CN=Test,OU=Groups,DC=example,DC=com"), // GroupScope: pulumi.String("DOMAIN_LOCAL"), // GroupType: pulumi.String("SECURITY"), diff --git a/sdk/go/okta/requestSettingOrganization.go b/sdk/go/okta/requestSettingOrganization.go index 1f306cfcb..762fca770 100644 --- a/sdk/go/okta/requestSettingOrganization.go +++ b/sdk/go/okta/requestSettingOrganization.go @@ -28,16 +28,9 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := okta.NewRequestCondition(ctx, "example", &okta.RequestConditionArgs{ -// ResourceId: pulumi.String(""), -// ApprovalSequenceId: pulumi.String(""), -// Name: pulumi.String(""), -// AccessScopeSettings: &okta.RequestConditionAccessScopeSettingsArgs{ -// Type: pulumi.String("RESOURCE_DEFAULT"), -// }, -// RequesterSettings: &okta.RequestConditionRequesterSettingsArgs{ -// Type: pulumi.String("EVERYONE"), -// }, +// _, err := okta.NewRequestSettingOrganization(ctx, "example", &okta.RequestSettingOrganizationArgs{ +// IdProperty: pulumi.String("default"), +// SubprocessorsAcknowledged: pulumi.Bool(true), // }) // if err != nil { // return err @@ -56,7 +49,7 @@ import ( type RequestSettingOrganization struct { pulumi.CustomResourceState - // Request condition id. + // The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. IdProperty pulumi.StringOutput `pulumi:"idProperty"` // Whether a customer has acknowledged Access Requests subprocessors. SubprocessorsAcknowledged pulumi.BoolOutput `pulumi:"subprocessorsAcknowledged"` @@ -95,14 +88,14 @@ func GetRequestSettingOrganization(ctx *pulumi.Context, // Input properties used for looking up and filtering RequestSettingOrganization resources. type requestSettingOrganizationState struct { - // Request condition id. + // The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. IdProperty *string `pulumi:"idProperty"` // Whether a customer has acknowledged Access Requests subprocessors. SubprocessorsAcknowledged *bool `pulumi:"subprocessorsAcknowledged"` } type RequestSettingOrganizationState struct { - // Request condition id. + // The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. IdProperty pulumi.StringPtrInput // Whether a customer has acknowledged Access Requests subprocessors. SubprocessorsAcknowledged pulumi.BoolPtrInput @@ -113,7 +106,7 @@ func (RequestSettingOrganizationState) ElementType() reflect.Type { } type requestSettingOrganizationArgs struct { - // Request condition id. + // The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. IdProperty string `pulumi:"idProperty"` // Whether a customer has acknowledged Access Requests subprocessors. SubprocessorsAcknowledged *bool `pulumi:"subprocessorsAcknowledged"` @@ -121,7 +114,7 @@ type requestSettingOrganizationArgs struct { // The set of arguments for constructing a RequestSettingOrganization resource. type RequestSettingOrganizationArgs struct { - // Request condition id. + // The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. IdProperty pulumi.StringInput // Whether a customer has acknowledged Access Requests subprocessors. SubprocessorsAcknowledged pulumi.BoolPtrInput @@ -214,7 +207,7 @@ func (o RequestSettingOrganizationOutput) ToRequestSettingOrganizationOutputWith return o } -// Request condition id. +// The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. func (o RequestSettingOrganizationOutput) IdProperty() pulumi.StringOutput { return o.ApplyT(func(v *RequestSettingOrganization) pulumi.StringOutput { return v.IdProperty }).(pulumi.StringOutput) } diff --git a/sdk/go/okta/requestSettingResource.go b/sdk/go/okta/requestSettingResource.go index a451f33ff..dc2eb3d1b 100644 --- a/sdk/go/okta/requestSettingResource.go +++ b/sdk/go/okta/requestSettingResource.go @@ -29,7 +29,7 @@ import ( // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := okta.NewRequestSettingResource(ctx, "test", &okta.RequestSettingResourceArgs{ -// ResourceId: "", +// IdProperty: pulumi.String(""), // RiskSettings: &okta.RequestSettingResourceRiskSettingsArgs{ // DefaultSetting: &okta.RequestSettingResourceRiskSettingsDefaultSettingArgs{ // RequestSubmissionType: pulumi.String("ALLOWED_WITH_OVERRIDES"), diff --git a/sdk/go/okta/user/getUser.go b/sdk/go/okta/user/getUser.go index cba9f6fd2..4df54bd13 100644 --- a/sdk/go/okta/user/getUser.go +++ b/sdk/go/okta/user/getUser.go @@ -40,12 +40,14 @@ type LookupUserArgs struct { // A collection of values returned by getUser. type LookupUserResult struct { + Activated string `pulumi:"activated"` AdminRoles []string `pulumi:"adminRoles"` City string `pulumi:"city"` // Search operator used when joining multiple search clauses CompoundSearchOperator *string `pulumi:"compoundSearchOperator"` CostCenter string `pulumi:"costCenter"` CountryCode string `pulumi:"countryCode"` + Created string `pulumi:"created"` CustomProfileAttributes string `pulumi:"customProfileAttributes"` // Force delay of the user read by N seconds. Useful when eventual consistency of user information needs to be allowed for. DelayReadSeconds *string `pulumi:"delayReadSeconds"` @@ -60,7 +62,9 @@ type LookupUserResult struct { HonorificSuffix string `pulumi:"honorificSuffix"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` + LastLogin string `pulumi:"lastLogin"` LastName string `pulumi:"lastName"` + LastUpdated string `pulumi:"lastUpdated"` Locale string `pulumi:"locale"` Login string `pulumi:"login"` Manager string `pulumi:"manager"` @@ -69,6 +73,7 @@ type LookupUserResult struct { MobilePhone string `pulumi:"mobilePhone"` NickName string `pulumi:"nickName"` Organization string `pulumi:"organization"` + PasswordChanged string `pulumi:"passwordChanged"` PostalAddress string `pulumi:"postalAddress"` PreferredLanguage string `pulumi:"preferredLanguage"` PrimaryPhone string `pulumi:"primaryPhone"` @@ -85,6 +90,7 @@ type LookupUserResult struct { SkipRoles *bool `pulumi:"skipRoles"` State string `pulumi:"state"` Status string `pulumi:"status"` + StatusChanged string `pulumi:"statusChanged"` StreetAddress string `pulumi:"streetAddress"` Timezone string `pulumi:"timezone"` Title string `pulumi:"title"` @@ -139,6 +145,10 @@ func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context. return o } +func (o LookupUserResultOutput) Activated() pulumi.StringOutput { + return o.ApplyT(func(v LookupUserResult) string { return v.Activated }).(pulumi.StringOutput) +} + func (o LookupUserResultOutput) AdminRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupUserResult) []string { return v.AdminRoles }).(pulumi.StringArrayOutput) } @@ -160,6 +170,10 @@ func (o LookupUserResultOutput) CountryCode() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.CountryCode }).(pulumi.StringOutput) } +func (o LookupUserResultOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v LookupUserResult) string { return v.Created }).(pulumi.StringOutput) +} + func (o LookupUserResultOutput) CustomProfileAttributes() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.CustomProfileAttributes }).(pulumi.StringOutput) } @@ -210,10 +224,18 @@ func (o LookupUserResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.Id }).(pulumi.StringOutput) } +func (o LookupUserResultOutput) LastLogin() pulumi.StringOutput { + return o.ApplyT(func(v LookupUserResult) string { return v.LastLogin }).(pulumi.StringOutput) +} + func (o LookupUserResultOutput) LastName() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.LastName }).(pulumi.StringOutput) } +func (o LookupUserResultOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupUserResult) string { return v.LastUpdated }).(pulumi.StringOutput) +} + func (o LookupUserResultOutput) Locale() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.Locale }).(pulumi.StringOutput) } @@ -246,6 +268,10 @@ func (o LookupUserResultOutput) Organization() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.Organization }).(pulumi.StringOutput) } +func (o LookupUserResultOutput) PasswordChanged() pulumi.StringOutput { + return o.ApplyT(func(v LookupUserResult) string { return v.PasswordChanged }).(pulumi.StringOutput) +} + func (o LookupUserResultOutput) PostalAddress() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.PostalAddress }).(pulumi.StringOutput) } @@ -298,6 +324,10 @@ func (o LookupUserResultOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.Status }).(pulumi.StringOutput) } +func (o LookupUserResultOutput) StatusChanged() pulumi.StringOutput { + return o.ApplyT(func(v LookupUserResult) string { return v.StatusChanged }).(pulumi.StringOutput) +} + func (o LookupUserResultOutput) StreetAddress() pulumi.StringOutput { return o.ApplyT(func(v LookupUserResult) string { return v.StreetAddress }).(pulumi.StringOutput) } diff --git a/sdk/go/okta/user/pulumiTypes.go b/sdk/go/okta/user/pulumiTypes.go index 56a668e49..3ab85b738 100644 --- a/sdk/go/okta/user/pulumiTypes.go +++ b/sdk/go/okta/user/pulumiTypes.go @@ -697,10 +697,12 @@ func (o GetUsersSearchArrayOutput) Index(i pulumi.IntInput) GetUsersSearchOutput } type GetUsersUser struct { + Activated string `pulumi:"activated"` AdminRoles []string `pulumi:"adminRoles"` City string `pulumi:"city"` CostCenter string `pulumi:"costCenter"` CountryCode string `pulumi:"countryCode"` + Created string `pulumi:"created"` CustomProfileAttributes string `pulumi:"customProfileAttributes"` Department string `pulumi:"department"` DisplayName string `pulumi:"displayName"` @@ -712,7 +714,9 @@ type GetUsersUser struct { HonorificPrefix string `pulumi:"honorificPrefix"` HonorificSuffix string `pulumi:"honorificSuffix"` Id string `pulumi:"id"` + LastLogin string `pulumi:"lastLogin"` LastName string `pulumi:"lastName"` + LastUpdated string `pulumi:"lastUpdated"` Locale string `pulumi:"locale"` Login string `pulumi:"login"` Manager string `pulumi:"manager"` @@ -721,6 +725,7 @@ type GetUsersUser struct { MobilePhone string `pulumi:"mobilePhone"` NickName string `pulumi:"nickName"` Organization string `pulumi:"organization"` + PasswordChanged string `pulumi:"passwordChanged"` PostalAddress string `pulumi:"postalAddress"` PreferredLanguage string `pulumi:"preferredLanguage"` PrimaryPhone string `pulumi:"primaryPhone"` @@ -731,6 +736,7 @@ type GetUsersUser struct { SecondEmail string `pulumi:"secondEmail"` State string `pulumi:"state"` Status string `pulumi:"status"` + StatusChanged string `pulumi:"statusChanged"` StreetAddress string `pulumi:"streetAddress"` Timezone string `pulumi:"timezone"` Title string `pulumi:"title"` @@ -752,10 +758,12 @@ type GetUsersUserInput interface { } type GetUsersUserArgs struct { + Activated pulumi.StringInput `pulumi:"activated"` AdminRoles pulumi.StringArrayInput `pulumi:"adminRoles"` City pulumi.StringInput `pulumi:"city"` CostCenter pulumi.StringInput `pulumi:"costCenter"` CountryCode pulumi.StringInput `pulumi:"countryCode"` + Created pulumi.StringInput `pulumi:"created"` CustomProfileAttributes pulumi.StringInput `pulumi:"customProfileAttributes"` Department pulumi.StringInput `pulumi:"department"` DisplayName pulumi.StringInput `pulumi:"displayName"` @@ -767,7 +775,9 @@ type GetUsersUserArgs struct { HonorificPrefix pulumi.StringInput `pulumi:"honorificPrefix"` HonorificSuffix pulumi.StringInput `pulumi:"honorificSuffix"` Id pulumi.StringInput `pulumi:"id"` + LastLogin pulumi.StringInput `pulumi:"lastLogin"` LastName pulumi.StringInput `pulumi:"lastName"` + LastUpdated pulumi.StringInput `pulumi:"lastUpdated"` Locale pulumi.StringInput `pulumi:"locale"` Login pulumi.StringInput `pulumi:"login"` Manager pulumi.StringInput `pulumi:"manager"` @@ -776,6 +786,7 @@ type GetUsersUserArgs struct { MobilePhone pulumi.StringInput `pulumi:"mobilePhone"` NickName pulumi.StringInput `pulumi:"nickName"` Organization pulumi.StringInput `pulumi:"organization"` + PasswordChanged pulumi.StringInput `pulumi:"passwordChanged"` PostalAddress pulumi.StringInput `pulumi:"postalAddress"` PreferredLanguage pulumi.StringInput `pulumi:"preferredLanguage"` PrimaryPhone pulumi.StringInput `pulumi:"primaryPhone"` @@ -786,6 +797,7 @@ type GetUsersUserArgs struct { SecondEmail pulumi.StringInput `pulumi:"secondEmail"` State pulumi.StringInput `pulumi:"state"` Status pulumi.StringInput `pulumi:"status"` + StatusChanged pulumi.StringInput `pulumi:"statusChanged"` StreetAddress pulumi.StringInput `pulumi:"streetAddress"` Timezone pulumi.StringInput `pulumi:"timezone"` Title pulumi.StringInput `pulumi:"title"` @@ -846,6 +858,10 @@ func (o GetUsersUserOutput) ToGetUsersUserOutputWithContext(ctx context.Context) return o } +func (o GetUsersUserOutput) Activated() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Activated }).(pulumi.StringOutput) +} + func (o GetUsersUserOutput) AdminRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v GetUsersUser) []string { return v.AdminRoles }).(pulumi.StringArrayOutput) } @@ -862,6 +878,10 @@ func (o GetUsersUserOutput) CountryCode() pulumi.StringOutput { return o.ApplyT(func(v GetUsersUser) string { return v.CountryCode }).(pulumi.StringOutput) } +func (o GetUsersUserOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.Created }).(pulumi.StringOutput) +} + func (o GetUsersUserOutput) CustomProfileAttributes() pulumi.StringOutput { return o.ApplyT(func(v GetUsersUser) string { return v.CustomProfileAttributes }).(pulumi.StringOutput) } @@ -906,10 +926,18 @@ func (o GetUsersUserOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetUsersUser) string { return v.Id }).(pulumi.StringOutput) } +func (o GetUsersUserOutput) LastLogin() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.LastLogin }).(pulumi.StringOutput) +} + func (o GetUsersUserOutput) LastName() pulumi.StringOutput { return o.ApplyT(func(v GetUsersUser) string { return v.LastName }).(pulumi.StringOutput) } +func (o GetUsersUserOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.LastUpdated }).(pulumi.StringOutput) +} + func (o GetUsersUserOutput) Locale() pulumi.StringOutput { return o.ApplyT(func(v GetUsersUser) string { return v.Locale }).(pulumi.StringOutput) } @@ -942,6 +970,10 @@ func (o GetUsersUserOutput) Organization() pulumi.StringOutput { return o.ApplyT(func(v GetUsersUser) string { return v.Organization }).(pulumi.StringOutput) } +func (o GetUsersUserOutput) PasswordChanged() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.PasswordChanged }).(pulumi.StringOutput) +} + func (o GetUsersUserOutput) PostalAddress() pulumi.StringOutput { return o.ApplyT(func(v GetUsersUser) string { return v.PostalAddress }).(pulumi.StringOutput) } @@ -979,6 +1011,10 @@ func (o GetUsersUserOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v GetUsersUser) string { return v.Status }).(pulumi.StringOutput) } +func (o GetUsersUserOutput) StatusChanged() pulumi.StringOutput { + return o.ApplyT(func(v GetUsersUser) string { return v.StatusChanged }).(pulumi.StringOutput) +} + func (o GetUsersUserOutput) StreetAddress() pulumi.StringOutput { return o.ApplyT(func(v GetUsersUser) string { return v.StreetAddress }).(pulumi.StringOutput) } diff --git a/sdk/go/okta/user/user.go b/sdk/go/okta/user/user.go index 6fdb6a410..4cbf63789 100644 --- a/sdk/go/okta/user/user.go +++ b/sdk/go/okta/user/user.go @@ -90,12 +90,16 @@ import ( type User struct { pulumi.CustomResourceState + // The timestamp when the user status transitioned to ACTIVE + Activated pulumi.StringOutput `pulumi:"activated"` // User city City pulumi.StringPtrOutput `pulumi:"city"` // User cost center CostCenter pulumi.StringPtrOutput `pulumi:"costCenter"` // User country code CountryCode pulumi.StringPtrOutput `pulumi:"countryCode"` + // The timestamp when the user was created + Created pulumi.StringOutput `pulumi:"created"` // JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. CustomProfileAttributes pulumi.StringOutput `pulumi:"customProfileAttributes"` // List of custom*profile*attribute keys that should be excluded from being managed by Terraform. This is useful in situations where specific custom fields may contain sensitive information and should be managed outside of Terraform. @@ -118,8 +122,12 @@ type User struct { HonorificPrefix pulumi.StringPtrOutput `pulumi:"honorificPrefix"` // User honorific suffix HonorificSuffix pulumi.StringPtrOutput `pulumi:"honorificSuffix"` + // The timestamp of the user's last login + LastLogin pulumi.StringOutput `pulumi:"lastLogin"` // User last name LastName pulumi.StringOutput `pulumi:"lastName"` + // The timestamp when the user was last updated + LastUpdated pulumi.StringOutput `pulumi:"lastUpdated"` // User default location Locale pulumi.StringPtrOutput `pulumi:"locale"` // User Okta login @@ -140,6 +148,8 @@ type User struct { Organization pulumi.StringPtrOutput `pulumi:"organization"` // User Password Password pulumi.StringPtrOutput `pulumi:"password"` + // The timestamp when the user's password was last changed + PasswordChanged pulumi.StringOutput `pulumi:"passwordChanged"` // Specifies a hashed password to import into Okta. PasswordHash UserPasswordHashPtrOutput `pulumi:"passwordHash"` // Specifies that a Password Import Inline Hook should be triggered to handle verification of the user's password the first time the user logs in. This allows an existing password to be imported into Okta directly from some other store. When updating a user with a password hook the user must be in the `STAGED` status. The `password` field should not be specified when using Password Import Inline Hook. @@ -170,6 +180,8 @@ type User struct { State pulumi.StringPtrOutput `pulumi:"state"` // User profile property. Valid values are `ACTIVE`, `DEPROVISIONED`, `STAGED`, `SUSPENDED`. Default: `ACTIVE` Status pulumi.StringPtrOutput `pulumi:"status"` + // The timestamp when the user's status last changed + StatusChanged pulumi.StringOutput `pulumi:"statusChanged"` // User street address StreetAddress pulumi.StringPtrOutput `pulumi:"streetAddress"` // User default timezone @@ -241,12 +253,16 @@ func GetUser(ctx *pulumi.Context, // Input properties used for looking up and filtering User resources. type userState struct { + // The timestamp when the user status transitioned to ACTIVE + Activated *string `pulumi:"activated"` // User city City *string `pulumi:"city"` // User cost center CostCenter *string `pulumi:"costCenter"` // User country code CountryCode *string `pulumi:"countryCode"` + // The timestamp when the user was created + Created *string `pulumi:"created"` // JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. CustomProfileAttributes *string `pulumi:"customProfileAttributes"` // List of custom*profile*attribute keys that should be excluded from being managed by Terraform. This is useful in situations where specific custom fields may contain sensitive information and should be managed outside of Terraform. @@ -269,8 +285,12 @@ type userState struct { HonorificPrefix *string `pulumi:"honorificPrefix"` // User honorific suffix HonorificSuffix *string `pulumi:"honorificSuffix"` + // The timestamp of the user's last login + LastLogin *string `pulumi:"lastLogin"` // User last name LastName *string `pulumi:"lastName"` + // The timestamp when the user was last updated + LastUpdated *string `pulumi:"lastUpdated"` // User default location Locale *string `pulumi:"locale"` // User Okta login @@ -291,6 +311,8 @@ type userState struct { Organization *string `pulumi:"organization"` // User Password Password *string `pulumi:"password"` + // The timestamp when the user's password was last changed + PasswordChanged *string `pulumi:"passwordChanged"` // Specifies a hashed password to import into Okta. PasswordHash *UserPasswordHash `pulumi:"passwordHash"` // Specifies that a Password Import Inline Hook should be triggered to handle verification of the user's password the first time the user logs in. This allows an existing password to be imported into Okta directly from some other store. When updating a user with a password hook the user must be in the `STAGED` status. The `password` field should not be specified when using Password Import Inline Hook. @@ -321,6 +343,8 @@ type userState struct { State *string `pulumi:"state"` // User profile property. Valid values are `ACTIVE`, `DEPROVISIONED`, `STAGED`, `SUSPENDED`. Default: `ACTIVE` Status *string `pulumi:"status"` + // The timestamp when the user's status last changed + StatusChanged *string `pulumi:"statusChanged"` // User street address StreetAddress *string `pulumi:"streetAddress"` // User default timezone @@ -336,12 +360,16 @@ type userState struct { } type UserState struct { + // The timestamp when the user status transitioned to ACTIVE + Activated pulumi.StringPtrInput // User city City pulumi.StringPtrInput // User cost center CostCenter pulumi.StringPtrInput // User country code CountryCode pulumi.StringPtrInput + // The timestamp when the user was created + Created pulumi.StringPtrInput // JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. CustomProfileAttributes pulumi.StringPtrInput // List of custom*profile*attribute keys that should be excluded from being managed by Terraform. This is useful in situations where specific custom fields may contain sensitive information and should be managed outside of Terraform. @@ -364,8 +392,12 @@ type UserState struct { HonorificPrefix pulumi.StringPtrInput // User honorific suffix HonorificSuffix pulumi.StringPtrInput + // The timestamp of the user's last login + LastLogin pulumi.StringPtrInput // User last name LastName pulumi.StringPtrInput + // The timestamp when the user was last updated + LastUpdated pulumi.StringPtrInput // User default location Locale pulumi.StringPtrInput // User Okta login @@ -386,6 +418,8 @@ type UserState struct { Organization pulumi.StringPtrInput // User Password Password pulumi.StringPtrInput + // The timestamp when the user's password was last changed + PasswordChanged pulumi.StringPtrInput // Specifies a hashed password to import into Okta. PasswordHash UserPasswordHashPtrInput // Specifies that a Password Import Inline Hook should be triggered to handle verification of the user's password the first time the user logs in. This allows an existing password to be imported into Okta directly from some other store. When updating a user with a password hook the user must be in the `STAGED` status. The `password` field should not be specified when using Password Import Inline Hook. @@ -416,6 +450,8 @@ type UserState struct { State pulumi.StringPtrInput // User profile property. Valid values are `ACTIVE`, `DEPROVISIONED`, `STAGED`, `SUSPENDED`. Default: `ACTIVE` Status pulumi.StringPtrInput + // The timestamp when the user's status last changed + StatusChanged pulumi.StringPtrInput // User street address StreetAddress pulumi.StringPtrInput // User default timezone @@ -708,6 +744,11 @@ func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput { return o } +// The timestamp when the user status transitioned to ACTIVE +func (o UserOutput) Activated() pulumi.StringOutput { + return o.ApplyT(func(v *User) pulumi.StringOutput { return v.Activated }).(pulumi.StringOutput) +} + // User city func (o UserOutput) City() pulumi.StringPtrOutput { return o.ApplyT(func(v *User) pulumi.StringPtrOutput { return v.City }).(pulumi.StringPtrOutput) @@ -723,6 +764,11 @@ func (o UserOutput) CountryCode() pulumi.StringPtrOutput { return o.ApplyT(func(v *User) pulumi.StringPtrOutput { return v.CountryCode }).(pulumi.StringPtrOutput) } +// The timestamp when the user was created +func (o UserOutput) Created() pulumi.StringOutput { + return o.ApplyT(func(v *User) pulumi.StringOutput { return v.Created }).(pulumi.StringOutput) +} + // JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. func (o UserOutput) CustomProfileAttributes() pulumi.StringOutput { return o.ApplyT(func(v *User) pulumi.StringOutput { return v.CustomProfileAttributes }).(pulumi.StringOutput) @@ -778,11 +824,21 @@ func (o UserOutput) HonorificSuffix() pulumi.StringPtrOutput { return o.ApplyT(func(v *User) pulumi.StringPtrOutput { return v.HonorificSuffix }).(pulumi.StringPtrOutput) } +// The timestamp of the user's last login +func (o UserOutput) LastLogin() pulumi.StringOutput { + return o.ApplyT(func(v *User) pulumi.StringOutput { return v.LastLogin }).(pulumi.StringOutput) +} + // User last name func (o UserOutput) LastName() pulumi.StringOutput { return o.ApplyT(func(v *User) pulumi.StringOutput { return v.LastName }).(pulumi.StringOutput) } +// The timestamp when the user was last updated +func (o UserOutput) LastUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *User) pulumi.StringOutput { return v.LastUpdated }).(pulumi.StringOutput) +} + // User default location func (o UserOutput) Locale() pulumi.StringPtrOutput { return o.ApplyT(func(v *User) pulumi.StringPtrOutput { return v.Locale }).(pulumi.StringPtrOutput) @@ -833,6 +889,11 @@ func (o UserOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v *User) pulumi.StringPtrOutput { return v.Password }).(pulumi.StringPtrOutput) } +// The timestamp when the user's password was last changed +func (o UserOutput) PasswordChanged() pulumi.StringOutput { + return o.ApplyT(func(v *User) pulumi.StringOutput { return v.PasswordChanged }).(pulumi.StringOutput) +} + // Specifies a hashed password to import into Okta. func (o UserOutput) PasswordHash() UserPasswordHashPtrOutput { return o.ApplyT(func(v *User) UserPasswordHashPtrOutput { return v.PasswordHash }).(UserPasswordHashPtrOutput) @@ -905,6 +966,11 @@ func (o UserOutput) Status() pulumi.StringPtrOutput { return o.ApplyT(func(v *User) pulumi.StringPtrOutput { return v.Status }).(pulumi.StringPtrOutput) } +// The timestamp when the user's status last changed +func (o UserOutput) StatusChanged() pulumi.StringOutput { + return o.ApplyT(func(v *User) pulumi.StringOutput { return v.StatusChanged }).(pulumi.StringOutput) +} + // User street address func (o UserOutput) StreetAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v *User) pulumi.StringPtrOutput { return v.StreetAddress }).(pulumi.StringPtrOutput) diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRule.java b/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRule.java index 6551a40ad..fc0ade159 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRule.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRule.java @@ -10,6 +10,7 @@ import com.pulumi.okta.AppSignonPolicyRuleArgs; import com.pulumi.okta.Utilities; import com.pulumi.okta.inputs.AppSignonPolicyRuleState; +import com.pulumi.okta.outputs.AppSignonPolicyRuleKeepMeSignedIn; import com.pulumi.okta.outputs.AppSignonPolicyRulePlatformInclude; import java.lang.Boolean; import java.lang.Integer; @@ -194,6 +195,20 @@ public Output>> groupsIncludeds() { public Output> inactivityPeriod() { return Codegen.optional(this.inactivityPeriod); } + /** + * Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + */ + @Export(name="keepMeSignedIn", refs={AppSignonPolicyRuleKeepMeSignedIn.class}, tree="[0]") + private Output keepMeSignedIn; + + /** + * @return Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + */ + public Output keepMeSignedIn() { + return this.keepMeSignedIn; + } /** * Policy Rule Name * diff --git a/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRuleArgs.java b/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRuleArgs.java index 563b5f8a5..49380375f 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRuleArgs.java +++ b/sdk/java/src/main/java/com/pulumi/okta/AppSignonPolicyRuleArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.AppSignonPolicyRuleKeepMeSignedInArgs; import com.pulumi.okta.inputs.AppSignonPolicyRulePlatformIncludeArgs; import java.lang.Boolean; import java.lang.Integer; @@ -185,6 +186,21 @@ public Optional> inactivityPeriod() { return Optional.ofNullable(this.inactivityPeriod); } + /** + * Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + */ + @Import(name="keepMeSignedIn") + private @Nullable Output keepMeSignedIn; + + /** + * @return Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + */ + public Optional> keepMeSignedIn() { + return Optional.ofNullable(this.keepMeSignedIn); + } + /** * Policy Rule Name * @@ -416,6 +432,7 @@ private AppSignonPolicyRuleArgs(AppSignonPolicyRuleArgs $) { this.groupsExcludeds = $.groupsExcludeds; this.groupsIncludeds = $.groupsIncludeds; this.inactivityPeriod = $.inactivityPeriod; + this.keepMeSignedIn = $.keepMeSignedIn; this.name = $.name; this.networkConnection = $.networkConnection; this.networkExcludes = $.networkExcludes; @@ -732,6 +749,27 @@ public Builder inactivityPeriod(String inactivityPeriod) { return inactivityPeriod(Output.of(inactivityPeriod)); } + /** + * @param keepMeSignedIn Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + * @return builder + * + */ + public Builder keepMeSignedIn(@Nullable Output keepMeSignedIn) { + $.keepMeSignedIn = keepMeSignedIn; + return this; + } + + /** + * @param keepMeSignedIn Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + * @return builder + * + */ + public Builder keepMeSignedIn(AppSignonPolicyRuleKeepMeSignedInArgs keepMeSignedIn) { + return keepMeSignedIn(Output.of(keepMeSignedIn)); + } + /** * @param name Policy Rule Name * diff --git a/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorMethodWebauthn.java b/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorMethodWebauthn.java new file mode 100644 index 000000000..2c75e5827 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorMethodWebauthn.java @@ -0,0 +1,338 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.okta.AuthenticatorMethodWebauthnArgs; +import com.pulumi.okta.Utilities; +import com.pulumi.okta.inputs.AuthenticatorMethodWebauthnState; +import com.pulumi.okta.outputs.AuthenticatorMethodWebauthnAaguidGroup; +import com.pulumi.okta.outputs.AuthenticatorMethodWebauthnRpId; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Manages the WebAuthn authenticator method settings, including AAGUID group allowlists, user verification preferences, and passkey configuration. + * + * > **Note:** This resource manages the settings of an existing WebAuthn authenticator method. The method itself cannot be created or deleted — it exists as part of the authenticator. On destroy, settings are reset to defaults. + * + * ## Example Usage + * + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.okta.OktaFunctions;
+ * import com.pulumi.okta.inputs.GetAuthenticatorArgs;
+ * import com.pulumi.okta.AuthenticatorMethodWebauthn;
+ * import com.pulumi.okta.AuthenticatorMethodWebauthnArgs;
+ * import com.pulumi.okta.inputs.AuthenticatorMethodWebauthnAaguidGroupArgs;
+ * import java.util.ArrayList;
+ * import java.util.Arrays;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()
+ *             .key("webauthn")
+ *             .build());
+ * 
+ *         var example = new AuthenticatorMethodWebauthn("example", AuthenticatorMethodWebauthnArgs.builder()
+ *             .authenticatorId(webauthn.id())
+ *             .userVerification("PREFERRED")
+ *             .attachment("ANY")
+ *             .allowSyncablePasskeys(true)
+ *             .aaguidGroups(AuthenticatorMethodWebauthnAaguidGroupArgs.builder()
+ *                 .name("YubiKeys")
+ *                 .aaguids("cb69481e-8ff7-4039-93ec-0a2729a154a8")
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * + * ## Import + * + * The WebAuthn method can be imported using the authenticator ID: + * + * ```sh + * $ pulumi import okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn example aut1234567890 + * ``` + * + */ +@ResourceType(type="okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn") +public class AuthenticatorMethodWebauthn extends com.pulumi.resources.CustomResource { + /** + * List of AAGUID group configurations. + * + */ + @Export(name="aaguidGroups", refs={List.class,AuthenticatorMethodWebauthnAaguidGroup.class}, tree="[0,1]") + private Output> aaguidGroups; + + /** + * @return List of AAGUID group configurations. + * + */ + public Output>> aaguidGroups() { + return Codegen.optional(this.aaguidGroups); + } + /** + * Whether syncable passkeys are allowed. + * + */ + @Export(name="allowSyncablePasskeys", refs={Boolean.class}, tree="[0]") + private Output allowSyncablePasskeys; + + /** + * @return Whether syncable passkeys are allowed. + * + */ + public Output allowSyncablePasskeys() { + return this.allowSyncablePasskeys; + } + /** + * Method attachment setting. + * + */ + @Export(name="attachment", refs={String.class}, tree="[0]") + private Output attachment; + + /** + * @return Method attachment setting. + * + */ + public Output attachment() { + return this.attachment; + } + /** + * The ID of the WebAuthn authenticator. + * + */ + @Export(name="authenticatorId", refs={String.class}, tree="[0]") + private Output authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public Output authenticatorId() { + return this.authenticatorId; + } + /** + * Whether certificate-based attestation validation is enabled. + * + */ + @Export(name="certBasedAttestationValidation", refs={Boolean.class}, tree="[0]") + private Output certBasedAttestationValidation; + + /** + * @return Whether certificate-based attestation validation is enabled. + * + */ + public Output certBasedAttestationValidation() { + return this.certBasedAttestationValidation; + } + /** + * Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + */ + @Export(name="enableAutofillUi", refs={Boolean.class}, tree="[0]") + private Output enableAutofillUi; + + /** + * @return Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + */ + public Output enableAutofillUi() { + return this.enableAutofillUi; + } + /** + * Whether the authenticator must be FIPS compliant. + * + */ + @Export(name="fipsCompliant", refs={Boolean.class}, tree="[0]") + private Output fipsCompliant; + + /** + * @return Whether the authenticator must be FIPS compliant. + * + */ + public Output fipsCompliant() { + return this.fipsCompliant; + } + /** + * Whether the authenticator must store the private key on hardware. + * + */ + @Export(name="hardwareProtected", refs={Boolean.class}, tree="[0]") + private Output hardwareProtected; + + /** + * @return Whether the authenticator must store the private key on hardware. + * + */ + public Output hardwareProtected() { + return this.hardwareProtected; + } + /** + * Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + */ + @Export(name="residentKeyRequirement", refs={String.class}, tree="[0]") + private Output residentKeyRequirement; + + /** + * @return Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + */ + public Output residentKeyRequirement() { + return this.residentKeyRequirement; + } + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + @Export(name="rpId", refs={AuthenticatorMethodWebauthnRpId.class}, tree="[0]") + private Output rpId; + + /** + * @return The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + public Output> rpId() { + return Codegen.optional(this.rpId); + } + /** + * Whether to show the "Sign in with a Passkey" button. + * + */ + @Export(name="showSignInWithAPasskeyButton", refs={Boolean.class}, tree="[0]") + private Output showSignInWithAPasskeyButton; + + /** + * @return Whether to show the "Sign in with a Passkey" button. + * + */ + public Output showSignInWithAPasskeyButton() { + return this.showSignInWithAPasskeyButton; + } + /** + * The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + * + */ + @Export(name="status", refs={String.class}, tree="[0]") + private Output status; + + /** + * @return The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + * + */ + public Output status() { + return this.status; + } + /** + * User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + */ + @Export(name="userVerification", refs={String.class}, tree="[0]") + private Output userVerification; + + /** + * @return User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + */ + public Output userVerification() { + return this.userVerification; + } + /** + * User verification setting for authentication (verification). + * + */ + @Export(name="userVerificationForVerify", refs={String.class}, tree="[0]") + private Output userVerificationForVerify; + + /** + * @return User verification setting for authentication (verification). + * + */ + public Output userVerificationForVerify() { + return this.userVerificationForVerify; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthenticatorMethodWebauthn(java.lang.String name) { + this(name, AuthenticatorMethodWebauthnArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthenticatorMethodWebauthn(java.lang.String name, AuthenticatorMethodWebauthnArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public AuthenticatorMethodWebauthn(java.lang.String name, AuthenticatorMethodWebauthnArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private AuthenticatorMethodWebauthn(java.lang.String name, Output id, @Nullable AuthenticatorMethodWebauthnState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn", name, state, makeResourceOptions(options, id), false); + } + + private static AuthenticatorMethodWebauthnArgs makeArgs(AuthenticatorMethodWebauthnArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? AuthenticatorMethodWebauthnArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static AuthenticatorMethodWebauthn get(java.lang.String name, Output id, @Nullable AuthenticatorMethodWebauthnState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthenticatorMethodWebauthn(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorMethodWebauthnArgs.java b/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorMethodWebauthnArgs.java new file mode 100644 index 000000000..30f782e1a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorMethodWebauthnArgs.java @@ -0,0 +1,545 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.AuthenticatorMethodWebauthnAaguidGroupArgs; +import com.pulumi.okta.inputs.AuthenticatorMethodWebauthnRpIdArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticatorMethodWebauthnArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticatorMethodWebauthnArgs Empty = new AuthenticatorMethodWebauthnArgs(); + + /** + * List of AAGUID group configurations. + * + */ + @Import(name="aaguidGroups") + private @Nullable Output> aaguidGroups; + + /** + * @return List of AAGUID group configurations. + * + */ + public Optional>> aaguidGroups() { + return Optional.ofNullable(this.aaguidGroups); + } + + /** + * Whether syncable passkeys are allowed. + * + */ + @Import(name="allowSyncablePasskeys") + private @Nullable Output allowSyncablePasskeys; + + /** + * @return Whether syncable passkeys are allowed. + * + */ + public Optional> allowSyncablePasskeys() { + return Optional.ofNullable(this.allowSyncablePasskeys); + } + + /** + * Method attachment setting. + * + */ + @Import(name="attachment") + private @Nullable Output attachment; + + /** + * @return Method attachment setting. + * + */ + public Optional> attachment() { + return Optional.ofNullable(this.attachment); + } + + /** + * The ID of the WebAuthn authenticator. + * + */ + @Import(name="authenticatorId", required=true) + private Output authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public Output authenticatorId() { + return this.authenticatorId; + } + + /** + * Whether certificate-based attestation validation is enabled. + * + */ + @Import(name="certBasedAttestationValidation") + private @Nullable Output certBasedAttestationValidation; + + /** + * @return Whether certificate-based attestation validation is enabled. + * + */ + public Optional> certBasedAttestationValidation() { + return Optional.ofNullable(this.certBasedAttestationValidation); + } + + /** + * Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + */ + @Import(name="enableAutofillUi") + private @Nullable Output enableAutofillUi; + + /** + * @return Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + */ + public Optional> enableAutofillUi() { + return Optional.ofNullable(this.enableAutofillUi); + } + + /** + * Whether the authenticator must be FIPS compliant. + * + */ + @Import(name="fipsCompliant") + private @Nullable Output fipsCompliant; + + /** + * @return Whether the authenticator must be FIPS compliant. + * + */ + public Optional> fipsCompliant() { + return Optional.ofNullable(this.fipsCompliant); + } + + /** + * Whether the authenticator must store the private key on hardware. + * + */ + @Import(name="hardwareProtected") + private @Nullable Output hardwareProtected; + + /** + * @return Whether the authenticator must store the private key on hardware. + * + */ + public Optional> hardwareProtected() { + return Optional.ofNullable(this.hardwareProtected); + } + + /** + * Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + */ + @Import(name="residentKeyRequirement") + private @Nullable Output residentKeyRequirement; + + /** + * @return Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + */ + public Optional> residentKeyRequirement() { + return Optional.ofNullable(this.residentKeyRequirement); + } + + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + @Import(name="rpId") + private @Nullable Output rpId; + + /** + * @return The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + public Optional> rpId() { + return Optional.ofNullable(this.rpId); + } + + /** + * Whether to show the "Sign in with a Passkey" button. + * + */ + @Import(name="showSignInWithAPasskeyButton") + private @Nullable Output showSignInWithAPasskeyButton; + + /** + * @return Whether to show the "Sign in with a Passkey" button. + * + */ + public Optional> showSignInWithAPasskeyButton() { + return Optional.ofNullable(this.showSignInWithAPasskeyButton); + } + + /** + * User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + */ + @Import(name="userVerification") + private @Nullable Output userVerification; + + /** + * @return User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + */ + public Optional> userVerification() { + return Optional.ofNullable(this.userVerification); + } + + /** + * User verification setting for authentication (verification). + * + */ + @Import(name="userVerificationForVerify") + private @Nullable Output userVerificationForVerify; + + /** + * @return User verification setting for authentication (verification). + * + */ + public Optional> userVerificationForVerify() { + return Optional.ofNullable(this.userVerificationForVerify); + } + + private AuthenticatorMethodWebauthnArgs() {} + + private AuthenticatorMethodWebauthnArgs(AuthenticatorMethodWebauthnArgs $) { + this.aaguidGroups = $.aaguidGroups; + this.allowSyncablePasskeys = $.allowSyncablePasskeys; + this.attachment = $.attachment; + this.authenticatorId = $.authenticatorId; + this.certBasedAttestationValidation = $.certBasedAttestationValidation; + this.enableAutofillUi = $.enableAutofillUi; + this.fipsCompliant = $.fipsCompliant; + this.hardwareProtected = $.hardwareProtected; + this.residentKeyRequirement = $.residentKeyRequirement; + this.rpId = $.rpId; + this.showSignInWithAPasskeyButton = $.showSignInWithAPasskeyButton; + this.userVerification = $.userVerification; + this.userVerificationForVerify = $.userVerificationForVerify; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticatorMethodWebauthnArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticatorMethodWebauthnArgs $; + + public Builder() { + $ = new AuthenticatorMethodWebauthnArgs(); + } + + public Builder(AuthenticatorMethodWebauthnArgs defaults) { + $ = new AuthenticatorMethodWebauthnArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguidGroups List of AAGUID group configurations. + * + * @return builder + * + */ + public Builder aaguidGroups(@Nullable Output> aaguidGroups) { + $.aaguidGroups = aaguidGroups; + return this; + } + + /** + * @param aaguidGroups List of AAGUID group configurations. + * + * @return builder + * + */ + public Builder aaguidGroups(List aaguidGroups) { + return aaguidGroups(Output.of(aaguidGroups)); + } + + /** + * @param aaguidGroups List of AAGUID group configurations. + * + * @return builder + * + */ + public Builder aaguidGroups(AuthenticatorMethodWebauthnAaguidGroupArgs... aaguidGroups) { + return aaguidGroups(List.of(aaguidGroups)); + } + + /** + * @param allowSyncablePasskeys Whether syncable passkeys are allowed. + * + * @return builder + * + */ + public Builder allowSyncablePasskeys(@Nullable Output allowSyncablePasskeys) { + $.allowSyncablePasskeys = allowSyncablePasskeys; + return this; + } + + /** + * @param allowSyncablePasskeys Whether syncable passkeys are allowed. + * + * @return builder + * + */ + public Builder allowSyncablePasskeys(Boolean allowSyncablePasskeys) { + return allowSyncablePasskeys(Output.of(allowSyncablePasskeys)); + } + + /** + * @param attachment Method attachment setting. + * + * @return builder + * + */ + public Builder attachment(@Nullable Output attachment) { + $.attachment = attachment; + return this; + } + + /** + * @param attachment Method attachment setting. + * + * @return builder + * + */ + public Builder attachment(String attachment) { + return attachment(Output.of(attachment)); + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(Output authenticatorId) { + $.authenticatorId = authenticatorId; + return this; + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(String authenticatorId) { + return authenticatorId(Output.of(authenticatorId)); + } + + /** + * @param certBasedAttestationValidation Whether certificate-based attestation validation is enabled. + * + * @return builder + * + */ + public Builder certBasedAttestationValidation(@Nullable Output certBasedAttestationValidation) { + $.certBasedAttestationValidation = certBasedAttestationValidation; + return this; + } + + /** + * @param certBasedAttestationValidation Whether certificate-based attestation validation is enabled. + * + * @return builder + * + */ + public Builder certBasedAttestationValidation(Boolean certBasedAttestationValidation) { + return certBasedAttestationValidation(Output.of(certBasedAttestationValidation)); + } + + /** + * @param enableAutofillUi Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + * @return builder + * + */ + public Builder enableAutofillUi(@Nullable Output enableAutofillUi) { + $.enableAutofillUi = enableAutofillUi; + return this; + } + + /** + * @param enableAutofillUi Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + * @return builder + * + */ + public Builder enableAutofillUi(Boolean enableAutofillUi) { + return enableAutofillUi(Output.of(enableAutofillUi)); + } + + /** + * @param fipsCompliant Whether the authenticator must be FIPS compliant. + * + * @return builder + * + */ + public Builder fipsCompliant(@Nullable Output fipsCompliant) { + $.fipsCompliant = fipsCompliant; + return this; + } + + /** + * @param fipsCompliant Whether the authenticator must be FIPS compliant. + * + * @return builder + * + */ + public Builder fipsCompliant(Boolean fipsCompliant) { + return fipsCompliant(Output.of(fipsCompliant)); + } + + /** + * @param hardwareProtected Whether the authenticator must store the private key on hardware. + * + * @return builder + * + */ + public Builder hardwareProtected(@Nullable Output hardwareProtected) { + $.hardwareProtected = hardwareProtected; + return this; + } + + /** + * @param hardwareProtected Whether the authenticator must store the private key on hardware. + * + * @return builder + * + */ + public Builder hardwareProtected(Boolean hardwareProtected) { + return hardwareProtected(Output.of(hardwareProtected)); + } + + /** + * @param residentKeyRequirement Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + * @return builder + * + */ + public Builder residentKeyRequirement(@Nullable Output residentKeyRequirement) { + $.residentKeyRequirement = residentKeyRequirement; + return this; + } + + /** + * @param residentKeyRequirement Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + * @return builder + * + */ + public Builder residentKeyRequirement(String residentKeyRequirement) { + return residentKeyRequirement(Output.of(residentKeyRequirement)); + } + + /** + * @param rpId The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + * @return builder + * + */ + public Builder rpId(@Nullable Output rpId) { + $.rpId = rpId; + return this; + } + + /** + * @param rpId The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + * @return builder + * + */ + public Builder rpId(AuthenticatorMethodWebauthnRpIdArgs rpId) { + return rpId(Output.of(rpId)); + } + + /** + * @param showSignInWithAPasskeyButton Whether to show the "Sign in with a Passkey" button. + * + * @return builder + * + */ + public Builder showSignInWithAPasskeyButton(@Nullable Output showSignInWithAPasskeyButton) { + $.showSignInWithAPasskeyButton = showSignInWithAPasskeyButton; + return this; + } + + /** + * @param showSignInWithAPasskeyButton Whether to show the "Sign in with a Passkey" button. + * + * @return builder + * + */ + public Builder showSignInWithAPasskeyButton(Boolean showSignInWithAPasskeyButton) { + return showSignInWithAPasskeyButton(Output.of(showSignInWithAPasskeyButton)); + } + + /** + * @param userVerification User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + * @return builder + * + */ + public Builder userVerification(@Nullable Output userVerification) { + $.userVerification = userVerification; + return this; + } + + /** + * @param userVerification User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + * @return builder + * + */ + public Builder userVerification(String userVerification) { + return userVerification(Output.of(userVerification)); + } + + /** + * @param userVerificationForVerify User verification setting for authentication (verification). + * + * @return builder + * + */ + public Builder userVerificationForVerify(@Nullable Output userVerificationForVerify) { + $.userVerificationForVerify = userVerificationForVerify; + return this; + } + + /** + * @param userVerificationForVerify User verification setting for authentication (verification). + * + * @return builder + * + */ + public Builder userVerificationForVerify(String userVerificationForVerify) { + return userVerificationForVerify(Output.of(userVerificationForVerify)); + } + + public AuthenticatorMethodWebauthnArgs build() { + if ($.authenticatorId == null) { + throw new MissingRequiredPropertyException("AuthenticatorMethodWebauthnArgs", "authenticatorId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorWebauthnCustomAaguid.java b/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorWebauthnCustomAaguid.java new file mode 100644 index 000000000..6f8f0bc8c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorWebauthnCustomAaguid.java @@ -0,0 +1,263 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.okta.AuthenticatorWebauthnCustomAaguidArgs; +import com.pulumi.okta.Utilities; +import com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidState; +import com.pulumi.okta.outputs.AuthenticatorWebauthnCustomAaguidAttestationRootCertificate; +import com.pulumi.okta.outputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics; +import java.lang.String; +import java.util.List; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Manages a custom AAGUID (Authenticator Attestation Globally Unique Identifier) for a WebAuthn authenticator. Custom AAGUIDs allow administrators to register specific hardware security key models with the organization. + * + * > **NOTE:** AAGUIDs that are registered in the [FIDO Metadata Service (MDS)](https://fidoalliance.org/metadata/) with attestation certificates **require** the `attestationRootCertificate` block(s) to be provided. If omitted for an MDS-registered AAGUID, the API will return a validation error. AAGUIDs not present in the MDS do not require certificates. + * + * ## Example Usage + * + * ### Basic (custom/non-MDS AAGUID) + * + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.okta.OktaFunctions;
+ * import com.pulumi.okta.inputs.GetAuthenticatorArgs;
+ * import com.pulumi.okta.AuthenticatorWebauthnCustomAaguid;
+ * import com.pulumi.okta.AuthenticatorWebauthnCustomAaguidArgs;
+ * import com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs;
+ * import java.util.ArrayList;
+ * import java.util.Arrays;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()
+ *             .key("webauthn")
+ *             .build());
+ * 
+ *         var customKey = new AuthenticatorWebauthnCustomAaguid("customKey", AuthenticatorWebauthnCustomAaguidArgs.builder()
+ *             .authenticatorId(webauthn.id())
+ *             .aaguid("00000000-0000-0000-0000-000000000001")
+ *             .name("Custom Security Key")
+ *             .authenticatorCharacteristics(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.builder()
+ *                 .hardwareProtected(true)
+ *                 .platformAttached(false)
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * + * ### With attestation certificates (MDS-registered AAGUID) + * + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.okta.OktaFunctions;
+ * import com.pulumi.okta.inputs.GetAuthenticatorArgs;
+ * import com.pulumi.okta.AuthenticatorWebauthnCustomAaguid;
+ * import com.pulumi.okta.AuthenticatorWebauthnCustomAaguidArgs;
+ * import com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs;
+ * import com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs;
+ * import java.util.ArrayList;
+ * import java.util.Arrays;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder()
+ *             .key("webauthn")
+ *             .build());
+ * 
+ *         var yubikey5 = new AuthenticatorWebauthnCustomAaguid("yubikey5", AuthenticatorWebauthnCustomAaguidArgs.builder()
+ *             .authenticatorId(webauthn.id())
+ *             .aaguid("cb69481e-8ff7-4039-93ec-0a2729a154a8")
+ *             .name("YubiKey 5 Series")
+ *             .authenticatorCharacteristics(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.builder()
+ *                 .fipsCompliant(true)
+ *                 .hardwareProtected(true)
+ *                 .platformAttached(false)
+ *                 .build())
+ *             .attestationRootCertificates(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.builder()
+ *                 .x5c("")
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * + * ## Import + * + * A custom AAGUID can be imported using the format `authenticator_id/aaguid`: + * + * ```sh + * $ pulumi import okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid example aut1234567890/cb69481e-8ff7-4039-93ec-0a2729a154a8 + * ``` + * + */ +@ResourceType(type="okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid") +public class AuthenticatorWebauthnCustomAaguid extends com.pulumi.resources.CustomResource { + /** + * The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + */ + @Export(name="aaguid", refs={String.class}, tree="[0]") + private Output aaguid; + + /** + * @return The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + */ + public Output aaguid() { + return this.aaguid; + } + /** + * List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + */ + @Export(name="attestationRootCertificates", refs={List.class,AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.class}, tree="[0,1]") + private Output> attestationRootCertificates; + + /** + * @return List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + */ + public Output>> attestationRootCertificates() { + return Codegen.optional(this.attestationRootCertificates); + } + /** + * Properties of the custom AAGUID authenticator. + * + */ + @Export(name="authenticatorCharacteristics", refs={AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.class}, tree="[0]") + private Output authenticatorCharacteristics; + + /** + * @return Properties of the custom AAGUID authenticator. + * + */ + public Output> authenticatorCharacteristics() { + return Codegen.optional(this.authenticatorCharacteristics); + } + /** + * The ID of the WebAuthn authenticator. + * + */ + @Export(name="authenticatorId", refs={String.class}, tree="[0]") + private Output authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public Output authenticatorId() { + return this.authenticatorId; + } + /** + * The product name associated with this AAGUID. + * + */ + @Export(name="name", refs={String.class}, tree="[0]") + private Output name; + + /** + * @return The product name associated with this AAGUID. + * + */ + public Output name() { + return this.name; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AuthenticatorWebauthnCustomAaguid(java.lang.String name) { + this(name, AuthenticatorWebauthnCustomAaguidArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AuthenticatorWebauthnCustomAaguid(java.lang.String name, AuthenticatorWebauthnCustomAaguidArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public AuthenticatorWebauthnCustomAaguid(java.lang.String name, AuthenticatorWebauthnCustomAaguidArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private AuthenticatorWebauthnCustomAaguid(java.lang.String name, Output id, @Nullable AuthenticatorWebauthnCustomAaguidState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid", name, state, makeResourceOptions(options, id), false); + } + + private static AuthenticatorWebauthnCustomAaguidArgs makeArgs(AuthenticatorWebauthnCustomAaguidArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? AuthenticatorWebauthnCustomAaguidArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static AuthenticatorWebauthnCustomAaguid get(java.lang.String name, Output id, @Nullable AuthenticatorWebauthnCustomAaguidState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AuthenticatorWebauthnCustomAaguid(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorWebauthnCustomAaguidArgs.java b/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorWebauthnCustomAaguidArgs.java new file mode 100644 index 000000000..49cb36f2b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/AuthenticatorWebauthnCustomAaguidArgs.java @@ -0,0 +1,251 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs; +import com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticatorWebauthnCustomAaguidArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticatorWebauthnCustomAaguidArgs Empty = new AuthenticatorWebauthnCustomAaguidArgs(); + + /** + * The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + */ + @Import(name="aaguid", required=true) + private Output aaguid; + + /** + * @return The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + */ + public Output aaguid() { + return this.aaguid; + } + + /** + * List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + */ + @Import(name="attestationRootCertificates") + private @Nullable Output> attestationRootCertificates; + + /** + * @return List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + */ + public Optional>> attestationRootCertificates() { + return Optional.ofNullable(this.attestationRootCertificates); + } + + /** + * Properties of the custom AAGUID authenticator. + * + */ + @Import(name="authenticatorCharacteristics") + private @Nullable Output authenticatorCharacteristics; + + /** + * @return Properties of the custom AAGUID authenticator. + * + */ + public Optional> authenticatorCharacteristics() { + return Optional.ofNullable(this.authenticatorCharacteristics); + } + + /** + * The ID of the WebAuthn authenticator. + * + */ + @Import(name="authenticatorId", required=true) + private Output authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public Output authenticatorId() { + return this.authenticatorId; + } + + /** + * The product name associated with this AAGUID. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The product name associated with this AAGUID. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private AuthenticatorWebauthnCustomAaguidArgs() {} + + private AuthenticatorWebauthnCustomAaguidArgs(AuthenticatorWebauthnCustomAaguidArgs $) { + this.aaguid = $.aaguid; + this.attestationRootCertificates = $.attestationRootCertificates; + this.authenticatorCharacteristics = $.authenticatorCharacteristics; + this.authenticatorId = $.authenticatorId; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticatorWebauthnCustomAaguidArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticatorWebauthnCustomAaguidArgs $; + + public Builder() { + $ = new AuthenticatorWebauthnCustomAaguidArgs(); + } + + public Builder(AuthenticatorWebauthnCustomAaguidArgs defaults) { + $ = new AuthenticatorWebauthnCustomAaguidArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguid The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + * @return builder + * + */ + public Builder aaguid(Output aaguid) { + $.aaguid = aaguid; + return this; + } + + /** + * @param aaguid The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + * @return builder + * + */ + public Builder aaguid(String aaguid) { + return aaguid(Output.of(aaguid)); + } + + /** + * @param attestationRootCertificates List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + * @return builder + * + */ + public Builder attestationRootCertificates(@Nullable Output> attestationRootCertificates) { + $.attestationRootCertificates = attestationRootCertificates; + return this; + } + + /** + * @param attestationRootCertificates List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + * @return builder + * + */ + public Builder attestationRootCertificates(List attestationRootCertificates) { + return attestationRootCertificates(Output.of(attestationRootCertificates)); + } + + /** + * @param attestationRootCertificates List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + * @return builder + * + */ + public Builder attestationRootCertificates(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs... attestationRootCertificates) { + return attestationRootCertificates(List.of(attestationRootCertificates)); + } + + /** + * @param authenticatorCharacteristics Properties of the custom AAGUID authenticator. + * + * @return builder + * + */ + public Builder authenticatorCharacteristics(@Nullable Output authenticatorCharacteristics) { + $.authenticatorCharacteristics = authenticatorCharacteristics; + return this; + } + + /** + * @param authenticatorCharacteristics Properties of the custom AAGUID authenticator. + * + * @return builder + * + */ + public Builder authenticatorCharacteristics(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs authenticatorCharacteristics) { + return authenticatorCharacteristics(Output.of(authenticatorCharacteristics)); + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(Output authenticatorId) { + $.authenticatorId = authenticatorId; + return this; + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(String authenticatorId) { + return authenticatorId(Output.of(authenticatorId)); + } + + /** + * @param name The product name associated with this AAGUID. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The product name associated with this AAGUID. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public AuthenticatorWebauthnCustomAaguidArgs build() { + if ($.aaguid == null) { + throw new MissingRequiredPropertyException("AuthenticatorWebauthnCustomAaguidArgs", "aaguid"); + } + if ($.authenticatorId == null) { + throw new MissingRequiredPropertyException("AuthenticatorWebauthnCustomAaguidArgs", "authenticatorId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroup.java b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroup.java new file mode 100644 index 000000000..bc7085f23 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroup.java @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.okta.IdentitySourceGroupArgs; +import com.pulumi.okta.Utilities; +import com.pulumi.okta.inputs.IdentitySourceGroupState; +import com.pulumi.okta.outputs.IdentitySourceGroupProfile; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Manages a group within an Okta Identity Source. Groups created here are staged for import via a session; use `okta.IdentitySourceImport` to trigger the actual sync into Okta. + * + * ## Example Usage + * + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.okta.IdentitySourceGroup;
+ * import com.pulumi.okta.IdentitySourceGroupArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceGroupProfileArgs;
+ * import java.util.ArrayList;
+ * import java.util.Arrays;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var example = new IdentitySourceGroup("example", IdentitySourceGroupArgs.builder()
+ *             .identitySourceId("")
+ *             .externalId("GRPEXT123456EXAMPLE")
+ *             .profile(IdentitySourceGroupProfileArgs.builder()
+ *                 .displayName("Engineering")
+ *                 .description("Engineering team group")
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * + * ## Import + * + * Import using `{identity_source_id}/{id}`: + * + * ```sh + * $ pulumi import okta:index/identitySourceGroup:IdentitySourceGroup example <identity-source-id>/<group-id> + * ``` + * + */ +@ResourceType(type="okta:index/identitySourceGroup:IdentitySourceGroup") +public class IdentitySourceGroup extends com.pulumi.resources.CustomResource { + /** + * The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + */ + @Export(name="externalId", refs={String.class}, tree="[0]") + private Output externalId; + + /** + * @return The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + */ + public Output externalId() { + return this.externalId; + } + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Export(name="identitySourceId", refs={String.class}, tree="[0]") + private Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + /** + * Display attributes for the group. + * + */ + @Export(name="profile", refs={IdentitySourceGroupProfile.class}, tree="[0]") + private Output profile; + + /** + * @return Display attributes for the group. + * + */ + public Output> profile() { + return Codegen.optional(this.profile); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public IdentitySourceGroup(java.lang.String name) { + this(name, IdentitySourceGroupArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public IdentitySourceGroup(java.lang.String name, IdentitySourceGroupArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public IdentitySourceGroup(java.lang.String name, IdentitySourceGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/identitySourceGroup:IdentitySourceGroup", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private IdentitySourceGroup(java.lang.String name, Output id, @Nullable IdentitySourceGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/identitySourceGroup:IdentitySourceGroup", name, state, makeResourceOptions(options, id), false); + } + + private static IdentitySourceGroupArgs makeArgs(IdentitySourceGroupArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? IdentitySourceGroupArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static IdentitySourceGroup get(java.lang.String name, Output id, @Nullable IdentitySourceGroupState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new IdentitySourceGroup(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupArgs.java b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupArgs.java new file mode 100644 index 000000000..71c7c361d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.IdentitySourceGroupProfileArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceGroupArgs Empty = new IdentitySourceGroupArgs(); + + /** + * The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + */ + @Import(name="externalId", required=true) + private Output externalId; + + /** + * @return The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + */ + public Output externalId() { + return this.externalId; + } + + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Import(name="identitySourceId", required=true) + private Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + + /** + * Display attributes for the group. + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return Display attributes for the group. + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + private IdentitySourceGroupArgs() {} + + private IdentitySourceGroupArgs(IdentitySourceGroupArgs $) { + this.externalId = $.externalId; + this.identitySourceId = $.identitySourceId; + this.profile = $.profile; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceGroupArgs $; + + public Builder() { + $ = new IdentitySourceGroupArgs(); + } + + public Builder(IdentitySourceGroupArgs defaults) { + $ = new IdentitySourceGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalId The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + * @return builder + * + */ + public Builder externalId(Output externalId) { + $.externalId = externalId; + return this; + } + + /** + * @param externalId The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + * @return builder + * + */ + public Builder externalId(String externalId) { + return externalId(Output.of(externalId)); + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + /** + * @param profile Display attributes for the group. + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile Display attributes for the group. + * + * @return builder + * + */ + public Builder profile(IdentitySourceGroupProfileArgs profile) { + return profile(Output.of(profile)); + } + + public IdentitySourceGroupArgs build() { + if ($.externalId == null) { + throw new MissingRequiredPropertyException("IdentitySourceGroupArgs", "externalId"); + } + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("IdentitySourceGroupArgs", "identitySourceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupMembership.java b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupMembership.java new file mode 100644 index 000000000..b5f8028b0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupMembership.java @@ -0,0 +1,178 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.okta.IdentitySourceGroupMembershipArgs; +import com.pulumi.okta.Utilities; +import com.pulumi.okta.inputs.IdentitySourceGroupMembershipState; +import java.lang.String; +import java.util.List; +import javax.annotation.Nullable; + +/** + * Manages a single member association between a user and a group in an Okta Identity Source. Each resource instance adds one user (identified by `memberExternalId`) to the specified identity source group. All three key attributes force resource replacement when changed. + * + * ## Example Usage + * + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.okta.IdentitySourceGroupMembership;
+ * import com.pulumi.okta.IdentitySourceGroupMembershipArgs;
+ * import java.util.ArrayList;
+ * import java.util.Arrays;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App {
+ *     public static void main(String[] args) {
+ *         Pulumi.run(App::stack);
+ *     }
+ * 
+ *     public static void stack(Context ctx) {
+ *         var example = new IdentitySourceGroupMembership("example", IdentitySourceGroupMembershipArgs.builder()
+ *             .identitySourceId("")
+ *             .groupOrExternalId("GRPEXT123456EXAMPLE")
+ *             .memberExternalId("USEREXT123456EXAMPLE")
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * + * ## Import + * + * Import using `{identity_source_id}/{group_or_external_id}/{id}`: + * + * ```sh + * $ pulumi import okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership example <identity-source-id>/<group-external-id>/<member-external-id> + * ``` + * + */ +@ResourceType(type="okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership") +public class IdentitySourceGroupMembership extends com.pulumi.resources.CustomResource { + /** + * External ID of the identity source group. Forces replacement when changed. + * + */ + @Export(name="groupOrExternalId", refs={String.class}, tree="[0]") + private Output groupOrExternalId; + + /** + * @return External ID of the identity source group. Forces replacement when changed. + * + */ + public Output groupOrExternalId() { + return this.groupOrExternalId; + } + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Export(name="identitySourceId", refs={String.class}, tree="[0]") + private Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + /** + * The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + */ + @Export(name="memberExternalId", refs={String.class}, tree="[0]") + private Output memberExternalId; + + /** + * @return The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + */ + public Output memberExternalId() { + return this.memberExternalId; + } + /** + * A list of all member external IDs currently in the group (populated after creation). + * + */ + @Export(name="memberExternalIds", refs={List.class,String.class}, tree="[0,1]") + private Output> memberExternalIds; + + /** + * @return A list of all member external IDs currently in the group (populated after creation). + * + */ + public Output> memberExternalIds() { + return this.memberExternalIds; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public IdentitySourceGroupMembership(java.lang.String name) { + this(name, IdentitySourceGroupMembershipArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public IdentitySourceGroupMembership(java.lang.String name, IdentitySourceGroupMembershipArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public IdentitySourceGroupMembership(java.lang.String name, IdentitySourceGroupMembershipArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private IdentitySourceGroupMembership(java.lang.String name, Output id, @Nullable IdentitySourceGroupMembershipState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership", name, state, makeResourceOptions(options, id), false); + } + + private static IdentitySourceGroupMembershipArgs makeArgs(IdentitySourceGroupMembershipArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? IdentitySourceGroupMembershipArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static IdentitySourceGroupMembership get(java.lang.String name, Output id, @Nullable IdentitySourceGroupMembershipState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new IdentitySourceGroupMembership(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupMembershipArgs.java b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupMembershipArgs.java new file mode 100644 index 000000000..62172ce0d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceGroupMembershipArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class IdentitySourceGroupMembershipArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceGroupMembershipArgs Empty = new IdentitySourceGroupMembershipArgs(); + + /** + * External ID of the identity source group. Forces replacement when changed. + * + */ + @Import(name="groupOrExternalId", required=true) + private Output groupOrExternalId; + + /** + * @return External ID of the identity source group. Forces replacement when changed. + * + */ + public Output groupOrExternalId() { + return this.groupOrExternalId; + } + + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Import(name="identitySourceId", required=true) + private Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + + /** + * The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + */ + @Import(name="memberExternalId", required=true) + private Output memberExternalId; + + /** + * @return The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + */ + public Output memberExternalId() { + return this.memberExternalId; + } + + private IdentitySourceGroupMembershipArgs() {} + + private IdentitySourceGroupMembershipArgs(IdentitySourceGroupMembershipArgs $) { + this.groupOrExternalId = $.groupOrExternalId; + this.identitySourceId = $.identitySourceId; + this.memberExternalId = $.memberExternalId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceGroupMembershipArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceGroupMembershipArgs $; + + public Builder() { + $ = new IdentitySourceGroupMembershipArgs(); + } + + public Builder(IdentitySourceGroupMembershipArgs defaults) { + $ = new IdentitySourceGroupMembershipArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param groupOrExternalId External ID of the identity source group. Forces replacement when changed. + * + * @return builder + * + */ + public Builder groupOrExternalId(Output groupOrExternalId) { + $.groupOrExternalId = groupOrExternalId; + return this; + } + + /** + * @param groupOrExternalId External ID of the identity source group. Forces replacement when changed. + * + * @return builder + * + */ + public Builder groupOrExternalId(String groupOrExternalId) { + return groupOrExternalId(Output.of(groupOrExternalId)); + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + /** + * @param memberExternalId The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + * @return builder + * + */ + public Builder memberExternalId(Output memberExternalId) { + $.memberExternalId = memberExternalId; + return this; + } + + /** + * @param memberExternalId The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + * @return builder + * + */ + public Builder memberExternalId(String memberExternalId) { + return memberExternalId(Output.of(memberExternalId)); + } + + public IdentitySourceGroupMembershipArgs build() { + if ($.groupOrExternalId == null) { + throw new MissingRequiredPropertyException("IdentitySourceGroupMembershipArgs", "groupOrExternalId"); + } + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("IdentitySourceGroupMembershipArgs", "identitySourceId"); + } + if ($.memberExternalId == null) { + throw new MissingRequiredPropertyException("IdentitySourceGroupMembershipArgs", "memberExternalId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceImport.java b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceImport.java new file mode 100644 index 000000000..560a4fcf7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceImport.java @@ -0,0 +1,349 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.okta.IdentitySourceImportArgs; +import com.pulumi.okta.Utilities; +import com.pulumi.okta.inputs.IdentitySourceImportState; +import com.pulumi.okta.outputs.IdentitySourceImportDeleteGroupMemberships; +import com.pulumi.okta.outputs.IdentitySourceImportDeleteGroups; +import com.pulumi.okta.outputs.IdentitySourceImportDeleteUsers; +import com.pulumi.okta.outputs.IdentitySourceImportUpsertGroupMemberships; +import com.pulumi.okta.outputs.IdentitySourceImportUpsertGroups; +import com.pulumi.okta.outputs.IdentitySourceImportUpsertUsers; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Orchestrates a full Okta Identity Source import job in one resource. On each apply it: + * + * 1. Creates a new import session. + * 2. Uploads any combination of staged data (upsert/delete for users, groups, and group memberships). + * 3. Triggers the import via `startImportFromIdentitySource`. + * + * If any upload step fails the session is automatically deleted so a corrected re-apply is not blocked by Okta's rate limit (*"Only one active import session per identity source is allowed to be created every 5 minutes"*). + * + * > **Note:** This resource does not support deletion. Removing it from configuration will emit a warning but does not undo the import in Okta. To re-run the import, change at least one attribute so Terraform creates a new resource. + * + * ## Example Usage + * + * ### Upsert users and group memberships + * + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.okta.IdentitySourceImport;
+ * import com.pulumi.okta.IdentitySourceImportArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileProfileArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupMembershipsArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupMembershipsMembershipArgs;
+ * import java.util.ArrayList;
+ * import java.util.Arrays;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App }{{@code
+ *     public static void main(String[] args) }{{@code
+ *         Pulumi.run(App::stack);
+ *     }}{@code
+ * 
+ *     public static void stack(Context ctx) }{{@code
+ *         var example = new IdentitySourceImport("example", IdentitySourceImportArgs.builder()
+ *             .identitySourceId("")
+ *             .upsertUsers(IdentitySourceImportUpsertUsersArgs.builder()
+ *                 .entityType("USERS")
+ *                 .profiles(IdentitySourceImportUpsertUsersProfileArgs.builder()
+ *                     .externalId("USEREXT001")
+ *                     .profile(IdentitySourceImportUpsertUsersProfileProfileArgs.builder()
+ *                         .userName("jdoe}{@literal @}{@code example.com")
+ *                         .email("jdoe}{@literal @}{@code example.com")
+ *                         .firstName("Jane")
+ *                         .lastName("Doe")
+ *                         .build())
+ *                     .build())
+ *                 .build())
+ *             .upsertGroupMemberships(IdentitySourceImportUpsertGroupMembershipsArgs.builder()
+ *                 .memberships(IdentitySourceImportUpsertGroupMembershipsMembershipArgs.builder()
+ *                     .groupExternalId("GROUPEXT001")
+ *                     .memberExternalIds("USEREXT001")
+ *                     .build())
+ *                 .build())
+ *             .build());
+ * 
+ *     }}{@code
+ * }}{@code
+ * }
+ * 
+ * + * ### Upsert and delete in the same job + * + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.okta.IdentitySourceImport;
+ * import com.pulumi.okta.IdentitySourceImportArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileProfileArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportDeleteUsersArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportDeleteUsersProfileArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsProfileArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsProfileGroupProfileArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceImportDeleteGroupsArgs;
+ * import java.util.ArrayList;
+ * import java.util.Arrays;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App }{{@code
+ *     public static void main(String[] args) }{{@code
+ *         Pulumi.run(App::stack);
+ *     }}{@code
+ * 
+ *     public static void stack(Context ctx) }{{@code
+ *         var example = new IdentitySourceImport("example", IdentitySourceImportArgs.builder()
+ *             .identitySourceId("")
+ *             .upsertUsers(IdentitySourceImportUpsertUsersArgs.builder()
+ *                 .entityType("USERS")
+ *                 .profiles(IdentitySourceImportUpsertUsersProfileArgs.builder()
+ *                     .externalId("USEREXT_NEW")
+ *                     .profile(IdentitySourceImportUpsertUsersProfileProfileArgs.builder()
+ *                         .userName("new.user}{@literal @}{@code example.com")
+ *                         .email("new.user}{@literal @}{@code example.com")
+ *                         .firstName("New")
+ *                         .lastName("User")
+ *                         .build())
+ *                     .build())
+ *                 .build())
+ *             .deleteUsers(IdentitySourceImportDeleteUsersArgs.builder()
+ *                 .entityType("USERS")
+ *                 .profiles(IdentitySourceImportDeleteUsersProfileArgs.builder()
+ *                     .externalId("USEREXT_OLD")
+ *                     .build())
+ *                 .build())
+ *             .upsertGroups(IdentitySourceImportUpsertGroupsArgs.builder()
+ *                 .profiles(IdentitySourceImportUpsertGroupsProfileArgs.builder()
+ *                     .externalId("GROUPEXT001")
+ *                     .groupProfile(IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.builder()
+ *                         .displayName("Engineering")
+ *                         .description("Engineering team")
+ *                         .build())
+ *                     .build())
+ *                 .build())
+ *             .deleteGroups(IdentitySourceImportDeleteGroupsArgs.builder()
+ *                 .externalIds("GROUPEXT_DEPRECATED")
+ *                 .build())
+ *             .build());
+ * 
+ *     }}{@code
+ * }}{@code
+ * }
+ * 
+ * + */ +@ResourceType(type="okta:index/identitySourceImport:IdentitySourceImport") +public class IdentitySourceImport extends com.pulumi.resources.CustomResource { + /** + * Group memberships to delete in Okta. + * + */ + @Export(name="deleteGroupMemberships", refs={IdentitySourceImportDeleteGroupMemberships.class}, tree="[0]") + private Output deleteGroupMemberships; + + /** + * @return Group memberships to delete in Okta. + * + */ + public Output> deleteGroupMemberships() { + return Codegen.optional(this.deleteGroupMemberships); + } + /** + * Groups to delete from Okta. + * + */ + @Export(name="deleteGroups", refs={IdentitySourceImportDeleteGroups.class}, tree="[0]") + private Output deleteGroups; + + /** + * @return Groups to delete from Okta. + * + */ + public Output> deleteGroups() { + return Codegen.optional(this.deleteGroups); + } + /** + * Users to delete from Okta. + * + */ + @Export(name="deleteUsers", refs={IdentitySourceImportDeleteUsers.class}, tree="[0]") + private Output deleteUsers; + + /** + * @return Users to delete from Okta. + * + */ + public Output> deleteUsers() { + return Codegen.optional(this.deleteUsers); + } + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Export(name="identitySourceId", refs={String.class}, tree="[0]") + private Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + /** + * Session ID created for this import job. + * + */ + @Export(name="sessionId", refs={String.class}, tree="[0]") + private Output sessionId; + + /** + * @return Session ID created for this import job. + * + */ + public Output sessionId() { + return this.sessionId; + } + /** + * Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + * + */ + @Export(name="sessionStatus", refs={String.class}, tree="[0]") + private Output sessionStatus; + + /** + * @return Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + * + */ + public Output sessionStatus() { + return this.sessionStatus; + } + /** + * Group memberships to create or update in Okta. + * + */ + @Export(name="upsertGroupMemberships", refs={IdentitySourceImportUpsertGroupMemberships.class}, tree="[0]") + private Output upsertGroupMemberships; + + /** + * @return Group memberships to create or update in Okta. + * + */ + public Output> upsertGroupMemberships() { + return Codegen.optional(this.upsertGroupMemberships); + } + /** + * Groups to create or update in Okta. + * + */ + @Export(name="upsertGroups", refs={IdentitySourceImportUpsertGroups.class}, tree="[0]") + private Output upsertGroups; + + /** + * @return Groups to create or update in Okta. + * + */ + public Output> upsertGroups() { + return Codegen.optional(this.upsertGroups); + } + /** + * Users to create or update in Okta. + * + */ + @Export(name="upsertUsers", refs={IdentitySourceImportUpsertUsers.class}, tree="[0]") + private Output upsertUsers; + + /** + * @return Users to create or update in Okta. + * + */ + public Output> upsertUsers() { + return Codegen.optional(this.upsertUsers); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public IdentitySourceImport(java.lang.String name) { + this(name, IdentitySourceImportArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public IdentitySourceImport(java.lang.String name, IdentitySourceImportArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public IdentitySourceImport(java.lang.String name, IdentitySourceImportArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/identitySourceImport:IdentitySourceImport", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private IdentitySourceImport(java.lang.String name, Output id, @Nullable IdentitySourceImportState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/identitySourceImport:IdentitySourceImport", name, state, makeResourceOptions(options, id), false); + } + + private static IdentitySourceImportArgs makeArgs(IdentitySourceImportArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? IdentitySourceImportArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static IdentitySourceImport get(java.lang.String name, Output id, @Nullable IdentitySourceImportState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new IdentitySourceImport(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceImportArgs.java b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceImportArgs.java new file mode 100644 index 000000000..1e633b1d4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceImportArgs.java @@ -0,0 +1,315 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.IdentitySourceImportDeleteGroupMembershipsArgs; +import com.pulumi.okta.inputs.IdentitySourceImportDeleteGroupsArgs; +import com.pulumi.okta.inputs.IdentitySourceImportDeleteUsersArgs; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupMembershipsArgs; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsArgs; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportArgs Empty = new IdentitySourceImportArgs(); + + /** + * Group memberships to delete in Okta. + * + */ + @Import(name="deleteGroupMemberships") + private @Nullable Output deleteGroupMemberships; + + /** + * @return Group memberships to delete in Okta. + * + */ + public Optional> deleteGroupMemberships() { + return Optional.ofNullable(this.deleteGroupMemberships); + } + + /** + * Groups to delete from Okta. + * + */ + @Import(name="deleteGroups") + private @Nullable Output deleteGroups; + + /** + * @return Groups to delete from Okta. + * + */ + public Optional> deleteGroups() { + return Optional.ofNullable(this.deleteGroups); + } + + /** + * Users to delete from Okta. + * + */ + @Import(name="deleteUsers") + private @Nullable Output deleteUsers; + + /** + * @return Users to delete from Okta. + * + */ + public Optional> deleteUsers() { + return Optional.ofNullable(this.deleteUsers); + } + + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Import(name="identitySourceId", required=true) + private Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + + /** + * Group memberships to create or update in Okta. + * + */ + @Import(name="upsertGroupMemberships") + private @Nullable Output upsertGroupMemberships; + + /** + * @return Group memberships to create or update in Okta. + * + */ + public Optional> upsertGroupMemberships() { + return Optional.ofNullable(this.upsertGroupMemberships); + } + + /** + * Groups to create or update in Okta. + * + */ + @Import(name="upsertGroups") + private @Nullable Output upsertGroups; + + /** + * @return Groups to create or update in Okta. + * + */ + public Optional> upsertGroups() { + return Optional.ofNullable(this.upsertGroups); + } + + /** + * Users to create or update in Okta. + * + */ + @Import(name="upsertUsers") + private @Nullable Output upsertUsers; + + /** + * @return Users to create or update in Okta. + * + */ + public Optional> upsertUsers() { + return Optional.ofNullable(this.upsertUsers); + } + + private IdentitySourceImportArgs() {} + + private IdentitySourceImportArgs(IdentitySourceImportArgs $) { + this.deleteGroupMemberships = $.deleteGroupMemberships; + this.deleteGroups = $.deleteGroups; + this.deleteUsers = $.deleteUsers; + this.identitySourceId = $.identitySourceId; + this.upsertGroupMemberships = $.upsertGroupMemberships; + this.upsertGroups = $.upsertGroups; + this.upsertUsers = $.upsertUsers; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportArgs $; + + public Builder() { + $ = new IdentitySourceImportArgs(); + } + + public Builder(IdentitySourceImportArgs defaults) { + $ = new IdentitySourceImportArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param deleteGroupMemberships Group memberships to delete in Okta. + * + * @return builder + * + */ + public Builder deleteGroupMemberships(@Nullable Output deleteGroupMemberships) { + $.deleteGroupMemberships = deleteGroupMemberships; + return this; + } + + /** + * @param deleteGroupMemberships Group memberships to delete in Okta. + * + * @return builder + * + */ + public Builder deleteGroupMemberships(IdentitySourceImportDeleteGroupMembershipsArgs deleteGroupMemberships) { + return deleteGroupMemberships(Output.of(deleteGroupMemberships)); + } + + /** + * @param deleteGroups Groups to delete from Okta. + * + * @return builder + * + */ + public Builder deleteGroups(@Nullable Output deleteGroups) { + $.deleteGroups = deleteGroups; + return this; + } + + /** + * @param deleteGroups Groups to delete from Okta. + * + * @return builder + * + */ + public Builder deleteGroups(IdentitySourceImportDeleteGroupsArgs deleteGroups) { + return deleteGroups(Output.of(deleteGroups)); + } + + /** + * @param deleteUsers Users to delete from Okta. + * + * @return builder + * + */ + public Builder deleteUsers(@Nullable Output deleteUsers) { + $.deleteUsers = deleteUsers; + return this; + } + + /** + * @param deleteUsers Users to delete from Okta. + * + * @return builder + * + */ + public Builder deleteUsers(IdentitySourceImportDeleteUsersArgs deleteUsers) { + return deleteUsers(Output.of(deleteUsers)); + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + /** + * @param upsertGroupMemberships Group memberships to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertGroupMemberships(@Nullable Output upsertGroupMemberships) { + $.upsertGroupMemberships = upsertGroupMemberships; + return this; + } + + /** + * @param upsertGroupMemberships Group memberships to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertGroupMemberships(IdentitySourceImportUpsertGroupMembershipsArgs upsertGroupMemberships) { + return upsertGroupMemberships(Output.of(upsertGroupMemberships)); + } + + /** + * @param upsertGroups Groups to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertGroups(@Nullable Output upsertGroups) { + $.upsertGroups = upsertGroups; + return this; + } + + /** + * @param upsertGroups Groups to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertGroups(IdentitySourceImportUpsertGroupsArgs upsertGroups) { + return upsertGroups(Output.of(upsertGroups)); + } + + /** + * @param upsertUsers Users to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertUsers(@Nullable Output upsertUsers) { + $.upsertUsers = upsertUsers; + return this; + } + + /** + * @param upsertUsers Users to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertUsers(IdentitySourceImportUpsertUsersArgs upsertUsers) { + return upsertUsers(Output.of(upsertUsers)); + } + + public IdentitySourceImportArgs build() { + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("IdentitySourceImportArgs", "identitySourceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceUser.java b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceUser.java new file mode 100644 index 000000000..a8b99fec8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceUser.java @@ -0,0 +1,199 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.okta.IdentitySourceUserArgs; +import com.pulumi.okta.Utilities; +import com.pulumi.okta.inputs.IdentitySourceUserState; +import com.pulumi.okta.outputs.IdentitySourceUserProfile; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * Manages an individual user in an Okta Identity Source. This resource creates or updates a single user record directly in the identity source (without requiring a session), using the external ID as the unique key. + * + * ## Example Usage + * + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.okta.IdentitySourceUser;
+ * import com.pulumi.okta.IdentitySourceUserArgs;
+ * import com.pulumi.okta.inputs.IdentitySourceUserProfileArgs;
+ * import java.util.ArrayList;
+ * import java.util.Arrays;
+ * import java.util.Map;
+ * import java.io.File;
+ * import java.nio.file.Files;
+ * import java.nio.file.Paths;
+ * 
+ * public class App }{{@code
+ *     public static void main(String[] args) }{{@code
+ *         Pulumi.run(App::stack);
+ *     }}{@code
+ * 
+ *     public static void stack(Context ctx) }{{@code
+ *         var example = new IdentitySourceUser("example", IdentitySourceUserArgs.builder()
+ *             .identitySourceId("")
+ *             .identitySourceUserId("USEREXT123456EXAMPLE")
+ *             .profile(IdentitySourceUserProfileArgs.builder()
+ *                 .userName("jdoe}{@literal @}{@code example.com")
+ *                 .email("jdoe}{@literal @}{@code example.com")
+ *                 .firstName("Jane")
+ *                 .lastName("Doe")
+ *                 .build())
+ *             .build());
+ * 
+ *     }}{@code
+ * }}{@code
+ * }
+ * 
+ * + * ## Import + * + * Import using `{identity_source_id}/{id}`: + * + * ```sh + * $ pulumi import okta:index/identitySourceUser:IdentitySourceUser example <identity-source-id>/<external-id> + * ``` + * + */ +@ResourceType(type="okta:index/identitySourceUser:IdentitySourceUser") +public class IdentitySourceUser extends com.pulumi.resources.CustomResource { + /** + * Timestamp when the user was created in the identity source (RFC3339). + * + */ + @Export(name="created", refs={String.class}, tree="[0]") + private Output created; + + /** + * @return Timestamp when the user was created in the identity source (RFC3339). + * + */ + public Output created() { + return this.created; + } + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Export(name="identitySourceId", refs={String.class}, tree="[0]") + private Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + /** + * The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + */ + @Export(name="identitySourceUserId", refs={String.class}, tree="[0]") + private Output identitySourceUserId; + + /** + * @return The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + */ + public Output identitySourceUserId() { + return this.identitySourceUserId; + } + /** + * Timestamp when the user was last updated in the identity source (RFC3339). + * + */ + @Export(name="lastUpdated", refs={String.class}, tree="[0]") + private Output lastUpdated; + + /** + * @return Timestamp when the user was last updated in the identity source (RFC3339). + * + */ + public Output lastUpdated() { + return this.lastUpdated; + } + /** + * User profile attributes. + * + */ + @Export(name="profile", refs={IdentitySourceUserProfile.class}, tree="[0]") + private Output profile; + + /** + * @return User profile attributes. + * + */ + public Output> profile() { + return Codegen.optional(this.profile); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public IdentitySourceUser(java.lang.String name) { + this(name, IdentitySourceUserArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public IdentitySourceUser(java.lang.String name, IdentitySourceUserArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public IdentitySourceUser(java.lang.String name, IdentitySourceUserArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/identitySourceUser:IdentitySourceUser", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private IdentitySourceUser(java.lang.String name, Output id, @Nullable IdentitySourceUserState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("okta:index/identitySourceUser:IdentitySourceUser", name, state, makeResourceOptions(options, id), false); + } + + private static IdentitySourceUserArgs makeArgs(IdentitySourceUserArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? IdentitySourceUserArgs.Empty : args; + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static IdentitySourceUser get(java.lang.String name, Output id, @Nullable IdentitySourceUserState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new IdentitySourceUser(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceUserArgs.java b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceUserArgs.java new file mode 100644 index 000000000..e01205cb1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/IdentitySourceUserArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.IdentitySourceUserProfileArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceUserArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceUserArgs Empty = new IdentitySourceUserArgs(); + + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Import(name="identitySourceId", required=true) + private Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + + /** + * The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + */ + @Import(name="identitySourceUserId", required=true) + private Output identitySourceUserId; + + /** + * @return The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + */ + public Output identitySourceUserId() { + return this.identitySourceUserId; + } + + /** + * User profile attributes. + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return User profile attributes. + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + private IdentitySourceUserArgs() {} + + private IdentitySourceUserArgs(IdentitySourceUserArgs $) { + this.identitySourceId = $.identitySourceId; + this.identitySourceUserId = $.identitySourceUserId; + this.profile = $.profile; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceUserArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceUserArgs $; + + public Builder() { + $ = new IdentitySourceUserArgs(); + } + + public Builder(IdentitySourceUserArgs defaults) { + $ = new IdentitySourceUserArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + /** + * @param identitySourceUserId The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceUserId(Output identitySourceUserId) { + $.identitySourceUserId = identitySourceUserId; + return this; + } + + /** + * @param identitySourceUserId The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceUserId(String identitySourceUserId) { + return identitySourceUserId(Output.of(identitySourceUserId)); + } + + /** + * @param profile User profile attributes. + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile User profile attributes. + * + * @return builder + * + */ + public Builder profile(IdentitySourceUserProfileArgs profile) { + return profile(Output.of(profile)); + } + + public IdentitySourceUserArgs build() { + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("IdentitySourceUserArgs", "identitySourceId"); + } + if ($.identitySourceUserId == null) { + throw new MissingRequiredPropertyException("IdentitySourceUserArgs", "identitySourceUserId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/OktaFunctions.java b/sdk/java/src/main/java/com/pulumi/okta/OktaFunctions.java index 747541cf0..56ba508b2 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/OktaFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/okta/OktaFunctions.java @@ -30,7 +30,13 @@ import com.pulumi.okta.inputs.GetAuthServerClaimsArgs; import com.pulumi.okta.inputs.GetAuthServerClaimsPlainArgs; import com.pulumi.okta.inputs.GetAuthenticatorArgs; +import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnArgs; +import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnPlainArgs; import com.pulumi.okta.inputs.GetAuthenticatorPlainArgs; +import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsArgs; +import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsPlainArgs; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleArgs; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRulePlainArgs; import com.pulumi.okta.inputs.GetBehaviourArgs; import com.pulumi.okta.inputs.GetBehaviourPlainArgs; import com.pulumi.okta.inputs.GetBehavioursArgs; @@ -69,6 +75,16 @@ import com.pulumi.okta.inputs.GetGroupsPlainArgs; import com.pulumi.okta.inputs.GetHookKeyArgs; import com.pulumi.okta.inputs.GetHookKeyPlainArgs; +import com.pulumi.okta.inputs.GetIamAssigneesUserArgs; +import com.pulumi.okta.inputs.GetIamAssigneesUserPlainArgs; +import com.pulumi.okta.inputs.GetIdentitySourceGroupMembershipsArgs; +import com.pulumi.okta.inputs.GetIdentitySourceGroupMembershipsPlainArgs; +import com.pulumi.okta.inputs.GetIdentitySourceGroupsArgs; +import com.pulumi.okta.inputs.GetIdentitySourceGroupsPlainArgs; +import com.pulumi.okta.inputs.GetIdentitySourceSessionsArgs; +import com.pulumi.okta.inputs.GetIdentitySourceSessionsPlainArgs; +import com.pulumi.okta.inputs.GetIdentitySourceUsersArgs; +import com.pulumi.okta.inputs.GetIdentitySourceUsersPlainArgs; import com.pulumi.okta.inputs.GetLogStreamArgs; import com.pulumi.okta.inputs.GetLogStreamPlainArgs; import com.pulumi.okta.inputs.GetNetworkZoneArgs; @@ -131,7 +147,10 @@ import com.pulumi.okta.outputs.GetAppsResult; import com.pulumi.okta.outputs.GetAuthServerClaimResult; import com.pulumi.okta.outputs.GetAuthServerClaimsResult; +import com.pulumi.okta.outputs.GetAuthenticatorMethodWebauthnResult; import com.pulumi.okta.outputs.GetAuthenticatorResult; +import com.pulumi.okta.outputs.GetAuthenticatorWebauthnCustomAaguidsResult; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleResult; import com.pulumi.okta.outputs.GetBehaviourResult; import com.pulumi.okta.outputs.GetBehavioursResult; import com.pulumi.okta.outputs.GetBrandResult; @@ -153,6 +172,11 @@ import com.pulumi.okta.outputs.GetFeaturesResult; import com.pulumi.okta.outputs.GetGroupsResult; import com.pulumi.okta.outputs.GetHookKeyResult; +import com.pulumi.okta.outputs.GetIamAssigneesUserResult; +import com.pulumi.okta.outputs.GetIdentitySourceGroupMembershipsResult; +import com.pulumi.okta.outputs.GetIdentitySourceGroupsResult; +import com.pulumi.okta.outputs.GetIdentitySourceSessionsResult; +import com.pulumi.okta.outputs.GetIdentitySourceUsersResult; import com.pulumi.okta.outputs.GetLogStreamResult; import com.pulumi.okta.outputs.GetNetworkZoneResult; import com.pulumi.okta.outputs.GetOauthAuthorizationServerResult; @@ -2460,70 +2484,9 @@ public static CompletableFuture getAuthenticatorPlain(Ge return Deployment.getInstance().invokeAsync("okta:index/getAuthenticator:getAuthenticator", TypeShape.of(GetAuthenticatorResult.class), args, Utilities.withVersion(options)); } /** - * Get a behavior by name or ID. - * - * ## Example Usage - * - */ - public static Output getBehaviour() { - return getBehaviour(GetBehaviourArgs.Empty, InvokeOptions.Empty); - } - /** - * Get a behavior by name or ID. - * - * ## Example Usage - * - */ - public static CompletableFuture getBehaviourPlain() { - return getBehaviourPlain(GetBehaviourPlainArgs.Empty, InvokeOptions.Empty); - } - /** - * Get a behavior by name or ID. - * - * ## Example Usage - * - */ - public static Output getBehaviour(GetBehaviourArgs args) { - return getBehaviour(args, InvokeOptions.Empty); - } - /** - * Get a behavior by name or ID. - * - * ## Example Usage - * - */ - public static CompletableFuture getBehaviourPlain(GetBehaviourPlainArgs args) { - return getBehaviourPlain(args, InvokeOptions.Empty); - } - /** - * Get a behavior by name or ID. - * - * ## Example Usage - * - */ - public static Output getBehaviour(GetBehaviourArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getBehaviour:getBehaviour", TypeShape.of(GetBehaviourResult.class), args, Utilities.withVersion(options)); - } - /** - * Get a behavior by name or ID. - * - * ## Example Usage + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. * - */ - public static Output getBehaviour(GetBehaviourArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getBehaviour:getBehaviour", TypeShape.of(GetBehaviourResult.class), args, Utilities.withVersion(options)); - } - /** - * Get a behavior by name or ID. - * - * ## Example Usage - * - */ - public static CompletableFuture getBehaviourPlain(GetBehaviourPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getBehaviour:getBehaviour", TypeShape.of(GetBehaviourResult.class), args, Utilities.withVersion(options)); - } - /** - * Get a behaviors by search criteria. + * Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. * * ## Example Usage * @@ -2535,7 +2498,8 @@ public static CompletableFuture getBehaviourPlain(GetBehavio * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBehavioursArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2549,8 +2513,12 @@ public static CompletableFuture getBehaviourPlain(GetBehavio * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() - * .q("New") + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") + * .build()); + * + * final var example = OktaFunctions.getAuthenticatorMethodWebauthn(GetAuthenticatorMethodWebauthnArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2559,11 +2527,13 @@ public static CompletableFuture getBehaviourPlain(GetBehavio * * */ - public static Output getBehaviours() { - return getBehaviours(GetBehavioursArgs.Empty, InvokeOptions.Empty); + public static Output getAuthenticatorMethodWebauthn(GetAuthenticatorMethodWebauthnArgs args) { + return getAuthenticatorMethodWebauthn(args, InvokeOptions.Empty); } /** - * Get a behaviors by search criteria. + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. * * ## Example Usage * @@ -2575,7 +2545,8 @@ public static Output getBehaviours() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBehavioursArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2589,8 +2560,12 @@ public static Output getBehaviours() { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() - * .q("New") + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") + * .build()); + * + * final var example = OktaFunctions.getAuthenticatorMethodWebauthn(GetAuthenticatorMethodWebauthnArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2599,11 +2574,13 @@ public static Output getBehaviours() { * * */ - public static CompletableFuture getBehavioursPlain() { - return getBehavioursPlain(GetBehavioursPlainArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getAuthenticatorMethodWebauthnPlain(GetAuthenticatorMethodWebauthnPlainArgs args) { + return getAuthenticatorMethodWebauthnPlain(args, InvokeOptions.Empty); } /** - * Get a behaviors by search criteria. + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. * * ## Example Usage * @@ -2615,7 +2592,8 @@ public static CompletableFuture getBehavioursPlain() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBehavioursArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2629,8 +2607,12 @@ public static CompletableFuture getBehavioursPlain() { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() - * .q("New") + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") + * .build()); + * + * final var example = OktaFunctions.getAuthenticatorMethodWebauthn(GetAuthenticatorMethodWebauthnArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2639,11 +2621,13 @@ public static CompletableFuture getBehavioursPlain() { * * */ - public static Output getBehaviours(GetBehavioursArgs args) { - return getBehaviours(args, InvokeOptions.Empty); + public static Output getAuthenticatorMethodWebauthn(GetAuthenticatorMethodWebauthnArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", TypeShape.of(GetAuthenticatorMethodWebauthnResult.class), args, Utilities.withVersion(options)); } /** - * Get a behaviors by search criteria. + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. * * ## Example Usage * @@ -2655,7 +2639,8 @@ public static Output getBehaviours(GetBehavioursArgs args) * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBehavioursArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2669,8 +2654,12 @@ public static Output getBehaviours(GetBehavioursArgs args) * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() - * .q("New") + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") + * .build()); + * + * final var example = OktaFunctions.getAuthenticatorMethodWebauthn(GetAuthenticatorMethodWebauthnArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2679,11 +2668,13 @@ public static Output getBehaviours(GetBehavioursArgs args) * * */ - public static CompletableFuture getBehavioursPlain(GetBehavioursPlainArgs args) { - return getBehavioursPlain(args, InvokeOptions.Empty); + public static Output getAuthenticatorMethodWebauthn(GetAuthenticatorMethodWebauthnArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", TypeShape.of(GetAuthenticatorMethodWebauthnResult.class), args, Utilities.withVersion(options)); } /** - * Get a behaviors by search criteria. + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. * * ## Example Usage * @@ -2695,7 +2686,8 @@ public static CompletableFuture getBehavioursPlain(GetBehav * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBehavioursArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2709,8 +2701,12 @@ public static CompletableFuture getBehavioursPlain(GetBehav * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() - * .q("New") + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") + * .build()); + * + * final var example = OktaFunctions.getAuthenticatorMethodWebauthn(GetAuthenticatorMethodWebauthnArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2719,11 +2715,13 @@ public static CompletableFuture getBehavioursPlain(GetBehav * * */ - public static Output getBehaviours(GetBehavioursArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getBehaviours:getBehaviours", TypeShape.of(GetBehavioursResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getAuthenticatorMethodWebauthnPlain(GetAuthenticatorMethodWebauthnPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", TypeShape.of(GetAuthenticatorMethodWebauthnResult.class), args, Utilities.withVersion(options)); } /** - * Get a behaviors by search criteria. + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. * * ## Example Usage * @@ -2735,7 +2733,8 @@ public static Output getBehaviours(GetBehavioursArgs args, * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBehavioursArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2749,8 +2748,12 @@ public static Output getBehaviours(GetBehavioursArgs args, * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() - * .q("New") + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") + * .build()); + * + * final var all = OktaFunctions.getAuthenticatorWebauthnCustomAaguids(GetAuthenticatorWebauthnCustomAaguidsArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2759,11 +2762,13 @@ public static Output getBehaviours(GetBehavioursArgs args, * * */ - public static Output getBehaviours(GetBehavioursArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getBehaviours:getBehaviours", TypeShape.of(GetBehavioursResult.class), args, Utilities.withVersion(options)); + public static Output getAuthenticatorWebauthnCustomAaguids(GetAuthenticatorWebauthnCustomAaguidsArgs args) { + return getAuthenticatorWebauthnCustomAaguids(args, InvokeOptions.Empty); } /** - * Get a behaviors by search criteria. + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. * * ## Example Usage * @@ -2775,7 +2780,8 @@ public static Output getBehaviours(GetBehavioursArgs args, * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBehavioursArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2789,8 +2795,12 @@ public static Output getBehaviours(GetBehavioursArgs args, * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() - * .q("New") + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") + * .build()); + * + * final var all = OktaFunctions.getAuthenticatorWebauthnCustomAaguids(GetAuthenticatorWebauthnCustomAaguidsArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2799,11 +2809,13 @@ public static Output getBehaviours(GetBehavioursArgs args, * * */ - public static CompletableFuture getBehavioursPlain(GetBehavioursPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getBehaviours:getBehaviours", TypeShape.of(GetBehavioursResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getAuthenticatorWebauthnCustomAaguidsPlain(GetAuthenticatorWebauthnCustomAaguidsPlainArgs args) { + return getAuthenticatorWebauthnCustomAaguidsPlain(args, InvokeOptions.Empty); } /** - * Get a single Brand from Okta. + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. * * ## Example Usage * @@ -2815,7 +2827,8 @@ public static CompletableFuture getBehavioursPlain(GetBehav * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBrandArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2829,14 +2842,12 @@ public static CompletableFuture getBehavioursPlain(GetBehav * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId(test.brands()[0].id()) + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") * .build()); * - * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId("default") + * final var all = OktaFunctions.getAuthenticatorWebauthnCustomAaguids(GetAuthenticatorWebauthnCustomAaguidsArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2845,11 +2856,13 @@ public static CompletableFuture getBehavioursPlain(GetBehav * * */ - public static Output getBrand(GetBrandArgs args) { - return getBrand(args, InvokeOptions.Empty); + public static Output getAuthenticatorWebauthnCustomAaguids(GetAuthenticatorWebauthnCustomAaguidsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", TypeShape.of(GetAuthenticatorWebauthnCustomAaguidsResult.class), args, Utilities.withVersion(options)); } /** - * Get a single Brand from Okta. + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. * * ## Example Usage * @@ -2861,7 +2874,8 @@ public static Output getBrand(GetBrandArgs args) { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBrandArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2875,14 +2889,12 @@ public static Output getBrand(GetBrandArgs args) { * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId(test.brands()[0].id()) + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") * .build()); * - * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId("default") + * final var all = OktaFunctions.getAuthenticatorWebauthnCustomAaguids(GetAuthenticatorWebauthnCustomAaguidsArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2891,11 +2903,13 @@ public static Output getBrand(GetBrandArgs args) { * * */ - public static CompletableFuture getBrandPlain(GetBrandPlainArgs args) { - return getBrandPlain(args, InvokeOptions.Empty); + public static Output getAuthenticatorWebauthnCustomAaguids(GetAuthenticatorWebauthnCustomAaguidsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", TypeShape.of(GetAuthenticatorWebauthnCustomAaguidsResult.class), args, Utilities.withVersion(options)); } /** - * Get a single Brand from Okta. + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. * * ## Example Usage * @@ -2907,7 +2921,8 @@ public static CompletableFuture getBrandPlain(GetBrandPlainArgs * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBrandArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorArgs; + * import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2921,14 +2936,12 @@ public static CompletableFuture getBrandPlain(GetBrandPlainArgs * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId(test.brands()[0].id()) + * final var webauthn = OktaFunctions.getAuthenticator(GetAuthenticatorArgs.builder() + * .key("webauthn") * .build()); * - * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId("default") + * final var all = OktaFunctions.getAuthenticatorWebauthnCustomAaguids(GetAuthenticatorWebauthnCustomAaguidsArgs.builder() + * .authenticatorId(webauthn.id()) * .build()); * * } @@ -2937,11 +2950,11 @@ public static CompletableFuture getBrandPlain(GetBrandPlainArgs * * */ - public static Output getBrand(GetBrandArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getBrand:getBrand", TypeShape.of(GetBrandResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getAuthenticatorWebauthnCustomAaguidsPlain(GetAuthenticatorWebauthnCustomAaguidsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", TypeShape.of(GetAuthenticatorWebauthnCustomAaguidsResult.class), args, Utilities.withVersion(options)); } /** - * Get a single Brand from Okta. + * Retrieves an authorization server policy rule by `ruleId` from Okta. * * ## Example Usage * @@ -2953,7 +2966,7 @@ public static Output getBrand(GetBrandArgs args, InvokeOptions o * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBrandArgs; + * import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -2967,14 +2980,10 @@ public static Output getBrand(GetBrandArgs args, InvokeOptions o * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId(test.brands()[0].id()) - * .build()); - * - * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId("default") + * final var example = OktaFunctions.getAuthorizationServersPoliciesRule(GetAuthorizationServersPoliciesRuleArgs.builder() + * .id("") + * .authServerId("") + * .policyId("") * .build()); * * } @@ -2983,11 +2992,11 @@ public static Output getBrand(GetBrandArgs args, InvokeOptions o * * */ - public static Output getBrand(GetBrandArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getBrand:getBrand", TypeShape.of(GetBrandResult.class), args, Utilities.withVersion(options)); + public static Output getAuthorizationServersPoliciesRule(GetAuthorizationServersPoliciesRuleArgs args) { + return getAuthorizationServersPoliciesRule(args, InvokeOptions.Empty); } /** - * Get a single Brand from Okta. + * Retrieves an authorization server policy rule by `ruleId` from Okta. * * ## Example Usage * @@ -2999,7 +3008,7 @@ public static Output getBrand(GetBrandArgs args, InvokeOutputOpt * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetBrandArgs; + * import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3013,14 +3022,10 @@ public static Output getBrand(GetBrandArgs args, InvokeOutputOpt * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId(test.brands()[0].id()) - * .build()); - * - * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() - * .brandId("default") + * final var example = OktaFunctions.getAuthorizationServersPoliciesRule(GetAuthorizationServersPoliciesRuleArgs.builder() + * .id("") + * .authServerId("") + * .policyId("") * .build()); * * } @@ -3029,11 +3034,11 @@ public static Output getBrand(GetBrandArgs args, InvokeOutputOpt * * */ - public static CompletableFuture getBrandPlain(GetBrandPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getBrand:getBrand", TypeShape.of(GetBrandResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getAuthorizationServersPoliciesRulePlain(GetAuthorizationServersPoliciesRulePlainArgs args) { + return getAuthorizationServersPoliciesRulePlain(args, InvokeOptions.Empty); } /** - * Get the brands belonging to an Okta organization. + * Retrieves an authorization server policy rule by `ruleId` from Okta. * * ## Example Usage * @@ -3045,6 +3050,7 @@ public static CompletableFuture getBrandPlain(GetBrandPlainArgs * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; + * import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3058,7 +3064,11 @@ public static CompletableFuture getBrandPlain(GetBrandPlainArgs * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * final var example = OktaFunctions.getAuthorizationServersPoliciesRule(GetAuthorizationServersPoliciesRuleArgs.builder() + * .id("") + * .authServerId("") + * .policyId("") + * .build()); * * } * } @@ -3066,11 +3076,11 @@ public static CompletableFuture getBrandPlain(GetBrandPlainArgs * * */ - public static Output getBrands() { - return getBrands(InvokeArgs.Empty, InvokeOptions.Empty); + public static Output getAuthorizationServersPoliciesRule(GetAuthorizationServersPoliciesRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", TypeShape.of(GetAuthorizationServersPoliciesRuleResult.class), args, Utilities.withVersion(options)); } /** - * Get the brands belonging to an Okta organization. + * Retrieves an authorization server policy rule by `ruleId` from Okta. * * ## Example Usage * @@ -3082,6 +3092,7 @@ public static Output getBrands() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; + * import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3095,7 +3106,11 @@ public static Output getBrands() { * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * final var example = OktaFunctions.getAuthorizationServersPoliciesRule(GetAuthorizationServersPoliciesRuleArgs.builder() + * .id("") + * .authServerId("") + * .policyId("") + * .build()); * * } * } @@ -3103,11 +3118,11 @@ public static Output getBrands() { * * */ - public static CompletableFuture getBrandsPlain() { - return getBrandsPlain(InvokeArgs.Empty, InvokeOptions.Empty); + public static Output getAuthorizationServersPoliciesRule(GetAuthorizationServersPoliciesRuleArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", TypeShape.of(GetAuthorizationServersPoliciesRuleResult.class), args, Utilities.withVersion(options)); } /** - * Get the brands belonging to an Okta organization. + * Retrieves an authorization server policy rule by `ruleId` from Okta. * * ## Example Usage * @@ -3119,6 +3134,7 @@ public static CompletableFuture getBrandsPlain() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; + * import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3132,7 +3148,11 @@ public static CompletableFuture getBrandsPlain() { * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * final var example = OktaFunctions.getAuthorizationServersPoliciesRule(GetAuthorizationServersPoliciesRuleArgs.builder() + * .id("") + * .authServerId("") + * .policyId("") + * .build()); * * } * } @@ -3140,59 +3160,86 @@ public static CompletableFuture getBrandsPlain() { * * */ - public static Output getBrands(InvokeArgs args) { - return getBrands(args, InvokeOptions.Empty); + public static CompletableFuture getAuthorizationServersPoliciesRulePlain(GetAuthorizationServersPoliciesRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", TypeShape.of(GetAuthorizationServersPoliciesRuleResult.class), args, Utilities.withVersion(options)); } /** - * Get the brands belonging to an Okta organization. + * Get a behavior by name or ID. * * ## Example Usage * - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.okta.OktaFunctions;
-     * import java.util.ArrayList;
-     * import java.util.Arrays;
-     * import java.util.Map;
-     * import java.io.File;
-     * import java.nio.file.Files;
-     * import java.nio.file.Paths;
+     */
+    public static Output getBehaviour() {
+        return getBehaviour(GetBehaviourArgs.Empty, InvokeOptions.Empty);
+    }
+    /**
+     * Get a behavior by name or ID.
      * 
-     * public class App {
-     *     public static void main(String[] args) {
-     *         Pulumi.run(App::stack);
-     *     }
+     * ## Example Usage
      * 
-     *     public static void stack(Context ctx) {
-     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     */
+    public static CompletableFuture getBehaviourPlain() {
+        return getBehaviourPlain(GetBehaviourPlainArgs.Empty, InvokeOptions.Empty);
+    }
+    /**
+     * Get a behavior by name or ID.
      * 
-     *     }
-     * }
-     * }
-     * 
+ * ## Example Usage * */ - public static CompletableFuture getBrandsPlain(InvokeArgs args) { - return getBrandsPlain(args, InvokeOptions.Empty); + public static Output getBehaviour(GetBehaviourArgs args) { + return getBehaviour(args, InvokeOptions.Empty); } /** - * Get the brands belonging to an Okta organization. + * Get a behavior by name or ID. * * ## Example Usage * - *
-     * {@code
-     * package generated_program;
-     * 
+     */
+    public static CompletableFuture getBehaviourPlain(GetBehaviourPlainArgs args) {
+        return getBehaviourPlain(args, InvokeOptions.Empty);
+    }
+    /**
+     * Get a behavior by name or ID.
+     * 
+     * ## Example Usage
+     * 
+     */
+    public static Output getBehaviour(GetBehaviourArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invoke("okta:index/getBehaviour:getBehaviour", TypeShape.of(GetBehaviourResult.class), args, Utilities.withVersion(options));
+    }
+    /**
+     * Get a behavior by name or ID.
+     * 
+     * ## Example Usage
+     * 
+     */
+    public static Output getBehaviour(GetBehaviourArgs args, InvokeOutputOptions options) {
+        return Deployment.getInstance().invoke("okta:index/getBehaviour:getBehaviour", TypeShape.of(GetBehaviourResult.class), args, Utilities.withVersion(options));
+    }
+    /**
+     * Get a behavior by name or ID.
+     * 
+     * ## Example Usage
+     * 
+     */
+    public static CompletableFuture getBehaviourPlain(GetBehaviourPlainArgs args, InvokeOptions options) {
+        return Deployment.getInstance().invokeAsync("okta:index/getBehaviour:getBehaviour", TypeShape.of(GetBehaviourResult.class), args, Utilities.withVersion(options));
+    }
+    /**
+     * Get a behaviors by search criteria.
+     * 
+     * ## Example Usage
+     * 
+     * 
+     * {@code
+     * package generated_program;
+     * 
      * import com.pulumi.Context;
      * import com.pulumi.Pulumi;
      * import com.pulumi.core.Output;
      * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetBehavioursArgs;
      * import java.util.ArrayList;
      * import java.util.Arrays;
      * import java.util.Map;
@@ -3206,7 +3253,9 @@ public static CompletableFuture getBrandsPlain(InvokeArgs args)
      *     }
      * 
      *     public static void stack(Context ctx) {
-     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     *         final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder()
+     *             .q("New")
+     *             .build());
      * 
      *     }
      * }
@@ -3214,11 +3263,11 @@ public static CompletableFuture getBrandsPlain(InvokeArgs args)
      * 
* */ - public static Output getBrands(InvokeArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getBrands:getBrands", TypeShape.of(GetBrandsResult.class), args, Utilities.withVersion(options)); + public static Output getBehaviours() { + return getBehaviours(GetBehavioursArgs.Empty, InvokeOptions.Empty); } /** - * Get the brands belonging to an Okta organization. + * Get a behaviors by search criteria. * * ## Example Usage * @@ -3230,6 +3279,7 @@ public static Output getBrands(InvokeArgs args, InvokeOptions o * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; + * import com.pulumi.okta.inputs.GetBehavioursArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3243,7 +3293,9 @@ public static Output getBrands(InvokeArgs args, InvokeOptions o * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() + * .q("New") + * .build()); * * } * } @@ -3251,11 +3303,11 @@ public static Output getBrands(InvokeArgs args, InvokeOptions o *
* */ - public static Output getBrands(InvokeArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getBrands:getBrands", TypeShape.of(GetBrandsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getBehavioursPlain() { + return getBehavioursPlain(GetBehavioursPlainArgs.Empty, InvokeOptions.Empty); } /** - * Get the brands belonging to an Okta organization. + * Get a behaviors by search criteria. * * ## Example Usage * @@ -3267,6 +3319,7 @@ public static Output getBrands(InvokeArgs args, InvokeOutputOpt * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; + * import com.pulumi.okta.inputs.GetBehavioursArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3280,7 +3333,9 @@ public static Output getBrands(InvokeArgs args, InvokeOutputOpt * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() + * .q("New") + * .build()); * * } * } @@ -3288,11 +3343,11 @@ public static Output getBrands(InvokeArgs args, InvokeOutputOpt * * */ - public static CompletableFuture getBrandsPlain(InvokeArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getBrands:getBrands", TypeShape.of(GetBrandsResult.class), args, Utilities.withVersion(options)); + public static Output getBehaviours(GetBehavioursArgs args) { + return getBehaviours(args, InvokeOptions.Empty); } /** - * Get the campaign belonging to an Okta organization. + * Get a behaviors by search criteria. * * ## Example Usage * @@ -3304,7 +3359,7 @@ public static CompletableFuture getBrandsPlain(InvokeArgs args, * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCampaignArgs; + * import com.pulumi.okta.inputs.GetBehavioursArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3318,8 +3373,8 @@ public static CompletableFuture getBrandsPlain(InvokeArgs args, * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() - * .id("") + * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() + * .q("New") * .build()); * * } @@ -3328,11 +3383,11 @@ public static CompletableFuture getBrandsPlain(InvokeArgs args, * * */ - public static Output getCampaign() { - return getCampaign(GetCampaignArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getBehavioursPlain(GetBehavioursPlainArgs args) { + return getBehavioursPlain(args, InvokeOptions.Empty); } /** - * Get the campaign belonging to an Okta organization. + * Get a behaviors by search criteria. * * ## Example Usage * @@ -3344,7 +3399,7 @@ public static Output getCampaign() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCampaignArgs; + * import com.pulumi.okta.inputs.GetBehavioursArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3358,8 +3413,8 @@ public static Output getCampaign() { * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() - * .id("") + * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() + * .q("New") * .build()); * * } @@ -3368,11 +3423,11 @@ public static Output getCampaign() { * * */ - public static CompletableFuture getCampaignPlain() { - return getCampaignPlain(GetCampaignPlainArgs.Empty, InvokeOptions.Empty); + public static Output getBehaviours(GetBehavioursArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getBehaviours:getBehaviours", TypeShape.of(GetBehavioursResult.class), args, Utilities.withVersion(options)); } /** - * Get the campaign belonging to an Okta organization. + * Get a behaviors by search criteria. * * ## Example Usage * @@ -3384,7 +3439,7 @@ public static CompletableFuture getCampaignPlain() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCampaignArgs; + * import com.pulumi.okta.inputs.GetBehavioursArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3398,8 +3453,8 @@ public static CompletableFuture getCampaignPlain() { * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() - * .id("") + * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() + * .q("New") * .build()); * * } @@ -3408,11 +3463,11 @@ public static CompletableFuture getCampaignPlain() { * * */ - public static Output getCampaign(GetCampaignArgs args) { - return getCampaign(args, InvokeOptions.Empty); + public static Output getBehaviours(GetBehavioursArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getBehaviours:getBehaviours", TypeShape.of(GetBehavioursResult.class), args, Utilities.withVersion(options)); } /** - * Get the campaign belonging to an Okta organization. + * Get a behaviors by search criteria. * * ## Example Usage * @@ -3424,7 +3479,7 @@ public static Output getCampaign(GetCampaignArgs args) { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCampaignArgs; + * import com.pulumi.okta.inputs.GetBehavioursArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3438,8 +3493,8 @@ public static Output getCampaign(GetCampaignArgs args) { * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() - * .id("") + * final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder() + * .q("New") * .build()); * * } @@ -3448,11 +3503,11 @@ public static Output getCampaign(GetCampaignArgs args) { * * */ - public static CompletableFuture getCampaignPlain(GetCampaignPlainArgs args) { - return getCampaignPlain(args, InvokeOptions.Empty); + public static CompletableFuture getBehavioursPlain(GetBehavioursPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getBehaviours:getBehaviours", TypeShape.of(GetBehavioursResult.class), args, Utilities.withVersion(options)); } /** - * Get the campaign belonging to an Okta organization. + * Get a single Brand from Okta. * * ## Example Usage * @@ -3464,7 +3519,7 @@ public static CompletableFuture getCampaignPlain(GetCampaignP * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCampaignArgs; + * import com.pulumi.okta.inputs.GetBrandArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3478,8 +3533,14 @@ public static CompletableFuture getCampaignPlain(GetCampaignP * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() - * .id("") + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * + * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId(test.brands()[0].id()) + * .build()); + * + * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId("default") * .build()); * * } @@ -3488,11 +3549,11 @@ public static CompletableFuture getCampaignPlain(GetCampaignP * * */ - public static Output getCampaign(GetCampaignArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getCampaign:getCampaign", TypeShape.of(GetCampaignResult.class), args, Utilities.withVersion(options)); + public static Output getBrand(GetBrandArgs args) { + return getBrand(args, InvokeOptions.Empty); } /** - * Get the campaign belonging to an Okta organization. + * Get a single Brand from Okta. * * ## Example Usage * @@ -3504,7 +3565,7 @@ public static Output getCampaign(GetCampaignArgs args, Invoke * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCampaignArgs; + * import com.pulumi.okta.inputs.GetBrandArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3518,8 +3579,14 @@ public static Output getCampaign(GetCampaignArgs args, Invoke * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() - * .id("") + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * + * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId(test.brands()[0].id()) + * .build()); + * + * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId("default") * .build()); * * } @@ -3528,11 +3595,11 @@ public static Output getCampaign(GetCampaignArgs args, Invoke * * */ - public static Output getCampaign(GetCampaignArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getCampaign:getCampaign", TypeShape.of(GetCampaignResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getBrandPlain(GetBrandPlainArgs args) { + return getBrandPlain(args, InvokeOptions.Empty); } /** - * Get the campaign belonging to an Okta organization. + * Get a single Brand from Okta. * * ## Example Usage * @@ -3544,7 +3611,7 @@ public static Output getCampaign(GetCampaignArgs args, Invoke * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCampaignArgs; + * import com.pulumi.okta.inputs.GetBrandArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3558,8 +3625,14 @@ public static Output getCampaign(GetCampaignArgs args, Invoke * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() - * .id("") + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * + * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId(test.brands()[0].id()) + * .build()); + * + * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId("default") * .build()); * * } @@ -3568,11 +3641,11 @@ public static Output getCampaign(GetCampaignArgs args, Invoke * * */ - public static CompletableFuture getCampaignPlain(GetCampaignPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getCampaign:getCampaign", TypeShape.of(GetCampaignResult.class), args, Utilities.withVersion(options)); + public static Output getBrand(GetBrandArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getBrand:getBrand", TypeShape.of(GetBrandResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves a catalog entry. + * Get a single Brand from Okta. * * ## Example Usage * @@ -3584,7 +3657,7 @@ public static CompletableFuture getCampaignPlain(GetCampaignP * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; + * import com.pulumi.okta.inputs.GetBrandArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3598,7 +3671,14 @@ public static CompletableFuture getCampaignPlain(GetCampaignP * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * + * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId(test.brands()[0].id()) + * .build()); + * + * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId("default") * .build()); * * } @@ -3607,11 +3687,11 @@ public static CompletableFuture getCampaignPlain(GetCampaignP * * */ - public static Output getCatalogEntryDefault(GetCatalogEntryDefaultArgs args) { - return getCatalogEntryDefault(args, InvokeOptions.Empty); + public static Output getBrand(GetBrandArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getBrand:getBrand", TypeShape.of(GetBrandResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves a catalog entry. + * Get a single Brand from Okta. * * ## Example Usage * @@ -3623,7 +3703,7 @@ public static Output getCatalogEntryDefault(GetCat * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; + * import com.pulumi.okta.inputs.GetBrandArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3637,7 +3717,14 @@ public static Output getCatalogEntryDefault(GetCat * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); + * + * final var testGetBrand = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId(test.brands()[0].id()) + * .build()); + * + * final var default = OktaFunctions.getBrand(GetBrandArgs.builder() + * .brandId("default") * .build()); * * } @@ -3646,11 +3733,11 @@ public static Output getCatalogEntryDefault(GetCat * * */ - public static CompletableFuture getCatalogEntryDefaultPlain(GetCatalogEntryDefaultPlainArgs args) { - return getCatalogEntryDefaultPlain(args, InvokeOptions.Empty); + public static CompletableFuture getBrandPlain(GetBrandPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getBrand:getBrand", TypeShape.of(GetBrandResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves a catalog entry. + * Get the brands belonging to an Okta organization. * * ## Example Usage * @@ -3662,7 +3749,6 @@ public static CompletableFuture getCatalogEntryDef * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3676,8 +3762,7 @@ public static CompletableFuture getCatalogEntryDef * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() - * .build()); + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); * * } * } @@ -3685,11 +3770,11 @@ public static CompletableFuture getCatalogEntryDef * * */ - public static Output getCatalogEntryDefault(GetCatalogEntryDefaultArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getCatalogEntryDefault:getCatalogEntryDefault", TypeShape.of(GetCatalogEntryDefaultResult.class), args, Utilities.withVersion(options)); + public static Output getBrands() { + return getBrands(InvokeArgs.Empty, InvokeOptions.Empty); } /** - * Retrieves a catalog entry. + * Get the brands belonging to an Okta organization. * * ## Example Usage * @@ -3701,7 +3786,6 @@ public static Output getCatalogEntryDefault(GetCat * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3715,8 +3799,7 @@ public static Output getCatalogEntryDefault(GetCat * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() - * .build()); + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); * * } * } @@ -3724,11 +3807,11 @@ public static Output getCatalogEntryDefault(GetCat * * */ - public static Output getCatalogEntryDefault(GetCatalogEntryDefaultArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getCatalogEntryDefault:getCatalogEntryDefault", TypeShape.of(GetCatalogEntryDefaultResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getBrandsPlain() { + return getBrandsPlain(InvokeArgs.Empty, InvokeOptions.Empty); } /** - * Retrieves a catalog entry. + * Get the brands belonging to an Okta organization. * * ## Example Usage * @@ -3740,7 +3823,6 @@ public static Output getCatalogEntryDefault(GetCat * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3754,8 +3836,7 @@ public static Output getCatalogEntryDefault(GetCat * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() - * .build()); + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); * * } * } @@ -3763,11 +3844,11 @@ public static Output getCatalogEntryDefault(GetCat * * */ - public static CompletableFuture getCatalogEntryDefaultPlain(GetCatalogEntryDefaultPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getCatalogEntryDefault:getCatalogEntryDefault", TypeShape.of(GetCatalogEntryDefaultResult.class), args, Utilities.withVersion(options)); + public static Output getBrands(InvokeArgs args) { + return getBrands(args, InvokeOptions.Empty); } /** - * Get the request fields for catalog entry. + * Get the brands belonging to an Okta organization. * * ## Example Usage * @@ -3779,7 +3860,6 @@ public static CompletableFuture getCatalogEntryDef * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3793,8 +3873,7 @@ public static CompletableFuture getCatalogEntryDef * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() - * .build()); + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); * * } * } @@ -3802,11 +3881,11 @@ public static CompletableFuture getCatalogEntryDef * * */ - public static Output getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs args) { - return getCatalogEntryUserAccessRequestFields(args, InvokeOptions.Empty); + public static CompletableFuture getBrandsPlain(InvokeArgs args) { + return getBrandsPlain(args, InvokeOptions.Empty); } /** - * Get the request fields for catalog entry. + * Get the brands belonging to an Okta organization. * * ## Example Usage * @@ -3818,7 +3897,6 @@ public static Output getCatalogEnt * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3832,8 +3910,7 @@ public static Output getCatalogEnt * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() - * .build()); + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); * * } * } @@ -3841,11 +3918,11 @@ public static Output getCatalogEnt * * */ - public static CompletableFuture getCatalogEntryUserAccessRequestFieldsPlain(GetCatalogEntryUserAccessRequestFieldsPlainArgs args) { - return getCatalogEntryUserAccessRequestFieldsPlain(args, InvokeOptions.Empty); - } + public static Output getBrands(InvokeArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getBrands:getBrands", TypeShape.of(GetBrandsResult.class), args, Utilities.withVersion(options)); + } /** - * Get the request fields for catalog entry. + * Get the brands belonging to an Okta organization. * * ## Example Usage * @@ -3857,7 +3934,6 @@ public static CompletableFuture ge * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3871,8 +3947,7 @@ public static CompletableFuture ge * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() - * .build()); + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); * * } * } @@ -3880,11 +3955,11 @@ public static CompletableFuture ge * * */ - public static Output getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getCatalogEntryUserAccessRequestFields:getCatalogEntryUserAccessRequestFields", TypeShape.of(GetCatalogEntryUserAccessRequestFieldsResult.class), args, Utilities.withVersion(options)); + public static Output getBrands(InvokeArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getBrands:getBrands", TypeShape.of(GetBrandsResult.class), args, Utilities.withVersion(options)); } /** - * Get the request fields for catalog entry. + * Get the brands belonging to an Okta organization. * * ## Example Usage * @@ -3896,7 +3971,6 @@ public static Output getCatalogEnt * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3910,8 +3984,7 @@ public static Output getCatalogEnt * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() - * .build()); + * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); * * } * } @@ -3919,11 +3992,11 @@ public static Output getCatalogEnt * * */ - public static Output getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getCatalogEntryUserAccessRequestFields:getCatalogEntryUserAccessRequestFields", TypeShape.of(GetCatalogEntryUserAccessRequestFieldsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getBrandsPlain(InvokeArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getBrands:getBrands", TypeShape.of(GetBrandsResult.class), args, Utilities.withVersion(options)); } /** - * Get the request fields for catalog entry. + * Get the campaign belonging to an Okta organization. * * ## Example Usage * @@ -3935,7 +4008,7 @@ public static Output getCatalogEnt * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; + * import com.pulumi.okta.inputs.GetCampaignArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -3949,7 +4022,8 @@ public static Output getCatalogEnt * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() + * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() + * .id("") * .build()); * * } @@ -3958,46 +4032,11 @@ public static Output getCatalogEnt * * */ - public static CompletableFuture getCatalogEntryUserAccessRequestFieldsPlain(GetCatalogEntryUserAccessRequestFieldsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getCatalogEntryUserAccessRequestFields:getCatalogEntryUserAccessRequestFields", TypeShape.of(GetCatalogEntryUserAccessRequestFieldsResult.class), args, Utilities.withVersion(options)); - } - /** - * Retrieve the default signin page of a brand - * - */ - public static Output getDefaultSigninPage(GetDefaultSigninPageArgs args) { - return getDefaultSigninPage(args, InvokeOptions.Empty); - } - /** - * Retrieve the default signin page of a brand - * - */ - public static CompletableFuture getDefaultSigninPagePlain(GetDefaultSigninPagePlainArgs args) { - return getDefaultSigninPagePlain(args, InvokeOptions.Empty); - } - /** - * Retrieve the default signin page of a brand - * - */ - public static Output getDefaultSigninPage(GetDefaultSigninPageArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getDefaultSigninPage:getDefaultSigninPage", TypeShape.of(GetDefaultSigninPageResult.class), args, Utilities.withVersion(options)); - } - /** - * Retrieve the default signin page of a brand - * - */ - public static Output getDefaultSigninPage(GetDefaultSigninPageArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getDefaultSigninPage:getDefaultSigninPage", TypeShape.of(GetDefaultSigninPageResult.class), args, Utilities.withVersion(options)); - } - /** - * Retrieve the default signin page of a brand - * - */ - public static CompletableFuture getDefaultSigninPagePlain(GetDefaultSigninPagePlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getDefaultSigninPage:getDefaultSigninPage", TypeShape.of(GetDefaultSigninPageResult.class), args, Utilities.withVersion(options)); + public static Output getCampaign() { + return getCampaign(GetCampaignArgs.Empty, InvokeOptions.Empty); } /** - * Get information about a device in Okta. + * Get the campaign belonging to an Okta organization. * * ## Example Usage * @@ -4009,7 +4048,7 @@ public static CompletableFuture getDefaultSigninPage * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDeviceArgs; + * import com.pulumi.okta.inputs.GetCampaignArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4023,8 +4062,8 @@ public static CompletableFuture getDefaultSigninPage * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() - * .id("") + * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() + * .id("") * .build()); * * } @@ -4033,11 +4072,11 @@ public static CompletableFuture getDefaultSigninPage * * */ - public static Output getDevice(GetDeviceArgs args) { - return getDevice(args, InvokeOptions.Empty); + public static CompletableFuture getCampaignPlain() { + return getCampaignPlain(GetCampaignPlainArgs.Empty, InvokeOptions.Empty); } /** - * Get information about a device in Okta. + * Get the campaign belonging to an Okta organization. * * ## Example Usage * @@ -4049,7 +4088,7 @@ public static Output getDevice(GetDeviceArgs args) { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDeviceArgs; + * import com.pulumi.okta.inputs.GetCampaignArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4063,8 +4102,8 @@ public static Output getDevice(GetDeviceArgs args) { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() - * .id("") + * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() + * .id("") * .build()); * * } @@ -4073,11 +4112,11 @@ public static Output getDevice(GetDeviceArgs args) { * * */ - public static CompletableFuture getDevicePlain(GetDevicePlainArgs args) { - return getDevicePlain(args, InvokeOptions.Empty); + public static Output getCampaign(GetCampaignArgs args) { + return getCampaign(args, InvokeOptions.Empty); } /** - * Get information about a device in Okta. + * Get the campaign belonging to an Okta organization. * * ## Example Usage * @@ -4089,7 +4128,7 @@ public static CompletableFuture getDevicePlain(GetDevicePlainAr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDeviceArgs; + * import com.pulumi.okta.inputs.GetCampaignArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4103,8 +4142,8 @@ public static CompletableFuture getDevicePlain(GetDevicePlainAr * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() - * .id("") + * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() + * .id("") * .build()); * * } @@ -4113,11 +4152,11 @@ public static CompletableFuture getDevicePlain(GetDevicePlainAr * * */ - public static Output getDevice(GetDeviceArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getCampaignPlain(GetCampaignPlainArgs args) { + return getCampaignPlain(args, InvokeOptions.Empty); } /** - * Get information about a device in Okta. + * Get the campaign belonging to an Okta organization. * * ## Example Usage * @@ -4129,7 +4168,7 @@ public static Output getDevice(GetDeviceArgs args, InvokeOption * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDeviceArgs; + * import com.pulumi.okta.inputs.GetCampaignArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4143,8 +4182,8 @@ public static Output getDevice(GetDeviceArgs args, InvokeOption * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() - * .id("") + * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() + * .id("") * .build()); * * } @@ -4153,11 +4192,11 @@ public static Output getDevice(GetDeviceArgs args, InvokeOption * * */ - public static Output getDevice(GetDeviceArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); + public static Output getCampaign(GetCampaignArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getCampaign:getCampaign", TypeShape.of(GetCampaignResult.class), args, Utilities.withVersion(options)); } /** - * Get information about a device in Okta. + * Get the campaign belonging to an Okta organization. * * ## Example Usage * @@ -4169,7 +4208,7 @@ public static Output getDevice(GetDeviceArgs args, InvokeOutput * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDeviceArgs; + * import com.pulumi.okta.inputs.GetCampaignArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4183,8 +4222,8 @@ public static Output getDevice(GetDeviceArgs args, InvokeOutput * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() - * .id("") + * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() + * .id("") * .build()); * * } @@ -4193,60 +4232,11 @@ public static Output getDevice(GetDeviceArgs args, InvokeOutput * * */ - public static CompletableFuture getDevicePlain(GetDevicePlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); - } - /** - * Get a policy assurance from Okta. - * - */ - public static Output getDeviceAssurancePolicy() { - return getDeviceAssurancePolicy(GetDeviceAssurancePolicyArgs.Empty, InvokeOptions.Empty); - } - /** - * Get a policy assurance from Okta. - * - */ - public static CompletableFuture getDeviceAssurancePolicyPlain() { - return getDeviceAssurancePolicyPlain(GetDeviceAssurancePolicyPlainArgs.Empty, InvokeOptions.Empty); - } - /** - * Get a policy assurance from Okta. - * - */ - public static Output getDeviceAssurancePolicy(GetDeviceAssurancePolicyArgs args) { - return getDeviceAssurancePolicy(args, InvokeOptions.Empty); - } - /** - * Get a policy assurance from Okta. - * - */ - public static CompletableFuture getDeviceAssurancePolicyPlain(GetDeviceAssurancePolicyPlainArgs args) { - return getDeviceAssurancePolicyPlain(args, InvokeOptions.Empty); - } - /** - * Get a policy assurance from Okta. - * - */ - public static Output getDeviceAssurancePolicy(GetDeviceAssurancePolicyArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getDeviceAssurancePolicy:getDeviceAssurancePolicy", TypeShape.of(GetDeviceAssurancePolicyResult.class), args, Utilities.withVersion(options)); - } - /** - * Get a policy assurance from Okta. - * - */ - public static Output getDeviceAssurancePolicy(GetDeviceAssurancePolicyArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getDeviceAssurancePolicy:getDeviceAssurancePolicy", TypeShape.of(GetDeviceAssurancePolicyResult.class), args, Utilities.withVersion(options)); - } - /** - * Get a policy assurance from Okta. - * - */ - public static CompletableFuture getDeviceAssurancePolicyPlain(GetDeviceAssurancePolicyPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getDeviceAssurancePolicy:getDeviceAssurancePolicy", TypeShape.of(GetDeviceAssurancePolicyResult.class), args, Utilities.withVersion(options)); + public static Output getCampaign(GetCampaignArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getCampaign:getCampaign", TypeShape.of(GetCampaignResult.class), args, Utilities.withVersion(options)); } /** - * Get a domain from Okta. + * Get the campaign belonging to an Okta organization. * * ## Example Usage * @@ -4257,10 +4247,8 @@ public static CompletableFuture getDeviceAssuran * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.Domain; - * import com.pulumi.okta.DomainArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDomainArgs; + * import com.pulumi.okta.inputs.GetCampaignArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4274,16 +4262,8 @@ public static CompletableFuture getDeviceAssuran * } * * public static void stack(Context ctx) { - * var example = new Domain("example", DomainArgs.builder() - * .name("www.example.com") - * .build()); - * - * final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName("www.example.com") - * .build()); - * - * final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName(example.id()) + * final var test = OktaFunctions.getCampaign(GetCampaignArgs.builder() + * .id("") * .build()); * * } @@ -4292,11 +4272,11 @@ public static CompletableFuture getDeviceAssuran * * */ - public static Output getDomain(GetDomainArgs args) { - return getDomain(args, InvokeOptions.Empty); + public static CompletableFuture getCampaignPlain(GetCampaignPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getCampaign:getCampaign", TypeShape.of(GetCampaignResult.class), args, Utilities.withVersion(options)); } /** - * Get a domain from Okta. + * Retrieves a catalog entry. * * ## Example Usage * @@ -4307,10 +4287,8 @@ public static Output getDomain(GetDomainArgs args) { * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.Domain; - * import com.pulumi.okta.DomainArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDomainArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4324,16 +4302,7 @@ public static Output getDomain(GetDomainArgs args) { * } * * public static void stack(Context ctx) { - * var example = new Domain("example", DomainArgs.builder() - * .name("www.example.com") - * .build()); - * - * final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName("www.example.com") - * .build()); - * - * final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName(example.id()) + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4342,11 +4311,11 @@ public static Output getDomain(GetDomainArgs args) { * * */ - public static CompletableFuture getDomainPlain(GetDomainPlainArgs args) { - return getDomainPlain(args, InvokeOptions.Empty); + public static Output getCatalogEntryDefault(GetCatalogEntryDefaultArgs args) { + return getCatalogEntryDefault(args, InvokeOptions.Empty); } /** - * Get a domain from Okta. + * Retrieves a catalog entry. * * ## Example Usage * @@ -4357,10 +4326,8 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.Domain; - * import com.pulumi.okta.DomainArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDomainArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4374,16 +4341,7 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * } * * public static void stack(Context ctx) { - * var example = new Domain("example", DomainArgs.builder() - * .name("www.example.com") - * .build()); - * - * final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName("www.example.com") - * .build()); - * - * final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName(example.id()) + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4392,11 +4350,11 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * * */ - public static Output getDomain(GetDomainArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getCatalogEntryDefaultPlain(GetCatalogEntryDefaultPlainArgs args) { + return getCatalogEntryDefaultPlain(args, InvokeOptions.Empty); } /** - * Get a domain from Okta. + * Retrieves a catalog entry. * * ## Example Usage * @@ -4407,10 +4365,8 @@ public static Output getDomain(GetDomainArgs args, InvokeOption * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.Domain; - * import com.pulumi.okta.DomainArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDomainArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4424,16 +4380,7 @@ public static Output getDomain(GetDomainArgs args, InvokeOption * } * * public static void stack(Context ctx) { - * var example = new Domain("example", DomainArgs.builder() - * .name("www.example.com") - * .build()); - * - * final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName("www.example.com") - * .build()); - * - * final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName(example.id()) + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4442,11 +4389,11 @@ public static Output getDomain(GetDomainArgs args, InvokeOption * * */ - public static Output getDomain(GetDomainArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); + public static Output getCatalogEntryDefault(GetCatalogEntryDefaultArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getCatalogEntryDefault:getCatalogEntryDefault", TypeShape.of(GetCatalogEntryDefaultResult.class), args, Utilities.withVersion(options)); } /** - * Get a domain from Okta. + * Retrieves a catalog entry. * * ## Example Usage * @@ -4457,10 +4404,8 @@ public static Output getDomain(GetDomainArgs args, InvokeOutput * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.Domain; - * import com.pulumi.okta.DomainArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetDomainArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4474,16 +4419,7 @@ public static Output getDomain(GetDomainArgs args, InvokeOutput * } * * public static void stack(Context ctx) { - * var example = new Domain("example", DomainArgs.builder() - * .name("www.example.com") - * .build()); - * - * final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName("www.example.com") - * .build()); - * - * final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder() - * .domainIdOrName(example.id()) + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4492,11 +4428,11 @@ public static Output getDomain(GetDomainArgs args, InvokeOutput * * */ - public static CompletableFuture getDomainPlain(GetDomainPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); + public static Output getCatalogEntryDefault(GetCatalogEntryDefaultArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getCatalogEntryDefault:getCatalogEntryDefault", TypeShape.of(GetCatalogEntryDefaultResult.class), args, Utilities.withVersion(options)); } /** - * Get the email customization of an email template belonging to a brand in an Okta organization. + * Retrieves a catalog entry. * * ## Example Usage * @@ -4508,8 +4444,7 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; - * import com.pulumi.okta.inputs.GetEmailCustomizationArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4523,17 +4458,7 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .build()); - * - * final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .customizationId(forgotPassword.emailCustomizations()[0].id()) + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4542,11 +4467,11 @@ public static CompletableFuture getDomainPlain(GetDomainPlainAr * * */ - public static Output getEmailCustomization(GetEmailCustomizationArgs args) { - return getEmailCustomization(args, InvokeOptions.Empty); + public static CompletableFuture getCatalogEntryDefaultPlain(GetCatalogEntryDefaultPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getCatalogEntryDefault:getCatalogEntryDefault", TypeShape.of(GetCatalogEntryDefaultResult.class), args, Utilities.withVersion(options)); } /** - * Get the email customization of an email template belonging to a brand in an Okta organization. + * Get the request fields for catalog entry. * * ## Example Usage * @@ -4558,8 +4483,7 @@ public static Output getEmailCustomization(GetEmail * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; - * import com.pulumi.okta.inputs.GetEmailCustomizationArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4573,17 +4497,7 @@ public static Output getEmailCustomization(GetEmail * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .build()); - * - * final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .customizationId(forgotPassword.emailCustomizations()[0].id()) + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4592,11 +4506,11 @@ public static Output getEmailCustomization(GetEmail * * */ - public static CompletableFuture getEmailCustomizationPlain(GetEmailCustomizationPlainArgs args) { - return getEmailCustomizationPlain(args, InvokeOptions.Empty); + public static Output getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs args) { + return getCatalogEntryUserAccessRequestFields(args, InvokeOptions.Empty); } /** - * Get the email customization of an email template belonging to a brand in an Okta organization. + * Get the request fields for catalog entry. * * ## Example Usage * @@ -4608,8 +4522,7 @@ public static CompletableFuture getEmailCustomizati * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; - * import com.pulumi.okta.inputs.GetEmailCustomizationArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4623,17 +4536,7 @@ public static CompletableFuture getEmailCustomizati * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .build()); - * - * final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .customizationId(forgotPassword.emailCustomizations()[0].id()) + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4642,11 +4545,11 @@ public static CompletableFuture getEmailCustomizati * * */ - public static Output getEmailCustomization(GetEmailCustomizationArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getEmailCustomization:getEmailCustomization", TypeShape.of(GetEmailCustomizationResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getCatalogEntryUserAccessRequestFieldsPlain(GetCatalogEntryUserAccessRequestFieldsPlainArgs args) { + return getCatalogEntryUserAccessRequestFieldsPlain(args, InvokeOptions.Empty); } /** - * Get the email customization of an email template belonging to a brand in an Okta organization. + * Get the request fields for catalog entry. * * ## Example Usage * @@ -4658,8 +4561,7 @@ public static Output getEmailCustomization(GetEmail * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; - * import com.pulumi.okta.inputs.GetEmailCustomizationArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4673,17 +4575,7 @@ public static Output getEmailCustomization(GetEmail * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .build()); - * - * final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .customizationId(forgotPassword.emailCustomizations()[0].id()) + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4692,11 +4584,11 @@ public static Output getEmailCustomization(GetEmail * * */ - public static Output getEmailCustomization(GetEmailCustomizationArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getEmailCustomization:getEmailCustomization", TypeShape.of(GetEmailCustomizationResult.class), args, Utilities.withVersion(options)); + public static Output getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getCatalogEntryUserAccessRequestFields:getCatalogEntryUserAccessRequestFields", TypeShape.of(GetCatalogEntryUserAccessRequestFieldsResult.class), args, Utilities.withVersion(options)); } /** - * Get the email customization of an email template belonging to a brand in an Okta organization. + * Get the request fields for catalog entry. * * ## Example Usage * @@ -4708,8 +4600,7 @@ public static Output getEmailCustomization(GetEmail * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; - * import com.pulumi.okta.inputs.GetEmailCustomizationArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4723,17 +4614,7 @@ public static Output getEmailCustomization(GetEmail * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .build()); - * - * final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") - * .customizationId(forgotPassword.emailCustomizations()[0].id()) + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4742,11 +4623,11 @@ public static Output getEmailCustomization(GetEmail * * */ - public static CompletableFuture getEmailCustomizationPlain(GetEmailCustomizationPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getEmailCustomization:getEmailCustomization", TypeShape.of(GetEmailCustomizationResult.class), args, Utilities.withVersion(options)); + public static Output getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getCatalogEntryUserAccessRequestFields:getCatalogEntryUserAccessRequestFields", TypeShape.of(GetCatalogEntryUserAccessRequestFieldsResult.class), args, Utilities.withVersion(options)); } /** - * Get the email customizations of an email template belonging to a brand in an Okta organization. + * Get the request fields for catalog entry. * * ## Example Usage * @@ -4758,7 +4639,7 @@ public static CompletableFuture getEmailCustomizati * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; + * import com.pulumi.okta.inputs.GetCatalogEntryUserAccessRequestFieldsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4772,11 +4653,7 @@ public static CompletableFuture getEmailCustomizati * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") + * final var test = OktaFunctions.getCatalogEntryUserAccessRequestFields(GetCatalogEntryUserAccessRequestFieldsArgs.builder() * .build()); * * } @@ -4785,11 +4662,46 @@ public static CompletableFuture getEmailCustomizati * * */ - public static Output getEmailCustomizations(GetEmailCustomizationsArgs args) { - return getEmailCustomizations(args, InvokeOptions.Empty); + public static CompletableFuture getCatalogEntryUserAccessRequestFieldsPlain(GetCatalogEntryUserAccessRequestFieldsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getCatalogEntryUserAccessRequestFields:getCatalogEntryUserAccessRequestFields", TypeShape.of(GetCatalogEntryUserAccessRequestFieldsResult.class), args, Utilities.withVersion(options)); } /** - * Get the email customizations of an email template belonging to a brand in an Okta organization. + * Retrieve the default signin page of a brand + * + */ + public static Output getDefaultSigninPage(GetDefaultSigninPageArgs args) { + return getDefaultSigninPage(args, InvokeOptions.Empty); + } + /** + * Retrieve the default signin page of a brand + * + */ + public static CompletableFuture getDefaultSigninPagePlain(GetDefaultSigninPagePlainArgs args) { + return getDefaultSigninPagePlain(args, InvokeOptions.Empty); + } + /** + * Retrieve the default signin page of a brand + * + */ + public static Output getDefaultSigninPage(GetDefaultSigninPageArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getDefaultSigninPage:getDefaultSigninPage", TypeShape.of(GetDefaultSigninPageResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieve the default signin page of a brand + * + */ + public static Output getDefaultSigninPage(GetDefaultSigninPageArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getDefaultSigninPage:getDefaultSigninPage", TypeShape.of(GetDefaultSigninPageResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieve the default signin page of a brand + * + */ + public static CompletableFuture getDefaultSigninPagePlain(GetDefaultSigninPagePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getDefaultSigninPage:getDefaultSigninPage", TypeShape.of(GetDefaultSigninPageResult.class), args, Utilities.withVersion(options)); + } + /** + * Get information about a device in Okta. * * ## Example Usage * @@ -4801,7 +4713,7 @@ public static Output getEmailCustomizations(GetEma * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; + * import com.pulumi.okta.inputs.GetDeviceArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4815,11 +4727,8 @@ public static Output getEmailCustomizations(GetEma * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") + * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() + * .id("") * .build()); * * } @@ -4828,11 +4737,11 @@ public static Output getEmailCustomizations(GetEma * * */ - public static CompletableFuture getEmailCustomizationsPlain(GetEmailCustomizationsPlainArgs args) { - return getEmailCustomizationsPlain(args, InvokeOptions.Empty); + public static Output getDevice(GetDeviceArgs args) { + return getDevice(args, InvokeOptions.Empty); } /** - * Get the email customizations of an email template belonging to a brand in an Okta organization. + * Get information about a device in Okta. * * ## Example Usage * @@ -4844,7 +4753,7 @@ public static CompletableFuture getEmailCustomizat * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; + * import com.pulumi.okta.inputs.GetDeviceArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4858,11 +4767,8 @@ public static CompletableFuture getEmailCustomizat * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") + * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() + * .id("") * .build()); * * } @@ -4871,11 +4777,11 @@ public static CompletableFuture getEmailCustomizat * * */ - public static Output getEmailCustomizations(GetEmailCustomizationsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getEmailCustomizations:getEmailCustomizations", TypeShape.of(GetEmailCustomizationsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getDevicePlain(GetDevicePlainArgs args) { + return getDevicePlain(args, InvokeOptions.Empty); } /** - * Get the email customizations of an email template belonging to a brand in an Okta organization. + * Get information about a device in Okta. * * ## Example Usage * @@ -4887,7 +4793,7 @@ public static Output getEmailCustomizations(GetEma * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; + * import com.pulumi.okta.inputs.GetDeviceArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4901,11 +4807,8 @@ public static Output getEmailCustomizations(GetEma * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") + * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() + * .id("") * .build()); * * } @@ -4914,11 +4817,11 @@ public static Output getEmailCustomizations(GetEma * * */ - public static Output getEmailCustomizations(GetEmailCustomizationsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getEmailCustomizations:getEmailCustomizations", TypeShape.of(GetEmailCustomizationsResult.class), args, Utilities.withVersion(options)); + public static Output getDevice(GetDeviceArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); } /** - * Get the email customizations of an email template belonging to a brand in an Okta organization. + * Get information about a device in Okta. * * ## Example Usage * @@ -4930,7 +4833,7 @@ public static Output getEmailCustomizations(GetEma * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs; + * import com.pulumi.okta.inputs.GetDeviceArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4944,11 +4847,8 @@ public static Output getEmailCustomizations(GetEma * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder() - * .brandId(test.brands()[0].id()) - * .templateName("ForgotPassword") + * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() + * .id("") * .build()); * * } @@ -4957,11 +4857,11 @@ public static Output getEmailCustomizations(GetEma * * */ - public static CompletableFuture getEmailCustomizationsPlain(GetEmailCustomizationsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getEmailCustomizations:getEmailCustomizations", TypeShape.of(GetEmailCustomizationsResult.class), args, Utilities.withVersion(options)); + public static Output getDevice(GetDeviceArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); } /** - * Get existing SMTP email server configuration. + * Get information about a device in Okta. * * ## Example Usage * @@ -4972,10 +4872,8 @@ public static CompletableFuture getEmailCustomizat * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.EmailSmtpServer; - * import com.pulumi.okta.EmailSmtpServerArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs; + * import com.pulumi.okta.inputs.GetDeviceArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -4989,16 +4887,107 @@ public static CompletableFuture getEmailCustomizat * } * * public static void stack(Context ctx) { - * var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder() - * .alias("CustomServer") - * .host("192.168.160.1") - * .port(8086) - * .username("aUser") - * .password("abcd") + * final var example = OktaFunctions.getDevice(GetDeviceArgs.builder() + * .id("") * .build()); * - * final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder() - * .id("id-of-your-smtp-server") + * } + * } + * } + * + * + */ + public static CompletableFuture getDevicePlain(GetDevicePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getDevice:getDevice", TypeShape.of(GetDeviceResult.class), args, Utilities.withVersion(options)); + } + /** + * Get a policy assurance from Okta. + * + */ + public static Output getDeviceAssurancePolicy() { + return getDeviceAssurancePolicy(GetDeviceAssurancePolicyArgs.Empty, InvokeOptions.Empty); + } + /** + * Get a policy assurance from Okta. + * + */ + public static CompletableFuture getDeviceAssurancePolicyPlain() { + return getDeviceAssurancePolicyPlain(GetDeviceAssurancePolicyPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * Get a policy assurance from Okta. + * + */ + public static Output getDeviceAssurancePolicy(GetDeviceAssurancePolicyArgs args) { + return getDeviceAssurancePolicy(args, InvokeOptions.Empty); + } + /** + * Get a policy assurance from Okta. + * + */ + public static CompletableFuture getDeviceAssurancePolicyPlain(GetDeviceAssurancePolicyPlainArgs args) { + return getDeviceAssurancePolicyPlain(args, InvokeOptions.Empty); + } + /** + * Get a policy assurance from Okta. + * + */ + public static Output getDeviceAssurancePolicy(GetDeviceAssurancePolicyArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getDeviceAssurancePolicy:getDeviceAssurancePolicy", TypeShape.of(GetDeviceAssurancePolicyResult.class), args, Utilities.withVersion(options)); + } + /** + * Get a policy assurance from Okta. + * + */ + public static Output getDeviceAssurancePolicy(GetDeviceAssurancePolicyArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getDeviceAssurancePolicy:getDeviceAssurancePolicy", TypeShape.of(GetDeviceAssurancePolicyResult.class), args, Utilities.withVersion(options)); + } + /** + * Get a policy assurance from Okta. + * + */ + public static CompletableFuture getDeviceAssurancePolicyPlain(GetDeviceAssurancePolicyPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getDeviceAssurancePolicy:getDeviceAssurancePolicy", TypeShape.of(GetDeviceAssurancePolicyResult.class), args, Utilities.withVersion(options)); + } + /** + * Get a domain from Okta. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.Domain;
+     * import com.pulumi.okta.DomainArgs;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetDomainArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         var example = new Domain("example", DomainArgs.builder()
+     *             .name("www.example.com")
+     *             .build());
+     * 
+     *         final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder()
+     *             .domainIdOrName("www.example.com")
+     *             .build());
+     * 
+     *         final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder()
+     *             .domainIdOrName(example.id())
      *             .build());
      * 
      *     }
@@ -5007,11 +4996,11 @@ public static CompletableFuture getEmailCustomizat
      * 
* */ - public static Output getEmailSmtpServer(GetEmailSmtpServerArgs args) { - return getEmailSmtpServer(args, InvokeOptions.Empty); + public static Output getDomain(GetDomainArgs args) { + return getDomain(args, InvokeOptions.Empty); } /** - * Get existing SMTP email server configuration. + * Get a domain from Okta. * * ## Example Usage * @@ -5022,10 +5011,10 @@ public static Output getEmailSmtpServer(GetEmailSmtpSe * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.EmailSmtpServer; - * import com.pulumi.okta.EmailSmtpServerArgs; + * import com.pulumi.okta.Domain; + * import com.pulumi.okta.DomainArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs; + * import com.pulumi.okta.inputs.GetDomainArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5039,16 +5028,16 @@ public static Output getEmailSmtpServer(GetEmailSmtpSe * } * * public static void stack(Context ctx) { - * var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder() - * .alias("CustomServer") - * .host("192.168.160.1") - * .port(8086) - * .username("aUser") - * .password("abcd") + * var example = new Domain("example", DomainArgs.builder() + * .name("www.example.com") * .build()); * - * final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder() - * .id("id-of-your-smtp-server") + * final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder() + * .domainIdOrName("www.example.com") + * .build()); + * + * final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder() + * .domainIdOrName(example.id()) * .build()); * * } @@ -5057,11 +5046,11 @@ public static Output getEmailSmtpServer(GetEmailSmtpSe * * */ - public static CompletableFuture getEmailSmtpServerPlain(GetEmailSmtpServerPlainArgs args) { - return getEmailSmtpServerPlain(args, InvokeOptions.Empty); + public static CompletableFuture getDomainPlain(GetDomainPlainArgs args) { + return getDomainPlain(args, InvokeOptions.Empty); } /** - * Get existing SMTP email server configuration. + * Get a domain from Okta. * * ## Example Usage * @@ -5072,10 +5061,10 @@ public static CompletableFuture getEmailSmtpServerPlai * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.EmailSmtpServer; - * import com.pulumi.okta.EmailSmtpServerArgs; + * import com.pulumi.okta.Domain; + * import com.pulumi.okta.DomainArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs; + * import com.pulumi.okta.inputs.GetDomainArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5089,16 +5078,16 @@ public static CompletableFuture getEmailSmtpServerPlai * } * * public static void stack(Context ctx) { - * var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder() - * .alias("CustomServer") - * .host("192.168.160.1") - * .port(8086) - * .username("aUser") - * .password("abcd") + * var example = new Domain("example", DomainArgs.builder() + * .name("www.example.com") * .build()); * - * final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder() - * .id("id-of-your-smtp-server") + * final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder() + * .domainIdOrName("www.example.com") + * .build()); + * + * final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder() + * .domainIdOrName(example.id()) * .build()); * * } @@ -5107,11 +5096,11 @@ public static CompletableFuture getEmailSmtpServerPlai * * */ - public static Output getEmailSmtpServer(GetEmailSmtpServerArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getEmailSmtpServer:getEmailSmtpServer", TypeShape.of(GetEmailSmtpServerResult.class), args, Utilities.withVersion(options)); + public static Output getDomain(GetDomainArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); } /** - * Get existing SMTP email server configuration. + * Get a domain from Okta. * * ## Example Usage * @@ -5122,10 +5111,10 @@ public static Output getEmailSmtpServer(GetEmailSmtpSe * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.EmailSmtpServer; - * import com.pulumi.okta.EmailSmtpServerArgs; + * import com.pulumi.okta.Domain; + * import com.pulumi.okta.DomainArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs; + * import com.pulumi.okta.inputs.GetDomainArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5139,16 +5128,16 @@ public static Output getEmailSmtpServer(GetEmailSmtpSe * } * * public static void stack(Context ctx) { - * var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder() - * .alias("CustomServer") - * .host("192.168.160.1") - * .port(8086) - * .username("aUser") - * .password("abcd") + * var example = new Domain("example", DomainArgs.builder() + * .name("www.example.com") * .build()); * - * final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder() - * .id("id-of-your-smtp-server") + * final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder() + * .domainIdOrName("www.example.com") + * .build()); + * + * final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder() + * .domainIdOrName(example.id()) * .build()); * * } @@ -5157,11 +5146,11 @@ public static Output getEmailSmtpServer(GetEmailSmtpSe * * */ - public static Output getEmailSmtpServer(GetEmailSmtpServerArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getEmailSmtpServer:getEmailSmtpServer", TypeShape.of(GetEmailSmtpServerResult.class), args, Utilities.withVersion(options)); + public static Output getDomain(GetDomainArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); } /** - * Get existing SMTP email server configuration. + * Get a domain from Okta. * * ## Example Usage * @@ -5172,10 +5161,10 @@ public static Output getEmailSmtpServer(GetEmailSmtpSe * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.EmailSmtpServer; - * import com.pulumi.okta.EmailSmtpServerArgs; + * import com.pulumi.okta.Domain; + * import com.pulumi.okta.DomainArgs; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs; + * import com.pulumi.okta.inputs.GetDomainArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5189,16 +5178,16 @@ public static Output getEmailSmtpServer(GetEmailSmtpSe * } * * public static void stack(Context ctx) { - * var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder() - * .alias("CustomServer") - * .host("192.168.160.1") - * .port(8086) - * .username("aUser") - * .password("abcd") + * var example = new Domain("example", DomainArgs.builder() + * .name("www.example.com") * .build()); * - * final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder() - * .id("id-of-your-smtp-server") + * final var by-name = OktaFunctions.getDomain(GetDomainArgs.builder() + * .domainIdOrName("www.example.com") + * .build()); + * + * final var by-id = OktaFunctions.getDomain(GetDomainArgs.builder() + * .domainIdOrName(example.id()) * .build()); * * } @@ -5207,15 +5196,1835 @@ public static Output getEmailSmtpServer(GetEmailSmtpSe * * */ - public static CompletableFuture getEmailSmtpServerPlain(GetEmailSmtpServerPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getEmailSmtpServer:getEmailSmtpServer", TypeShape.of(GetEmailSmtpServerResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getDomainPlain(GetDomainPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getDomain:getDomain", TypeShape.of(GetDomainResult.class), args, Utilities.withVersion(options)); } /** - * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. + * Get the email customization of an email template belonging to a brand in an Okta organization. * - * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. + * ## Example Usage * - * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *         final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .customizationId(forgotPassword.emailCustomizations()[0].id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEmailCustomization(GetEmailCustomizationArgs args) { + return getEmailCustomization(args, InvokeOptions.Empty); + } + /** + * Get the email customization of an email template belonging to a brand in an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *         final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .customizationId(forgotPassword.emailCustomizations()[0].id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEmailCustomizationPlain(GetEmailCustomizationPlainArgs args) { + return getEmailCustomizationPlain(args, InvokeOptions.Empty); + } + /** + * Get the email customization of an email template belonging to a brand in an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *         final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .customizationId(forgotPassword.emailCustomizations()[0].id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEmailCustomization(GetEmailCustomizationArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getEmailCustomization:getEmailCustomization", TypeShape.of(GetEmailCustomizationResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the email customization of an email template belonging to a brand in an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *         final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .customizationId(forgotPassword.emailCustomizations()[0].id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEmailCustomization(GetEmailCustomizationArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getEmailCustomization:getEmailCustomization", TypeShape.of(GetEmailCustomizationResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the email customization of an email template belonging to a brand in an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *         final var forgotPasswordEn = OktaFunctions.getEmailCustomization(GetEmailCustomizationArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .customizationId(forgotPassword.emailCustomizations()[0].id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEmailCustomizationPlain(GetEmailCustomizationPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getEmailCustomization:getEmailCustomization", TypeShape.of(GetEmailCustomizationResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the email customizations of an email template belonging to a brand in an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEmailCustomizations(GetEmailCustomizationsArgs args) { + return getEmailCustomizations(args, InvokeOptions.Empty); + } + /** + * Get the email customizations of an email template belonging to a brand in an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEmailCustomizationsPlain(GetEmailCustomizationsPlainArgs args) { + return getEmailCustomizationsPlain(args, InvokeOptions.Empty); + } + /** + * Get the email customizations of an email template belonging to a brand in an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEmailCustomizations(GetEmailCustomizationsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getEmailCustomizations:getEmailCustomizations", TypeShape.of(GetEmailCustomizationsResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the email customizations of an email template belonging to a brand in an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEmailCustomizations(GetEmailCustomizationsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getEmailCustomizations:getEmailCustomizations", TypeShape.of(GetEmailCustomizationsResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the email customizations of an email template belonging to a brand in an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailCustomizationsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getBrands(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         final var forgotPassword = OktaFunctions.getEmailCustomizations(GetEmailCustomizationsArgs.builder()
+     *             .brandId(test.brands()[0].id())
+     *             .templateName("ForgotPassword")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEmailCustomizationsPlain(GetEmailCustomizationsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getEmailCustomizations:getEmailCustomizations", TypeShape.of(GetEmailCustomizationsResult.class), args, Utilities.withVersion(options)); + } + /** + * Get existing SMTP email server configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.EmailSmtpServer;
+     * import com.pulumi.okta.EmailSmtpServerArgs;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder()
+     *             .alias("CustomServer")
+     *             .host("192.168.160.1")
+     *             .port(8086)
+     *             .username("aUser")
+     *             .password("abcd")
+     *             .build());
+     * 
+     *         final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder()
+     *             .id("id-of-your-smtp-server")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEmailSmtpServer(GetEmailSmtpServerArgs args) { + return getEmailSmtpServer(args, InvokeOptions.Empty); + } + /** + * Get existing SMTP email server configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.EmailSmtpServer;
+     * import com.pulumi.okta.EmailSmtpServerArgs;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder()
+     *             .alias("CustomServer")
+     *             .host("192.168.160.1")
+     *             .port(8086)
+     *             .username("aUser")
+     *             .password("abcd")
+     *             .build());
+     * 
+     *         final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder()
+     *             .id("id-of-your-smtp-server")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEmailSmtpServerPlain(GetEmailSmtpServerPlainArgs args) { + return getEmailSmtpServerPlain(args, InvokeOptions.Empty); + } + /** + * Get existing SMTP email server configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.EmailSmtpServer;
+     * import com.pulumi.okta.EmailSmtpServerArgs;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder()
+     *             .alias("CustomServer")
+     *             .host("192.168.160.1")
+     *             .port(8086)
+     *             .username("aUser")
+     *             .password("abcd")
+     *             .build());
+     * 
+     *         final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder()
+     *             .id("id-of-your-smtp-server")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEmailSmtpServer(GetEmailSmtpServerArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getEmailSmtpServer:getEmailSmtpServer", TypeShape.of(GetEmailSmtpServerResult.class), args, Utilities.withVersion(options)); + } + /** + * Get existing SMTP email server configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.EmailSmtpServer;
+     * import com.pulumi.okta.EmailSmtpServerArgs;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder()
+     *             .alias("CustomServer")
+     *             .host("192.168.160.1")
+     *             .port(8086)
+     *             .username("aUser")
+     *             .password("abcd")
+     *             .build());
+     * 
+     *         final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder()
+     *             .id("id-of-your-smtp-server")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEmailSmtpServer(GetEmailSmtpServerArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getEmailSmtpServer:getEmailSmtpServer", TypeShape.of(GetEmailSmtpServerResult.class), args, Utilities.withVersion(options)); + } + /** + * Get existing SMTP email server configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.EmailSmtpServer;
+     * import com.pulumi.okta.EmailSmtpServerArgs;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEmailSmtpServerArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         var smtpServer = new EmailSmtpServer("smtpServer", EmailSmtpServerArgs.builder()
+     *             .alias("CustomServer")
+     *             .host("192.168.160.1")
+     *             .port(8086)
+     *             .username("aUser")
+     *             .password("abcd")
+     *             .build());
+     * 
+     *         final var serverConfig = OktaFunctions.getEmailSmtpServer(GetEmailSmtpServerArgs.builder()
+     *             .id("id-of-your-smtp-server")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEmailSmtpServerPlain(GetEmailSmtpServerPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getEmailSmtpServer:getEmailSmtpServer", TypeShape.of(GetEmailSmtpServerResult.class), args, Utilities.withVersion(options)); + } + /** + * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. + * + * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. + * + * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         // Get a request by its catalog entry ID and request ID
+     *         final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder()
+     *             .entryId("cen123456789abcdefgh")
+     *             .id("reqABCDEFG0123456789")
+     *             .build());
+     * 
+     *         ctx.export("requestStatus", example.status());
+     *         ctx.export("requestFieldValues", example.requesterFieldValues());
+     *     }
+     * }
+     * }
+     * 
+ * + * ## Field Type Reference + * + * ### Field Types and Values + * + * - **TEXT**: Contains free-form text input in the `value` attribute + * - **SELECT**: Contains single selection value in the `value` attribute + * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) + * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") + * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute + * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute + * + * ### Usage Notes + * + * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list + * - For all other field types, the value will be in the `value` attribute as a string + * - The `label` and `type` attributes provide metadata about the field structure + * - Field definitions and requirements are determined by the approval system configuration + * + * ## Limitations and Considerations + * + * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. + * + * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. + * + * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. + * + * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. + * + */ + public static Output getEndUserMyRequests(GetEndUserMyRequestsArgs args) { + return getEndUserMyRequests(args, InvokeOptions.Empty); + } + /** + * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. + * + * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. + * + * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         // Get a request by its catalog entry ID and request ID
+     *         final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder()
+     *             .entryId("cen123456789abcdefgh")
+     *             .id("reqABCDEFG0123456789")
+     *             .build());
+     * 
+     *         ctx.export("requestStatus", example.status());
+     *         ctx.export("requestFieldValues", example.requesterFieldValues());
+     *     }
+     * }
+     * }
+     * 
+ * + * ## Field Type Reference + * + * ### Field Types and Values + * + * - **TEXT**: Contains free-form text input in the `value` attribute + * - **SELECT**: Contains single selection value in the `value` attribute + * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) + * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") + * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute + * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute + * + * ### Usage Notes + * + * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list + * - For all other field types, the value will be in the `value` attribute as a string + * - The `label` and `type` attributes provide metadata about the field structure + * - Field definitions and requirements are determined by the approval system configuration + * + * ## Limitations and Considerations + * + * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. + * + * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. + * + * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. + * + * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. + * + */ + public static CompletableFuture getEndUserMyRequestsPlain(GetEndUserMyRequestsPlainArgs args) { + return getEndUserMyRequestsPlain(args, InvokeOptions.Empty); + } + /** + * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. + * + * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. + * + * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         // Get a request by its catalog entry ID and request ID
+     *         final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder()
+     *             .entryId("cen123456789abcdefgh")
+     *             .id("reqABCDEFG0123456789")
+     *             .build());
+     * 
+     *         ctx.export("requestStatus", example.status());
+     *         ctx.export("requestFieldValues", example.requesterFieldValues());
+     *     }
+     * }
+     * }
+     * 
+ * + * ## Field Type Reference + * + * ### Field Types and Values + * + * - **TEXT**: Contains free-form text input in the `value` attribute + * - **SELECT**: Contains single selection value in the `value` attribute + * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) + * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") + * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute + * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute + * + * ### Usage Notes + * + * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list + * - For all other field types, the value will be in the `value` attribute as a string + * - The `label` and `type` attributes provide metadata about the field structure + * - Field definitions and requirements are determined by the approval system configuration + * + * ## Limitations and Considerations + * + * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. + * + * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. + * + * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. + * + * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. + * + */ + public static Output getEndUserMyRequests(GetEndUserMyRequestsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getEndUserMyRequests:getEndUserMyRequests", TypeShape.of(GetEndUserMyRequestsResult.class), args, Utilities.withVersion(options)); + } + /** + * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. + * + * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. + * + * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         // Get a request by its catalog entry ID and request ID
+     *         final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder()
+     *             .entryId("cen123456789abcdefgh")
+     *             .id("reqABCDEFG0123456789")
+     *             .build());
+     * 
+     *         ctx.export("requestStatus", example.status());
+     *         ctx.export("requestFieldValues", example.requesterFieldValues());
+     *     }
+     * }
+     * }
+     * 
+ * + * ## Field Type Reference + * + * ### Field Types and Values + * + * - **TEXT**: Contains free-form text input in the `value` attribute + * - **SELECT**: Contains single selection value in the `value` attribute + * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) + * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") + * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute + * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute + * + * ### Usage Notes + * + * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list + * - For all other field types, the value will be in the `value` attribute as a string + * - The `label` and `type` attributes provide metadata about the field structure + * - Field definitions and requirements are determined by the approval system configuration + * + * ## Limitations and Considerations + * + * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. + * + * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. + * + * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. + * + * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. + * + */ + public static Output getEndUserMyRequests(GetEndUserMyRequestsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getEndUserMyRequests:getEndUserMyRequests", TypeShape.of(GetEndUserMyRequestsResult.class), args, Utilities.withVersion(options)); + } + /** + * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. + * + * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. + * + * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         // Get a request by its catalog entry ID and request ID
+     *         final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder()
+     *             .entryId("cen123456789abcdefgh")
+     *             .id("reqABCDEFG0123456789")
+     *             .build());
+     * 
+     *         ctx.export("requestStatus", example.status());
+     *         ctx.export("requestFieldValues", example.requesterFieldValues());
+     *     }
+     * }
+     * }
+     * 
+ * + * ## Field Type Reference + * + * ### Field Types and Values + * + * - **TEXT**: Contains free-form text input in the `value` attribute + * - **SELECT**: Contains single selection value in the `value` attribute + * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) + * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") + * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute + * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute + * + * ### Usage Notes + * + * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list + * - For all other field types, the value will be in the `value` attribute as a string + * - The `label` and `type` attributes provide metadata about the field structure + * - Field definitions and requirements are determined by the approval system configuration + * + * ## Limitations and Considerations + * + * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. + * + * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. + * + * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. + * + * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. + * + */ + public static CompletableFuture getEndUserMyRequestsPlain(GetEndUserMyRequestsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getEndUserMyRequests:getEndUserMyRequests", TypeShape.of(GetEndUserMyRequestsResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the entitlement belonging to an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntitlement(GetEntitlementArgs args) { + return getEntitlement(args, InvokeOptions.Empty); + } + /** + * Get the entitlement belonging to an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEntitlementPlain(GetEntitlementPlainArgs args) { + return getEntitlementPlain(args, InvokeOptions.Empty); + } + /** + * Get the entitlement belonging to an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntitlement(GetEntitlementArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getEntitlement:getEntitlement", TypeShape.of(GetEntitlementResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the entitlement belonging to an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntitlement(GetEntitlementArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getEntitlement:getEntitlement", TypeShape.of(GetEntitlementResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the entitlement belonging to an Okta organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEntitlementPlain(GetEntitlementPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getEntitlement:getEntitlement", TypeShape.of(GetEntitlementResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the entitlement bundle for the given id. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementBundleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntitlementBundle(GetEntitlementBundleArgs args) { + return getEntitlementBundle(args, InvokeOptions.Empty); + } + /** + * Get the entitlement bundle for the given id. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementBundleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEntitlementBundlePlain(GetEntitlementBundlePlainArgs args) { + return getEntitlementBundlePlain(args, InvokeOptions.Empty); + } + /** + * Get the entitlement bundle for the given id. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementBundleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntitlementBundle(GetEntitlementBundleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getEntitlementBundle:getEntitlementBundle", TypeShape.of(GetEntitlementBundleResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the entitlement bundle for the given id. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementBundleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntitlementBundle(GetEntitlementBundleArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getEntitlementBundle:getEntitlementBundle", TypeShape.of(GetEntitlementBundleResult.class), args, Utilities.withVersion(options)); + } + /** + * Get the entitlement bundle for the given id. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetEntitlementBundleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEntitlementBundlePlain(GetEntitlementBundlePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getEntitlementBundle:getEntitlementBundle", TypeShape.of(GetEntitlementBundleResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.EntityRiskPolicyRule;
+     * import com.pulumi.okta.EntityRiskPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         // Use the policy ID to create rules
+     *         var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder()
+     *             .policyId(example.id())
+     *             .name("High Risk Response")
+     *             .riskLevel("HIGH")
+     *             .terminateAllSessions(true)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntityRiskPolicy() { + return getEntityRiskPolicy(InvokeArgs.Empty, InvokeOptions.Empty); + } + /** + * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.EntityRiskPolicyRule;
+     * import com.pulumi.okta.EntityRiskPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         // Use the policy ID to create rules
+     *         var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder()
+     *             .policyId(example.id())
+     *             .name("High Risk Response")
+     *             .riskLevel("HIGH")
+     *             .terminateAllSessions(true)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEntityRiskPolicyPlain() { + return getEntityRiskPolicyPlain(InvokeArgs.Empty, InvokeOptions.Empty); + } + /** + * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.EntityRiskPolicyRule;
+     * import com.pulumi.okta.EntityRiskPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         // Use the policy ID to create rules
+     *         var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder()
+     *             .policyId(example.id())
+     *             .name("High Risk Response")
+     *             .riskLevel("HIGH")
+     *             .terminateAllSessions(true)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntityRiskPolicy(InvokeArgs args) { + return getEntityRiskPolicy(args, InvokeOptions.Empty); + } + /** + * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.EntityRiskPolicyRule;
+     * import com.pulumi.okta.EntityRiskPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         // Use the policy ID to create rules
+     *         var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder()
+     *             .policyId(example.id())
+     *             .name("High Risk Response")
+     *             .riskLevel("HIGH")
+     *             .terminateAllSessions(true)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEntityRiskPolicyPlain(InvokeArgs args) { + return getEntityRiskPolicyPlain(args, InvokeOptions.Empty); + } + /** + * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.EntityRiskPolicyRule;
+     * import com.pulumi.okta.EntityRiskPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         // Use the policy ID to create rules
+     *         var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder()
+     *             .policyId(example.id())
+     *             .name("High Risk Response")
+     *             .riskLevel("HIGH")
+     *             .terminateAllSessions(true)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntityRiskPolicy(InvokeArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getEntityRiskPolicy:getEntityRiskPolicy", TypeShape.of(GetEntityRiskPolicyResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.EntityRiskPolicyRule;
+     * import com.pulumi.okta.EntityRiskPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         // Use the policy ID to create rules
+     *         var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder()
+     *             .policyId(example.id())
+     *             .name("High Risk Response")
+     *             .riskLevel("HIGH")
+     *             .terminateAllSessions(true)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getEntityRiskPolicy(InvokeArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getEntityRiskPolicy:getEntityRiskPolicy", TypeShape.of(GetEntityRiskPolicyResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.EntityRiskPolicyRule;
+     * import com.pulumi.okta.EntityRiskPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
+     * 
+     *         // Use the policy ID to create rules
+     *         var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder()
+     *             .policyId(example.id())
+     *             .name("High Risk Response")
+     *             .riskLevel("HIGH")
+     *             .terminateAllSessions(true)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getEntityRiskPolicyPlain(InvokeArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getEntityRiskPolicy:getEntityRiskPolicy", TypeShape.of(GetEntityRiskPolicyResult.class), args, Utilities.withVersion(options)); + } + /** + * Get a list of features from Okta. * * ## Example Usage * @@ -5227,7 +7036,7 @@ public static CompletableFuture getEmailSmtpServerPlai * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs; + * import com.pulumi.okta.inputs.GetFeaturesArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5241,57 +7050,21 @@ public static CompletableFuture getEmailSmtpServerPlai * } * * public static void stack(Context ctx) { - * // Get a request by its catalog entry ID and request ID - * final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder() - * .entryId("cen123456789abcdefgh") - * .id("reqABCDEFG0123456789") + * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() + * .label("Android Device Trust") * .build()); * - * ctx.export("requestStatus", example.status()); - * ctx.export("requestFieldValues", example.requesterFieldValues()); * } * } * } * * - * ## Field Type Reference - * - * ### Field Types and Values - * - * - **TEXT**: Contains free-form text input in the `value` attribute - * - **SELECT**: Contains single selection value in the `value` attribute - * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) - * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") - * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute - * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute - * - * ### Usage Notes - * - * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list - * - For all other field types, the value will be in the `value` attribute as a string - * - The `label` and `type` attributes provide metadata about the field structure - * - Field definitions and requirements are determined by the approval system configuration - * - * ## Limitations and Considerations - * - * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. - * - * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. - * - * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. - * - * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. - * */ - public static Output getEndUserMyRequests(GetEndUserMyRequestsArgs args) { - return getEndUserMyRequests(args, InvokeOptions.Empty); + public static Output getFeatures() { + return getFeatures(GetFeaturesArgs.Empty, InvokeOptions.Empty); } /** - * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. - * - * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. - * - * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + * Get a list of features from Okta. * * ## Example Usage * @@ -5303,7 +7076,7 @@ public static Output getEndUserMyRequests(GetEndUser * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs; + * import com.pulumi.okta.inputs.GetFeaturesArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5317,57 +7090,21 @@ public static Output getEndUserMyRequests(GetEndUser * } * * public static void stack(Context ctx) { - * // Get a request by its catalog entry ID and request ID - * final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder() - * .entryId("cen123456789abcdefgh") - * .id("reqABCDEFG0123456789") + * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() + * .label("Android Device Trust") * .build()); * - * ctx.export("requestStatus", example.status()); - * ctx.export("requestFieldValues", example.requesterFieldValues()); * } * } * } * * - * ## Field Type Reference - * - * ### Field Types and Values - * - * - **TEXT**: Contains free-form text input in the `value` attribute - * - **SELECT**: Contains single selection value in the `value` attribute - * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) - * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") - * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute - * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute - * - * ### Usage Notes - * - * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list - * - For all other field types, the value will be in the `value` attribute as a string - * - The `label` and `type` attributes provide metadata about the field structure - * - Field definitions and requirements are determined by the approval system configuration - * - * ## Limitations and Considerations - * - * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. - * - * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. - * - * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. - * - * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. - * */ - public static CompletableFuture getEndUserMyRequestsPlain(GetEndUserMyRequestsPlainArgs args) { - return getEndUserMyRequestsPlain(args, InvokeOptions.Empty); + public static CompletableFuture getFeaturesPlain() { + return getFeaturesPlain(GetFeaturesPlainArgs.Empty, InvokeOptions.Empty); } /** - * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. - * - * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. - * - * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + * Get a list of features from Okta. * * ## Example Usage * @@ -5379,7 +7116,7 @@ public static CompletableFuture getEndUserMyRequests * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs; + * import com.pulumi.okta.inputs.GetFeaturesArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5393,57 +7130,21 @@ public static CompletableFuture getEndUserMyRequests * } * * public static void stack(Context ctx) { - * // Get a request by its catalog entry ID and request ID - * final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder() - * .entryId("cen123456789abcdefgh") - * .id("reqABCDEFG0123456789") + * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() + * .label("Android Device Trust") * .build()); * - * ctx.export("requestStatus", example.status()); - * ctx.export("requestFieldValues", example.requesterFieldValues()); * } * } * } * * - * ## Field Type Reference - * - * ### Field Types and Values - * - * - **TEXT**: Contains free-form text input in the `value` attribute - * - **SELECT**: Contains single selection value in the `value` attribute - * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) - * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") - * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute - * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute - * - * ### Usage Notes - * - * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list - * - For all other field types, the value will be in the `value` attribute as a string - * - The `label` and `type` attributes provide metadata about the field structure - * - Field definitions and requirements are determined by the approval system configuration - * - * ## Limitations and Considerations - * - * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. - * - * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. - * - * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. - * - * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. - * */ - public static Output getEndUserMyRequests(GetEndUserMyRequestsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getEndUserMyRequests:getEndUserMyRequests", TypeShape.of(GetEndUserMyRequestsResult.class), args, Utilities.withVersion(options)); + public static Output getFeatures(GetFeaturesArgs args) { + return getFeatures(args, InvokeOptions.Empty); } /** - * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. - * - * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. - * - * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + * Get a list of features from Okta. * * ## Example Usage * @@ -5455,7 +7156,7 @@ public static Output getEndUserMyRequests(GetEndUser * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs; + * import com.pulumi.okta.inputs.GetFeaturesArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5469,57 +7170,21 @@ public static Output getEndUserMyRequests(GetEndUser * } * * public static void stack(Context ctx) { - * // Get a request by its catalog entry ID and request ID - * final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder() - * .entryId("cen123456789abcdefgh") - * .id("reqABCDEFG0123456789") + * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() + * .label("Android Device Trust") * .build()); * - * ctx.export("requestStatus", example.status()); - * ctx.export("requestFieldValues", example.requesterFieldValues()); * } * } * } * * - * ## Field Type Reference - * - * ### Field Types and Values - * - * - **TEXT**: Contains free-form text input in the `value` attribute - * - **SELECT**: Contains single selection value in the `value` attribute - * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) - * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") - * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute - * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute - * - * ### Usage Notes - * - * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list - * - For all other field types, the value will be in the `value` attribute as a string - * - The `label` and `type` attributes provide metadata about the field structure - * - Field definitions and requirements are determined by the approval system configuration - * - * ## Limitations and Considerations - * - * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. - * - * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. - * - * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. - * - * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. - * */ - public static Output getEndUserMyRequests(GetEndUserMyRequestsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getEndUserMyRequests:getEndUserMyRequests", TypeShape.of(GetEndUserMyRequestsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getFeaturesPlain(GetFeaturesPlainArgs args) { + return getFeaturesPlain(args, InvokeOptions.Empty); } /** - * Get an End User Request from Okta Identity Governance. This data source allows you to retrieve information about existing access requests in the Okta Identity Governance system. - * - * Use this data source to fetch details about a specific request, including its current status, field values, and other metadata. - * - * > **Note:** This data source is part of Okta Identity Governance functionality and requires appropriate licensing and configuration. + * Get a list of features from Okta. * * ## Example Usage * @@ -5531,7 +7196,7 @@ public static Output getEndUserMyRequests(GetEndUser * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEndUserMyRequestsArgs; + * import com.pulumi.okta.inputs.GetFeaturesArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5545,53 +7210,21 @@ public static Output getEndUserMyRequests(GetEndUser * } * * public static void stack(Context ctx) { - * // Get a request by its catalog entry ID and request ID - * final var example = OktaFunctions.getEndUserMyRequests(GetEndUserMyRequestsArgs.builder() - * .entryId("cen123456789abcdefgh") - * .id("reqABCDEFG0123456789") + * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() + * .label("Android Device Trust") * .build()); * - * ctx.export("requestStatus", example.status()); - * ctx.export("requestFieldValues", example.requesterFieldValues()); * } * } * } * * - * ## Field Type Reference - * - * ### Field Types and Values - * - * - **TEXT**: Contains free-form text input in the `value` attribute - * - **SELECT**: Contains single selection value in the `value` attribute - * - **MULTISELECT**: Contains multiple selection values in the `values` attribute (list) - * - **DURATION**: Contains time duration specification in the `value` attribute (e.g., "5 days", "2 weeks") - * - **ISO_DATE**: Contains date specification in ISO format in the `value` attribute - * - **OKTA_USER_ID**: Contains Okta user ID in the `value` attribute - * - * ### Usage Notes - * - * - For `MULTISELECT` type fields, the values will be in the `values` attribute as a list - * - For all other field types, the value will be in the `value` attribute as a string - * - The `label` and `type` attributes provide metadata about the field structure - * - Field definitions and requirements are determined by the approval system configuration - * - * ## Limitations and Considerations - * - * 1. **Read-Only**: This data source only retrieves existing request information and cannot modify requests. - * - * 2. **Identity Governance Licensing**: This data source requires Okta Identity Governance licensing and proper configuration. - * - * 3. **Request Lifecycle**: The data reflects the current state of the request in the approval workflow. - * - * 4. **Field Structure**: The field structure and available types depend on the approval system configuration in Okta Identity Governance. - * */ - public static CompletableFuture getEndUserMyRequestsPlain(GetEndUserMyRequestsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getEndUserMyRequests:getEndUserMyRequests", TypeShape.of(GetEndUserMyRequestsResult.class), args, Utilities.withVersion(options)); + public static Output getFeatures(GetFeaturesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getFeatures:getFeatures", TypeShape.of(GetFeaturesResult.class), args, Utilities.withVersion(options)); } /** - * Get the entitlement belonging to an Okta organization. + * Get a list of features from Okta. * * ## Example Usage * @@ -5603,7 +7236,7 @@ public static CompletableFuture getEndUserMyRequests * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementArgs; + * import com.pulumi.okta.inputs.GetFeaturesArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5617,8 +7250,8 @@ public static CompletableFuture getEndUserMyRequests * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder() - * .id("") + * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() + * .label("Android Device Trust") * .build()); * * } @@ -5627,11 +7260,11 @@ public static CompletableFuture getEndUserMyRequests * * */ - public static Output getEntitlement(GetEntitlementArgs args) { - return getEntitlement(args, InvokeOptions.Empty); + public static Output getFeatures(GetFeaturesArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getFeatures:getFeatures", TypeShape.of(GetFeaturesResult.class), args, Utilities.withVersion(options)); } /** - * Get the entitlement belonging to an Okta organization. + * Get a list of features from Okta. * * ## Example Usage * @@ -5643,7 +7276,7 @@ public static Output getEntitlement(GetEntitlementArgs arg * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementArgs; + * import com.pulumi.okta.inputs.GetFeaturesArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5657,8 +7290,8 @@ public static Output getEntitlement(GetEntitlementArgs arg * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder() - * .id("") + * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() + * .label("Android Device Trust") * .build()); * * } @@ -5667,11 +7300,11 @@ public static Output getEntitlement(GetEntitlementArgs arg * * */ - public static CompletableFuture getEntitlementPlain(GetEntitlementPlainArgs args) { - return getEntitlementPlain(args, InvokeOptions.Empty); + public static CompletableFuture getFeaturesPlain(GetFeaturesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getFeatures:getFeatures", TypeShape.of(GetFeaturesResult.class), args, Utilities.withVersion(options)); } /** - * Get the entitlement belonging to an Okta organization. + * Get a list of groups from Okta. * * ## Example Usage * @@ -5683,7 +7316,7 @@ public static CompletableFuture getEntitlementPlain(GetEnt * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementArgs; + * import com.pulumi.okta.inputs.GetGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5697,8 +7330,8 @@ public static CompletableFuture getEntitlementPlain(GetEnt * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder() - * .id("") + * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() + * .q("Engineering - ") * .build()); * * } @@ -5707,11 +7340,11 @@ public static CompletableFuture getEntitlementPlain(GetEnt * * */ - public static Output getEntitlement(GetEntitlementArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getEntitlement:getEntitlement", TypeShape.of(GetEntitlementResult.class), args, Utilities.withVersion(options)); + public static Output getGroups() { + return getGroups(GetGroupsArgs.Empty, InvokeOptions.Empty); } /** - * Get the entitlement belonging to an Okta organization. + * Get a list of groups from Okta. * * ## Example Usage * @@ -5723,7 +7356,7 @@ public static Output getEntitlement(GetEntitlementArgs arg * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementArgs; + * import com.pulumi.okta.inputs.GetGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5737,8 +7370,8 @@ public static Output getEntitlement(GetEntitlementArgs arg * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder() - * .id("") + * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() + * .q("Engineering - ") * .build()); * * } @@ -5747,11 +7380,11 @@ public static Output getEntitlement(GetEntitlementArgs arg * * */ - public static Output getEntitlement(GetEntitlementArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getEntitlement:getEntitlement", TypeShape.of(GetEntitlementResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getGroupsPlain() { + return getGroupsPlain(GetGroupsPlainArgs.Empty, InvokeOptions.Empty); } /** - * Get the entitlement belonging to an Okta organization. + * Get a list of groups from Okta. * * ## Example Usage * @@ -5763,7 +7396,7 @@ public static Output getEntitlement(GetEntitlementArgs arg * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementArgs; + * import com.pulumi.okta.inputs.GetGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5777,8 +7410,8 @@ public static Output getEntitlement(GetEntitlementArgs arg * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlement(GetEntitlementArgs.builder() - * .id("") + * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() + * .q("Engineering - ") * .build()); * * } @@ -5787,11 +7420,11 @@ public static Output getEntitlement(GetEntitlementArgs arg * * */ - public static CompletableFuture getEntitlementPlain(GetEntitlementPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getEntitlement:getEntitlement", TypeShape.of(GetEntitlementResult.class), args, Utilities.withVersion(options)); + public static Output getGroups(GetGroupsArgs args) { + return getGroups(args, InvokeOptions.Empty); } /** - * Get the entitlement bundle for the given id. + * Get a list of groups from Okta. * * ## Example Usage * @@ -5803,7 +7436,7 @@ public static CompletableFuture getEntitlementPlain(GetEnt * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementBundleArgs; + * import com.pulumi.okta.inputs.GetGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5817,8 +7450,8 @@ public static CompletableFuture getEntitlementPlain(GetEnt * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder() - * .id("") + * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() + * .q("Engineering - ") * .build()); * * } @@ -5827,11 +7460,11 @@ public static CompletableFuture getEntitlementPlain(GetEnt * * */ - public static Output getEntitlementBundle(GetEntitlementBundleArgs args) { - return getEntitlementBundle(args, InvokeOptions.Empty); + public static CompletableFuture getGroupsPlain(GetGroupsPlainArgs args) { + return getGroupsPlain(args, InvokeOptions.Empty); } /** - * Get the entitlement bundle for the given id. + * Get a list of groups from Okta. * * ## Example Usage * @@ -5843,7 +7476,7 @@ public static Output getEntitlementBundle(GetEntitle * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementBundleArgs; + * import com.pulumi.okta.inputs.GetGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5857,8 +7490,8 @@ public static Output getEntitlementBundle(GetEntitle * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder() - * .id("") + * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() + * .q("Engineering - ") * .build()); * * } @@ -5867,11 +7500,11 @@ public static Output getEntitlementBundle(GetEntitle * * */ - public static CompletableFuture getEntitlementBundlePlain(GetEntitlementBundlePlainArgs args) { - return getEntitlementBundlePlain(args, InvokeOptions.Empty); + public static Output getGroups(GetGroupsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getGroups:getGroups", TypeShape.of(GetGroupsResult.class), args, Utilities.withVersion(options)); } /** - * Get the entitlement bundle for the given id. + * Get a list of groups from Okta. * * ## Example Usage * @@ -5883,7 +7516,7 @@ public static CompletableFuture getEntitlementBundle * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementBundleArgs; + * import com.pulumi.okta.inputs.GetGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5897,8 +7530,8 @@ public static CompletableFuture getEntitlementBundle * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder() - * .id("") + * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() + * .q("Engineering - ") * .build()); * * } @@ -5907,11 +7540,11 @@ public static CompletableFuture getEntitlementBundle * * */ - public static Output getEntitlementBundle(GetEntitlementBundleArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getEntitlementBundle:getEntitlementBundle", TypeShape.of(GetEntitlementBundleResult.class), args, Utilities.withVersion(options)); + public static Output getGroups(GetGroupsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getGroups:getGroups", TypeShape.of(GetGroupsResult.class), args, Utilities.withVersion(options)); } /** - * Get the entitlement bundle for the given id. + * Get a list of groups from Okta. * * ## Example Usage * @@ -5923,7 +7556,7 @@ public static Output getEntitlementBundle(GetEntitle * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementBundleArgs; + * import com.pulumi.okta.inputs.GetGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5937,8 +7570,8 @@ public static Output getEntitlementBundle(GetEntitle * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder() - * .id("") + * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() + * .q("Engineering - ") * .build()); * * } @@ -5947,11 +7580,11 @@ public static Output getEntitlementBundle(GetEntitle * * */ - public static Output getEntitlementBundle(GetEntitlementBundleArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getEntitlementBundle:getEntitlementBundle", TypeShape.of(GetEntitlementBundleResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getGroupsPlain(GetGroupsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getGroups:getGroups", TypeShape.of(GetGroupsResult.class), args, Utilities.withVersion(options)); } /** - * Get the entitlement bundle for the given id. + * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. * * ## Example Usage * @@ -5963,7 +7596,7 @@ public static Output getEntitlementBundle(GetEntitle * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetEntitlementBundleArgs; + * import com.pulumi.okta.inputs.GetHookKeyArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -5977,8 +7610,9 @@ public static Output getEntitlementBundle(GetEntitle * } * * public static void stack(Context ctx) { - * final var test = OktaFunctions.getEntitlementBundle(GetEntitlementBundleArgs.builder() - * .id("") + * // Get hook key by ID + * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() + * .id("abcdefghij0123456789") * .build()); * * } @@ -5987,11 +7621,11 @@ public static Output getEntitlementBundle(GetEntitle * * */ - public static CompletableFuture getEntitlementBundlePlain(GetEntitlementBundlePlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getEntitlementBundle:getEntitlementBundle", TypeShape.of(GetEntitlementBundleResult.class), args, Utilities.withVersion(options)); + public static Output getHookKey(GetHookKeyArgs args) { + return getHookKey(args, InvokeOptions.Empty); } /** - * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. * * ## Example Usage * @@ -6003,8 +7637,7 @@ public static CompletableFuture getEntitlementBundle * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.EntityRiskPolicyRule; - * import com.pulumi.okta.EntityRiskPolicyRuleArgs; + * import com.pulumi.okta.inputs.GetHookKeyArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6018,14 +7651,9 @@ public static CompletableFuture getEntitlementBundle * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * // Use the policy ID to create rules - * var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder() - * .policyId(example.id()) - * .name("High Risk Response") - * .riskLevel("HIGH") - * .terminateAllSessions(true) + * // Get hook key by ID + * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() + * .id("abcdefghij0123456789") * .build()); * * } @@ -6034,11 +7662,11 @@ public static CompletableFuture getEntitlementBundle * * */ - public static Output getEntityRiskPolicy() { - return getEntityRiskPolicy(InvokeArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getHookKeyPlain(GetHookKeyPlainArgs args) { + return getHookKeyPlain(args, InvokeOptions.Empty); } /** - * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. * * ## Example Usage * @@ -6050,8 +7678,7 @@ public static Output getEntityRiskPolicy() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.EntityRiskPolicyRule; - * import com.pulumi.okta.EntityRiskPolicyRuleArgs; + * import com.pulumi.okta.inputs.GetHookKeyArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6065,14 +7692,9 @@ public static Output getEntityRiskPolicy() { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * // Use the policy ID to create rules - * var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder() - * .policyId(example.id()) - * .name("High Risk Response") - * .riskLevel("HIGH") - * .terminateAllSessions(true) + * // Get hook key by ID + * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() + * .id("abcdefghij0123456789") * .build()); * * } @@ -6081,11 +7703,11 @@ public static Output getEntityRiskPolicy() { * * */ - public static CompletableFuture getEntityRiskPolicyPlain() { - return getEntityRiskPolicyPlain(InvokeArgs.Empty, InvokeOptions.Empty); + public static Output getHookKey(GetHookKeyArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getHookKey:getHookKey", TypeShape.of(GetHookKeyResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. * * ## Example Usage * @@ -6097,8 +7719,7 @@ public static CompletableFuture getEntityRiskPolicyPl * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.EntityRiskPolicyRule; - * import com.pulumi.okta.EntityRiskPolicyRuleArgs; + * import com.pulumi.okta.inputs.GetHookKeyArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6112,14 +7733,9 @@ public static CompletableFuture getEntityRiskPolicyPl * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * // Use the policy ID to create rules - * var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder() - * .policyId(example.id()) - * .name("High Risk Response") - * .riskLevel("HIGH") - * .terminateAllSessions(true) + * // Get hook key by ID + * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() + * .id("abcdefghij0123456789") * .build()); * * } @@ -6128,11 +7744,11 @@ public static CompletableFuture getEntityRiskPolicyPl * * */ - public static Output getEntityRiskPolicy(InvokeArgs args) { - return getEntityRiskPolicy(args, InvokeOptions.Empty); + public static Output getHookKey(GetHookKeyArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getHookKey:getHookKey", TypeShape.of(GetHookKeyResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. * * ## Example Usage * @@ -6144,8 +7760,7 @@ public static Output getEntityRiskPolicy(InvokeArgs a * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.EntityRiskPolicyRule; - * import com.pulumi.okta.EntityRiskPolicyRuleArgs; + * import com.pulumi.okta.inputs.GetHookKeyArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6159,14 +7774,9 @@ public static Output getEntityRiskPolicy(InvokeArgs a * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * // Use the policy ID to create rules - * var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder() - * .policyId(example.id()) - * .name("High Risk Response") - * .riskLevel("HIGH") - * .terminateAllSessions(true) + * // Get hook key by ID + * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() + * .id("abcdefghij0123456789") * .build()); * * } @@ -6175,11 +7785,11 @@ public static Output getEntityRiskPolicy(InvokeArgs a * * */ - public static CompletableFuture getEntityRiskPolicyPlain(InvokeArgs args) { - return getEntityRiskPolicyPlain(args, InvokeOptions.Empty); + public static CompletableFuture getHookKeyPlain(GetHookKeyPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getHookKey:getHookKey", TypeShape.of(GetHookKeyResult.class), args, Utilities.withVersion(options)); } /** - * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * Use this data source to list all Okta users that have IAM role assignments. * * ## Example Usage * @@ -6191,8 +7801,7 @@ public static CompletableFuture getEntityRiskPolicyPl * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.EntityRiskPolicyRule; - * import com.pulumi.okta.EntityRiskPolicyRuleArgs; + * import com.pulumi.okta.inputs.GetIamAssigneesUserArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6206,14 +7815,7 @@ public static CompletableFuture getEntityRiskPolicyPl * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * // Use the policy ID to create rules - * var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder() - * .policyId(example.id()) - * .name("High Risk Response") - * .riskLevel("HIGH") - * .terminateAllSessions(true) + * final var example = OktaFunctions.getIamAssigneesUser(GetIamAssigneesUserArgs.builder() * .build()); * * } @@ -6222,11 +7824,11 @@ public static CompletableFuture getEntityRiskPolicyPl * * */ - public static Output getEntityRiskPolicy(InvokeArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getEntityRiskPolicy:getEntityRiskPolicy", TypeShape.of(GetEntityRiskPolicyResult.class), args, Utilities.withVersion(options)); + public static Output getIamAssigneesUser() { + return getIamAssigneesUser(GetIamAssigneesUserArgs.Empty, InvokeOptions.Empty); } /** - * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * Use this data source to list all Okta users that have IAM role assignments. * * ## Example Usage * @@ -6238,8 +7840,7 @@ public static Output getEntityRiskPolicy(InvokeArgs a * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.EntityRiskPolicyRule; - * import com.pulumi.okta.EntityRiskPolicyRuleArgs; + * import com.pulumi.okta.inputs.GetIamAssigneesUserArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6253,14 +7854,7 @@ public static Output getEntityRiskPolicy(InvokeArgs a * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * // Use the policy ID to create rules - * var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder() - * .policyId(example.id()) - * .name("High Risk Response") - * .riskLevel("HIGH") - * .terminateAllSessions(true) + * final var example = OktaFunctions.getIamAssigneesUser(GetIamAssigneesUserArgs.builder() * .build()); * * } @@ -6269,11 +7863,11 @@ public static Output getEntityRiskPolicy(InvokeArgs a * * */ - public static Output getEntityRiskPolicy(InvokeArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getEntityRiskPolicy:getEntityRiskPolicy", TypeShape.of(GetEntityRiskPolicyResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getIamAssigneesUserPlain() { + return getIamAssigneesUserPlain(GetIamAssigneesUserPlainArgs.Empty, InvokeOptions.Empty); } /** - * Retrieves the Entity Risk Policy. This is a system policy that is automatically created when Identity Threat Protection (ITP) is enabled. There is exactly one Entity Risk Policy per organization. + * Use this data source to list all Okta users that have IAM role assignments. * * ## Example Usage * @@ -6285,8 +7879,7 @@ public static Output getEntityRiskPolicy(InvokeArgs a * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.EntityRiskPolicyRule; - * import com.pulumi.okta.EntityRiskPolicyRuleArgs; + * import com.pulumi.okta.inputs.GetIamAssigneesUserArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6300,14 +7893,7 @@ public static Output getEntityRiskPolicy(InvokeArgs a * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getEntityRiskPolicy(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference); - * - * // Use the policy ID to create rules - * var exampleEntityRiskPolicyRule = new EntityRiskPolicyRule("exampleEntityRiskPolicyRule", EntityRiskPolicyRuleArgs.builder() - * .policyId(example.id()) - * .name("High Risk Response") - * .riskLevel("HIGH") - * .terminateAllSessions(true) + * final var example = OktaFunctions.getIamAssigneesUser(GetIamAssigneesUserArgs.builder() * .build()); * * } @@ -6316,11 +7902,11 @@ public static Output getEntityRiskPolicy(InvokeArgs a * * */ - public static CompletableFuture getEntityRiskPolicyPlain(InvokeArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getEntityRiskPolicy:getEntityRiskPolicy", TypeShape.of(GetEntityRiskPolicyResult.class), args, Utilities.withVersion(options)); + public static Output getIamAssigneesUser(GetIamAssigneesUserArgs args) { + return getIamAssigneesUser(args, InvokeOptions.Empty); } /** - * Get a list of features from Okta. + * Use this data source to list all Okta users that have IAM role assignments. * * ## Example Usage * @@ -6332,7 +7918,7 @@ public static CompletableFuture getEntityRiskPolicyPl * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetFeaturesArgs; + * import com.pulumi.okta.inputs.GetIamAssigneesUserArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6346,8 +7932,7 @@ public static CompletableFuture getEntityRiskPolicyPl * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() - * .label("Android Device Trust") + * final var example = OktaFunctions.getIamAssigneesUser(GetIamAssigneesUserArgs.builder() * .build()); * * } @@ -6356,11 +7941,11 @@ public static CompletableFuture getEntityRiskPolicyPl * * */ - public static Output getFeatures() { - return getFeatures(GetFeaturesArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getIamAssigneesUserPlain(GetIamAssigneesUserPlainArgs args) { + return getIamAssigneesUserPlain(args, InvokeOptions.Empty); } /** - * Get a list of features from Okta. + * Use this data source to list all Okta users that have IAM role assignments. * * ## Example Usage * @@ -6372,7 +7957,7 @@ public static Output getFeatures() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetFeaturesArgs; + * import com.pulumi.okta.inputs.GetIamAssigneesUserArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6386,8 +7971,7 @@ public static Output getFeatures() { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() - * .label("Android Device Trust") + * final var example = OktaFunctions.getIamAssigneesUser(GetIamAssigneesUserArgs.builder() * .build()); * * } @@ -6396,11 +7980,11 @@ public static Output getFeatures() { * * */ - public static CompletableFuture getFeaturesPlain() { - return getFeaturesPlain(GetFeaturesPlainArgs.Empty, InvokeOptions.Empty); + public static Output getIamAssigneesUser(GetIamAssigneesUserArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getIamAssigneesUser:getIamAssigneesUser", TypeShape.of(GetIamAssigneesUserResult.class), args, Utilities.withVersion(options)); } /** - * Get a list of features from Okta. + * Use this data source to list all Okta users that have IAM role assignments. * * ## Example Usage * @@ -6412,7 +7996,7 @@ public static CompletableFuture getFeaturesPlain() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetFeaturesArgs; + * import com.pulumi.okta.inputs.GetIamAssigneesUserArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6426,8 +8010,7 @@ public static CompletableFuture getFeaturesPlain() { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() - * .label("Android Device Trust") + * final var example = OktaFunctions.getIamAssigneesUser(GetIamAssigneesUserArgs.builder() * .build()); * * } @@ -6436,11 +8019,11 @@ public static CompletableFuture getFeaturesPlain() { * * */ - public static Output getFeatures(GetFeaturesArgs args) { - return getFeatures(args, InvokeOptions.Empty); + public static Output getIamAssigneesUser(GetIamAssigneesUserArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getIamAssigneesUser:getIamAssigneesUser", TypeShape.of(GetIamAssigneesUserResult.class), args, Utilities.withVersion(options)); } /** - * Get a list of features from Okta. + * Use this data source to list all Okta users that have IAM role assignments. * * ## Example Usage * @@ -6452,7 +8035,7 @@ public static Output getFeatures(GetFeaturesArgs args) { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetFeaturesArgs; + * import com.pulumi.okta.inputs.GetIamAssigneesUserArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6466,8 +8049,7 @@ public static Output getFeatures(GetFeaturesArgs args) { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() - * .label("Android Device Trust") + * final var example = OktaFunctions.getIamAssigneesUser(GetIamAssigneesUserArgs.builder() * .build()); * * } @@ -6476,11 +8058,11 @@ public static Output getFeatures(GetFeaturesArgs args) { * * */ - public static CompletableFuture getFeaturesPlain(GetFeaturesPlainArgs args) { - return getFeaturesPlain(args, InvokeOptions.Empty); + public static CompletableFuture getIamAssigneesUserPlain(GetIamAssigneesUserPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getIamAssigneesUser:getIamAssigneesUser", TypeShape.of(GetIamAssigneesUserResult.class), args, Utilities.withVersion(options)); } /** - * Get a list of features from Okta. + * Retrieves the list of member external IDs for a group in an Okta Identity Source. * * ## Example Usage * @@ -6492,7 +8074,7 @@ public static CompletableFuture getFeaturesPlain(GetFeaturesP * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetFeaturesArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupMembershipsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6506,21 +8088,23 @@ public static CompletableFuture getFeaturesPlain(GetFeaturesP * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() - * .label("Android Device Trust") + * final var example = OktaFunctions.getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs.builder() + * .identitySourceId("") + * .groupExternalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("memberIds", example.memberExternalIds()); * } * } * } * * */ - public static Output getFeatures(GetFeaturesArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getFeatures:getFeatures", TypeShape.of(GetFeaturesResult.class), args, Utilities.withVersion(options)); + public static Output getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs args) { + return getIdentitySourceGroupMemberships(args, InvokeOptions.Empty); } /** - * Get a list of features from Okta. + * Retrieves the list of member external IDs for a group in an Okta Identity Source. * * ## Example Usage * @@ -6532,7 +8116,7 @@ public static Output getFeatures(GetFeaturesArgs args, Invoke * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetFeaturesArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupMembershipsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6545,22 +8129,24 @@ public static Output getFeatures(GetFeaturesArgs args, Invoke * Pulumi.run(App::stack); * } * - * public static void stack(Context ctx) { - * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() - * .label("Android Device Trust") + * public static void stack(Context ctx) { + * final var example = OktaFunctions.getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs.builder() + * .identitySourceId("") + * .groupExternalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("memberIds", example.memberExternalIds()); * } * } * } * * */ - public static Output getFeatures(GetFeaturesArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getFeatures:getFeatures", TypeShape.of(GetFeaturesResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getIdentitySourceGroupMembershipsPlain(GetIdentitySourceGroupMembershipsPlainArgs args) { + return getIdentitySourceGroupMembershipsPlain(args, InvokeOptions.Empty); } /** - * Get a list of features from Okta. + * Retrieves the list of member external IDs for a group in an Okta Identity Source. * * ## Example Usage * @@ -6572,7 +8158,7 @@ public static Output getFeatures(GetFeaturesArgs args, Invoke * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetFeaturesArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupMembershipsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6586,21 +8172,23 @@ public static Output getFeatures(GetFeaturesArgs args, Invoke * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getFeatures(GetFeaturesArgs.builder() - * .label("Android Device Trust") + * final var example = OktaFunctions.getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs.builder() + * .identitySourceId("") + * .groupExternalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("memberIds", example.memberExternalIds()); * } * } * } * * */ - public static CompletableFuture getFeaturesPlain(GetFeaturesPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getFeatures:getFeatures", TypeShape.of(GetFeaturesResult.class), args, Utilities.withVersion(options)); + public static Output getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", TypeShape.of(GetIdentitySourceGroupMembershipsResult.class), args, Utilities.withVersion(options)); } /** - * Get a list of groups from Okta. + * Retrieves the list of member external IDs for a group in an Okta Identity Source. * * ## Example Usage * @@ -6612,7 +8200,7 @@ public static CompletableFuture getFeaturesPlain(GetFeaturesP * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetGroupsArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupMembershipsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6626,21 +8214,23 @@ public static CompletableFuture getFeaturesPlain(GetFeaturesP * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() - * .q("Engineering - ") + * final var example = OktaFunctions.getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs.builder() + * .identitySourceId("") + * .groupExternalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("memberIds", example.memberExternalIds()); * } * } * } * * */ - public static Output getGroups() { - return getGroups(GetGroupsArgs.Empty, InvokeOptions.Empty); + public static Output getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", TypeShape.of(GetIdentitySourceGroupMembershipsResult.class), args, Utilities.withVersion(options)); } /** - * Get a list of groups from Okta. + * Retrieves the list of member external IDs for a group in an Okta Identity Source. * * ## Example Usage * @@ -6652,7 +8242,7 @@ public static Output getGroups() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetGroupsArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupMembershipsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6666,21 +8256,23 @@ public static Output getGroups() { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() - * .q("Engineering - ") + * final var example = OktaFunctions.getIdentitySourceGroupMemberships(GetIdentitySourceGroupMembershipsArgs.builder() + * .identitySourceId("") + * .groupExternalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("memberIds", example.memberExternalIds()); * } * } * } * * */ - public static CompletableFuture getGroupsPlain() { - return getGroupsPlain(GetGroupsPlainArgs.Empty, InvokeOptions.Empty); + public static CompletableFuture getIdentitySourceGroupMembershipsPlain(GetIdentitySourceGroupMembershipsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", TypeShape.of(GetIdentitySourceGroupMembershipsResult.class), args, Utilities.withVersion(options)); } /** - * Get a list of groups from Okta. + * Retrieves a group record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -6692,7 +8284,7 @@ public static CompletableFuture getGroupsPlain() { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetGroupsArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6706,21 +8298,24 @@ public static CompletableFuture getGroupsPlain() { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() - * .q("Engineering - ") + * final var example = OktaFunctions.getIdentitySourceGroups(GetIdentitySourceGroupsArgs.builder() + * .identitySourceId("") + * .externalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("groupOktaId", example.id()); + * ctx.export("groupDisplayName", example.profile().displayName()); * } * } * } * * */ - public static Output getGroups(GetGroupsArgs args) { - return getGroups(args, InvokeOptions.Empty); + public static Output getIdentitySourceGroups(GetIdentitySourceGroupsArgs args) { + return getIdentitySourceGroups(args, InvokeOptions.Empty); } /** - * Get a list of groups from Okta. + * Retrieves a group record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -6732,7 +8327,7 @@ public static Output getGroups(GetGroupsArgs args) { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetGroupsArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6746,21 +8341,24 @@ public static Output getGroups(GetGroupsArgs args) { * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() - * .q("Engineering - ") + * final var example = OktaFunctions.getIdentitySourceGroups(GetIdentitySourceGroupsArgs.builder() + * .identitySourceId("") + * .externalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("groupOktaId", example.id()); + * ctx.export("groupDisplayName", example.profile().displayName()); * } * } * } * * */ - public static CompletableFuture getGroupsPlain(GetGroupsPlainArgs args) { - return getGroupsPlain(args, InvokeOptions.Empty); + public static CompletableFuture getIdentitySourceGroupsPlain(GetIdentitySourceGroupsPlainArgs args) { + return getIdentitySourceGroupsPlain(args, InvokeOptions.Empty); } /** - * Get a list of groups from Okta. + * Retrieves a group record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -6772,7 +8370,7 @@ public static CompletableFuture getGroupsPlain(GetGroupsPlainAr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetGroupsArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6786,21 +8384,24 @@ public static CompletableFuture getGroupsPlain(GetGroupsPlainAr * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() - * .q("Engineering - ") + * final var example = OktaFunctions.getIdentitySourceGroups(GetIdentitySourceGroupsArgs.builder() + * .identitySourceId("") + * .externalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("groupOktaId", example.id()); + * ctx.export("groupDisplayName", example.profile().displayName()); * } * } * } * * */ - public static Output getGroups(GetGroupsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getGroups:getGroups", TypeShape.of(GetGroupsResult.class), args, Utilities.withVersion(options)); + public static Output getIdentitySourceGroups(GetIdentitySourceGroupsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", TypeShape.of(GetIdentitySourceGroupsResult.class), args, Utilities.withVersion(options)); } /** - * Get a list of groups from Okta. + * Retrieves a group record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -6812,7 +8413,7 @@ public static Output getGroups(GetGroupsArgs args, InvokeOption * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetGroupsArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6826,21 +8427,24 @@ public static Output getGroups(GetGroupsArgs args, InvokeOption * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() - * .q("Engineering - ") + * final var example = OktaFunctions.getIdentitySourceGroups(GetIdentitySourceGroupsArgs.builder() + * .identitySourceId("") + * .externalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("groupOktaId", example.id()); + * ctx.export("groupDisplayName", example.profile().displayName()); * } * } * } * * */ - public static Output getGroups(GetGroupsArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getGroups:getGroups", TypeShape.of(GetGroupsResult.class), args, Utilities.withVersion(options)); + public static Output getIdentitySourceGroups(GetIdentitySourceGroupsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", TypeShape.of(GetIdentitySourceGroupsResult.class), args, Utilities.withVersion(options)); } /** - * Get a list of groups from Okta. + * Retrieves a group record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -6852,7 +8456,7 @@ public static Output getGroups(GetGroupsArgs args, InvokeOutput * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetGroupsArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceGroupsArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6866,21 +8470,69 @@ public static Output getGroups(GetGroupsArgs args, InvokeOutput * } * * public static void stack(Context ctx) { - * final var example = OktaFunctions.getGroups(GetGroupsArgs.builder() - * .q("Engineering - ") + * final var example = OktaFunctions.getIdentitySourceGroups(GetIdentitySourceGroupsArgs.builder() + * .identitySourceId("") + * .externalId("GROUPEXT123456EXAMPLE") * .build()); * + * ctx.export("groupOktaId", example.id()); + * ctx.export("groupDisplayName", example.profile().displayName()); * } * } * } * * */ - public static CompletableFuture getGroupsPlain(GetGroupsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getGroups:getGroups", TypeShape.of(GetGroupsResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getIdentitySourceGroupsPlain(GetIdentitySourceGroupsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", TypeShape.of(GetIdentitySourceGroupsResult.class), args, Utilities.withVersion(options)); } /** - * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. + * Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. + * + * ## Example Usage + * + */ + public static Output getIdentitySourceSessions(GetIdentitySourceSessionsArgs args) { + return getIdentitySourceSessions(args, InvokeOptions.Empty); + } + /** + * Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. + * + * ## Example Usage + * + */ + public static CompletableFuture getIdentitySourceSessionsPlain(GetIdentitySourceSessionsPlainArgs args) { + return getIdentitySourceSessionsPlain(args, InvokeOptions.Empty); + } + /** + * Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. + * + * ## Example Usage + * + */ + public static Output getIdentitySourceSessions(GetIdentitySourceSessionsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", TypeShape.of(GetIdentitySourceSessionsResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. + * + * ## Example Usage + * + */ + public static Output getIdentitySourceSessions(GetIdentitySourceSessionsArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", TypeShape.of(GetIdentitySourceSessionsResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. + * + * ## Example Usage + * + */ + public static CompletableFuture getIdentitySourceSessionsPlain(GetIdentitySourceSessionsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", TypeShape.of(GetIdentitySourceSessionsResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves a user record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -6892,7 +8544,7 @@ public static CompletableFuture getGroupsPlain(GetGroupsPlainAr * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetHookKeyArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceUsersArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6906,22 +8558,23 @@ public static CompletableFuture getGroupsPlain(GetGroupsPlainAr * } * * public static void stack(Context ctx) { - * // Get hook key by ID - * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() - * .id("abcdefghij0123456789") + * final var example = OktaFunctions.getIdentitySourceUsers(GetIdentitySourceUsersArgs.builder() + * .identitySourceId("") + * .externalId("USEREXT123456EXAMPLE") * .build()); * + * ctx.export("userEmail", example.profile().email()); * } * } * } * * */ - public static Output getHookKey(GetHookKeyArgs args) { - return getHookKey(args, InvokeOptions.Empty); + public static Output getIdentitySourceUsers(GetIdentitySourceUsersArgs args) { + return getIdentitySourceUsers(args, InvokeOptions.Empty); } /** - * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. + * Retrieves a user record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -6933,7 +8586,7 @@ public static Output getHookKey(GetHookKeyArgs args) { * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetHookKeyArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceUsersArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6947,22 +8600,23 @@ public static Output getHookKey(GetHookKeyArgs args) { * } * * public static void stack(Context ctx) { - * // Get hook key by ID - * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() - * .id("abcdefghij0123456789") + * final var example = OktaFunctions.getIdentitySourceUsers(GetIdentitySourceUsersArgs.builder() + * .identitySourceId("") + * .externalId("USEREXT123456EXAMPLE") * .build()); * + * ctx.export("userEmail", example.profile().email()); * } * } * } * * */ - public static CompletableFuture getHookKeyPlain(GetHookKeyPlainArgs args) { - return getHookKeyPlain(args, InvokeOptions.Empty); + public static CompletableFuture getIdentitySourceUsersPlain(GetIdentitySourceUsersPlainArgs args) { + return getIdentitySourceUsersPlain(args, InvokeOptions.Empty); } /** - * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. + * Retrieves a user record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -6974,7 +8628,7 @@ public static CompletableFuture getHookKeyPlain(GetHookKeyPlai * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetHookKeyArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceUsersArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -6988,22 +8642,23 @@ public static CompletableFuture getHookKeyPlain(GetHookKeyPlai * } * * public static void stack(Context ctx) { - * // Get hook key by ID - * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() - * .id("abcdefghij0123456789") + * final var example = OktaFunctions.getIdentitySourceUsers(GetIdentitySourceUsersArgs.builder() + * .identitySourceId("") + * .externalId("USEREXT123456EXAMPLE") * .build()); * + * ctx.export("userEmail", example.profile().email()); * } * } * } * * */ - public static Output getHookKey(GetHookKeyArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("okta:index/getHookKey:getHookKey", TypeShape.of(GetHookKeyResult.class), args, Utilities.withVersion(options)); + public static Output getIdentitySourceUsers(GetIdentitySourceUsersArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", TypeShape.of(GetIdentitySourceUsersResult.class), args, Utilities.withVersion(options)); } /** - * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. + * Retrieves a user record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -7015,7 +8670,7 @@ public static Output getHookKey(GetHookKeyArgs args, InvokeOpt * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetHookKeyArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceUsersArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -7029,22 +8684,23 @@ public static Output getHookKey(GetHookKeyArgs args, InvokeOpt * } * * public static void stack(Context ctx) { - * // Get hook key by ID - * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() - * .id("abcdefghij0123456789") + * final var example = OktaFunctions.getIdentitySourceUsers(GetIdentitySourceUsersArgs.builder() + * .identitySourceId("") + * .externalId("USEREXT123456EXAMPLE") * .build()); * + * ctx.export("userEmail", example.profile().email()); * } * } * } * * */ - public static Output getHookKey(GetHookKeyArgs args, InvokeOutputOptions options) { - return Deployment.getInstance().invoke("okta:index/getHookKey:getHookKey", TypeShape.of(GetHookKeyResult.class), args, Utilities.withVersion(options)); + public static Output getIdentitySourceUsers(GetIdentitySourceUsersArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", TypeShape.of(GetIdentitySourceUsersResult.class), args, Utilities.withVersion(options)); } /** - * Use Key Management to create and manage JSON Web Keys (JWKS) that support OAuth 2.0 client authentication. The key is composed of a public and private key pair. The private key signs the JSON Web Token (JWT) and the public key validates it on the client side. + * Retrieves a user record from an Okta Identity Source by external ID. * * ## Example Usage * @@ -7056,7 +8712,7 @@ public static Output getHookKey(GetHookKeyArgs args, InvokeOut * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.okta.OktaFunctions; - * import com.pulumi.okta.inputs.GetHookKeyArgs; + * import com.pulumi.okta.inputs.GetIdentitySourceUsersArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -7070,19 +8726,20 @@ public static Output getHookKey(GetHookKeyArgs args, InvokeOut * } * * public static void stack(Context ctx) { - * // Get hook key by ID - * final var example = OktaFunctions.getHookKey(GetHookKeyArgs.builder() - * .id("abcdefghij0123456789") + * final var example = OktaFunctions.getIdentitySourceUsers(GetIdentitySourceUsersArgs.builder() + * .identitySourceId("") + * .externalId("USEREXT123456EXAMPLE") * .build()); * + * ctx.export("userEmail", example.profile().email()); * } * } * } * * */ - public static CompletableFuture getHookKeyPlain(GetHookKeyPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("okta:index/getHookKey:getHookKey", TypeShape.of(GetHookKeyResult.class), args, Utilities.withVersion(options)); + public static CompletableFuture getIdentitySourceUsersPlain(GetIdentitySourceUsersPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", TypeShape.of(GetIdentitySourceUsersResult.class), args, Utilities.withVersion(options)); } /** * Log Streams @@ -10972,6 +12629,37 @@ public static CompletableFuture getRequestS * * ## Example Usage * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetRequestSettingResourceArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getRequestSettingResource(GetRequestSettingResourceArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * */ public static Output getRequestSettingResource(GetRequestSettingResourceArgs args) { return getRequestSettingResource(args, InvokeOptions.Empty); @@ -10981,6 +12669,37 @@ public static Output getRequestSettingResource( * * ## Example Usage * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetRequestSettingResourceArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getRequestSettingResource(GetRequestSettingResourceArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * */ public static CompletableFuture getRequestSettingResourcePlain(GetRequestSettingResourcePlainArgs args) { return getRequestSettingResourcePlain(args, InvokeOptions.Empty); @@ -10990,6 +12709,37 @@ public static CompletableFuture getRequestSetti * * ## Example Usage * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetRequestSettingResourceArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getRequestSettingResource(GetRequestSettingResourceArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * */ public static Output getRequestSettingResource(GetRequestSettingResourceArgs args, InvokeOptions options) { return Deployment.getInstance().invoke("okta:index/getRequestSettingResource:getRequestSettingResource", TypeShape.of(GetRequestSettingResourceResult.class), args, Utilities.withVersion(options)); @@ -10999,6 +12749,37 @@ public static Output getRequestSettingResource( * * ## Example Usage * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetRequestSettingResourceArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getRequestSettingResource(GetRequestSettingResourceArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * */ public static Output getRequestSettingResource(GetRequestSettingResourceArgs args, InvokeOutputOptions options) { return Deployment.getInstance().invoke("okta:index/getRequestSettingResource:getRequestSettingResource", TypeShape.of(GetRequestSettingResourceResult.class), args, Utilities.withVersion(options)); @@ -11008,6 +12789,37 @@ public static Output getRequestSettingResource( * * ## Example Usage * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetRequestSettingResourceArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var test = OktaFunctions.getRequestSettingResource(GetRequestSettingResourceArgs.builder()
+     *             .id("")
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * */ public static CompletableFuture getRequestSettingResourcePlain(GetRequestSettingResourcePlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("okta:index/getRequestSettingResource:getRequestSettingResource", TypeShape.of(GetRequestSettingResourceResult.class), args, Utilities.withVersion(options)); diff --git a/sdk/java/src/main/java/com/pulumi/okta/PolicyPasswordDefault.java b/sdk/java/src/main/java/com/pulumi/okta/PolicyPasswordDefault.java index 28d7dc46e..2f634d7c4 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/PolicyPasswordDefault.java +++ b/sdk/java/src/main/java/com/pulumi/okta/PolicyPasswordDefault.java @@ -18,7 +18,14 @@ import javax.annotation.Nullable; /** - * Configures default password policy. This resource allows you to configure default password policy. + * Configures the default password policy. This resource allows you to configure the default password policy. + * + * > **Note:** If your configuration also manages other `okta.policy.Password` resources, add + * `dependsOn = [okta_policy_password.<last_policy>]` pointing to the last non-default policy in your + * dependency chain. The default policy's `priority` is read-only and shifts whenever other password policies + * are created or deleted. Using `dependsOn` ensures all sibling policies are fully created before this + * resource is read or updated, so the provider sees the correct priority value and the Okta API does not + * reject the request with E0000077. * * ## Example Usage * @@ -29,7 +36,11 @@ * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; + * import com.pulumi.okta.policy.Password; + * import com.pulumi.okta.policy.PasswordArgs; * import com.pulumi.okta.PolicyPasswordDefault; + * import com.pulumi.okta.PolicyPasswordDefaultArgs; + * import com.pulumi.resources.CustomResourceOptions; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -43,7 +54,18 @@ * } * * public static void stack(Context ctx) { - * var default_ = new PolicyPasswordDefault("default"); + * var custom = new Password("custom", PasswordArgs.builder() + * .name("Custom Password Policy") + * .groupsIncludeds(example.id()) + * .status("ACTIVE") + * .priority(1) + * .build()); + * + * var default_ = new PolicyPasswordDefault("default", PolicyPasswordDefaultArgs.builder() + * .passwordHistoryCount(5) + * .build(), CustomResourceOptions.builder() + * .dependsOn(custom) + * .build()); * * } * } @@ -59,6 +81,48 @@ */ @ResourceType(type="okta:index/policyPasswordDefault:PolicyPasswordDefault") public class PolicyPasswordDefault extends com.pulumi.resources.CustomResource { + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + @Export(name="breachedPasswordDelegatedWorkflowId", refs={String.class}, tree="[0]") + private Output breachedPasswordDelegatedWorkflowId; + + /** + * @return The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + public Output> breachedPasswordDelegatedWorkflowId() { + return Codegen.optional(this.breachedPasswordDelegatedWorkflowId); + } + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + @Export(name="breachedPasswordExpireAfterDays", refs={Integer.class}, tree="[0]") + private Output breachedPasswordExpireAfterDays; + + /** + * @return Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + public Output> breachedPasswordExpireAfterDays() { + return Codegen.optional(this.breachedPasswordExpireAfterDays); + } + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + @Export(name="breachedPasswordLogoutEnabled", refs={Boolean.class}, tree="[0]") + private Output breachedPasswordLogoutEnabled; + + /** + * @return If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + public Output> breachedPasswordLogoutEnabled() { + return Codegen.optional(this.breachedPasswordLogoutEnabled); + } /** * Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` * diff --git a/sdk/java/src/main/java/com/pulumi/okta/PolicyPasswordDefaultArgs.java b/sdk/java/src/main/java/com/pulumi/okta/PolicyPasswordDefaultArgs.java index 218bb41fd..7e44df624 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/PolicyPasswordDefaultArgs.java +++ b/sdk/java/src/main/java/com/pulumi/okta/PolicyPasswordDefaultArgs.java @@ -18,6 +18,51 @@ public final class PolicyPasswordDefaultArgs extends com.pulumi.resources.Resour public static final PolicyPasswordDefaultArgs Empty = new PolicyPasswordDefaultArgs(); + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + @Import(name="breachedPasswordDelegatedWorkflowId") + private @Nullable Output breachedPasswordDelegatedWorkflowId; + + /** + * @return The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + public Optional> breachedPasswordDelegatedWorkflowId() { + return Optional.ofNullable(this.breachedPasswordDelegatedWorkflowId); + } + + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + @Import(name="breachedPasswordExpireAfterDays") + private @Nullable Output breachedPasswordExpireAfterDays; + + /** + * @return Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + public Optional> breachedPasswordExpireAfterDays() { + return Optional.ofNullable(this.breachedPasswordExpireAfterDays); + } + + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + @Import(name="breachedPasswordLogoutEnabled") + private @Nullable Output breachedPasswordLogoutEnabled; + + /** + * @return If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + public Optional> breachedPasswordLogoutEnabled() { + return Optional.ofNullable(this.breachedPasswordLogoutEnabled); + } + /** * Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` * @@ -381,6 +426,9 @@ public Optional> smsRecovery() { private PolicyPasswordDefaultArgs() {} private PolicyPasswordDefaultArgs(PolicyPasswordDefaultArgs $) { + this.breachedPasswordDelegatedWorkflowId = $.breachedPasswordDelegatedWorkflowId; + this.breachedPasswordExpireAfterDays = $.breachedPasswordExpireAfterDays; + this.breachedPasswordLogoutEnabled = $.breachedPasswordLogoutEnabled; this.callRecovery = $.callRecovery; this.emailRecovery = $.emailRecovery; this.passwordAutoUnlockMinutes = $.passwordAutoUnlockMinutes; @@ -425,6 +473,69 @@ public Builder(PolicyPasswordDefaultArgs defaults) { $ = new PolicyPasswordDefaultArgs(Objects.requireNonNull(defaults)); } + /** + * @param breachedPasswordDelegatedWorkflowId The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + * @return builder + * + */ + public Builder breachedPasswordDelegatedWorkflowId(@Nullable Output breachedPasswordDelegatedWorkflowId) { + $.breachedPasswordDelegatedWorkflowId = breachedPasswordDelegatedWorkflowId; + return this; + } + + /** + * @param breachedPasswordDelegatedWorkflowId The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + * @return builder + * + */ + public Builder breachedPasswordDelegatedWorkflowId(String breachedPasswordDelegatedWorkflowId) { + return breachedPasswordDelegatedWorkflowId(Output.of(breachedPasswordDelegatedWorkflowId)); + } + + /** + * @param breachedPasswordExpireAfterDays Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + * @return builder + * + */ + public Builder breachedPasswordExpireAfterDays(@Nullable Output breachedPasswordExpireAfterDays) { + $.breachedPasswordExpireAfterDays = breachedPasswordExpireAfterDays; + return this; + } + + /** + * @param breachedPasswordExpireAfterDays Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + * @return builder + * + */ + public Builder breachedPasswordExpireAfterDays(Integer breachedPasswordExpireAfterDays) { + return breachedPasswordExpireAfterDays(Output.of(breachedPasswordExpireAfterDays)); + } + + /** + * @param breachedPasswordLogoutEnabled If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + * @return builder + * + */ + public Builder breachedPasswordLogoutEnabled(@Nullable Output breachedPasswordLogoutEnabled) { + $.breachedPasswordLogoutEnabled = breachedPasswordLogoutEnabled; + return this; + } + + /** + * @param breachedPasswordLogoutEnabled If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + * @return builder + * + */ + public Builder breachedPasswordLogoutEnabled(Boolean breachedPasswordLogoutEnabled) { + return breachedPasswordLogoutEnabled(Output.of(breachedPasswordLogoutEnabled)); + } + /** * @param callRecovery Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` * diff --git a/sdk/java/src/main/java/com/pulumi/okta/PushGroup.java b/sdk/java/src/main/java/com/pulumi/okta/PushGroup.java index 049dd0ffc..49216cfd6 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/PushGroup.java +++ b/sdk/java/src/main/java/com/pulumi/okta/PushGroup.java @@ -76,6 +76,7 @@ * .sourceGroupId(testGroup.id()) * .status("ACTIVE") * .appConfig(PushGroupAppConfigArgs.builder() + * .type("ACTIVE_DIRECTORY") * .distinguishedName("CN=Test,OU=Groups,DC=example,DC=com") * .groupScope("DOMAIN_LOCAL") * .groupType("SECURITY") diff --git a/sdk/java/src/main/java/com/pulumi/okta/RequestSettingOrganization.java b/sdk/java/src/main/java/com/pulumi/okta/RequestSettingOrganization.java index d038cda7c..f0e7fa518 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/RequestSettingOrganization.java +++ b/sdk/java/src/main/java/com/pulumi/okta/RequestSettingOrganization.java @@ -26,10 +26,8 @@ * import com.pulumi.Context; * import com.pulumi.Pulumi; * import com.pulumi.core.Output; - * import com.pulumi.okta.RequestCondition; - * import com.pulumi.okta.RequestConditionArgs; - * import com.pulumi.okta.inputs.RequestConditionAccessScopeSettingsArgs; - * import com.pulumi.okta.inputs.RequestConditionRequesterSettingsArgs; + * import com.pulumi.okta.RequestSettingOrganization; + * import com.pulumi.okta.RequestSettingOrganizationArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -43,16 +41,9 @@ * } * * public static void stack(Context ctx) { - * var example = new RequestCondition("example", RequestConditionArgs.builder() - * .resourceId("") - * .approvalSequenceId("") - * .name("") - * .accessScopeSettings(RequestConditionAccessScopeSettingsArgs.builder() - * .type("RESOURCE_DEFAULT") - * .build()) - * .requesterSettings(RequestConditionRequesterSettingsArgs.builder() - * .type("EVERYONE") - * .build()) + * var example = new RequestSettingOrganization("example", RequestSettingOrganizationArgs.builder() + * .idProperty("default") + * .subprocessorsAcknowledged(true) * .build()); * * } @@ -70,14 +61,14 @@ @ResourceType(type="okta:index/requestSettingOrganization:RequestSettingOrganization") public class RequestSettingOrganization extends com.pulumi.resources.CustomResource { /** - * Request condition id. + * The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * */ @Export(name="idProperty", refs={String.class}, tree="[0]") private Output idProperty; /** - * @return Request condition id. + * @return The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * */ public Output idProperty() { diff --git a/sdk/java/src/main/java/com/pulumi/okta/RequestSettingOrganizationArgs.java b/sdk/java/src/main/java/com/pulumi/okta/RequestSettingOrganizationArgs.java index fa9037a44..367f086f8 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/RequestSettingOrganizationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/okta/RequestSettingOrganizationArgs.java @@ -18,14 +18,14 @@ public final class RequestSettingOrganizationArgs extends com.pulumi.resources.R public static final RequestSettingOrganizationArgs Empty = new RequestSettingOrganizationArgs(); /** - * Request condition id. + * The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * */ @Import(name="idProperty", required=true) private Output idProperty; /** - * @return Request condition id. + * @return The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * */ public Output idProperty() { @@ -73,7 +73,7 @@ public Builder(RequestSettingOrganizationArgs defaults) { } /** - * @param idProperty Request condition id. + * @param idProperty The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * * @return builder * @@ -84,7 +84,7 @@ public Builder idProperty(Output idProperty) { } /** - * @param idProperty Request condition id. + * @param idProperty The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/okta/RequestSettingResource.java b/sdk/java/src/main/java/com/pulumi/okta/RequestSettingResource.java index f920d1422..a1d2f058f 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/RequestSettingResource.java +++ b/sdk/java/src/main/java/com/pulumi/okta/RequestSettingResource.java @@ -47,7 +47,7 @@ * * public static void stack(Context ctx) { * var test = new RequestSettingResource("test", RequestSettingResourceArgs.builder() - * .resourceId("") + * .idProperty("") * .riskSettings(RequestSettingResourceRiskSettingsArgs.builder() * .defaultSetting(RequestSettingResourceRiskSettingsDefaultSettingArgs.builder() * .requestSubmissionType("ALLOWED_WITH_OVERRIDES") diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/AppFunctions.java b/sdk/java/src/main/java/com/pulumi/okta/app/AppFunctions.java index ec09fb20c..83dc072ca 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/AppFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/AppFunctions.java @@ -23,6 +23,8 @@ import com.pulumi.okta.app.inputs.GetOauthPlainArgs; import com.pulumi.okta.app.inputs.GetSamlArgs; import com.pulumi.okta.app.inputs.GetSamlPlainArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRulePlainArgs; import com.pulumi.okta.app.inputs.GetTokenArgs; import com.pulumi.okta.app.inputs.GetTokenPlainArgs; import com.pulumi.okta.app.outputs.GetAppResult; @@ -32,6 +34,7 @@ import com.pulumi.okta.app.outputs.GetMetadataSamlResult; import com.pulumi.okta.app.outputs.GetOauthResult; import com.pulumi.okta.app.outputs.GetSamlResult; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleResult; import com.pulumi.okta.app.outputs.GetTokenResult; import java.util.concurrent.CompletableFuture; @@ -2386,6 +2389,281 @@ public static Output getSaml(GetSamlArgs args, InvokeOutputOption public static CompletableFuture getSamlPlain(GetSamlPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("okta:app/getSaml:getSaml", TypeShape.of(GetSamlResult.class), args, Utilities.withVersion(options)); } + /** + * Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + * + * > **WARNING:** This feature is only available as a part of the + * Identity Engine. Contact support + * for further information. + * + * > Inside the product a sign-on policy rule is referenced as an _authentication + * policy rule_, in the public API the parent policy is of type + * [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetAppSignonPolicyArgs;
+     * import com.pulumi.okta.app.AppFunctions;
+     * import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getAppSignonPolicy(GetAppSignonPolicyArgs.builder()
+     *             .appId("")
+     *             .build());
+     * 
+     *         final var exampleGetSignOnPolicyRule = AppFunctions.getSignOnPolicyRule(GetSignOnPolicyRuleArgs.builder()
+     *             .id("")
+     *             .policyId(example.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getSignOnPolicyRule(GetSignOnPolicyRuleArgs args) { + return getSignOnPolicyRule(args, InvokeOptions.Empty); + } + /** + * Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + * + * > **WARNING:** This feature is only available as a part of the + * Identity Engine. Contact support + * for further information. + * + * > Inside the product a sign-on policy rule is referenced as an _authentication + * policy rule_, in the public API the parent policy is of type + * [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetAppSignonPolicyArgs;
+     * import com.pulumi.okta.app.AppFunctions;
+     * import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getAppSignonPolicy(GetAppSignonPolicyArgs.builder()
+     *             .appId("")
+     *             .build());
+     * 
+     *         final var exampleGetSignOnPolicyRule = AppFunctions.getSignOnPolicyRule(GetSignOnPolicyRuleArgs.builder()
+     *             .id("")
+     *             .policyId(example.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getSignOnPolicyRulePlain(GetSignOnPolicyRulePlainArgs args) { + return getSignOnPolicyRulePlain(args, InvokeOptions.Empty); + } + /** + * Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + * + * > **WARNING:** This feature is only available as a part of the + * Identity Engine. Contact support + * for further information. + * + * > Inside the product a sign-on policy rule is referenced as an _authentication + * policy rule_, in the public API the parent policy is of type + * [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetAppSignonPolicyArgs;
+     * import com.pulumi.okta.app.AppFunctions;
+     * import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getAppSignonPolicy(GetAppSignonPolicyArgs.builder()
+     *             .appId("")
+     *             .build());
+     * 
+     *         final var exampleGetSignOnPolicyRule = AppFunctions.getSignOnPolicyRule(GetSignOnPolicyRuleArgs.builder()
+     *             .id("")
+     *             .policyId(example.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getSignOnPolicyRule(GetSignOnPolicyRuleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", TypeShape.of(GetSignOnPolicyRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + * + * > **WARNING:** This feature is only available as a part of the + * Identity Engine. Contact support + * for further information. + * + * > Inside the product a sign-on policy rule is referenced as an _authentication + * policy rule_, in the public API the parent policy is of type + * [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetAppSignonPolicyArgs;
+     * import com.pulumi.okta.app.AppFunctions;
+     * import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getAppSignonPolicy(GetAppSignonPolicyArgs.builder()
+     *             .appId("")
+     *             .build());
+     * 
+     *         final var exampleGetSignOnPolicyRule = AppFunctions.getSignOnPolicyRule(GetSignOnPolicyRuleArgs.builder()
+     *             .id("")
+     *             .policyId(example.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static Output getSignOnPolicyRule(GetSignOnPolicyRuleArgs args, InvokeOutputOptions options) { + return Deployment.getInstance().invoke("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", TypeShape.of(GetSignOnPolicyRuleResult.class), args, Utilities.withVersion(options)); + } + /** + * Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + * + * > **WARNING:** This feature is only available as a part of the + * Identity Engine. Contact support + * for further information. + * + * > Inside the product a sign-on policy rule is referenced as an _authentication + * policy rule_, in the public API the parent policy is of type + * [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + * + * ## Example Usage + * + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.okta.OktaFunctions;
+     * import com.pulumi.okta.inputs.GetAppSignonPolicyArgs;
+     * import com.pulumi.okta.app.AppFunctions;
+     * import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleArgs;
+     * import java.util.ArrayList;
+     * import java.util.Arrays;
+     * import java.util.Map;
+     * import java.io.File;
+     * import java.nio.file.Files;
+     * import java.nio.file.Paths;
+     * 
+     * public class App {
+     *     public static void main(String[] args) {
+     *         Pulumi.run(App::stack);
+     *     }
+     * 
+     *     public static void stack(Context ctx) {
+     *         final var example = OktaFunctions.getAppSignonPolicy(GetAppSignonPolicyArgs.builder()
+     *             .appId("")
+     *             .build());
+     * 
+     *         final var exampleGetSignOnPolicyRule = AppFunctions.getSignOnPolicyRule(GetSignOnPolicyRuleArgs.builder()
+     *             .id("")
+     *             .policyId(example.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * + */ + public static CompletableFuture getSignOnPolicyRulePlain(GetSignOnPolicyRulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", TypeShape.of(GetSignOnPolicyRuleResult.class), args, Utilities.withVersion(options)); + } /** * Retrieves a refresh token for the specified app. * diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/OAuth.java b/sdk/java/src/main/java/com/pulumi/okta/app/OAuth.java index b028ed1de..91123acaf 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/OAuth.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/OAuth.java @@ -265,6 +265,20 @@ public Output> autoKeyRotation() { public Output> autoSubmitToolbar() { return Codegen.optional(this.autoSubmitToolbar); } + /** + * The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + */ + @Export(name="backchannelCustomAuthenticatorId", refs={String.class}, tree="[0]") + private Output backchannelCustomAuthenticatorId; + + /** + * @return The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + */ + public Output> backchannelCustomAuthenticatorId() { + return Codegen.optional(this.backchannelCustomAuthenticatorId); + } /** * The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. * diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/OAuthArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/OAuthArgs.java index 46656640d..644cf2894 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/OAuthArgs.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/OAuthArgs.java @@ -165,6 +165,21 @@ public Optional> autoSubmitToolbar() { return Optional.ofNullable(this.autoSubmitToolbar); } + /** + * The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + */ + @Import(name="backchannelCustomAuthenticatorId") + private @Nullable Output backchannelCustomAuthenticatorId; + + /** + * @return The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + */ + public Optional> backchannelCustomAuthenticatorId() { + return Optional.ofNullable(this.backchannelCustomAuthenticatorId); + } + /** * The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. * @@ -862,6 +877,7 @@ private OAuthArgs(OAuthArgs $) { this.authenticationPolicy = $.authenticationPolicy; this.autoKeyRotation = $.autoKeyRotation; this.autoSubmitToolbar = $.autoSubmitToolbar; + this.backchannelCustomAuthenticatorId = $.backchannelCustomAuthenticatorId; this.clientBasicSecret = $.clientBasicSecret; this.clientBasicSecretWo = $.clientBasicSecretWo; this.clientBasicSecretWoVersion = $.clientBasicSecretWoVersion; @@ -1124,6 +1140,27 @@ public Builder autoSubmitToolbar(Boolean autoSubmitToolbar) { return autoSubmitToolbar(Output.of(autoSubmitToolbar)); } + /** + * @param backchannelCustomAuthenticatorId The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + * @return builder + * + */ + public Builder backchannelCustomAuthenticatorId(@Nullable Output backchannelCustomAuthenticatorId) { + $.backchannelCustomAuthenticatorId = backchannelCustomAuthenticatorId; + return this; + } + + /** + * @param backchannelCustomAuthenticatorId The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + * @return builder + * + */ + public Builder backchannelCustomAuthenticatorId(String backchannelCustomAuthenticatorId) { + return backchannelCustomAuthenticatorId(Output.of(backchannelCustomAuthenticatorId)); + } + /** * @param clientBasicSecret The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. * diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/SignonPolicyRules.java b/sdk/java/src/main/java/com/pulumi/okta/app/SignonPolicyRules.java index 26a068595..f81509872 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/SignonPolicyRules.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/SignonPolicyRules.java @@ -36,6 +36,7 @@ * import com.pulumi.okta.app.SignonPolicyRules; * import com.pulumi.okta.app.SignonPolicyRulesArgs; * import com.pulumi.okta.app.inputs.SignonPolicyRulesRuleArgs; + * import com.pulumi.okta.app.inputs.SignonPolicyRulesRuleKeepMeSignedInArgs; * import java.util.ArrayList; * import java.util.Arrays; * import java.util.Map; @@ -71,6 +72,16 @@ * .priority(3) * .access("DENY") * .status("ACTIVE") + * .build(), + * SignonPolicyRulesRuleArgs.builder() + * .name("KMSI Rule") + * .priority(4) + * .access("ALLOW") + * .status("ACTIVE") + * .keepMeSignedIn(SignonPolicyRulesRuleKeepMeSignedInArgs.builder() + * .postAuth("ALLOWED") + * .postAuthPromptFrequency("PT168H") + * .build()) * .build()) * .build()); * diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActions.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActions.java new file mode 100644 index 000000000..f3598cfdc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActions.java @@ -0,0 +1,72 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleActionsAppSignOn; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleActions extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleActions Empty = new GetSignOnPolicyRuleActions(); + + /** + * Specifies the results when a user attempts to sign in + * + */ + @Import(name="appSignOn") + private @Nullable GetSignOnPolicyRuleActionsAppSignOn appSignOn; + + /** + * @return Specifies the results when a user attempts to sign in + * + */ + public Optional appSignOn() { + return Optional.ofNullable(this.appSignOn); + } + + private GetSignOnPolicyRuleActions() {} + + private GetSignOnPolicyRuleActions(GetSignOnPolicyRuleActions $) { + this.appSignOn = $.appSignOn; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleActions defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleActions $; + + public Builder() { + $ = new GetSignOnPolicyRuleActions(); + } + + public Builder(GetSignOnPolicyRuleActions defaults) { + $ = new GetSignOnPolicyRuleActions(Objects.requireNonNull(defaults)); + } + + /** + * @param appSignOn Specifies the results when a user attempts to sign in + * + * @return builder + * + */ + public Builder appSignOn(@Nullable GetSignOnPolicyRuleActionsAppSignOn appSignOn) { + $.appSignOn = appSignOn; + return this; + } + + public GetSignOnPolicyRuleActions build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOn.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOn.java new file mode 100644 index 000000000..e9d70d2c0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOn.java @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleActionsAppSignOnVerificationMethod; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleActionsAppSignOn extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleActionsAppSignOn Empty = new GetSignOnPolicyRuleActionsAppSignOn(); + + /** + * Access + * + */ + @Import(name="access", required=true) + private String access; + + /** + * @return Access + * + */ + public String access() { + return this.access; + } + + /** + * Controls how often the post-authentication prompt is presented to users + * + */ + @Import(name="keepMeSignedIn") + private @Nullable GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn keepMeSignedIn; + + /** + * @return Controls how often the post-authentication prompt is presented to users + * + */ + public Optional keepMeSignedIn() { + return Optional.ofNullable(this.keepMeSignedIn); + } + + /** + * The method used to verify a user + * + */ + @Import(name="verificationMethod") + private @Nullable GetSignOnPolicyRuleActionsAppSignOnVerificationMethod verificationMethod; + + /** + * @return The method used to verify a user + * + */ + public Optional verificationMethod() { + return Optional.ofNullable(this.verificationMethod); + } + + private GetSignOnPolicyRuleActionsAppSignOn() {} + + private GetSignOnPolicyRuleActionsAppSignOn(GetSignOnPolicyRuleActionsAppSignOn $) { + this.access = $.access; + this.keepMeSignedIn = $.keepMeSignedIn; + this.verificationMethod = $.verificationMethod; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleActionsAppSignOn defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleActionsAppSignOn $; + + public Builder() { + $ = new GetSignOnPolicyRuleActionsAppSignOn(); + } + + public Builder(GetSignOnPolicyRuleActionsAppSignOn defaults) { + $ = new GetSignOnPolicyRuleActionsAppSignOn(Objects.requireNonNull(defaults)); + } + + /** + * @param access Access + * + * @return builder + * + */ + public Builder access(String access) { + $.access = access; + return this; + } + + /** + * @param keepMeSignedIn Controls how often the post-authentication prompt is presented to users + * + * @return builder + * + */ + public Builder keepMeSignedIn(@Nullable GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn keepMeSignedIn) { + $.keepMeSignedIn = keepMeSignedIn; + return this; + } + + /** + * @param verificationMethod The method used to verify a user + * + * @return builder + * + */ + public Builder verificationMethod(@Nullable GetSignOnPolicyRuleActionsAppSignOnVerificationMethod verificationMethod) { + $.verificationMethod = verificationMethod; + return this; + } + + public GetSignOnPolicyRuleActionsAppSignOn build() { + if ($.access == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOn", "access"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnArgs.java new file mode 100644 index 000000000..e1edbb91f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnArgs.java @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleActionsAppSignOnArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleActionsAppSignOnArgs Empty = new GetSignOnPolicyRuleActionsAppSignOnArgs(); + + /** + * Access + * + */ + @Import(name="access", required=true) + private Output access; + + /** + * @return Access + * + */ + public Output access() { + return this.access; + } + + /** + * Controls how often the post-authentication prompt is presented to users + * + */ + @Import(name="keepMeSignedIn") + private @Nullable Output keepMeSignedIn; + + /** + * @return Controls how often the post-authentication prompt is presented to users + * + */ + public Optional> keepMeSignedIn() { + return Optional.ofNullable(this.keepMeSignedIn); + } + + /** + * The method used to verify a user + * + */ + @Import(name="verificationMethod") + private @Nullable Output verificationMethod; + + /** + * @return The method used to verify a user + * + */ + public Optional> verificationMethod() { + return Optional.ofNullable(this.verificationMethod); + } + + private GetSignOnPolicyRuleActionsAppSignOnArgs() {} + + private GetSignOnPolicyRuleActionsAppSignOnArgs(GetSignOnPolicyRuleActionsAppSignOnArgs $) { + this.access = $.access; + this.keepMeSignedIn = $.keepMeSignedIn; + this.verificationMethod = $.verificationMethod; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleActionsAppSignOnArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleActionsAppSignOnArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleActionsAppSignOnArgs(); + } + + public Builder(GetSignOnPolicyRuleActionsAppSignOnArgs defaults) { + $ = new GetSignOnPolicyRuleActionsAppSignOnArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param access Access + * + * @return builder + * + */ + public Builder access(Output access) { + $.access = access; + return this; + } + + /** + * @param access Access + * + * @return builder + * + */ + public Builder access(String access) { + return access(Output.of(access)); + } + + /** + * @param keepMeSignedIn Controls how often the post-authentication prompt is presented to users + * + * @return builder + * + */ + public Builder keepMeSignedIn(@Nullable Output keepMeSignedIn) { + $.keepMeSignedIn = keepMeSignedIn; + return this; + } + + /** + * @param keepMeSignedIn Controls how often the post-authentication prompt is presented to users + * + * @return builder + * + */ + public Builder keepMeSignedIn(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs keepMeSignedIn) { + return keepMeSignedIn(Output.of(keepMeSignedIn)); + } + + /** + * @param verificationMethod The method used to verify a user + * + * @return builder + * + */ + public Builder verificationMethod(@Nullable Output verificationMethod) { + $.verificationMethod = verificationMethod; + return this; + } + + /** + * @param verificationMethod The method used to verify a user + * + * @return builder + * + */ + public Builder verificationMethod(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs verificationMethod) { + return verificationMethod(Output.of(verificationMethod)); + } + + public GetSignOnPolicyRuleActionsAppSignOnArgs build() { + if ($.access == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnArgs", "access"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.java new file mode 100644 index 000000000..4d6c767f1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn Empty = new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn(); + + /** + * Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + * + */ + @Import(name="postAuth", required=true) + private String postAuth; + + /** + * @return Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + * + */ + public String postAuth() { + return this.postAuth; + } + + /** + * A time duration specified as an ISO 8601 duration + * + */ + @Import(name="postAuthPromptFrequency", required=true) + private String postAuthPromptFrequency; + + /** + * @return A time duration specified as an ISO 8601 duration + * + */ + public String postAuthPromptFrequency() { + return this.postAuthPromptFrequency; + } + + private GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn() {} + + private GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn $) { + this.postAuth = $.postAuth; + this.postAuthPromptFrequency = $.postAuthPromptFrequency; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn $; + + public Builder() { + $ = new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn(); + } + + public Builder(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn defaults) { + $ = new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn(Objects.requireNonNull(defaults)); + } + + /** + * @param postAuth Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + * + * @return builder + * + */ + public Builder postAuth(String postAuth) { + $.postAuth = postAuth; + return this; + } + + /** + * @param postAuthPromptFrequency A time duration specified as an ISO 8601 duration + * + * @return builder + * + */ + public Builder postAuthPromptFrequency(String postAuthPromptFrequency) { + $.postAuthPromptFrequency = postAuthPromptFrequency; + return this; + } + + public GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn build() { + if ($.postAuth == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn", "postAuth"); + } + if ($.postAuthPromptFrequency == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn", "postAuthPromptFrequency"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs.java new file mode 100644 index 000000000..425bc56b4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs Empty = new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs(); + + /** + * Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + * + */ + @Import(name="postAuth", required=true) + private Output postAuth; + + /** + * @return Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + * + */ + public Output postAuth() { + return this.postAuth; + } + + /** + * A time duration specified as an ISO 8601 duration + * + */ + @Import(name="postAuthPromptFrequency", required=true) + private Output postAuthPromptFrequency; + + /** + * @return A time duration specified as an ISO 8601 duration + * + */ + public Output postAuthPromptFrequency() { + return this.postAuthPromptFrequency; + } + + private GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs() {} + + private GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs $) { + this.postAuth = $.postAuth; + this.postAuthPromptFrequency = $.postAuthPromptFrequency; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs(); + } + + public Builder(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs defaults) { + $ = new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param postAuth Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + * + * @return builder + * + */ + public Builder postAuth(Output postAuth) { + $.postAuth = postAuth; + return this; + } + + /** + * @param postAuth Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + * + * @return builder + * + */ + public Builder postAuth(String postAuth) { + return postAuth(Output.of(postAuth)); + } + + /** + * @param postAuthPromptFrequency A time duration specified as an ISO 8601 duration + * + * @return builder + * + */ + public Builder postAuthPromptFrequency(Output postAuthPromptFrequency) { + $.postAuthPromptFrequency = postAuthPromptFrequency; + return this; + } + + /** + * @param postAuthPromptFrequency A time duration specified as an ISO 8601 duration + * + * @return builder + * + */ + public Builder postAuthPromptFrequency(String postAuthPromptFrequency) { + return postAuthPromptFrequency(Output.of(postAuthPromptFrequency)); + } + + public GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs build() { + if ($.postAuth == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs", "postAuth"); + } + if ($.postAuthPromptFrequency == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs", "postAuthPromptFrequency"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.java new file mode 100644 index 000000000..da7817ce7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleActionsAppSignOnVerificationMethod extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleActionsAppSignOnVerificationMethod Empty = new GetSignOnPolicyRuleActionsAppSignOnVerificationMethod(); + + /** + * Verification method type + * + */ + @Import(name="type", required=true) + private String type; + + /** + * @return Verification method type + * + */ + public String type() { + return this.type; + } + + private GetSignOnPolicyRuleActionsAppSignOnVerificationMethod() {} + + private GetSignOnPolicyRuleActionsAppSignOnVerificationMethod(GetSignOnPolicyRuleActionsAppSignOnVerificationMethod $) { + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleActionsAppSignOnVerificationMethod defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleActionsAppSignOnVerificationMethod $; + + public Builder() { + $ = new GetSignOnPolicyRuleActionsAppSignOnVerificationMethod(); + } + + public Builder(GetSignOnPolicyRuleActionsAppSignOnVerificationMethod defaults) { + $ = new GetSignOnPolicyRuleActionsAppSignOnVerificationMethod(Objects.requireNonNull(defaults)); + } + + /** + * @param type Verification method type + * + * @return builder + * + */ + public Builder type(String type) { + $.type = type; + return this; + } + + public GetSignOnPolicyRuleActionsAppSignOnVerificationMethod build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnVerificationMethod", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs.java new file mode 100644 index 000000000..040ef50b7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs Empty = new GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs(); + + /** + * Verification method type + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return Verification method type + * + */ + public Output type() { + return this.type; + } + + private GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs() {} + + private GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs $) { + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs(); + } + + public Builder(GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs defaults) { + $ = new GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param type Verification method type + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type Verification method type + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsArgs.java new file mode 100644 index 000000000..e6cc70a86 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleActionsArgs.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleActionsAppSignOnArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleActionsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleActionsArgs Empty = new GetSignOnPolicyRuleActionsArgs(); + + /** + * Specifies the results when a user attempts to sign in + * + */ + @Import(name="appSignOn") + private @Nullable Output appSignOn; + + /** + * @return Specifies the results when a user attempts to sign in + * + */ + public Optional> appSignOn() { + return Optional.ofNullable(this.appSignOn); + } + + private GetSignOnPolicyRuleActionsArgs() {} + + private GetSignOnPolicyRuleActionsArgs(GetSignOnPolicyRuleActionsArgs $) { + this.appSignOn = $.appSignOn; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleActionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleActionsArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleActionsArgs(); + } + + public Builder(GetSignOnPolicyRuleActionsArgs defaults) { + $ = new GetSignOnPolicyRuleActionsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param appSignOn Specifies the results when a user attempts to sign in + * + * @return builder + * + */ + public Builder appSignOn(@Nullable Output appSignOn) { + $.appSignOn = appSignOn; + return this; + } + + /** + * @param appSignOn Specifies the results when a user attempts to sign in + * + * @return builder + * + */ + public Builder appSignOn(GetSignOnPolicyRuleActionsAppSignOnArgs appSignOn) { + return appSignOn(Output.of(appSignOn)); + } + + public GetSignOnPolicyRuleActionsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleArgs.java new file mode 100644 index 000000000..b4c3a10a4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleArgs.java @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleActionsArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleArgs Empty = new GetSignOnPolicyRuleArgs(); + + @Import(name="actions") + private @Nullable Output actions; + + public Optional> actions() { + return Optional.ofNullable(this.actions); + } + + @Import(name="conditions") + private @Nullable Output conditions; + + public Optional> conditions() { + return Optional.ofNullable(this.conditions); + } + + /** + * Unique identifier of the access policy rule. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return Unique identifier of the access policy rule. + * + */ + public Output id() { + return this.id; + } + + /** + * `id` of the policy + * + */ + @Import(name="policyId", required=true) + private Output policyId; + + /** + * @return `id` of the policy + * + */ + public Output policyId() { + return this.policyId; + } + + private GetSignOnPolicyRuleArgs() {} + + private GetSignOnPolicyRuleArgs(GetSignOnPolicyRuleArgs $) { + this.actions = $.actions; + this.conditions = $.conditions; + this.id = $.id; + this.policyId = $.policyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleArgs(); + } + + public Builder(GetSignOnPolicyRuleArgs defaults) { + $ = new GetSignOnPolicyRuleArgs(Objects.requireNonNull(defaults)); + } + + public Builder actions(@Nullable Output actions) { + $.actions = actions; + return this; + } + + public Builder actions(GetSignOnPolicyRuleActionsArgs actions) { + return actions(Output.of(actions)); + } + + public Builder conditions(@Nullable Output conditions) { + $.conditions = conditions; + return this; + } + + public Builder conditions(GetSignOnPolicyRuleConditionsArgs conditions) { + return conditions(Output.of(conditions)); + } + + /** + * @param id Unique identifier of the access policy rule. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id Unique identifier of the access policy rule. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param policyId `id` of the policy + * + * @return builder + * + */ + public Builder policyId(Output policyId) { + $.policyId = policyId; + return this; + } + + /** + * @param policyId `id` of the policy + * + * @return builder + * + */ + public Builder policyId(String policyId) { + return policyId(Output.of(policyId)); + } + + public GetSignOnPolicyRuleArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleArgs", "id"); + } + if ($.policyId == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleArgs", "policyId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditions.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditions.java new file mode 100644 index 000000000..490d511ab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditions.java @@ -0,0 +1,240 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsDevice; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsElCondition; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsNetwork; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPeople; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatform; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsRiskScore; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsUserType; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditions extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditions Empty = new GetSignOnPolicyRuleConditions(); + + /** + * Specifies the device condition to match on + * + */ + @Import(name="device") + private @Nullable GetSignOnPolicyRuleConditionsDevice device; + + /** + * @return Specifies the device condition to match on + * + */ + public Optional device() { + return Optional.ofNullable(this.device); + } + + /** + * Specifies Okta Expression Language expressions + * + */ + @Import(name="elCondition") + private @Nullable GetSignOnPolicyRuleConditionsElCondition elCondition; + + /** + * @return Specifies Okta Expression Language expressions + * + */ + public Optional elCondition() { + return Optional.ofNullable(this.elCondition); + } + + /** + * Specifies a network selection mode and a set of network zones to be included or excluded. + * + */ + @Import(name="network") + private @Nullable GetSignOnPolicyRuleConditionsNetwork network; + + /** + * @return Specifies a network selection mode and a set of network zones to be included or excluded. + * + */ + public Optional network() { + return Optional.ofNullable(this.network); + } + + /** + * Specifies the users and groups that are included or excluded by the policy rule + * + */ + @Import(name="people") + private @Nullable GetSignOnPolicyRuleConditionsPeople people; + + /** + * @return Specifies the users and groups that are included or excluded by the policy rule + * + */ + public Optional people() { + return Optional.ofNullable(this.people); + } + + /** + * Specifies a particular platform or device to match on + * + */ + @Import(name="platform") + private @Nullable GetSignOnPolicyRuleConditionsPlatform platform; + + /** + * @return Specifies a particular platform or device to match on + * + */ + public Optional platform() { + return Optional.ofNullable(this.platform); + } + + /** + * Specifies a particular level of risk to match on + * + */ + @Import(name="riskScore") + private @Nullable GetSignOnPolicyRuleConditionsRiskScore riskScore; + + /** + * @return Specifies a particular level of risk to match on + * + */ + public Optional riskScore() { + return Optional.ofNullable(this.riskScore); + } + + /** + * Specifies which user types to include and/or exclude + * + */ + @Import(name="userType") + private @Nullable GetSignOnPolicyRuleConditionsUserType userType; + + /** + * @return Specifies which user types to include and/or exclude + * + */ + public Optional userType() { + return Optional.ofNullable(this.userType); + } + + private GetSignOnPolicyRuleConditions() {} + + private GetSignOnPolicyRuleConditions(GetSignOnPolicyRuleConditions $) { + this.device = $.device; + this.elCondition = $.elCondition; + this.network = $.network; + this.people = $.people; + this.platform = $.platform; + this.riskScore = $.riskScore; + this.userType = $.userType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditions defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditions $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditions(); + } + + public Builder(GetSignOnPolicyRuleConditions defaults) { + $ = new GetSignOnPolicyRuleConditions(Objects.requireNonNull(defaults)); + } + + /** + * @param device Specifies the device condition to match on + * + * @return builder + * + */ + public Builder device(@Nullable GetSignOnPolicyRuleConditionsDevice device) { + $.device = device; + return this; + } + + /** + * @param elCondition Specifies Okta Expression Language expressions + * + * @return builder + * + */ + public Builder elCondition(@Nullable GetSignOnPolicyRuleConditionsElCondition elCondition) { + $.elCondition = elCondition; + return this; + } + + /** + * @param network Specifies a network selection mode and a set of network zones to be included or excluded. + * + * @return builder + * + */ + public Builder network(@Nullable GetSignOnPolicyRuleConditionsNetwork network) { + $.network = network; + return this; + } + + /** + * @param people Specifies the users and groups that are included or excluded by the policy rule + * + * @return builder + * + */ + public Builder people(@Nullable GetSignOnPolicyRuleConditionsPeople people) { + $.people = people; + return this; + } + + /** + * @param platform Specifies a particular platform or device to match on + * + * @return builder + * + */ + public Builder platform(@Nullable GetSignOnPolicyRuleConditionsPlatform platform) { + $.platform = platform; + return this; + } + + /** + * @param riskScore Specifies a particular level of risk to match on + * + * @return builder + * + */ + public Builder riskScore(@Nullable GetSignOnPolicyRuleConditionsRiskScore riskScore) { + $.riskScore = riskScore; + return this; + } + + /** + * @param userType Specifies which user types to include and/or exclude + * + * @return builder + * + */ + public Builder userType(@Nullable GetSignOnPolicyRuleConditionsUserType userType) { + $.userType = userType; + return this; + } + + public GetSignOnPolicyRuleConditions build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsArgs.java new file mode 100644 index 000000000..ea624b40a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsArgs.java @@ -0,0 +1,311 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsDeviceArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsElConditionArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsNetworkArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPeopleArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsRiskScoreArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsUserTypeArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsArgs Empty = new GetSignOnPolicyRuleConditionsArgs(); + + /** + * Specifies the device condition to match on + * + */ + @Import(name="device") + private @Nullable Output device; + + /** + * @return Specifies the device condition to match on + * + */ + public Optional> device() { + return Optional.ofNullable(this.device); + } + + /** + * Specifies Okta Expression Language expressions + * + */ + @Import(name="elCondition") + private @Nullable Output elCondition; + + /** + * @return Specifies Okta Expression Language expressions + * + */ + public Optional> elCondition() { + return Optional.ofNullable(this.elCondition); + } + + /** + * Specifies a network selection mode and a set of network zones to be included or excluded. + * + */ + @Import(name="network") + private @Nullable Output network; + + /** + * @return Specifies a network selection mode and a set of network zones to be included or excluded. + * + */ + public Optional> network() { + return Optional.ofNullable(this.network); + } + + /** + * Specifies the users and groups that are included or excluded by the policy rule + * + */ + @Import(name="people") + private @Nullable Output people; + + /** + * @return Specifies the users and groups that are included or excluded by the policy rule + * + */ + public Optional> people() { + return Optional.ofNullable(this.people); + } + + /** + * Specifies a particular platform or device to match on + * + */ + @Import(name="platform") + private @Nullable Output platform; + + /** + * @return Specifies a particular platform or device to match on + * + */ + public Optional> platform() { + return Optional.ofNullable(this.platform); + } + + /** + * Specifies a particular level of risk to match on + * + */ + @Import(name="riskScore") + private @Nullable Output riskScore; + + /** + * @return Specifies a particular level of risk to match on + * + */ + public Optional> riskScore() { + return Optional.ofNullable(this.riskScore); + } + + /** + * Specifies which user types to include and/or exclude + * + */ + @Import(name="userType") + private @Nullable Output userType; + + /** + * @return Specifies which user types to include and/or exclude + * + */ + public Optional> userType() { + return Optional.ofNullable(this.userType); + } + + private GetSignOnPolicyRuleConditionsArgs() {} + + private GetSignOnPolicyRuleConditionsArgs(GetSignOnPolicyRuleConditionsArgs $) { + this.device = $.device; + this.elCondition = $.elCondition; + this.network = $.network; + this.people = $.people; + this.platform = $.platform; + this.riskScore = $.riskScore; + this.userType = $.userType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param device Specifies the device condition to match on + * + * @return builder + * + */ + public Builder device(@Nullable Output device) { + $.device = device; + return this; + } + + /** + * @param device Specifies the device condition to match on + * + * @return builder + * + */ + public Builder device(GetSignOnPolicyRuleConditionsDeviceArgs device) { + return device(Output.of(device)); + } + + /** + * @param elCondition Specifies Okta Expression Language expressions + * + * @return builder + * + */ + public Builder elCondition(@Nullable Output elCondition) { + $.elCondition = elCondition; + return this; + } + + /** + * @param elCondition Specifies Okta Expression Language expressions + * + * @return builder + * + */ + public Builder elCondition(GetSignOnPolicyRuleConditionsElConditionArgs elCondition) { + return elCondition(Output.of(elCondition)); + } + + /** + * @param network Specifies a network selection mode and a set of network zones to be included or excluded. + * + * @return builder + * + */ + public Builder network(@Nullable Output network) { + $.network = network; + return this; + } + + /** + * @param network Specifies a network selection mode and a set of network zones to be included or excluded. + * + * @return builder + * + */ + public Builder network(GetSignOnPolicyRuleConditionsNetworkArgs network) { + return network(Output.of(network)); + } + + /** + * @param people Specifies the users and groups that are included or excluded by the policy rule + * + * @return builder + * + */ + public Builder people(@Nullable Output people) { + $.people = people; + return this; + } + + /** + * @param people Specifies the users and groups that are included or excluded by the policy rule + * + * @return builder + * + */ + public Builder people(GetSignOnPolicyRuleConditionsPeopleArgs people) { + return people(Output.of(people)); + } + + /** + * @param platform Specifies a particular platform or device to match on + * + * @return builder + * + */ + public Builder platform(@Nullable Output platform) { + $.platform = platform; + return this; + } + + /** + * @param platform Specifies a particular platform or device to match on + * + * @return builder + * + */ + public Builder platform(GetSignOnPolicyRuleConditionsPlatformArgs platform) { + return platform(Output.of(platform)); + } + + /** + * @param riskScore Specifies a particular level of risk to match on + * + * @return builder + * + */ + public Builder riskScore(@Nullable Output riskScore) { + $.riskScore = riskScore; + return this; + } + + /** + * @param riskScore Specifies a particular level of risk to match on + * + * @return builder + * + */ + public Builder riskScore(GetSignOnPolicyRuleConditionsRiskScoreArgs riskScore) { + return riskScore(Output.of(riskScore)); + } + + /** + * @param userType Specifies which user types to include and/or exclude + * + * @return builder + * + */ + public Builder userType(@Nullable Output userType) { + $.userType = userType; + return this; + } + + /** + * @param userType Specifies which user types to include and/or exclude + * + * @return builder + * + */ + public Builder userType(GetSignOnPolicyRuleConditionsUserTypeArgs userType) { + return userType(Output.of(userType)); + } + + public GetSignOnPolicyRuleConditionsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDevice.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDevice.java new file mode 100644 index 000000000..688647f77 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDevice.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsDeviceAssurance; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsDevice extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsDevice Empty = new GetSignOnPolicyRuleConditionsDevice(); + + /** + * Specifies device assurance policies in the policy rule. + * + */ + @Import(name="assurance") + private @Nullable GetSignOnPolicyRuleConditionsDeviceAssurance assurance; + + /** + * @return Specifies device assurance policies in the policy rule. + * + */ + public Optional assurance() { + return Optional.ofNullable(this.assurance); + } + + /** + * Indicates if the device is managed. + * + */ + @Import(name="managed", required=true) + private Boolean managed; + + /** + * @return Indicates if the device is managed. + * + */ + public Boolean managed() { + return this.managed; + } + + /** + * Indicates if the device is registered. + * + */ + @Import(name="registered", required=true) + private Boolean registered; + + /** + * @return Indicates if the device is registered. + * + */ + public Boolean registered() { + return this.registered; + } + + private GetSignOnPolicyRuleConditionsDevice() {} + + private GetSignOnPolicyRuleConditionsDevice(GetSignOnPolicyRuleConditionsDevice $) { + this.assurance = $.assurance; + this.managed = $.managed; + this.registered = $.registered; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsDevice defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsDevice $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsDevice(); + } + + public Builder(GetSignOnPolicyRuleConditionsDevice defaults) { + $ = new GetSignOnPolicyRuleConditionsDevice(Objects.requireNonNull(defaults)); + } + + /** + * @param assurance Specifies device assurance policies in the policy rule. + * + * @return builder + * + */ + public Builder assurance(@Nullable GetSignOnPolicyRuleConditionsDeviceAssurance assurance) { + $.assurance = assurance; + return this; + } + + /** + * @param managed Indicates if the device is managed. + * + * @return builder + * + */ + public Builder managed(Boolean managed) { + $.managed = managed; + return this; + } + + /** + * @param registered Indicates if the device is registered. + * + * @return builder + * + */ + public Builder registered(Boolean registered) { + $.registered = registered; + return this; + } + + public GetSignOnPolicyRuleConditionsDevice build() { + if ($.managed == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsDevice", "managed"); + } + if ($.registered == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsDevice", "registered"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceArgs.java new file mode 100644 index 000000000..e42094cb6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsDeviceAssuranceArgs; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsDeviceArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsDeviceArgs Empty = new GetSignOnPolicyRuleConditionsDeviceArgs(); + + /** + * Specifies device assurance policies in the policy rule. + * + */ + @Import(name="assurance") + private @Nullable Output assurance; + + /** + * @return Specifies device assurance policies in the policy rule. + * + */ + public Optional> assurance() { + return Optional.ofNullable(this.assurance); + } + + /** + * Indicates if the device is managed. + * + */ + @Import(name="managed", required=true) + private Output managed; + + /** + * @return Indicates if the device is managed. + * + */ + public Output managed() { + return this.managed; + } + + /** + * Indicates if the device is registered. + * + */ + @Import(name="registered", required=true) + private Output registered; + + /** + * @return Indicates if the device is registered. + * + */ + public Output registered() { + return this.registered; + } + + private GetSignOnPolicyRuleConditionsDeviceArgs() {} + + private GetSignOnPolicyRuleConditionsDeviceArgs(GetSignOnPolicyRuleConditionsDeviceArgs $) { + this.assurance = $.assurance; + this.managed = $.managed; + this.registered = $.registered; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsDeviceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsDeviceArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsDeviceArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsDeviceArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsDeviceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param assurance Specifies device assurance policies in the policy rule. + * + * @return builder + * + */ + public Builder assurance(@Nullable Output assurance) { + $.assurance = assurance; + return this; + } + + /** + * @param assurance Specifies device assurance policies in the policy rule. + * + * @return builder + * + */ + public Builder assurance(GetSignOnPolicyRuleConditionsDeviceAssuranceArgs assurance) { + return assurance(Output.of(assurance)); + } + + /** + * @param managed Indicates if the device is managed. + * + * @return builder + * + */ + public Builder managed(Output managed) { + $.managed = managed; + return this; + } + + /** + * @param managed Indicates if the device is managed. + * + * @return builder + * + */ + public Builder managed(Boolean managed) { + return managed(Output.of(managed)); + } + + /** + * @param registered Indicates if the device is registered. + * + * @return builder + * + */ + public Builder registered(Output registered) { + $.registered = registered; + return this; + } + + /** + * @param registered Indicates if the device is registered. + * + * @return builder + * + */ + public Builder registered(Boolean registered) { + return registered(Output.of(registered)); + } + + public GetSignOnPolicyRuleConditionsDeviceArgs build() { + if ($.managed == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsDeviceArgs", "managed"); + } + if ($.registered == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsDeviceArgs", "registered"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceAssurance.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceAssurance.java new file mode 100644 index 000000000..0f41b33f0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceAssurance.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsDeviceAssurance extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsDeviceAssurance Empty = new GetSignOnPolicyRuleConditionsDeviceAssurance(); + + /** + * Specifies the device assurance policy ID + * + */ + @Import(name="includes", required=true) + private List includes; + + /** + * @return Specifies the device assurance policy ID + * + */ + public List includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsDeviceAssurance() {} + + private GetSignOnPolicyRuleConditionsDeviceAssurance(GetSignOnPolicyRuleConditionsDeviceAssurance $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsDeviceAssurance defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsDeviceAssurance $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsDeviceAssurance(); + } + + public Builder(GetSignOnPolicyRuleConditionsDeviceAssurance defaults) { + $ = new GetSignOnPolicyRuleConditionsDeviceAssurance(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Specifies the device assurance policy ID + * + * @return builder + * + */ + public Builder includes(List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Specifies the device assurance policy ID + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsDeviceAssurance build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsDeviceAssurance", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceAssuranceArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceAssuranceArgs.java new file mode 100644 index 000000000..5020d346f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsDeviceAssuranceArgs.java @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsDeviceAssuranceArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsDeviceAssuranceArgs Empty = new GetSignOnPolicyRuleConditionsDeviceAssuranceArgs(); + + /** + * Specifies the device assurance policy ID + * + */ + @Import(name="includes", required=true) + private Output> includes; + + /** + * @return Specifies the device assurance policy ID + * + */ + public Output> includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsDeviceAssuranceArgs() {} + + private GetSignOnPolicyRuleConditionsDeviceAssuranceArgs(GetSignOnPolicyRuleConditionsDeviceAssuranceArgs $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsDeviceAssuranceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsDeviceAssuranceArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsDeviceAssuranceArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsDeviceAssuranceArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsDeviceAssuranceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Specifies the device assurance policy ID + * + * @return builder + * + */ + public Builder includes(Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Specifies the device assurance policy ID + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes Specifies the device assurance policy ID + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsDeviceAssuranceArgs build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsDeviceAssuranceArgs", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsElCondition.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsElCondition.java new file mode 100644 index 000000000..a0293db2e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsElCondition.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsElCondition extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsElCondition Empty = new GetSignOnPolicyRuleConditionsElCondition(); + + /** + * expression to match + * + */ + @Import(name="condition", required=true) + private String condition; + + /** + * @return expression to match + * + */ + public String condition() { + return this.condition; + } + + private GetSignOnPolicyRuleConditionsElCondition() {} + + private GetSignOnPolicyRuleConditionsElCondition(GetSignOnPolicyRuleConditionsElCondition $) { + this.condition = $.condition; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsElCondition defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsElCondition $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsElCondition(); + } + + public Builder(GetSignOnPolicyRuleConditionsElCondition defaults) { + $ = new GetSignOnPolicyRuleConditionsElCondition(Objects.requireNonNull(defaults)); + } + + /** + * @param condition expression to match + * + * @return builder + * + */ + public Builder condition(String condition) { + $.condition = condition; + return this; + } + + public GetSignOnPolicyRuleConditionsElCondition build() { + if ($.condition == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsElCondition", "condition"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsElConditionArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsElConditionArgs.java new file mode 100644 index 000000000..0abfd2b08 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsElConditionArgs.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsElConditionArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsElConditionArgs Empty = new GetSignOnPolicyRuleConditionsElConditionArgs(); + + /** + * expression to match + * + */ + @Import(name="condition", required=true) + private Output condition; + + /** + * @return expression to match + * + */ + public Output condition() { + return this.condition; + } + + private GetSignOnPolicyRuleConditionsElConditionArgs() {} + + private GetSignOnPolicyRuleConditionsElConditionArgs(GetSignOnPolicyRuleConditionsElConditionArgs $) { + this.condition = $.condition; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsElConditionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsElConditionArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsElConditionArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsElConditionArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsElConditionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param condition expression to match + * + * @return builder + * + */ + public Builder condition(Output condition) { + $.condition = condition; + return this; + } + + /** + * @param condition expression to match + * + * @return builder + * + */ + public Builder condition(String condition) { + return condition(Output.of(condition)); + } + + public GetSignOnPolicyRuleConditionsElConditionArgs build() { + if ($.condition == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsElConditionArgs", "condition"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsNetwork.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsNetwork.java new file mode 100644 index 000000000..22036e301 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsNetwork.java @@ -0,0 +1,155 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsNetwork extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsNetwork Empty = new GetSignOnPolicyRuleConditionsNetwork(); + + /** + * Network selection mode + * + */ + @Import(name="connection", required=true) + private String connection; + + /** + * @return Network selection mode + * + */ + public String connection() { + return this.connection; + } + + /** + * The zones to exclude. + * + */ + @Import(name="excludes", required=true) + private List excludes; + + /** + * @return The zones to exclude. + * + */ + public List excludes() { + return this.excludes; + } + + /** + * The zones to include. + * + */ + @Import(name="includes", required=true) + private List includes; + + /** + * @return The zones to include. + * + */ + public List includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsNetwork() {} + + private GetSignOnPolicyRuleConditionsNetwork(GetSignOnPolicyRuleConditionsNetwork $) { + this.connection = $.connection; + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsNetwork defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsNetwork $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsNetwork(); + } + + public Builder(GetSignOnPolicyRuleConditionsNetwork defaults) { + $ = new GetSignOnPolicyRuleConditionsNetwork(Objects.requireNonNull(defaults)); + } + + /** + * @param connection Network selection mode + * + * @return builder + * + */ + public Builder connection(String connection) { + $.connection = connection; + return this; + } + + /** + * @param excludes The zones to exclude. + * + * @return builder + * + */ + public Builder excludes(List excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes The zones to exclude. + * + * @return builder + * + */ + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes The zones to include. + * + * @return builder + * + */ + public Builder includes(List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes The zones to include. + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsNetwork build() { + if ($.connection == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsNetwork", "connection"); + } + if ($.excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsNetwork", "excludes"); + } + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsNetwork", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsNetworkArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsNetworkArgs.java new file mode 100644 index 000000000..f0a02d9bf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsNetworkArgs.java @@ -0,0 +1,186 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsNetworkArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsNetworkArgs Empty = new GetSignOnPolicyRuleConditionsNetworkArgs(); + + /** + * Network selection mode + * + */ + @Import(name="connection", required=true) + private Output connection; + + /** + * @return Network selection mode + * + */ + public Output connection() { + return this.connection; + } + + /** + * The zones to exclude. + * + */ + @Import(name="excludes", required=true) + private Output> excludes; + + /** + * @return The zones to exclude. + * + */ + public Output> excludes() { + return this.excludes; + } + + /** + * The zones to include. + * + */ + @Import(name="includes", required=true) + private Output> includes; + + /** + * @return The zones to include. + * + */ + public Output> includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsNetworkArgs() {} + + private GetSignOnPolicyRuleConditionsNetworkArgs(GetSignOnPolicyRuleConditionsNetworkArgs $) { + this.connection = $.connection; + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsNetworkArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsNetworkArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsNetworkArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsNetworkArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsNetworkArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connection Network selection mode + * + * @return builder + * + */ + public Builder connection(Output connection) { + $.connection = connection; + return this; + } + + /** + * @param connection Network selection mode + * + * @return builder + * + */ + public Builder connection(String connection) { + return connection(Output.of(connection)); + } + + /** + * @param excludes The zones to exclude. + * + * @return builder + * + */ + public Builder excludes(Output> excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes The zones to exclude. + * + * @return builder + * + */ + public Builder excludes(List excludes) { + return excludes(Output.of(excludes)); + } + + /** + * @param excludes The zones to exclude. + * + * @return builder + * + */ + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes The zones to include. + * + * @return builder + * + */ + public Builder includes(Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes The zones to include. + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes The zones to include. + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsNetworkArgs build() { + if ($.connection == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsNetworkArgs", "connection"); + } + if ($.excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsNetworkArgs", "excludes"); + } + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsNetworkArgs", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeople.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeople.java new file mode 100644 index 000000000..4fdb15007 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeople.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPeopleGroups; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPeopleUsers; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPeople extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPeople Empty = new GetSignOnPolicyRuleConditionsPeople(); + + /** + * Specifies a set of groups whose users are to be included or excluded + * + */ + @Import(name="groups") + private @Nullable GetSignOnPolicyRuleConditionsPeopleGroups groups; + + /** + * @return Specifies a set of groups whose users are to be included or excluded + * + */ + public Optional groups() { + return Optional.ofNullable(this.groups); + } + + /** + * Specifies a set of users to be included or excluded + * + */ + @Import(name="users") + private @Nullable GetSignOnPolicyRuleConditionsPeopleUsers users; + + /** + * @return Specifies a set of users to be included or excluded + * + */ + public Optional users() { + return Optional.ofNullable(this.users); + } + + private GetSignOnPolicyRuleConditionsPeople() {} + + private GetSignOnPolicyRuleConditionsPeople(GetSignOnPolicyRuleConditionsPeople $) { + this.groups = $.groups; + this.users = $.users; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPeople defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPeople $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPeople(); + } + + public Builder(GetSignOnPolicyRuleConditionsPeople defaults) { + $ = new GetSignOnPolicyRuleConditionsPeople(Objects.requireNonNull(defaults)); + } + + /** + * @param groups Specifies a set of groups whose users are to be included or excluded + * + * @return builder + * + */ + public Builder groups(@Nullable GetSignOnPolicyRuleConditionsPeopleGroups groups) { + $.groups = groups; + return this; + } + + /** + * @param users Specifies a set of users to be included or excluded + * + * @return builder + * + */ + public Builder users(@Nullable GetSignOnPolicyRuleConditionsPeopleUsers users) { + $.users = users; + return this; + } + + public GetSignOnPolicyRuleConditionsPeople build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleArgs.java new file mode 100644 index 000000000..250e029a8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPeopleGroupsArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPeopleUsersArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPeopleArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPeopleArgs Empty = new GetSignOnPolicyRuleConditionsPeopleArgs(); + + /** + * Specifies a set of groups whose users are to be included or excluded + * + */ + @Import(name="groups") + private @Nullable Output groups; + + /** + * @return Specifies a set of groups whose users are to be included or excluded + * + */ + public Optional> groups() { + return Optional.ofNullable(this.groups); + } + + /** + * Specifies a set of users to be included or excluded + * + */ + @Import(name="users") + private @Nullable Output users; + + /** + * @return Specifies a set of users to be included or excluded + * + */ + public Optional> users() { + return Optional.ofNullable(this.users); + } + + private GetSignOnPolicyRuleConditionsPeopleArgs() {} + + private GetSignOnPolicyRuleConditionsPeopleArgs(GetSignOnPolicyRuleConditionsPeopleArgs $) { + this.groups = $.groups; + this.users = $.users; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPeopleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPeopleArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPeopleArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPeopleArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPeopleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param groups Specifies a set of groups whose users are to be included or excluded + * + * @return builder + * + */ + public Builder groups(@Nullable Output groups) { + $.groups = groups; + return this; + } + + /** + * @param groups Specifies a set of groups whose users are to be included or excluded + * + * @return builder + * + */ + public Builder groups(GetSignOnPolicyRuleConditionsPeopleGroupsArgs groups) { + return groups(Output.of(groups)); + } + + /** + * @param users Specifies a set of users to be included or excluded + * + * @return builder + * + */ + public Builder users(@Nullable Output users) { + $.users = users; + return this; + } + + /** + * @param users Specifies a set of users to be included or excluded + * + * @return builder + * + */ + public Builder users(GetSignOnPolicyRuleConditionsPeopleUsersArgs users) { + return users(Output.of(users)); + } + + public GetSignOnPolicyRuleConditionsPeopleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleGroups.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleGroups.java new file mode 100644 index 000000000..a972c6b6a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleGroups.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsPeopleGroups extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPeopleGroups Empty = new GetSignOnPolicyRuleConditionsPeopleGroups(); + + /** + * Groups to be excluded + * + */ + @Import(name="excludes", required=true) + private List excludes; + + /** + * @return Groups to be excluded + * + */ + public List excludes() { + return this.excludes; + } + + /** + * Groups to be included + * + */ + @Import(name="includes", required=true) + private List includes; + + /** + * @return Groups to be included + * + */ + public List includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsPeopleGroups() {} + + private GetSignOnPolicyRuleConditionsPeopleGroups(GetSignOnPolicyRuleConditionsPeopleGroups $) { + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPeopleGroups defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPeopleGroups $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPeopleGroups(); + } + + public Builder(GetSignOnPolicyRuleConditionsPeopleGroups defaults) { + $ = new GetSignOnPolicyRuleConditionsPeopleGroups(Objects.requireNonNull(defaults)); + } + + /** + * @param excludes Groups to be excluded + * + * @return builder + * + */ + public Builder excludes(List excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes Groups to be excluded + * + * @return builder + * + */ + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsPeopleGroups build() { + if ($.excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleGroups", "excludes"); + } + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleGroups", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleGroupsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleGroupsArgs.java new file mode 100644 index 000000000..74f52af8d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleGroupsArgs.java @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsPeopleGroupsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPeopleGroupsArgs Empty = new GetSignOnPolicyRuleConditionsPeopleGroupsArgs(); + + /** + * Groups to be excluded + * + */ + @Import(name="excludes", required=true) + private Output> excludes; + + /** + * @return Groups to be excluded + * + */ + public Output> excludes() { + return this.excludes; + } + + /** + * Groups to be included + * + */ + @Import(name="includes", required=true) + private Output> includes; + + /** + * @return Groups to be included + * + */ + public Output> includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsPeopleGroupsArgs() {} + + private GetSignOnPolicyRuleConditionsPeopleGroupsArgs(GetSignOnPolicyRuleConditionsPeopleGroupsArgs $) { + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPeopleGroupsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPeopleGroupsArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPeopleGroupsArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPeopleGroupsArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPeopleGroupsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param excludes Groups to be excluded + * + * @return builder + * + */ + public Builder excludes(Output> excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes Groups to be excluded + * + * @return builder + * + */ + public Builder excludes(List excludes) { + return excludes(Output.of(excludes)); + } + + /** + * @param excludes Groups to be excluded + * + * @return builder + * + */ + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsPeopleGroupsArgs build() { + if ($.excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleGroupsArgs", "excludes"); + } + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleGroupsArgs", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleUsers.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleUsers.java new file mode 100644 index 000000000..dbd80d09f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleUsers.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsPeopleUsers extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPeopleUsers Empty = new GetSignOnPolicyRuleConditionsPeopleUsers(); + + /** + * Users to be excluded + * + */ + @Import(name="excludes", required=true) + private List excludes; + + /** + * @return Users to be excluded + * + */ + public List excludes() { + return this.excludes; + } + + /** + * Users to be included + * + */ + @Import(name="includes", required=true) + private List includes; + + /** + * @return Users to be included + * + */ + public List includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsPeopleUsers() {} + + private GetSignOnPolicyRuleConditionsPeopleUsers(GetSignOnPolicyRuleConditionsPeopleUsers $) { + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPeopleUsers defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPeopleUsers $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPeopleUsers(); + } + + public Builder(GetSignOnPolicyRuleConditionsPeopleUsers defaults) { + $ = new GetSignOnPolicyRuleConditionsPeopleUsers(Objects.requireNonNull(defaults)); + } + + /** + * @param excludes Users to be excluded + * + * @return builder + * + */ + public Builder excludes(List excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes Users to be excluded + * + * @return builder + * + */ + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsPeopleUsers build() { + if ($.excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleUsers", "excludes"); + } + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleUsers", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleUsersArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleUsersArgs.java new file mode 100644 index 000000000..19870eb2e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPeopleUsersArgs.java @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsPeopleUsersArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPeopleUsersArgs Empty = new GetSignOnPolicyRuleConditionsPeopleUsersArgs(); + + /** + * Users to be excluded + * + */ + @Import(name="excludes", required=true) + private Output> excludes; + + /** + * @return Users to be excluded + * + */ + public Output> excludes() { + return this.excludes; + } + + /** + * Users to be included + * + */ + @Import(name="includes", required=true) + private Output> includes; + + /** + * @return Users to be included + * + */ + public Output> includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsPeopleUsersArgs() {} + + private GetSignOnPolicyRuleConditionsPeopleUsersArgs(GetSignOnPolicyRuleConditionsPeopleUsersArgs $) { + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPeopleUsersArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPeopleUsersArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPeopleUsersArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPeopleUsersArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPeopleUsersArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param excludes Users to be excluded + * + * @return builder + * + */ + public Builder excludes(Output> excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes Users to be excluded + * + * @return builder + * + */ + public Builder excludes(List excludes) { + return excludes(Output.of(excludes)); + } + + /** + * @param excludes Users to be excluded + * + * @return builder + * + */ + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsPeopleUsersArgs build() { + if ($.excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleUsersArgs", "excludes"); + } + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleUsersArgs", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatform.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatform.java new file mode 100644 index 000000000..e25c46571 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatform.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformExclude; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformInclude; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatform extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPlatform Empty = new GetSignOnPolicyRuleConditionsPlatform(); + + /** + * Exclude + * + */ + @Import(name="excludes") + private @Nullable List excludes; + + /** + * @return Exclude + * + */ + public Optional> excludes() { + return Optional.ofNullable(this.excludes); + } + + /** + * Include + * + */ + @Import(name="includes") + private @Nullable List includes; + + /** + * @return Include + * + */ + public Optional> includes() { + return Optional.ofNullable(this.includes); + } + + private GetSignOnPolicyRuleConditionsPlatform() {} + + private GetSignOnPolicyRuleConditionsPlatform(GetSignOnPolicyRuleConditionsPlatform $) { + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatform defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatform $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatform(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatform defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatform(Objects.requireNonNull(defaults)); + } + + /** + * @param excludes Exclude + * + * @return builder + * + */ + public Builder excludes(@Nullable List excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes Exclude + * + * @return builder + * + */ + public Builder excludes(GetSignOnPolicyRuleConditionsPlatformExclude... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(@Nullable List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(GetSignOnPolicyRuleConditionsPlatformInclude... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsPlatform build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformArgs.java new file mode 100644 index 000000000..92d732f31 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformArgs.java @@ -0,0 +1,142 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformExcludeArgs; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformIncludeArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatformArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformArgs Empty = new GetSignOnPolicyRuleConditionsPlatformArgs(); + + /** + * Exclude + * + */ + @Import(name="excludes") + private @Nullable Output> excludes; + + /** + * @return Exclude + * + */ + public Optional>> excludes() { + return Optional.ofNullable(this.excludes); + } + + /** + * Include + * + */ + @Import(name="includes") + private @Nullable Output> includes; + + /** + * @return Include + * + */ + public Optional>> includes() { + return Optional.ofNullable(this.includes); + } + + private GetSignOnPolicyRuleConditionsPlatformArgs() {} + + private GetSignOnPolicyRuleConditionsPlatformArgs(GetSignOnPolicyRuleConditionsPlatformArgs $) { + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param excludes Exclude + * + * @return builder + * + */ + public Builder excludes(@Nullable Output> excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes Exclude + * + * @return builder + * + */ + public Builder excludes(List excludes) { + return excludes(Output.of(excludes)); + } + + /** + * @param excludes Exclude + * + * @return builder + * + */ + public Builder excludes(GetSignOnPolicyRuleConditionsPlatformExcludeArgs... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(@Nullable Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(GetSignOnPolicyRuleConditionsPlatformIncludeArgs... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsPlatformArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExclude.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExclude.java new file mode 100644 index 000000000..99c6b0a16 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExclude.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformExcludeOs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatformExclude extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformExclude Empty = new GetSignOnPolicyRuleConditionsPlatformExclude(); + + /** + * Os + * + */ + @Import(name="os") + private @Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOs os; + + /** + * @return Os + * + */ + public Optional os() { + return Optional.ofNullable(this.os); + } + + /** + * The type of platform + * + */ + @Import(name="type", required=true) + private String type; + + /** + * @return The type of platform + * + */ + public String type() { + return this.type; + } + + private GetSignOnPolicyRuleConditionsPlatformExclude() {} + + private GetSignOnPolicyRuleConditionsPlatformExclude(GetSignOnPolicyRuleConditionsPlatformExclude $) { + this.os = $.os; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformExclude defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformExclude $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformExclude(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformExclude defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformExclude(Objects.requireNonNull(defaults)); + } + + /** + * @param os Os + * + * @return builder + * + */ + public Builder os(@Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOs os) { + $.os = os; + return this; + } + + /** + * @param type The type of platform + * + * @return builder + * + */ + public Builder type(String type) { + $.type = type; + return this; + } + + public GetSignOnPolicyRuleConditionsPlatformExclude build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExclude", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeArgs.java new file mode 100644 index 000000000..8cccdf854 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatformExcludeArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformExcludeArgs Empty = new GetSignOnPolicyRuleConditionsPlatformExcludeArgs(); + + /** + * Os + * + */ + @Import(name="os") + private @Nullable Output os; + + /** + * @return Os + * + */ + public Optional> os() { + return Optional.ofNullable(this.os); + } + + /** + * The type of platform + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return The type of platform + * + */ + public Output type() { + return this.type; + } + + private GetSignOnPolicyRuleConditionsPlatformExcludeArgs() {} + + private GetSignOnPolicyRuleConditionsPlatformExcludeArgs(GetSignOnPolicyRuleConditionsPlatformExcludeArgs $) { + this.os = $.os; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformExcludeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformExcludeArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformExcludeArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param os Os + * + * @return builder + * + */ + public Builder os(@Nullable Output os) { + $.os = os; + return this; + } + + /** + * @param os Os + * + * @return builder + * + */ + public Builder os(GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs os) { + return os(Output.of(os)); + } + + /** + * @param type The type of platform + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type The type of platform + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public GetSignOnPolicyRuleConditionsPlatformExcludeArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.java new file mode 100644 index 000000000..e4989f5b4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatformExcludeOs extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformExcludeOs Empty = new GetSignOnPolicyRuleConditionsPlatformExcludeOs(); + + /** + * Expression + * + */ + @Import(name="expression", required=true) + private String expression; + + /** + * @return Expression + * + */ + public String expression() { + return this.expression; + } + + /** + * The type of operating system + * + */ + @Import(name="type", required=true) + private String type; + + /** + * @return The type of operating system + * + */ + public String type() { + return this.type; + } + + /** + * Version + * + */ + @Import(name="version") + private @Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion version; + + /** + * @return Version + * + */ + public Optional version() { + return Optional.ofNullable(this.version); + } + + private GetSignOnPolicyRuleConditionsPlatformExcludeOs() {} + + private GetSignOnPolicyRuleConditionsPlatformExcludeOs(GetSignOnPolicyRuleConditionsPlatformExcludeOs $) { + this.expression = $.expression; + this.type = $.type; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformExcludeOs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformExcludeOs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeOs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformExcludeOs defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeOs(Objects.requireNonNull(defaults)); + } + + /** + * @param expression Expression + * + * @return builder + * + */ + public Builder expression(String expression) { + $.expression = expression; + return this; + } + + /** + * @param type The type of operating system + * + * @return builder + * + */ + public Builder type(String type) { + $.type = type; + return this; + } + + /** + * @param version Version + * + * @return builder + * + */ + public Builder version(@Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion version) { + $.version = version; + return this; + } + + public GetSignOnPolicyRuleConditionsPlatformExcludeOs build() { + if ($.expression == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOs", "expression"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs.java new file mode 100644 index 000000000..a2c897bee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs Empty = new GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs(); + + /** + * Expression + * + */ + @Import(name="expression", required=true) + private Output expression; + + /** + * @return Expression + * + */ + public Output expression() { + return this.expression; + } + + /** + * The type of operating system + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return The type of operating system + * + */ + public Output type() { + return this.type; + } + + /** + * Version + * + */ + @Import(name="version") + private @Nullable Output version; + + /** + * @return Version + * + */ + public Optional> version() { + return Optional.ofNullable(this.version); + } + + private GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs() {} + + private GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs(GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs $) { + this.expression = $.expression; + this.type = $.type; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param expression Expression + * + * @return builder + * + */ + public Builder expression(Output expression) { + $.expression = expression; + return this; + } + + /** + * @param expression Expression + * + * @return builder + * + */ + public Builder expression(String expression) { + return expression(Output.of(expression)); + } + + /** + * @param type The type of operating system + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type The type of operating system + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param version Version + * + * @return builder + * + */ + public Builder version(@Nullable Output version) { + $.version = version; + return this; + } + + /** + * @param version Version + * + * @return builder + * + */ + public Builder version(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs version) { + return version(Output.of(version)); + } + + public GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs build() { + if ($.expression == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs", "expression"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.java new file mode 100644 index 000000000..09d6e7c27 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion Empty = new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion(); + + /** + * MatchType + * + */ + @Import(name="matchType", required=true) + private String matchType; + + /** + * @return MatchType + * + */ + public String matchType() { + return this.matchType; + } + + /** + * Value + * + */ + @Import(name="value", required=true) + private String value; + + /** + * @return Value + * + */ + public String value() { + return this.value; + } + + private GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion() {} + + private GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion $) { + this.matchType = $.matchType; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion(Objects.requireNonNull(defaults)); + } + + /** + * @param matchType MatchType + * + * @return builder + * + */ + public Builder matchType(String matchType) { + $.matchType = matchType; + return this; + } + + /** + * @param value Value + * + * @return builder + * + */ + public Builder value(String value) { + $.value = value; + return this; + } + + public GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion build() { + if ($.matchType == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion", "matchType"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs.java new file mode 100644 index 000000000..078704864 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs Empty = new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs(); + + /** + * MatchType + * + */ + @Import(name="matchType", required=true) + private Output matchType; + + /** + * @return MatchType + * + */ + public Output matchType() { + return this.matchType; + } + + /** + * Value + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return Value + * + */ + public Output value() { + return this.value; + } + + private GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs() {} + + private GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs $) { + this.matchType = $.matchType; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param matchType MatchType + * + * @return builder + * + */ + public Builder matchType(Output matchType) { + $.matchType = matchType; + return this; + } + + /** + * @param matchType MatchType + * + * @return builder + * + */ + public Builder matchType(String matchType) { + return matchType(Output.of(matchType)); + } + + /** + * @param value Value + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value Value + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs build() { + if ($.matchType == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs", "matchType"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformInclude.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformInclude.java new file mode 100644 index 000000000..ab9a20e9b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformInclude.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformIncludeOs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatformInclude extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformInclude Empty = new GetSignOnPolicyRuleConditionsPlatformInclude(); + + /** + * Os + * + */ + @Import(name="os") + private @Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOs os; + + /** + * @return Os + * + */ + public Optional os() { + return Optional.ofNullable(this.os); + } + + /** + * The type of platform + * + */ + @Import(name="type", required=true) + private String type; + + /** + * @return The type of platform + * + */ + public String type() { + return this.type; + } + + private GetSignOnPolicyRuleConditionsPlatformInclude() {} + + private GetSignOnPolicyRuleConditionsPlatformInclude(GetSignOnPolicyRuleConditionsPlatformInclude $) { + this.os = $.os; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformInclude defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformInclude $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformInclude(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformInclude defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformInclude(Objects.requireNonNull(defaults)); + } + + /** + * @param os Os + * + * @return builder + * + */ + public Builder os(@Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOs os) { + $.os = os; + return this; + } + + /** + * @param type The type of platform + * + * @return builder + * + */ + public Builder type(String type) { + $.type = type; + return this; + } + + public GetSignOnPolicyRuleConditionsPlatformInclude build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformInclude", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeArgs.java new file mode 100644 index 000000000..137233e3f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatformIncludeArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformIncludeArgs Empty = new GetSignOnPolicyRuleConditionsPlatformIncludeArgs(); + + /** + * Os + * + */ + @Import(name="os") + private @Nullable Output os; + + /** + * @return Os + * + */ + public Optional> os() { + return Optional.ofNullable(this.os); + } + + /** + * The type of platform + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return The type of platform + * + */ + public Output type() { + return this.type; + } + + private GetSignOnPolicyRuleConditionsPlatformIncludeArgs() {} + + private GetSignOnPolicyRuleConditionsPlatformIncludeArgs(GetSignOnPolicyRuleConditionsPlatformIncludeArgs $) { + this.os = $.os; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformIncludeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformIncludeArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformIncludeArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param os Os + * + * @return builder + * + */ + public Builder os(@Nullable Output os) { + $.os = os; + return this; + } + + /** + * @param os Os + * + * @return builder + * + */ + public Builder os(GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs os) { + return os(Output.of(os)); + } + + /** + * @param type The type of platform + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type The type of platform + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public GetSignOnPolicyRuleConditionsPlatformIncludeArgs build() { + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.java new file mode 100644 index 000000000..46cab533e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatformIncludeOs extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformIncludeOs Empty = new GetSignOnPolicyRuleConditionsPlatformIncludeOs(); + + /** + * Expression + * + */ + @Import(name="expression", required=true) + private String expression; + + /** + * @return Expression + * + */ + public String expression() { + return this.expression; + } + + /** + * The type of operating system + * + */ + @Import(name="type", required=true) + private String type; + + /** + * @return The type of operating system + * + */ + public String type() { + return this.type; + } + + /** + * Version + * + */ + @Import(name="version") + private @Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion version; + + /** + * @return Version + * + */ + public Optional version() { + return Optional.ofNullable(this.version); + } + + private GetSignOnPolicyRuleConditionsPlatformIncludeOs() {} + + private GetSignOnPolicyRuleConditionsPlatformIncludeOs(GetSignOnPolicyRuleConditionsPlatformIncludeOs $) { + this.expression = $.expression; + this.type = $.type; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformIncludeOs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformIncludeOs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeOs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformIncludeOs defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeOs(Objects.requireNonNull(defaults)); + } + + /** + * @param expression Expression + * + * @return builder + * + */ + public Builder expression(String expression) { + $.expression = expression; + return this; + } + + /** + * @param type The type of operating system + * + * @return builder + * + */ + public Builder type(String type) { + $.type = type; + return this; + } + + /** + * @param version Version + * + * @return builder + * + */ + public Builder version(@Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion version) { + $.version = version; + return this; + } + + public GetSignOnPolicyRuleConditionsPlatformIncludeOs build() { + if ($.expression == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOs", "expression"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs.java new file mode 100644 index 000000000..3b802d466 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs Empty = new GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs(); + + /** + * Expression + * + */ + @Import(name="expression", required=true) + private Output expression; + + /** + * @return Expression + * + */ + public Output expression() { + return this.expression; + } + + /** + * The type of operating system + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return The type of operating system + * + */ + public Output type() { + return this.type; + } + + /** + * Version + * + */ + @Import(name="version") + private @Nullable Output version; + + /** + * @return Version + * + */ + public Optional> version() { + return Optional.ofNullable(this.version); + } + + private GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs() {} + + private GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs(GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs $) { + this.expression = $.expression; + this.type = $.type; + this.version = $.version; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param expression Expression + * + * @return builder + * + */ + public Builder expression(Output expression) { + $.expression = expression; + return this; + } + + /** + * @param expression Expression + * + * @return builder + * + */ + public Builder expression(String expression) { + return expression(Output.of(expression)); + } + + /** + * @param type The type of operating system + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type The type of operating system + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + /** + * @param version Version + * + * @return builder + * + */ + public Builder version(@Nullable Output version) { + $.version = version; + return this; + } + + /** + * @param version Version + * + * @return builder + * + */ + public Builder version(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs version) { + return version(Output.of(version)); + } + + public GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs build() { + if ($.expression == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs", "expression"); + } + if ($.type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs", "type"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.java new file mode 100644 index 000000000..50565fb23 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion Empty = new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion(); + + /** + * MatchType + * + */ + @Import(name="matchType", required=true) + private String matchType; + + /** + * @return MatchType + * + */ + public String matchType() { + return this.matchType; + } + + /** + * Value + * + */ + @Import(name="value", required=true) + private String value; + + /** + * @return Value + * + */ + public String value() { + return this.value; + } + + private GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion() {} + + private GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion $) { + this.matchType = $.matchType; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion(Objects.requireNonNull(defaults)); + } + + /** + * @param matchType MatchType + * + * @return builder + * + */ + public Builder matchType(String matchType) { + $.matchType = matchType; + return this; + } + + /** + * @param value Value + * + * @return builder + * + */ + public Builder value(String value) { + $.value = value; + return this; + } + + public GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion build() { + if ($.matchType == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion", "matchType"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs.java new file mode 100644 index 000000000..44dafba2f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs Empty = new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs(); + + /** + * MatchType + * + */ + @Import(name="matchType", required=true) + private Output matchType; + + /** + * @return MatchType + * + */ + public Output matchType() { + return this.matchType; + } + + /** + * Value + * + */ + @Import(name="value", required=true) + private Output value; + + /** + * @return Value + * + */ + public Output value() { + return this.value; + } + + private GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs() {} + + private GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs $) { + this.matchType = $.matchType; + this.value = $.value; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param matchType MatchType + * + * @return builder + * + */ + public Builder matchType(Output matchType) { + $.matchType = matchType; + return this; + } + + /** + * @param matchType MatchType + * + * @return builder + * + */ + public Builder matchType(String matchType) { + return matchType(Output.of(matchType)); + } + + /** + * @param value Value + * + * @return builder + * + */ + public Builder value(Output value) { + $.value = value; + return this; + } + + /** + * @param value Value + * + * @return builder + * + */ + public Builder value(String value) { + return value(Output.of(value)); + } + + public GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs build() { + if ($.matchType == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs", "matchType"); + } + if ($.value == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs", "value"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsRiskScore.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsRiskScore.java new file mode 100644 index 000000000..39b278e0b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsRiskScore.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsRiskScore extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsRiskScore Empty = new GetSignOnPolicyRuleConditionsRiskScore(); + + /** + * The level to match + * + */ + @Import(name="level", required=true) + private String level; + + /** + * @return The level to match + * + */ + public String level() { + return this.level; + } + + /** + * The minimum risk level to match. + * + */ + @Import(name="minRiskLevel", required=true) + private String minRiskLevel; + + /** + * @return The minimum risk level to match. + * + */ + public String minRiskLevel() { + return this.minRiskLevel; + } + + private GetSignOnPolicyRuleConditionsRiskScore() {} + + private GetSignOnPolicyRuleConditionsRiskScore(GetSignOnPolicyRuleConditionsRiskScore $) { + this.level = $.level; + this.minRiskLevel = $.minRiskLevel; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsRiskScore defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsRiskScore $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsRiskScore(); + } + + public Builder(GetSignOnPolicyRuleConditionsRiskScore defaults) { + $ = new GetSignOnPolicyRuleConditionsRiskScore(Objects.requireNonNull(defaults)); + } + + /** + * @param level The level to match + * + * @return builder + * + */ + public Builder level(String level) { + $.level = level; + return this; + } + + /** + * @param minRiskLevel The minimum risk level to match. + * + * @return builder + * + */ + public Builder minRiskLevel(String minRiskLevel) { + $.minRiskLevel = minRiskLevel; + return this; + } + + public GetSignOnPolicyRuleConditionsRiskScore build() { + if ($.level == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsRiskScore", "level"); + } + if ($.minRiskLevel == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsRiskScore", "minRiskLevel"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsRiskScoreArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsRiskScoreArgs.java new file mode 100644 index 000000000..f0f950244 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsRiskScoreArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsRiskScoreArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsRiskScoreArgs Empty = new GetSignOnPolicyRuleConditionsRiskScoreArgs(); + + /** + * The level to match + * + */ + @Import(name="level", required=true) + private Output level; + + /** + * @return The level to match + * + */ + public Output level() { + return this.level; + } + + /** + * The minimum risk level to match. + * + */ + @Import(name="minRiskLevel", required=true) + private Output minRiskLevel; + + /** + * @return The minimum risk level to match. + * + */ + public Output minRiskLevel() { + return this.minRiskLevel; + } + + private GetSignOnPolicyRuleConditionsRiskScoreArgs() {} + + private GetSignOnPolicyRuleConditionsRiskScoreArgs(GetSignOnPolicyRuleConditionsRiskScoreArgs $) { + this.level = $.level; + this.minRiskLevel = $.minRiskLevel; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsRiskScoreArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsRiskScoreArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsRiskScoreArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsRiskScoreArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsRiskScoreArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param level The level to match + * + * @return builder + * + */ + public Builder level(Output level) { + $.level = level; + return this; + } + + /** + * @param level The level to match + * + * @return builder + * + */ + public Builder level(String level) { + return level(Output.of(level)); + } + + /** + * @param minRiskLevel The minimum risk level to match. + * + * @return builder + * + */ + public Builder minRiskLevel(Output minRiskLevel) { + $.minRiskLevel = minRiskLevel; + return this; + } + + /** + * @param minRiskLevel The minimum risk level to match. + * + * @return builder + * + */ + public Builder minRiskLevel(String minRiskLevel) { + return minRiskLevel(Output.of(minRiskLevel)); + } + + public GetSignOnPolicyRuleConditionsRiskScoreArgs build() { + if ($.level == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsRiskScoreArgs", "level"); + } + if ($.minRiskLevel == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsRiskScoreArgs", "minRiskLevel"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsUserType.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsUserType.java new file mode 100644 index 000000000..82b729b3f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsUserType.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsUserType extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRuleConditionsUserType Empty = new GetSignOnPolicyRuleConditionsUserType(); + + /** + * The user types to exclude + * + */ + @Import(name="excludes", required=true) + private List excludes; + + /** + * @return The user types to exclude + * + */ + public List excludes() { + return this.excludes; + } + + /** + * The user types to include + * + */ + @Import(name="includes", required=true) + private List includes; + + /** + * @return The user types to include + * + */ + public List includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsUserType() {} + + private GetSignOnPolicyRuleConditionsUserType(GetSignOnPolicyRuleConditionsUserType $) { + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsUserType defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsUserType $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsUserType(); + } + + public Builder(GetSignOnPolicyRuleConditionsUserType defaults) { + $ = new GetSignOnPolicyRuleConditionsUserType(Objects.requireNonNull(defaults)); + } + + /** + * @param excludes The user types to exclude + * + * @return builder + * + */ + public Builder excludes(List excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes The user types to exclude + * + * @return builder + * + */ + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes The user types to include + * + * @return builder + * + */ + public Builder includes(List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes The user types to include + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsUserType build() { + if ($.excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsUserType", "excludes"); + } + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsUserType", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsUserTypeArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsUserTypeArgs.java new file mode 100644 index 000000000..325ec32d2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRuleConditionsUserTypeArgs.java @@ -0,0 +1,146 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetSignOnPolicyRuleConditionsUserTypeArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetSignOnPolicyRuleConditionsUserTypeArgs Empty = new GetSignOnPolicyRuleConditionsUserTypeArgs(); + + /** + * The user types to exclude + * + */ + @Import(name="excludes", required=true) + private Output> excludes; + + /** + * @return The user types to exclude + * + */ + public Output> excludes() { + return this.excludes; + } + + /** + * The user types to include + * + */ + @Import(name="includes", required=true) + private Output> includes; + + /** + * @return The user types to include + * + */ + public Output> includes() { + return this.includes; + } + + private GetSignOnPolicyRuleConditionsUserTypeArgs() {} + + private GetSignOnPolicyRuleConditionsUserTypeArgs(GetSignOnPolicyRuleConditionsUserTypeArgs $) { + this.excludes = $.excludes; + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRuleConditionsUserTypeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRuleConditionsUserTypeArgs $; + + public Builder() { + $ = new GetSignOnPolicyRuleConditionsUserTypeArgs(); + } + + public Builder(GetSignOnPolicyRuleConditionsUserTypeArgs defaults) { + $ = new GetSignOnPolicyRuleConditionsUserTypeArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param excludes The user types to exclude + * + * @return builder + * + */ + public Builder excludes(Output> excludes) { + $.excludes = excludes; + return this; + } + + /** + * @param excludes The user types to exclude + * + * @return builder + * + */ + public Builder excludes(List excludes) { + return excludes(Output.of(excludes)); + } + + /** + * @param excludes The user types to exclude + * + * @return builder + * + */ + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + + /** + * @param includes The user types to include + * + * @return builder + * + */ + public Builder includes(Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes The user types to include + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes The user types to include + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetSignOnPolicyRuleConditionsUserTypeArgs build() { + if ($.excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsUserTypeArgs", "excludes"); + } + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsUserTypeArgs", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRulePlainArgs.java new file mode 100644 index 000000000..9ef4c2490 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/GetSignOnPolicyRulePlainArgs.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleActions; +import com.pulumi.okta.app.inputs.GetSignOnPolicyRuleConditions; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetSignOnPolicyRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetSignOnPolicyRulePlainArgs Empty = new GetSignOnPolicyRulePlainArgs(); + + @Import(name="actions") + private @Nullable GetSignOnPolicyRuleActions actions; + + public Optional actions() { + return Optional.ofNullable(this.actions); + } + + @Import(name="conditions") + private @Nullable GetSignOnPolicyRuleConditions conditions; + + public Optional conditions() { + return Optional.ofNullable(this.conditions); + } + + /** + * Unique identifier of the access policy rule. + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return Unique identifier of the access policy rule. + * + */ + public String id() { + return this.id; + } + + /** + * `id` of the policy + * + */ + @Import(name="policyId", required=true) + private String policyId; + + /** + * @return `id` of the policy + * + */ + public String policyId() { + return this.policyId; + } + + private GetSignOnPolicyRulePlainArgs() {} + + private GetSignOnPolicyRulePlainArgs(GetSignOnPolicyRulePlainArgs $) { + this.actions = $.actions; + this.conditions = $.conditions; + this.id = $.id; + this.policyId = $.policyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetSignOnPolicyRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetSignOnPolicyRulePlainArgs $; + + public Builder() { + $ = new GetSignOnPolicyRulePlainArgs(); + } + + public Builder(GetSignOnPolicyRulePlainArgs defaults) { + $ = new GetSignOnPolicyRulePlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder actions(@Nullable GetSignOnPolicyRuleActions actions) { + $.actions = actions; + return this; + } + + public Builder conditions(@Nullable GetSignOnPolicyRuleConditions conditions) { + $.conditions = conditions; + return this; + } + + /** + * @param id Unique identifier of the access policy rule. + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + /** + * @param policyId `id` of the policy + * + * @return builder + * + */ + public Builder policyId(String policyId) { + $.policyId = policyId; + return this; + } + + public GetSignOnPolicyRulePlainArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRulePlainArgs", "id"); + } + if ($.policyId == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRulePlainArgs", "policyId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/OAuthState.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/OAuthState.java index e981cf628..8093d1e78 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/OAuthState.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/OAuthState.java @@ -164,6 +164,21 @@ public Optional> autoSubmitToolbar() { return Optional.ofNullable(this.autoSubmitToolbar); } + /** + * The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + */ + @Import(name="backchannelCustomAuthenticatorId") + private @Nullable Output backchannelCustomAuthenticatorId; + + /** + * @return The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + */ + public Optional> backchannelCustomAuthenticatorId() { + return Optional.ofNullable(this.backchannelCustomAuthenticatorId); + } + /** * The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. * @@ -921,6 +936,7 @@ private OAuthState(OAuthState $) { this.authenticationPolicy = $.authenticationPolicy; this.autoKeyRotation = $.autoKeyRotation; this.autoSubmitToolbar = $.autoSubmitToolbar; + this.backchannelCustomAuthenticatorId = $.backchannelCustomAuthenticatorId; this.clientBasicSecret = $.clientBasicSecret; this.clientBasicSecretWo = $.clientBasicSecretWo; this.clientBasicSecretWoVersion = $.clientBasicSecretWoVersion; @@ -1187,6 +1203,27 @@ public Builder autoSubmitToolbar(Boolean autoSubmitToolbar) { return autoSubmitToolbar(Output.of(autoSubmitToolbar)); } + /** + * @param backchannelCustomAuthenticatorId The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + * @return builder + * + */ + public Builder backchannelCustomAuthenticatorId(@Nullable Output backchannelCustomAuthenticatorId) { + $.backchannelCustomAuthenticatorId = backchannelCustomAuthenticatorId; + return this; + } + + /** + * @param backchannelCustomAuthenticatorId The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + * + * @return builder + * + */ + public Builder backchannelCustomAuthenticatorId(String backchannelCustomAuthenticatorId) { + return backchannelCustomAuthenticatorId(Output.of(backchannelCustomAuthenticatorId)); + } + /** * @param clientBasicSecret The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. * diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/SignonPolicyRulesRuleArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/SignonPolicyRulesRuleArgs.java index 1674b45eb..3dc03fc67 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/SignonPolicyRulesRuleArgs.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/SignonPolicyRulesRuleArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.inputs.SignonPolicyRulesRuleKeepMeSignedInArgs; import com.pulumi.okta.app.inputs.SignonPolicyRulesRulePlatformIncludeArgs; import java.lang.Boolean; import java.lang.Integer; @@ -200,6 +201,21 @@ public Optional> inactivityPeriod() { return Optional.ofNullable(this.inactivityPeriod); } + /** + * Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + * + */ + @Import(name="keepMeSignedIn") + private @Nullable Output keepMeSignedIn; + + /** + * @return Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + * + */ + public Optional> keepMeSignedIn() { + return Optional.ofNullable(this.keepMeSignedIn); + } + /** * Policy Rule Name. Must be unique within the policy. * @@ -306,14 +322,14 @@ public Optional> reAuthenticationFrequency() { } /** - * Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + * Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. * */ @Import(name="riskScore") private @Nullable Output riskScore; /** - * @return Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + * @return Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. * */ public Optional> riskScore() { @@ -440,6 +456,7 @@ private SignonPolicyRulesRuleArgs(SignonPolicyRulesRuleArgs $) { this.groupsIncludeds = $.groupsIncludeds; this.id = $.id; this.inactivityPeriod = $.inactivityPeriod; + this.keepMeSignedIn = $.keepMeSignedIn; this.name = $.name; this.networkConnection = $.networkConnection; this.networkExcludes = $.networkExcludes; @@ -777,6 +794,27 @@ public Builder inactivityPeriod(String inactivityPeriod) { return inactivityPeriod(Output.of(inactivityPeriod)); } + /** + * @param keepMeSignedIn Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + * + * @return builder + * + */ + public Builder keepMeSignedIn(@Nullable Output keepMeSignedIn) { + $.keepMeSignedIn = keepMeSignedIn; + return this; + } + + /** + * @param keepMeSignedIn Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + * + * @return builder + * + */ + public Builder keepMeSignedIn(SignonPolicyRulesRuleKeepMeSignedInArgs keepMeSignedIn) { + return keepMeSignedIn(Output.of(keepMeSignedIn)); + } + /** * @param name Policy Rule Name. Must be unique within the policy. * @@ -955,7 +993,7 @@ public Builder reAuthenticationFrequency(String reAuthenticationFrequency) { } /** - * @param riskScore Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + * @param riskScore Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. * * @return builder * @@ -966,7 +1004,7 @@ public Builder riskScore(@Nullable Output riskScore) { } /** - * @param riskScore Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + * @param riskScore Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/inputs/SignonPolicyRulesRuleKeepMeSignedInArgs.java b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/SignonPolicyRulesRuleKeepMeSignedInArgs.java new file mode 100644 index 000000000..2b1232e2a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/inputs/SignonPolicyRulesRuleKeepMeSignedInArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SignonPolicyRulesRuleKeepMeSignedInArgs extends com.pulumi.resources.ResourceArgs { + + public static final SignonPolicyRulesRuleKeepMeSignedInArgs Empty = new SignonPolicyRulesRuleKeepMeSignedInArgs(); + + /** + * Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + */ + @Import(name="postAuth") + private @Nullable Output postAuth; + + /** + * @return Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + */ + public Optional> postAuth() { + return Optional.ofNullable(this.postAuth); + } + + /** + * How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + */ + @Import(name="postAuthPromptFrequency") + private @Nullable Output postAuthPromptFrequency; + + /** + * @return How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + */ + public Optional> postAuthPromptFrequency() { + return Optional.ofNullable(this.postAuthPromptFrequency); + } + + private SignonPolicyRulesRuleKeepMeSignedInArgs() {} + + private SignonPolicyRulesRuleKeepMeSignedInArgs(SignonPolicyRulesRuleKeepMeSignedInArgs $) { + this.postAuth = $.postAuth; + this.postAuthPromptFrequency = $.postAuthPromptFrequency; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SignonPolicyRulesRuleKeepMeSignedInArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SignonPolicyRulesRuleKeepMeSignedInArgs $; + + public Builder() { + $ = new SignonPolicyRulesRuleKeepMeSignedInArgs(); + } + + public Builder(SignonPolicyRulesRuleKeepMeSignedInArgs defaults) { + $ = new SignonPolicyRulesRuleKeepMeSignedInArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param postAuth Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + * @return builder + * + */ + public Builder postAuth(@Nullable Output postAuth) { + $.postAuth = postAuth; + return this; + } + + /** + * @param postAuth Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + * @return builder + * + */ + public Builder postAuth(String postAuth) { + return postAuth(Output.of(postAuth)); + } + + /** + * @param postAuthPromptFrequency How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + * @return builder + * + */ + public Builder postAuthPromptFrequency(@Nullable Output postAuthPromptFrequency) { + $.postAuthPromptFrequency = postAuthPromptFrequency; + return this; + } + + /** + * @param postAuthPromptFrequency How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + * @return builder + * + */ + public Builder postAuthPromptFrequency(String postAuthPromptFrequency) { + return postAuthPromptFrequency(Output.of(postAuthPromptFrequency)); + } + + public SignonPolicyRulesRuleKeepMeSignedInArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActions.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActions.java new file mode 100644 index 000000000..21e146e05 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActions.java @@ -0,0 +1,57 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleActionsAppSignOn; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleActions { + /** + * @return Specifies the results when a user attempts to sign in + * + */ + private @Nullable GetSignOnPolicyRuleActionsAppSignOn appSignOn; + + private GetSignOnPolicyRuleActions() {} + /** + * @return Specifies the results when a user attempts to sign in + * + */ + public Optional appSignOn() { + return Optional.ofNullable(this.appSignOn); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleActions defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSignOnPolicyRuleActionsAppSignOn appSignOn; + public Builder() {} + public Builder(GetSignOnPolicyRuleActions defaults) { + Objects.requireNonNull(defaults); + this.appSignOn = defaults.appSignOn; + } + + @CustomType.Setter + public Builder appSignOn(@Nullable GetSignOnPolicyRuleActionsAppSignOn appSignOn) { + + this.appSignOn = appSignOn; + return this; + } + public GetSignOnPolicyRuleActions build() { + final var _resultValue = new GetSignOnPolicyRuleActions(); + _resultValue.appSignOn = appSignOn; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOn.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOn.java new file mode 100644 index 000000000..ca38888f2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOn.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleActionsAppSignOnVerificationMethod; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleActionsAppSignOn { + /** + * @return Access + * + */ + private String access; + /** + * @return Controls how often the post-authentication prompt is presented to users + * + */ + private @Nullable GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn keepMeSignedIn; + /** + * @return The method used to verify a user + * + */ + private @Nullable GetSignOnPolicyRuleActionsAppSignOnVerificationMethod verificationMethod; + + private GetSignOnPolicyRuleActionsAppSignOn() {} + /** + * @return Access + * + */ + public String access() { + return this.access; + } + /** + * @return Controls how often the post-authentication prompt is presented to users + * + */ + public Optional keepMeSignedIn() { + return Optional.ofNullable(this.keepMeSignedIn); + } + /** + * @return The method used to verify a user + * + */ + public Optional verificationMethod() { + return Optional.ofNullable(this.verificationMethod); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleActionsAppSignOn defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String access; + private @Nullable GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn keepMeSignedIn; + private @Nullable GetSignOnPolicyRuleActionsAppSignOnVerificationMethod verificationMethod; + public Builder() {} + public Builder(GetSignOnPolicyRuleActionsAppSignOn defaults) { + Objects.requireNonNull(defaults); + this.access = defaults.access; + this.keepMeSignedIn = defaults.keepMeSignedIn; + this.verificationMethod = defaults.verificationMethod; + } + + @CustomType.Setter + public Builder access(String access) { + if (access == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOn", "access"); + } + this.access = access; + return this; + } + @CustomType.Setter + public Builder keepMeSignedIn(@Nullable GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn keepMeSignedIn) { + + this.keepMeSignedIn = keepMeSignedIn; + return this; + } + @CustomType.Setter + public Builder verificationMethod(@Nullable GetSignOnPolicyRuleActionsAppSignOnVerificationMethod verificationMethod) { + + this.verificationMethod = verificationMethod; + return this; + } + public GetSignOnPolicyRuleActionsAppSignOn build() { + final var _resultValue = new GetSignOnPolicyRuleActionsAppSignOn(); + _resultValue.access = access; + _resultValue.keepMeSignedIn = keepMeSignedIn; + _resultValue.verificationMethod = verificationMethod; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.java new file mode 100644 index 000000000..4976ba080 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn { + /** + * @return Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + * + */ + private String postAuth; + /** + * @return A time duration specified as an ISO 8601 duration + * + */ + private String postAuthPromptFrequency; + + private GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn() {} + /** + * @return Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + * + */ + public String postAuth() { + return this.postAuth; + } + /** + * @return A time duration specified as an ISO 8601 duration + * + */ + public String postAuthPromptFrequency() { + return this.postAuthPromptFrequency; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String postAuth; + private String postAuthPromptFrequency; + public Builder() {} + public Builder(GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn defaults) { + Objects.requireNonNull(defaults); + this.postAuth = defaults.postAuth; + this.postAuthPromptFrequency = defaults.postAuthPromptFrequency; + } + + @CustomType.Setter + public Builder postAuth(String postAuth) { + if (postAuth == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn", "postAuth"); + } + this.postAuth = postAuth; + return this; + } + @CustomType.Setter + public Builder postAuthPromptFrequency(String postAuthPromptFrequency) { + if (postAuthPromptFrequency == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn", "postAuthPromptFrequency"); + } + this.postAuthPromptFrequency = postAuthPromptFrequency; + return this; + } + public GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn build() { + final var _resultValue = new GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn(); + _resultValue.postAuth = postAuth; + _resultValue.postAuthPromptFrequency = postAuthPromptFrequency; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.java new file mode 100644 index 000000000..7f26e1bde --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleActionsAppSignOnVerificationMethod.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleActionsAppSignOnVerificationMethod { + /** + * @return Verification method type + * + */ + private String type; + + private GetSignOnPolicyRuleActionsAppSignOnVerificationMethod() {} + /** + * @return Verification method type + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleActionsAppSignOnVerificationMethod defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String type; + public Builder() {} + public Builder(GetSignOnPolicyRuleActionsAppSignOnVerificationMethod defaults) { + Objects.requireNonNull(defaults); + this.type = defaults.type; + } + + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleActionsAppSignOnVerificationMethod", "type"); + } + this.type = type; + return this; + } + public GetSignOnPolicyRuleActionsAppSignOnVerificationMethod build() { + final var _resultValue = new GetSignOnPolicyRuleActionsAppSignOnVerificationMethod(); + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditions.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditions.java new file mode 100644 index 000000000..fc7ae4b26 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditions.java @@ -0,0 +1,189 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsDevice; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsElCondition; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsNetwork; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPeople; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPlatform; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsRiskScore; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsUserType; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleConditions { + /** + * @return Specifies the device condition to match on + * + */ + private @Nullable GetSignOnPolicyRuleConditionsDevice device; + /** + * @return Specifies Okta Expression Language expressions + * + */ + private @Nullable GetSignOnPolicyRuleConditionsElCondition elCondition; + /** + * @return Specifies a network selection mode and a set of network zones to be included or excluded. + * + */ + private @Nullable GetSignOnPolicyRuleConditionsNetwork network; + /** + * @return Specifies the users and groups that are included or excluded by the policy rule + * + */ + private @Nullable GetSignOnPolicyRuleConditionsPeople people; + /** + * @return Specifies a particular platform or device to match on + * + */ + private @Nullable GetSignOnPolicyRuleConditionsPlatform platform; + /** + * @return Specifies a particular level of risk to match on + * + */ + private @Nullable GetSignOnPolicyRuleConditionsRiskScore riskScore; + /** + * @return Specifies which user types to include and/or exclude + * + */ + private @Nullable GetSignOnPolicyRuleConditionsUserType userType; + + private GetSignOnPolicyRuleConditions() {} + /** + * @return Specifies the device condition to match on + * + */ + public Optional device() { + return Optional.ofNullable(this.device); + } + /** + * @return Specifies Okta Expression Language expressions + * + */ + public Optional elCondition() { + return Optional.ofNullable(this.elCondition); + } + /** + * @return Specifies a network selection mode and a set of network zones to be included or excluded. + * + */ + public Optional network() { + return Optional.ofNullable(this.network); + } + /** + * @return Specifies the users and groups that are included or excluded by the policy rule + * + */ + public Optional people() { + return Optional.ofNullable(this.people); + } + /** + * @return Specifies a particular platform or device to match on + * + */ + public Optional platform() { + return Optional.ofNullable(this.platform); + } + /** + * @return Specifies a particular level of risk to match on + * + */ + public Optional riskScore() { + return Optional.ofNullable(this.riskScore); + } + /** + * @return Specifies which user types to include and/or exclude + * + */ + public Optional userType() { + return Optional.ofNullable(this.userType); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditions defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSignOnPolicyRuleConditionsDevice device; + private @Nullable GetSignOnPolicyRuleConditionsElCondition elCondition; + private @Nullable GetSignOnPolicyRuleConditionsNetwork network; + private @Nullable GetSignOnPolicyRuleConditionsPeople people; + private @Nullable GetSignOnPolicyRuleConditionsPlatform platform; + private @Nullable GetSignOnPolicyRuleConditionsRiskScore riskScore; + private @Nullable GetSignOnPolicyRuleConditionsUserType userType; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditions defaults) { + Objects.requireNonNull(defaults); + this.device = defaults.device; + this.elCondition = defaults.elCondition; + this.network = defaults.network; + this.people = defaults.people; + this.platform = defaults.platform; + this.riskScore = defaults.riskScore; + this.userType = defaults.userType; + } + + @CustomType.Setter + public Builder device(@Nullable GetSignOnPolicyRuleConditionsDevice device) { + + this.device = device; + return this; + } + @CustomType.Setter + public Builder elCondition(@Nullable GetSignOnPolicyRuleConditionsElCondition elCondition) { + + this.elCondition = elCondition; + return this; + } + @CustomType.Setter + public Builder network(@Nullable GetSignOnPolicyRuleConditionsNetwork network) { + + this.network = network; + return this; + } + @CustomType.Setter + public Builder people(@Nullable GetSignOnPolicyRuleConditionsPeople people) { + + this.people = people; + return this; + } + @CustomType.Setter + public Builder platform(@Nullable GetSignOnPolicyRuleConditionsPlatform platform) { + + this.platform = platform; + return this; + } + @CustomType.Setter + public Builder riskScore(@Nullable GetSignOnPolicyRuleConditionsRiskScore riskScore) { + + this.riskScore = riskScore; + return this; + } + @CustomType.Setter + public Builder userType(@Nullable GetSignOnPolicyRuleConditionsUserType userType) { + + this.userType = userType; + return this; + } + public GetSignOnPolicyRuleConditions build() { + final var _resultValue = new GetSignOnPolicyRuleConditions(); + _resultValue.device = device; + _resultValue.elCondition = elCondition; + _resultValue.network = network; + _resultValue.people = people; + _resultValue.platform = platform; + _resultValue.riskScore = riskScore; + _resultValue.userType = userType; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsDevice.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsDevice.java new file mode 100644 index 000000000..e1a08a60b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsDevice.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsDeviceAssurance; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleConditionsDevice { + /** + * @return Specifies device assurance policies in the policy rule. + * + */ + private @Nullable GetSignOnPolicyRuleConditionsDeviceAssurance assurance; + /** + * @return Indicates if the device is managed. + * + */ + private Boolean managed; + /** + * @return Indicates if the device is registered. + * + */ + private Boolean registered; + + private GetSignOnPolicyRuleConditionsDevice() {} + /** + * @return Specifies device assurance policies in the policy rule. + * + */ + public Optional assurance() { + return Optional.ofNullable(this.assurance); + } + /** + * @return Indicates if the device is managed. + * + */ + public Boolean managed() { + return this.managed; + } + /** + * @return Indicates if the device is registered. + * + */ + public Boolean registered() { + return this.registered; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsDevice defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSignOnPolicyRuleConditionsDeviceAssurance assurance; + private Boolean managed; + private Boolean registered; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsDevice defaults) { + Objects.requireNonNull(defaults); + this.assurance = defaults.assurance; + this.managed = defaults.managed; + this.registered = defaults.registered; + } + + @CustomType.Setter + public Builder assurance(@Nullable GetSignOnPolicyRuleConditionsDeviceAssurance assurance) { + + this.assurance = assurance; + return this; + } + @CustomType.Setter + public Builder managed(Boolean managed) { + if (managed == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsDevice", "managed"); + } + this.managed = managed; + return this; + } + @CustomType.Setter + public Builder registered(Boolean registered) { + if (registered == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsDevice", "registered"); + } + this.registered = registered; + return this; + } + public GetSignOnPolicyRuleConditionsDevice build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsDevice(); + _resultValue.assurance = assurance; + _resultValue.managed = managed; + _resultValue.registered = registered; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsDeviceAssurance.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsDeviceAssurance.java new file mode 100644 index 000000000..401681381 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsDeviceAssurance.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleConditionsDeviceAssurance { + /** + * @return Specifies the device assurance policy ID + * + */ + private List includes; + + private GetSignOnPolicyRuleConditionsDeviceAssurance() {} + /** + * @return Specifies the device assurance policy ID + * + */ + public List includes() { + return this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsDeviceAssurance defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List includes; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsDeviceAssurance defaults) { + Objects.requireNonNull(defaults); + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder includes(List includes) { + if (includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsDeviceAssurance", "includes"); + } + this.includes = includes; + return this; + } + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + public GetSignOnPolicyRuleConditionsDeviceAssurance build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsDeviceAssurance(); + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsElCondition.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsElCondition.java new file mode 100644 index 000000000..7d3783996 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsElCondition.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleConditionsElCondition { + /** + * @return expression to match + * + */ + private String condition; + + private GetSignOnPolicyRuleConditionsElCondition() {} + /** + * @return expression to match + * + */ + public String condition() { + return this.condition; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsElCondition defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String condition; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsElCondition defaults) { + Objects.requireNonNull(defaults); + this.condition = defaults.condition; + } + + @CustomType.Setter + public Builder condition(String condition) { + if (condition == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsElCondition", "condition"); + } + this.condition = condition; + return this; + } + public GetSignOnPolicyRuleConditionsElCondition build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsElCondition(); + _resultValue.condition = condition; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsNetwork.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsNetwork.java new file mode 100644 index 000000000..b5c32364b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsNetwork.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleConditionsNetwork { + /** + * @return Network selection mode + * + */ + private String connection; + /** + * @return The zones to exclude. + * + */ + private List excludes; + /** + * @return The zones to include. + * + */ + private List includes; + + private GetSignOnPolicyRuleConditionsNetwork() {} + /** + * @return Network selection mode + * + */ + public String connection() { + return this.connection; + } + /** + * @return The zones to exclude. + * + */ + public List excludes() { + return this.excludes; + } + /** + * @return The zones to include. + * + */ + public List includes() { + return this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsNetwork defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String connection; + private List excludes; + private List includes; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsNetwork defaults) { + Objects.requireNonNull(defaults); + this.connection = defaults.connection; + this.excludes = defaults.excludes; + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder connection(String connection) { + if (connection == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsNetwork", "connection"); + } + this.connection = connection; + return this; + } + @CustomType.Setter + public Builder excludes(List excludes) { + if (excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsNetwork", "excludes"); + } + this.excludes = excludes; + return this; + } + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + @CustomType.Setter + public Builder includes(List includes) { + if (includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsNetwork", "includes"); + } + this.includes = includes; + return this; + } + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + public GetSignOnPolicyRuleConditionsNetwork build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsNetwork(); + _resultValue.connection = connection; + _resultValue.excludes = excludes; + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeople.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeople.java new file mode 100644 index 000000000..58204e814 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeople.java @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPeopleGroups; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPeopleUsers; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPeople { + /** + * @return Specifies a set of groups whose users are to be included or excluded + * + */ + private @Nullable GetSignOnPolicyRuleConditionsPeopleGroups groups; + /** + * @return Specifies a set of users to be included or excluded + * + */ + private @Nullable GetSignOnPolicyRuleConditionsPeopleUsers users; + + private GetSignOnPolicyRuleConditionsPeople() {} + /** + * @return Specifies a set of groups whose users are to be included or excluded + * + */ + public Optional groups() { + return Optional.ofNullable(this.groups); + } + /** + * @return Specifies a set of users to be included or excluded + * + */ + public Optional users() { + return Optional.ofNullable(this.users); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPeople defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSignOnPolicyRuleConditionsPeopleGroups groups; + private @Nullable GetSignOnPolicyRuleConditionsPeopleUsers users; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPeople defaults) { + Objects.requireNonNull(defaults); + this.groups = defaults.groups; + this.users = defaults.users; + } + + @CustomType.Setter + public Builder groups(@Nullable GetSignOnPolicyRuleConditionsPeopleGroups groups) { + + this.groups = groups; + return this; + } + @CustomType.Setter + public Builder users(@Nullable GetSignOnPolicyRuleConditionsPeopleUsers users) { + + this.users = users; + return this; + } + public GetSignOnPolicyRuleConditionsPeople build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPeople(); + _resultValue.groups = groups; + _resultValue.users = users; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeopleGroups.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeopleGroups.java new file mode 100644 index 000000000..0dda09a6e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeopleGroups.java @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPeopleGroups { + /** + * @return Groups to be excluded + * + */ + private List excludes; + /** + * @return Groups to be included + * + */ + private List includes; + + private GetSignOnPolicyRuleConditionsPeopleGroups() {} + /** + * @return Groups to be excluded + * + */ + public List excludes() { + return this.excludes; + } + /** + * @return Groups to be included + * + */ + public List includes() { + return this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPeopleGroups defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List excludes; + private List includes; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPeopleGroups defaults) { + Objects.requireNonNull(defaults); + this.excludes = defaults.excludes; + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder excludes(List excludes) { + if (excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleGroups", "excludes"); + } + this.excludes = excludes; + return this; + } + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + @CustomType.Setter + public Builder includes(List includes) { + if (includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleGroups", "includes"); + } + this.includes = includes; + return this; + } + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + public GetSignOnPolicyRuleConditionsPeopleGroups build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPeopleGroups(); + _resultValue.excludes = excludes; + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeopleUsers.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeopleUsers.java new file mode 100644 index 000000000..3f4feeb50 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPeopleUsers.java @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPeopleUsers { + /** + * @return Users to be excluded + * + */ + private List excludes; + /** + * @return Users to be included + * + */ + private List includes; + + private GetSignOnPolicyRuleConditionsPeopleUsers() {} + /** + * @return Users to be excluded + * + */ + public List excludes() { + return this.excludes; + } + /** + * @return Users to be included + * + */ + public List includes() { + return this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPeopleUsers defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List excludes; + private List includes; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPeopleUsers defaults) { + Objects.requireNonNull(defaults); + this.excludes = defaults.excludes; + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder excludes(List excludes) { + if (excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleUsers", "excludes"); + } + this.excludes = excludes; + return this; + } + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + @CustomType.Setter + public Builder includes(List includes) { + if (includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPeopleUsers", "includes"); + } + this.includes = includes; + return this; + } + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + public GetSignOnPolicyRuleConditionsPeopleUsers build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPeopleUsers(); + _resultValue.excludes = excludes; + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatform.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatform.java new file mode 100644 index 000000000..5c7cf1465 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatform.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPlatformExclude; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPlatformInclude; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPlatform { + /** + * @return Exclude + * + */ + private @Nullable List excludes; + /** + * @return Include + * + */ + private @Nullable List includes; + + private GetSignOnPolicyRuleConditionsPlatform() {} + /** + * @return Exclude + * + */ + public List excludes() { + return this.excludes == null ? List.of() : this.excludes; + } + /** + * @return Include + * + */ + public List includes() { + return this.includes == null ? List.of() : this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPlatform defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List excludes; + private @Nullable List includes; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPlatform defaults) { + Objects.requireNonNull(defaults); + this.excludes = defaults.excludes; + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder excludes(@Nullable List excludes) { + + this.excludes = excludes; + return this; + } + public Builder excludes(GetSignOnPolicyRuleConditionsPlatformExclude... excludes) { + return excludes(List.of(excludes)); + } + @CustomType.Setter + public Builder includes(@Nullable List includes) { + + this.includes = includes; + return this; + } + public Builder includes(GetSignOnPolicyRuleConditionsPlatformInclude... includes) { + return includes(List.of(includes)); + } + public GetSignOnPolicyRuleConditionsPlatform build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPlatform(); + _resultValue.excludes = excludes; + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExclude.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExclude.java new file mode 100644 index 000000000..d35f365bf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExclude.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPlatformExclude { + /** + * @return Os + * + */ + private @Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOs os; + /** + * @return The type of platform + * + */ + private String type; + + private GetSignOnPolicyRuleConditionsPlatformExclude() {} + /** + * @return Os + * + */ + public Optional os() { + return Optional.ofNullable(this.os); + } + /** + * @return The type of platform + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformExclude defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOs os; + private String type; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPlatformExclude defaults) { + Objects.requireNonNull(defaults); + this.os = defaults.os; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder os(@Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOs os) { + + this.os = os; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExclude", "type"); + } + this.type = type; + return this; + } + public GetSignOnPolicyRuleConditionsPlatformExclude build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPlatformExclude(); + _resultValue.os = os; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.java new file mode 100644 index 000000000..a10d1768f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOs.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPlatformExcludeOs { + /** + * @return Expression + * + */ + private String expression; + /** + * @return The type of operating system + * + */ + private String type; + /** + * @return Version + * + */ + private @Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion version; + + private GetSignOnPolicyRuleConditionsPlatformExcludeOs() {} + /** + * @return Expression + * + */ + public String expression() { + return this.expression; + } + /** + * @return The type of operating system + * + */ + public String type() { + return this.type; + } + /** + * @return Version + * + */ + public Optional version() { + return Optional.ofNullable(this.version); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformExcludeOs defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String expression; + private String type; + private @Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion version; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPlatformExcludeOs defaults) { + Objects.requireNonNull(defaults); + this.expression = defaults.expression; + this.type = defaults.type; + this.version = defaults.version; + } + + @CustomType.Setter + public Builder expression(String expression) { + if (expression == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOs", "expression"); + } + this.expression = expression; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOs", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder version(@Nullable GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion version) { + + this.version = version; + return this; + } + public GetSignOnPolicyRuleConditionsPlatformExcludeOs build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPlatformExcludeOs(); + _resultValue.expression = expression; + _resultValue.type = type; + _resultValue.version = version; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.java new file mode 100644 index 000000000..a4d89b367 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion { + /** + * @return MatchType + * + */ + private String matchType; + /** + * @return Value + * + */ + private String value; + + private GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion() {} + /** + * @return MatchType + * + */ + public String matchType() { + return this.matchType; + } + /** + * @return Value + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String matchType; + private String value; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion defaults) { + Objects.requireNonNull(defaults); + this.matchType = defaults.matchType; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder matchType(String matchType) { + if (matchType == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion", "matchType"); + } + this.matchType = matchType; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion", "value"); + } + this.value = value; + return this; + } + public GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion(); + _resultValue.matchType = matchType; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformInclude.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformInclude.java new file mode 100644 index 000000000..a62df266f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformInclude.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPlatformInclude { + /** + * @return Os + * + */ + private @Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOs os; + /** + * @return The type of platform + * + */ + private String type; + + private GetSignOnPolicyRuleConditionsPlatformInclude() {} + /** + * @return Os + * + */ + public Optional os() { + return Optional.ofNullable(this.os); + } + /** + * @return The type of platform + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformInclude defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOs os; + private String type; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPlatformInclude defaults) { + Objects.requireNonNull(defaults); + this.os = defaults.os; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder os(@Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOs os) { + + this.os = os; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformInclude", "type"); + } + this.type = type; + return this; + } + public GetSignOnPolicyRuleConditionsPlatformInclude build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPlatformInclude(); + _resultValue.os = os; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.java new file mode 100644 index 000000000..5c608cc30 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOs.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPlatformIncludeOs { + /** + * @return Expression + * + */ + private String expression; + /** + * @return The type of operating system + * + */ + private String type; + /** + * @return Version + * + */ + private @Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion version; + + private GetSignOnPolicyRuleConditionsPlatformIncludeOs() {} + /** + * @return Expression + * + */ + public String expression() { + return this.expression; + } + /** + * @return The type of operating system + * + */ + public String type() { + return this.type; + } + /** + * @return Version + * + */ + public Optional version() { + return Optional.ofNullable(this.version); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformIncludeOs defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String expression; + private String type; + private @Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion version; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPlatformIncludeOs defaults) { + Objects.requireNonNull(defaults); + this.expression = defaults.expression; + this.type = defaults.type; + this.version = defaults.version; + } + + @CustomType.Setter + public Builder expression(String expression) { + if (expression == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOs", "expression"); + } + this.expression = expression; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOs", "type"); + } + this.type = type; + return this; + } + @CustomType.Setter + public Builder version(@Nullable GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion version) { + + this.version = version; + return this; + } + public GetSignOnPolicyRuleConditionsPlatformIncludeOs build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPlatformIncludeOs(); + _resultValue.expression = expression; + _resultValue.type = type; + _resultValue.version = version; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.java new file mode 100644 index 000000000..6ade996ed --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion { + /** + * @return MatchType + * + */ + private String matchType; + /** + * @return Value + * + */ + private String value; + + private GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion() {} + /** + * @return MatchType + * + */ + public String matchType() { + return this.matchType; + } + /** + * @return Value + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String matchType; + private String value; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion defaults) { + Objects.requireNonNull(defaults); + this.matchType = defaults.matchType; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder matchType(String matchType) { + if (matchType == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion", "matchType"); + } + this.matchType = matchType; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion", "value"); + } + this.value = value; + return this; + } + public GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion(); + _resultValue.matchType = matchType; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsRiskScore.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsRiskScore.java new file mode 100644 index 000000000..cf2ba802b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsRiskScore.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleConditionsRiskScore { + /** + * @return The level to match + * + */ + private String level; + /** + * @return The minimum risk level to match. + * + */ + private String minRiskLevel; + + private GetSignOnPolicyRuleConditionsRiskScore() {} + /** + * @return The level to match + * + */ + public String level() { + return this.level; + } + /** + * @return The minimum risk level to match. + * + */ + public String minRiskLevel() { + return this.minRiskLevel; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsRiskScore defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String level; + private String minRiskLevel; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsRiskScore defaults) { + Objects.requireNonNull(defaults); + this.level = defaults.level; + this.minRiskLevel = defaults.minRiskLevel; + } + + @CustomType.Setter + public Builder level(String level) { + if (level == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsRiskScore", "level"); + } + this.level = level; + return this; + } + @CustomType.Setter + public Builder minRiskLevel(String minRiskLevel) { + if (minRiskLevel == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsRiskScore", "minRiskLevel"); + } + this.minRiskLevel = minRiskLevel; + return this; + } + public GetSignOnPolicyRuleConditionsRiskScore build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsRiskScore(); + _resultValue.level = level; + _resultValue.minRiskLevel = minRiskLevel; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsUserType.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsUserType.java new file mode 100644 index 000000000..790cc93f5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleConditionsUserType.java @@ -0,0 +1,88 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetSignOnPolicyRuleConditionsUserType { + /** + * @return The user types to exclude + * + */ + private List excludes; + /** + * @return The user types to include + * + */ + private List includes; + + private GetSignOnPolicyRuleConditionsUserType() {} + /** + * @return The user types to exclude + * + */ + public List excludes() { + return this.excludes; + } + /** + * @return The user types to include + * + */ + public List includes() { + return this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleConditionsUserType defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List excludes; + private List includes; + public Builder() {} + public Builder(GetSignOnPolicyRuleConditionsUserType defaults) { + Objects.requireNonNull(defaults); + this.excludes = defaults.excludes; + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder excludes(List excludes) { + if (excludes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsUserType", "excludes"); + } + this.excludes = excludes; + return this; + } + public Builder excludes(String... excludes) { + return excludes(List.of(excludes)); + } + @CustomType.Setter + public Builder includes(List includes) { + if (includes == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleConditionsUserType", "includes"); + } + this.includes = includes; + return this; + } + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + public GetSignOnPolicyRuleConditionsUserType build() { + final var _resultValue = new GetSignOnPolicyRuleConditionsUserType(); + _resultValue.excludes = excludes; + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleResult.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleResult.java new file mode 100644 index 000000000..f1466f4de --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/GetSignOnPolicyRuleResult.java @@ -0,0 +1,251 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleActions; +import com.pulumi.okta.app.outputs.GetSignOnPolicyRuleConditions; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetSignOnPolicyRuleResult { + private @Nullable GetSignOnPolicyRuleActions actions; + private @Nullable GetSignOnPolicyRuleConditions conditions; + /** + * @return Timestamp when the rule was created + * + */ + private String created; + /** + * @return Unique identifier of the access policy rule. + * + */ + private String id; + /** + * @return Timestamp when the rule was last modified + * + */ + private String lastUpdated; + /** + * @return Name of the rule + * + */ + private String name; + /** + * @return `id` of the policy + * + */ + private String policyId; + /** + * @return Priority of the rule + * + */ + private Integer priority; + /** + * @return Whether or not the rule is active. + * + */ + private String status; + /** + * @return Specifies whether Okta created the policy rule (`system=true`). + * + */ + private Boolean system; + + private GetSignOnPolicyRuleResult() {} + public Optional actions() { + return Optional.ofNullable(this.actions); + } + public Optional conditions() { + return Optional.ofNullable(this.conditions); + } + /** + * @return Timestamp when the rule was created + * + */ + public String created() { + return this.created; + } + /** + * @return Unique identifier of the access policy rule. + * + */ + public String id() { + return this.id; + } + /** + * @return Timestamp when the rule was last modified + * + */ + public String lastUpdated() { + return this.lastUpdated; + } + /** + * @return Name of the rule + * + */ + public String name() { + return this.name; + } + /** + * @return `id` of the policy + * + */ + public String policyId() { + return this.policyId; + } + /** + * @return Priority of the rule + * + */ + public Integer priority() { + return this.priority; + } + /** + * @return Whether or not the rule is active. + * + */ + public String status() { + return this.status; + } + /** + * @return Specifies whether Okta created the policy rule (`system=true`). + * + */ + public Boolean system() { + return this.system; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetSignOnPolicyRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetSignOnPolicyRuleActions actions; + private @Nullable GetSignOnPolicyRuleConditions conditions; + private String created; + private String id; + private String lastUpdated; + private String name; + private String policyId; + private Integer priority; + private String status; + private Boolean system; + public Builder() {} + public Builder(GetSignOnPolicyRuleResult defaults) { + Objects.requireNonNull(defaults); + this.actions = defaults.actions; + this.conditions = defaults.conditions; + this.created = defaults.created; + this.id = defaults.id; + this.lastUpdated = defaults.lastUpdated; + this.name = defaults.name; + this.policyId = defaults.policyId; + this.priority = defaults.priority; + this.status = defaults.status; + this.system = defaults.system; + } + + @CustomType.Setter + public Builder actions(@Nullable GetSignOnPolicyRuleActions actions) { + + this.actions = actions; + return this; + } + @CustomType.Setter + public Builder conditions(@Nullable GetSignOnPolicyRuleConditions conditions) { + + this.conditions = conditions; + return this; + } + @CustomType.Setter + public Builder created(String created) { + if (created == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleResult", "created"); + } + this.created = created; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder lastUpdated(String lastUpdated) { + if (lastUpdated == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleResult", "lastUpdated"); + } + this.lastUpdated = lastUpdated; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder policyId(String policyId) { + if (policyId == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleResult", "policyId"); + } + this.policyId = policyId; + return this; + } + @CustomType.Setter + public Builder priority(Integer priority) { + if (priority == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleResult", "priority"); + } + this.priority = priority; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleResult", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder system(Boolean system) { + if (system == null) { + throw new MissingRequiredPropertyException("GetSignOnPolicyRuleResult", "system"); + } + this.system = system; + return this; + } + public GetSignOnPolicyRuleResult build() { + final var _resultValue = new GetSignOnPolicyRuleResult(); + _resultValue.actions = actions; + _resultValue.conditions = conditions; + _resultValue.created = created; + _resultValue.id = id; + _resultValue.lastUpdated = lastUpdated; + _resultValue.name = name; + _resultValue.policyId = policyId; + _resultValue.priority = priority; + _resultValue.status = status; + _resultValue.system = system; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/SignonPolicyRulesRule.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/SignonPolicyRulesRule.java index b615ba229..1e209c108 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/SignonPolicyRulesRule.java +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/SignonPolicyRulesRule.java @@ -5,6 +5,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.app.outputs.SignonPolicyRulesRuleKeepMeSignedIn; import com.pulumi.okta.app.outputs.SignonPolicyRulesRulePlatformInclude; import java.lang.Boolean; import java.lang.Integer; @@ -76,6 +77,11 @@ public final class SignonPolicyRulesRule { * */ private @Nullable String inactivityPeriod; + /** + * @return Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + * + */ + private @Nullable SignonPolicyRulesRuleKeepMeSignedIn keepMeSignedIn; /** * @return Policy Rule Name. Must be unique within the policy. * @@ -112,7 +118,7 @@ public final class SignonPolicyRulesRule { */ private @Nullable String reAuthenticationFrequency; /** - * @return Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + * @return Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. * */ private @Nullable String riskScore; @@ -237,6 +243,13 @@ public Optional id() { public Optional inactivityPeriod() { return Optional.ofNullable(this.inactivityPeriod); } + /** + * @return Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + * + */ + public Optional keepMeSignedIn() { + return Optional.ofNullable(this.keepMeSignedIn); + } /** * @return Policy Rule Name. Must be unique within the policy. * @@ -287,7 +300,7 @@ public Optional reAuthenticationFrequency() { return Optional.ofNullable(this.reAuthenticationFrequency); } /** - * @return Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + * @return Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. * */ public Optional riskScore() { @@ -364,6 +377,7 @@ public static final class Builder { private @Nullable List groupsIncludeds; private @Nullable String id; private @Nullable String inactivityPeriod; + private @Nullable SignonPolicyRulesRuleKeepMeSignedIn keepMeSignedIn; private String name; private @Nullable String networkConnection; private @Nullable List networkExcludes; @@ -394,6 +408,7 @@ public Builder(SignonPolicyRulesRule defaults) { this.groupsIncludeds = defaults.groupsIncludeds; this.id = defaults.id; this.inactivityPeriod = defaults.inactivityPeriod; + this.keepMeSignedIn = defaults.keepMeSignedIn; this.name = defaults.name; this.networkConnection = defaults.networkConnection; this.networkExcludes = defaults.networkExcludes; @@ -499,6 +514,12 @@ public Builder inactivityPeriod(@Nullable String inactivityPeriod) { return this; } @CustomType.Setter + public Builder keepMeSignedIn(@Nullable SignonPolicyRulesRuleKeepMeSignedIn keepMeSignedIn) { + + this.keepMeSignedIn = keepMeSignedIn; + return this; + } + @CustomType.Setter public Builder name(String name) { if (name == null) { throw new MissingRequiredPropertyException("SignonPolicyRulesRule", "name"); @@ -625,6 +646,7 @@ public SignonPolicyRulesRule build() { _resultValue.groupsIncludeds = groupsIncludeds; _resultValue.id = id; _resultValue.inactivityPeriod = inactivityPeriod; + _resultValue.keepMeSignedIn = keepMeSignedIn; _resultValue.name = name; _resultValue.networkConnection = networkConnection; _resultValue.networkExcludes = networkExcludes; diff --git a/sdk/java/src/main/java/com/pulumi/okta/app/outputs/SignonPolicyRulesRuleKeepMeSignedIn.java b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/SignonPolicyRulesRuleKeepMeSignedIn.java new file mode 100644 index 000000000..71f6b09cb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/app/outputs/SignonPolicyRulesRuleKeepMeSignedIn.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.app.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class SignonPolicyRulesRuleKeepMeSignedIn { + /** + * @return Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + */ + private @Nullable String postAuth; + /** + * @return How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + */ + private @Nullable String postAuthPromptFrequency; + + private SignonPolicyRulesRuleKeepMeSignedIn() {} + /** + * @return Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + */ + public Optional postAuth() { + return Optional.ofNullable(this.postAuth); + } + /** + * @return How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + */ + public Optional postAuthPromptFrequency() { + return Optional.ofNullable(this.postAuthPromptFrequency); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(SignonPolicyRulesRuleKeepMeSignedIn defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String postAuth; + private @Nullable String postAuthPromptFrequency; + public Builder() {} + public Builder(SignonPolicyRulesRuleKeepMeSignedIn defaults) { + Objects.requireNonNull(defaults); + this.postAuth = defaults.postAuth; + this.postAuthPromptFrequency = defaults.postAuthPromptFrequency; + } + + @CustomType.Setter + public Builder postAuth(@Nullable String postAuth) { + + this.postAuth = postAuth; + return this; + } + @CustomType.Setter + public Builder postAuthPromptFrequency(@Nullable String postAuthPromptFrequency) { + + this.postAuthPromptFrequency = postAuthPromptFrequency; + return this; + } + public SignonPolicyRulesRuleKeepMeSignedIn build() { + final var _resultValue = new SignonPolicyRulesRuleKeepMeSignedIn(); + _resultValue.postAuth = postAuth; + _resultValue.postAuthPromptFrequency = postAuthPromptFrequency; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/AppSignonPolicyRuleKeepMeSignedInArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/AppSignonPolicyRuleKeepMeSignedInArgs.java new file mode 100644 index 000000000..c4295db77 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/AppSignonPolicyRuleKeepMeSignedInArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AppSignonPolicyRuleKeepMeSignedInArgs extends com.pulumi.resources.ResourceArgs { + + public static final AppSignonPolicyRuleKeepMeSignedInArgs Empty = new AppSignonPolicyRuleKeepMeSignedInArgs(); + + /** + * Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + */ + @Import(name="postAuth") + private @Nullable Output postAuth; + + /** + * @return Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + */ + public Optional> postAuth() { + return Optional.ofNullable(this.postAuth); + } + + /** + * How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + */ + @Import(name="postAuthPromptFrequency") + private @Nullable Output postAuthPromptFrequency; + + /** + * @return How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + */ + public Optional> postAuthPromptFrequency() { + return Optional.ofNullable(this.postAuthPromptFrequency); + } + + private AppSignonPolicyRuleKeepMeSignedInArgs() {} + + private AppSignonPolicyRuleKeepMeSignedInArgs(AppSignonPolicyRuleKeepMeSignedInArgs $) { + this.postAuth = $.postAuth; + this.postAuthPromptFrequency = $.postAuthPromptFrequency; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AppSignonPolicyRuleKeepMeSignedInArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AppSignonPolicyRuleKeepMeSignedInArgs $; + + public Builder() { + $ = new AppSignonPolicyRuleKeepMeSignedInArgs(); + } + + public Builder(AppSignonPolicyRuleKeepMeSignedInArgs defaults) { + $ = new AppSignonPolicyRuleKeepMeSignedInArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param postAuth Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + * @return builder + * + */ + public Builder postAuth(@Nullable Output postAuth) { + $.postAuth = postAuth; + return this; + } + + /** + * @param postAuth Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + * @return builder + * + */ + public Builder postAuth(String postAuth) { + return postAuth(Output.of(postAuth)); + } + + /** + * @param postAuthPromptFrequency How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + * @return builder + * + */ + public Builder postAuthPromptFrequency(@Nullable Output postAuthPromptFrequency) { + $.postAuthPromptFrequency = postAuthPromptFrequency; + return this; + } + + /** + * @param postAuthPromptFrequency How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + * @return builder + * + */ + public Builder postAuthPromptFrequency(String postAuthPromptFrequency) { + return postAuthPromptFrequency(Output.of(postAuthPromptFrequency)); + } + + public AppSignonPolicyRuleKeepMeSignedInArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/AppSignonPolicyRuleState.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/AppSignonPolicyRuleState.java index 9a3bc20d1..ae9301cf9 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/inputs/AppSignonPolicyRuleState.java +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/AppSignonPolicyRuleState.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.AppSignonPolicyRuleKeepMeSignedInArgs; import com.pulumi.okta.inputs.AppSignonPolicyRulePlatformIncludeArgs; import java.lang.Boolean; import java.lang.Integer; @@ -184,6 +185,21 @@ public Optional> inactivityPeriod() { return Optional.ofNullable(this.inactivityPeriod); } + /** + * Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + */ + @Import(name="keepMeSignedIn") + private @Nullable Output keepMeSignedIn; + + /** + * @return Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + */ + public Optional> keepMeSignedIn() { + return Optional.ofNullable(this.keepMeSignedIn); + } + /** * Policy Rule Name * @@ -430,6 +446,7 @@ private AppSignonPolicyRuleState(AppSignonPolicyRuleState $) { this.groupsExcludeds = $.groupsExcludeds; this.groupsIncludeds = $.groupsIncludeds; this.inactivityPeriod = $.inactivityPeriod; + this.keepMeSignedIn = $.keepMeSignedIn; this.name = $.name; this.networkConnection = $.networkConnection; this.networkExcludes = $.networkExcludes; @@ -747,6 +764,27 @@ public Builder inactivityPeriod(String inactivityPeriod) { return inactivityPeriod(Output.of(inactivityPeriod)); } + /** + * @param keepMeSignedIn Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + * @return builder + * + */ + public Builder keepMeSignedIn(@Nullable Output keepMeSignedIn) { + $.keepMeSignedIn = keepMeSignedIn; + return this; + } + + /** + * @param keepMeSignedIn Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + * + * @return builder + * + */ + public Builder keepMeSignedIn(AppSignonPolicyRuleKeepMeSignedInArgs keepMeSignedIn) { + return keepMeSignedIn(Output.of(keepMeSignedIn)); + } + /** * @param name Policy Rule Name * diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnAaguidGroupArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnAaguidGroupArgs.java new file mode 100644 index 000000000..fd3442dda --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnAaguidGroupArgs.java @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class AuthenticatorMethodWebauthnAaguidGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticatorMethodWebauthnAaguidGroupArgs Empty = new AuthenticatorMethodWebauthnAaguidGroupArgs(); + + /** + * A list of FIDO2 AAGUIDs in this group. + * + */ + @Import(name="aaguids", required=true) + private Output> aaguids; + + /** + * @return A list of FIDO2 AAGUIDs in this group. + * + */ + public Output> aaguids() { + return this.aaguids; + } + + /** + * A name to identify the group of FIDO2 AAGUIDs. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return A name to identify the group of FIDO2 AAGUIDs. + * + */ + public Output name() { + return this.name; + } + + private AuthenticatorMethodWebauthnAaguidGroupArgs() {} + + private AuthenticatorMethodWebauthnAaguidGroupArgs(AuthenticatorMethodWebauthnAaguidGroupArgs $) { + this.aaguids = $.aaguids; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticatorMethodWebauthnAaguidGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticatorMethodWebauthnAaguidGroupArgs $; + + public Builder() { + $ = new AuthenticatorMethodWebauthnAaguidGroupArgs(); + } + + public Builder(AuthenticatorMethodWebauthnAaguidGroupArgs defaults) { + $ = new AuthenticatorMethodWebauthnAaguidGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguids A list of FIDO2 AAGUIDs in this group. + * + * @return builder + * + */ + public Builder aaguids(Output> aaguids) { + $.aaguids = aaguids; + return this; + } + + /** + * @param aaguids A list of FIDO2 AAGUIDs in this group. + * + * @return builder + * + */ + public Builder aaguids(List aaguids) { + return aaguids(Output.of(aaguids)); + } + + /** + * @param aaguids A list of FIDO2 AAGUIDs in this group. + * + * @return builder + * + */ + public Builder aaguids(String... aaguids) { + return aaguids(List.of(aaguids)); + } + + /** + * @param name A name to identify the group of FIDO2 AAGUIDs. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name A name to identify the group of FIDO2 AAGUIDs. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public AuthenticatorMethodWebauthnAaguidGroupArgs build() { + if ($.aaguids == null) { + throw new MissingRequiredPropertyException("AuthenticatorMethodWebauthnAaguidGroupArgs", "aaguids"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("AuthenticatorMethodWebauthnAaguidGroupArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnRpIdArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnRpIdArgs.java new file mode 100644 index 000000000..2e39ac09c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnRpIdArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.AuthenticatorMethodWebauthnRpIdDomainArgs; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticatorMethodWebauthnRpIdArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticatorMethodWebauthnRpIdArgs Empty = new AuthenticatorMethodWebauthnRpIdArgs(); + + /** + * The RP domain configuration. Contains: + * + */ + @Import(name="domain") + private @Nullable Output domain; + + /** + * @return The RP domain configuration. Contains: + * + */ + public Optional> domain() { + return Optional.ofNullable(this.domain); + } + + /** + * Whether the RP ID is active and used for WebAuthn operations. + * + */ + @Import(name="enabled") + private @Nullable Output enabled; + + /** + * @return Whether the RP ID is active and used for WebAuthn operations. + * + */ + public Optional> enabled() { + return Optional.ofNullable(this.enabled); + } + + private AuthenticatorMethodWebauthnRpIdArgs() {} + + private AuthenticatorMethodWebauthnRpIdArgs(AuthenticatorMethodWebauthnRpIdArgs $) { + this.domain = $.domain; + this.enabled = $.enabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticatorMethodWebauthnRpIdArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticatorMethodWebauthnRpIdArgs $; + + public Builder() { + $ = new AuthenticatorMethodWebauthnRpIdArgs(); + } + + public Builder(AuthenticatorMethodWebauthnRpIdArgs defaults) { + $ = new AuthenticatorMethodWebauthnRpIdArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param domain The RP domain configuration. Contains: + * + * @return builder + * + */ + public Builder domain(@Nullable Output domain) { + $.domain = domain; + return this; + } + + /** + * @param domain The RP domain configuration. Contains: + * + * @return builder + * + */ + public Builder domain(AuthenticatorMethodWebauthnRpIdDomainArgs domain) { + return domain(Output.of(domain)); + } + + /** + * @param enabled Whether the RP ID is active and used for WebAuthn operations. + * + * @return builder + * + */ + public Builder enabled(@Nullable Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Whether the RP ID is active and used for WebAuthn operations. + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + public AuthenticatorMethodWebauthnRpIdArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnRpIdDomainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnRpIdDomainArgs.java new file mode 100644 index 000000000..3b0c37ca9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnRpIdDomainArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticatorMethodWebauthnRpIdDomainArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticatorMethodWebauthnRpIdDomainArgs Empty = new AuthenticatorMethodWebauthnRpIdDomainArgs(); + + /** + * The RP ID domain value used for WebAuthn operations. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The RP ID domain value used for WebAuthn operations. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * The validation status of the domain. + * + */ + @Import(name="validationStatus") + private @Nullable Output validationStatus; + + /** + * @return The validation status of the domain. + * + */ + public Optional> validationStatus() { + return Optional.ofNullable(this.validationStatus); + } + + private AuthenticatorMethodWebauthnRpIdDomainArgs() {} + + private AuthenticatorMethodWebauthnRpIdDomainArgs(AuthenticatorMethodWebauthnRpIdDomainArgs $) { + this.name = $.name; + this.validationStatus = $.validationStatus; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticatorMethodWebauthnRpIdDomainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticatorMethodWebauthnRpIdDomainArgs $; + + public Builder() { + $ = new AuthenticatorMethodWebauthnRpIdDomainArgs(); + } + + public Builder(AuthenticatorMethodWebauthnRpIdDomainArgs defaults) { + $ = new AuthenticatorMethodWebauthnRpIdDomainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name The RP ID domain value used for WebAuthn operations. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The RP ID domain value used for WebAuthn operations. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param validationStatus The validation status of the domain. + * + * @return builder + * + */ + public Builder validationStatus(@Nullable Output validationStatus) { + $.validationStatus = validationStatus; + return this; + } + + /** + * @param validationStatus The validation status of the domain. + * + * @return builder + * + */ + public Builder validationStatus(String validationStatus) { + return validationStatus(Output.of(validationStatus)); + } + + public AuthenticatorMethodWebauthnRpIdDomainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnState.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnState.java new file mode 100644 index 000000000..067be7cc1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorMethodWebauthnState.java @@ -0,0 +1,578 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.AuthenticatorMethodWebauthnAaguidGroupArgs; +import com.pulumi.okta.inputs.AuthenticatorMethodWebauthnRpIdArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticatorMethodWebauthnState extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticatorMethodWebauthnState Empty = new AuthenticatorMethodWebauthnState(); + + /** + * List of AAGUID group configurations. + * + */ + @Import(name="aaguidGroups") + private @Nullable Output> aaguidGroups; + + /** + * @return List of AAGUID group configurations. + * + */ + public Optional>> aaguidGroups() { + return Optional.ofNullable(this.aaguidGroups); + } + + /** + * Whether syncable passkeys are allowed. + * + */ + @Import(name="allowSyncablePasskeys") + private @Nullable Output allowSyncablePasskeys; + + /** + * @return Whether syncable passkeys are allowed. + * + */ + public Optional> allowSyncablePasskeys() { + return Optional.ofNullable(this.allowSyncablePasskeys); + } + + /** + * Method attachment setting. + * + */ + @Import(name="attachment") + private @Nullable Output attachment; + + /** + * @return Method attachment setting. + * + */ + public Optional> attachment() { + return Optional.ofNullable(this.attachment); + } + + /** + * The ID of the WebAuthn authenticator. + * + */ + @Import(name="authenticatorId") + private @Nullable Output authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public Optional> authenticatorId() { + return Optional.ofNullable(this.authenticatorId); + } + + /** + * Whether certificate-based attestation validation is enabled. + * + */ + @Import(name="certBasedAttestationValidation") + private @Nullable Output certBasedAttestationValidation; + + /** + * @return Whether certificate-based attestation validation is enabled. + * + */ + public Optional> certBasedAttestationValidation() { + return Optional.ofNullable(this.certBasedAttestationValidation); + } + + /** + * Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + */ + @Import(name="enableAutofillUi") + private @Nullable Output enableAutofillUi; + + /** + * @return Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + */ + public Optional> enableAutofillUi() { + return Optional.ofNullable(this.enableAutofillUi); + } + + /** + * Whether the authenticator must be FIPS compliant. + * + */ + @Import(name="fipsCompliant") + private @Nullable Output fipsCompliant; + + /** + * @return Whether the authenticator must be FIPS compliant. + * + */ + public Optional> fipsCompliant() { + return Optional.ofNullable(this.fipsCompliant); + } + + /** + * Whether the authenticator must store the private key on hardware. + * + */ + @Import(name="hardwareProtected") + private @Nullable Output hardwareProtected; + + /** + * @return Whether the authenticator must store the private key on hardware. + * + */ + public Optional> hardwareProtected() { + return Optional.ofNullable(this.hardwareProtected); + } + + /** + * Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + */ + @Import(name="residentKeyRequirement") + private @Nullable Output residentKeyRequirement; + + /** + * @return Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + */ + public Optional> residentKeyRequirement() { + return Optional.ofNullable(this.residentKeyRequirement); + } + + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + @Import(name="rpId") + private @Nullable Output rpId; + + /** + * @return The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + public Optional> rpId() { + return Optional.ofNullable(this.rpId); + } + + /** + * Whether to show the "Sign in with a Passkey" button. + * + */ + @Import(name="showSignInWithAPasskeyButton") + private @Nullable Output showSignInWithAPasskeyButton; + + /** + * @return Whether to show the "Sign in with a Passkey" button. + * + */ + public Optional> showSignInWithAPasskeyButton() { + return Optional.ofNullable(this.showSignInWithAPasskeyButton); + } + + /** + * The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + * + */ + @Import(name="status") + private @Nullable Output status; + + /** + * @return The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + * + */ + public Optional> status() { + return Optional.ofNullable(this.status); + } + + /** + * User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + */ + @Import(name="userVerification") + private @Nullable Output userVerification; + + /** + * @return User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + */ + public Optional> userVerification() { + return Optional.ofNullable(this.userVerification); + } + + /** + * User verification setting for authentication (verification). + * + */ + @Import(name="userVerificationForVerify") + private @Nullable Output userVerificationForVerify; + + /** + * @return User verification setting for authentication (verification). + * + */ + public Optional> userVerificationForVerify() { + return Optional.ofNullable(this.userVerificationForVerify); + } + + private AuthenticatorMethodWebauthnState() {} + + private AuthenticatorMethodWebauthnState(AuthenticatorMethodWebauthnState $) { + this.aaguidGroups = $.aaguidGroups; + this.allowSyncablePasskeys = $.allowSyncablePasskeys; + this.attachment = $.attachment; + this.authenticatorId = $.authenticatorId; + this.certBasedAttestationValidation = $.certBasedAttestationValidation; + this.enableAutofillUi = $.enableAutofillUi; + this.fipsCompliant = $.fipsCompliant; + this.hardwareProtected = $.hardwareProtected; + this.residentKeyRequirement = $.residentKeyRequirement; + this.rpId = $.rpId; + this.showSignInWithAPasskeyButton = $.showSignInWithAPasskeyButton; + this.status = $.status; + this.userVerification = $.userVerification; + this.userVerificationForVerify = $.userVerificationForVerify; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticatorMethodWebauthnState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticatorMethodWebauthnState $; + + public Builder() { + $ = new AuthenticatorMethodWebauthnState(); + } + + public Builder(AuthenticatorMethodWebauthnState defaults) { + $ = new AuthenticatorMethodWebauthnState(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguidGroups List of AAGUID group configurations. + * + * @return builder + * + */ + public Builder aaguidGroups(@Nullable Output> aaguidGroups) { + $.aaguidGroups = aaguidGroups; + return this; + } + + /** + * @param aaguidGroups List of AAGUID group configurations. + * + * @return builder + * + */ + public Builder aaguidGroups(List aaguidGroups) { + return aaguidGroups(Output.of(aaguidGroups)); + } + + /** + * @param aaguidGroups List of AAGUID group configurations. + * + * @return builder + * + */ + public Builder aaguidGroups(AuthenticatorMethodWebauthnAaguidGroupArgs... aaguidGroups) { + return aaguidGroups(List.of(aaguidGroups)); + } + + /** + * @param allowSyncablePasskeys Whether syncable passkeys are allowed. + * + * @return builder + * + */ + public Builder allowSyncablePasskeys(@Nullable Output allowSyncablePasskeys) { + $.allowSyncablePasskeys = allowSyncablePasskeys; + return this; + } + + /** + * @param allowSyncablePasskeys Whether syncable passkeys are allowed. + * + * @return builder + * + */ + public Builder allowSyncablePasskeys(Boolean allowSyncablePasskeys) { + return allowSyncablePasskeys(Output.of(allowSyncablePasskeys)); + } + + /** + * @param attachment Method attachment setting. + * + * @return builder + * + */ + public Builder attachment(@Nullable Output attachment) { + $.attachment = attachment; + return this; + } + + /** + * @param attachment Method attachment setting. + * + * @return builder + * + */ + public Builder attachment(String attachment) { + return attachment(Output.of(attachment)); + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(@Nullable Output authenticatorId) { + $.authenticatorId = authenticatorId; + return this; + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(String authenticatorId) { + return authenticatorId(Output.of(authenticatorId)); + } + + /** + * @param certBasedAttestationValidation Whether certificate-based attestation validation is enabled. + * + * @return builder + * + */ + public Builder certBasedAttestationValidation(@Nullable Output certBasedAttestationValidation) { + $.certBasedAttestationValidation = certBasedAttestationValidation; + return this; + } + + /** + * @param certBasedAttestationValidation Whether certificate-based attestation validation is enabled. + * + * @return builder + * + */ + public Builder certBasedAttestationValidation(Boolean certBasedAttestationValidation) { + return certBasedAttestationValidation(Output.of(certBasedAttestationValidation)); + } + + /** + * @param enableAutofillUi Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + * @return builder + * + */ + public Builder enableAutofillUi(@Nullable Output enableAutofillUi) { + $.enableAutofillUi = enableAutofillUi; + return this; + } + + /** + * @param enableAutofillUi Enables the passkeys autofill UI for WebAuthn discoverable credentials. + * + * @return builder + * + */ + public Builder enableAutofillUi(Boolean enableAutofillUi) { + return enableAutofillUi(Output.of(enableAutofillUi)); + } + + /** + * @param fipsCompliant Whether the authenticator must be FIPS compliant. + * + * @return builder + * + */ + public Builder fipsCompliant(@Nullable Output fipsCompliant) { + $.fipsCompliant = fipsCompliant; + return this; + } + + /** + * @param fipsCompliant Whether the authenticator must be FIPS compliant. + * + * @return builder + * + */ + public Builder fipsCompliant(Boolean fipsCompliant) { + return fipsCompliant(Output.of(fipsCompliant)); + } + + /** + * @param hardwareProtected Whether the authenticator must store the private key on hardware. + * + * @return builder + * + */ + public Builder hardwareProtected(@Nullable Output hardwareProtected) { + $.hardwareProtected = hardwareProtected; + return this; + } + + /** + * @param hardwareProtected Whether the authenticator must store the private key on hardware. + * + * @return builder + * + */ + public Builder hardwareProtected(Boolean hardwareProtected) { + return hardwareProtected(Output.of(hardwareProtected)); + } + + /** + * @param residentKeyRequirement Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + * @return builder + * + */ + public Builder residentKeyRequirement(@Nullable Output residentKeyRequirement) { + $.residentKeyRequirement = residentKeyRequirement; + return this; + } + + /** + * @param residentKeyRequirement Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + * + * @return builder + * + */ + public Builder residentKeyRequirement(String residentKeyRequirement) { + return residentKeyRequirement(Output.of(residentKeyRequirement)); + } + + /** + * @param rpId The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + * @return builder + * + */ + public Builder rpId(@Nullable Output rpId) { + $.rpId = rpId; + return this; + } + + /** + * @param rpId The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + * @return builder + * + */ + public Builder rpId(AuthenticatorMethodWebauthnRpIdArgs rpId) { + return rpId(Output.of(rpId)); + } + + /** + * @param showSignInWithAPasskeyButton Whether to show the "Sign in with a Passkey" button. + * + * @return builder + * + */ + public Builder showSignInWithAPasskeyButton(@Nullable Output showSignInWithAPasskeyButton) { + $.showSignInWithAPasskeyButton = showSignInWithAPasskeyButton; + return this; + } + + /** + * @param showSignInWithAPasskeyButton Whether to show the "Sign in with a Passkey" button. + * + * @return builder + * + */ + public Builder showSignInWithAPasskeyButton(Boolean showSignInWithAPasskeyButton) { + return showSignInWithAPasskeyButton(Output.of(showSignInWithAPasskeyButton)); + } + + /** + * @param status The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + * + * @return builder + * + */ + public Builder status(@Nullable Output status) { + $.status = status; + return this; + } + + /** + * @param status The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + * + * @return builder + * + */ + public Builder status(String status) { + return status(Output.of(status)); + } + + /** + * @param userVerification User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + * @return builder + * + */ + public Builder userVerification(@Nullable Output userVerification) { + $.userVerification = userVerification; + return this; + } + + /** + * @param userVerification User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + * + * @return builder + * + */ + public Builder userVerification(String userVerification) { + return userVerification(Output.of(userVerification)); + } + + /** + * @param userVerificationForVerify User verification setting for authentication (verification). + * + * @return builder + * + */ + public Builder userVerificationForVerify(@Nullable Output userVerificationForVerify) { + $.userVerificationForVerify = userVerificationForVerify; + return this; + } + + /** + * @param userVerificationForVerify User verification setting for authentication (verification). + * + * @return builder + * + */ + public Builder userVerificationForVerify(String userVerificationForVerify) { + return userVerificationForVerify(Output.of(userVerificationForVerify)); + } + + public AuthenticatorMethodWebauthnState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.java new file mode 100644 index 000000000..2ec80df28 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs.java @@ -0,0 +1,198 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs Empty = new AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs(); + + /** + * Expiry date of the certificate. + * + */ + @Import(name="expiry") + private @Nullable Output expiry; + + /** + * @return Expiry date of the certificate. + * + */ + public Optional> expiry() { + return Optional.ofNullable(this.expiry); + } + + /** + * Issuer of the certificate. + * + */ + @Import(name="issuer") + private @Nullable Output issuer; + + /** + * @return Issuer of the certificate. + * + */ + public Optional> issuer() { + return Optional.ofNullable(this.issuer); + } + + /** + * X.509 certificate chain (base64-encoded). + * + */ + @Import(name="x5c", required=true) + private Output x5c; + + /** + * @return X.509 certificate chain (base64-encoded). + * + */ + public Output x5c() { + return this.x5c; + } + + /** + * SHA-256 hash (thumbprint) of the X.509 certificate. + * + */ + @Import(name="x5tS256") + private @Nullable Output x5tS256; + + /** + * @return SHA-256 hash (thumbprint) of the X.509 certificate. + * + */ + public Optional> x5tS256() { + return Optional.ofNullable(this.x5tS256); + } + + private AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs() {} + + private AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs $) { + this.expiry = $.expiry; + this.issuer = $.issuer; + this.x5c = $.x5c; + this.x5tS256 = $.x5tS256; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs $; + + public Builder() { + $ = new AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs(); + } + + public Builder(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs defaults) { + $ = new AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param expiry Expiry date of the certificate. + * + * @return builder + * + */ + public Builder expiry(@Nullable Output expiry) { + $.expiry = expiry; + return this; + } + + /** + * @param expiry Expiry date of the certificate. + * + * @return builder + * + */ + public Builder expiry(String expiry) { + return expiry(Output.of(expiry)); + } + + /** + * @param issuer Issuer of the certificate. + * + * @return builder + * + */ + public Builder issuer(@Nullable Output issuer) { + $.issuer = issuer; + return this; + } + + /** + * @param issuer Issuer of the certificate. + * + * @return builder + * + */ + public Builder issuer(String issuer) { + return issuer(Output.of(issuer)); + } + + /** + * @param x5c X.509 certificate chain (base64-encoded). + * + * @return builder + * + */ + public Builder x5c(Output x5c) { + $.x5c = x5c; + return this; + } + + /** + * @param x5c X.509 certificate chain (base64-encoded). + * + * @return builder + * + */ + public Builder x5c(String x5c) { + return x5c(Output.of(x5c)); + } + + /** + * @param x5tS256 SHA-256 hash (thumbprint) of the X.509 certificate. + * + * @return builder + * + */ + public Builder x5tS256(@Nullable Output x5tS256) { + $.x5tS256 = x5tS256; + return this; + } + + /** + * @param x5tS256 SHA-256 hash (thumbprint) of the X.509 certificate. + * + * @return builder + * + */ + public Builder x5tS256(String x5tS256) { + return x5tS256(Output.of(x5tS256)); + } + + public AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs build() { + if ($.x5c == null) { + throw new MissingRequiredPropertyException("AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs", "x5c"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.java new file mode 100644 index 000000000..750e30990 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs.java @@ -0,0 +1,157 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs Empty = new AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs(); + + /** + * Indicates whether the authenticator meets FIPS compliance requirements. + * + */ + @Import(name="fipsCompliant") + private @Nullable Output fipsCompliant; + + /** + * @return Indicates whether the authenticator meets FIPS compliance requirements. + * + */ + public Optional> fipsCompliant() { + return Optional.ofNullable(this.fipsCompliant); + } + + /** + * Indicates whether the authenticator stores the private key on a hardware component. + * + */ + @Import(name="hardwareProtected") + private @Nullable Output hardwareProtected; + + /** + * @return Indicates whether the authenticator stores the private key on a hardware component. + * + */ + public Optional> hardwareProtected() { + return Optional.ofNullable(this.hardwareProtected); + } + + /** + * Indicates whether the custom AAGUID is built into the authenticator or is external. + * + */ + @Import(name="platformAttached") + private @Nullable Output platformAttached; + + /** + * @return Indicates whether the custom AAGUID is built into the authenticator or is external. + * + */ + public Optional> platformAttached() { + return Optional.ofNullable(this.platformAttached); + } + + private AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs() {} + + private AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs $) { + this.fipsCompliant = $.fipsCompliant; + this.hardwareProtected = $.hardwareProtected; + this.platformAttached = $.platformAttached; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs $; + + public Builder() { + $ = new AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs(); + } + + public Builder(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs defaults) { + $ = new AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param fipsCompliant Indicates whether the authenticator meets FIPS compliance requirements. + * + * @return builder + * + */ + public Builder fipsCompliant(@Nullable Output fipsCompliant) { + $.fipsCompliant = fipsCompliant; + return this; + } + + /** + * @param fipsCompliant Indicates whether the authenticator meets FIPS compliance requirements. + * + * @return builder + * + */ + public Builder fipsCompliant(Boolean fipsCompliant) { + return fipsCompliant(Output.of(fipsCompliant)); + } + + /** + * @param hardwareProtected Indicates whether the authenticator stores the private key on a hardware component. + * + * @return builder + * + */ + public Builder hardwareProtected(@Nullable Output hardwareProtected) { + $.hardwareProtected = hardwareProtected; + return this; + } + + /** + * @param hardwareProtected Indicates whether the authenticator stores the private key on a hardware component. + * + * @return builder + * + */ + public Builder hardwareProtected(Boolean hardwareProtected) { + return hardwareProtected(Output.of(hardwareProtected)); + } + + /** + * @param platformAttached Indicates whether the custom AAGUID is built into the authenticator or is external. + * + * @return builder + * + */ + public Builder platformAttached(@Nullable Output platformAttached) { + $.platformAttached = platformAttached; + return this; + } + + /** + * @param platformAttached Indicates whether the custom AAGUID is built into the authenticator or is external. + * + * @return builder + * + */ + public Builder platformAttached(Boolean platformAttached) { + return platformAttached(Output.of(platformAttached)); + } + + public AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidState.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidState.java new file mode 100644 index 000000000..6e2c57c7c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/AuthenticatorWebauthnCustomAaguidState.java @@ -0,0 +1,244 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs; +import com.pulumi.okta.inputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AuthenticatorWebauthnCustomAaguidState extends com.pulumi.resources.ResourceArgs { + + public static final AuthenticatorWebauthnCustomAaguidState Empty = new AuthenticatorWebauthnCustomAaguidState(); + + /** + * The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + */ + @Import(name="aaguid") + private @Nullable Output aaguid; + + /** + * @return The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + */ + public Optional> aaguid() { + return Optional.ofNullable(this.aaguid); + } + + /** + * List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + */ + @Import(name="attestationRootCertificates") + private @Nullable Output> attestationRootCertificates; + + /** + * @return List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + */ + public Optional>> attestationRootCertificates() { + return Optional.ofNullable(this.attestationRootCertificates); + } + + /** + * Properties of the custom AAGUID authenticator. + * + */ + @Import(name="authenticatorCharacteristics") + private @Nullable Output authenticatorCharacteristics; + + /** + * @return Properties of the custom AAGUID authenticator. + * + */ + public Optional> authenticatorCharacteristics() { + return Optional.ofNullable(this.authenticatorCharacteristics); + } + + /** + * The ID of the WebAuthn authenticator. + * + */ + @Import(name="authenticatorId") + private @Nullable Output authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public Optional> authenticatorId() { + return Optional.ofNullable(this.authenticatorId); + } + + /** + * The product name associated with this AAGUID. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The product name associated with this AAGUID. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + private AuthenticatorWebauthnCustomAaguidState() {} + + private AuthenticatorWebauthnCustomAaguidState(AuthenticatorWebauthnCustomAaguidState $) { + this.aaguid = $.aaguid; + this.attestationRootCertificates = $.attestationRootCertificates; + this.authenticatorCharacteristics = $.authenticatorCharacteristics; + this.authenticatorId = $.authenticatorId; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AuthenticatorWebauthnCustomAaguidState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AuthenticatorWebauthnCustomAaguidState $; + + public Builder() { + $ = new AuthenticatorWebauthnCustomAaguidState(); + } + + public Builder(AuthenticatorWebauthnCustomAaguidState defaults) { + $ = new AuthenticatorWebauthnCustomAaguidState(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguid The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + * @return builder + * + */ + public Builder aaguid(@Nullable Output aaguid) { + $.aaguid = aaguid; + return this; + } + + /** + * @param aaguid The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + * + * @return builder + * + */ + public Builder aaguid(String aaguid) { + return aaguid(Output.of(aaguid)); + } + + /** + * @param attestationRootCertificates List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + * @return builder + * + */ + public Builder attestationRootCertificates(@Nullable Output> attestationRootCertificates) { + $.attestationRootCertificates = attestationRootCertificates; + return this; + } + + /** + * @param attestationRootCertificates List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + * @return builder + * + */ + public Builder attestationRootCertificates(List attestationRootCertificates) { + return attestationRootCertificates(Output.of(attestationRootCertificates)); + } + + /** + * @param attestationRootCertificates List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + * + * @return builder + * + */ + public Builder attestationRootCertificates(AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs... attestationRootCertificates) { + return attestationRootCertificates(List.of(attestationRootCertificates)); + } + + /** + * @param authenticatorCharacteristics Properties of the custom AAGUID authenticator. + * + * @return builder + * + */ + public Builder authenticatorCharacteristics(@Nullable Output authenticatorCharacteristics) { + $.authenticatorCharacteristics = authenticatorCharacteristics; + return this; + } + + /** + * @param authenticatorCharacteristics Properties of the custom AAGUID authenticator. + * + * @return builder + * + */ + public Builder authenticatorCharacteristics(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs authenticatorCharacteristics) { + return authenticatorCharacteristics(Output.of(authenticatorCharacteristics)); + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(@Nullable Output authenticatorId) { + $.authenticatorId = authenticatorId; + return this; + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(String authenticatorId) { + return authenticatorId(Output.of(authenticatorId)); + } + + /** + * @param name The product name associated with this AAGUID. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The product name associated with this AAGUID. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public AuthenticatorWebauthnCustomAaguidState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnAaguidGroup.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnAaguidGroup.java new file mode 100644 index 000000000..d6eff262c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnAaguidGroup.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthenticatorMethodWebauthnAaguidGroup extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticatorMethodWebauthnAaguidGroup Empty = new GetAuthenticatorMethodWebauthnAaguidGroup(); + + /** + * List of FIDO2 AAGUIDs in this group. + * + */ + @Import(name="aaguids", required=true) + private List aaguids; + + /** + * @return List of FIDO2 AAGUIDs in this group. + * + */ + public List aaguids() { + return this.aaguids; + } + + /** + * The name of the AAGUID group. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return The name of the AAGUID group. + * + */ + public String name() { + return this.name; + } + + private GetAuthenticatorMethodWebauthnAaguidGroup() {} + + private GetAuthenticatorMethodWebauthnAaguidGroup(GetAuthenticatorMethodWebauthnAaguidGroup $) { + this.aaguids = $.aaguids; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorMethodWebauthnAaguidGroup defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorMethodWebauthnAaguidGroup $; + + public Builder() { + $ = new GetAuthenticatorMethodWebauthnAaguidGroup(); + } + + public Builder(GetAuthenticatorMethodWebauthnAaguidGroup defaults) { + $ = new GetAuthenticatorMethodWebauthnAaguidGroup(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguids List of FIDO2 AAGUIDs in this group. + * + * @return builder + * + */ + public Builder aaguids(List aaguids) { + $.aaguids = aaguids; + return this; + } + + /** + * @param aaguids List of FIDO2 AAGUIDs in this group. + * + * @return builder + * + */ + public Builder aaguids(String... aaguids) { + return aaguids(List.of(aaguids)); + } + + /** + * @param name The name of the AAGUID group. + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + public GetAuthenticatorMethodWebauthnAaguidGroup build() { + if ($.aaguids == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnAaguidGroup", "aaguids"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnAaguidGroup", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnAaguidGroupArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnAaguidGroupArgs.java new file mode 100644 index 000000000..02065aea7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnAaguidGroupArgs.java @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthenticatorMethodWebauthnAaguidGroupArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthenticatorMethodWebauthnAaguidGroupArgs Empty = new GetAuthenticatorMethodWebauthnAaguidGroupArgs(); + + /** + * List of FIDO2 AAGUIDs in this group. + * + */ + @Import(name="aaguids", required=true) + private Output> aaguids; + + /** + * @return List of FIDO2 AAGUIDs in this group. + * + */ + public Output> aaguids() { + return this.aaguids; + } + + /** + * The name of the AAGUID group. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the AAGUID group. + * + */ + public Output name() { + return this.name; + } + + private GetAuthenticatorMethodWebauthnAaguidGroupArgs() {} + + private GetAuthenticatorMethodWebauthnAaguidGroupArgs(GetAuthenticatorMethodWebauthnAaguidGroupArgs $) { + this.aaguids = $.aaguids; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorMethodWebauthnAaguidGroupArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorMethodWebauthnAaguidGroupArgs $; + + public Builder() { + $ = new GetAuthenticatorMethodWebauthnAaguidGroupArgs(); + } + + public Builder(GetAuthenticatorMethodWebauthnAaguidGroupArgs defaults) { + $ = new GetAuthenticatorMethodWebauthnAaguidGroupArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguids List of FIDO2 AAGUIDs in this group. + * + * @return builder + * + */ + public Builder aaguids(Output> aaguids) { + $.aaguids = aaguids; + return this; + } + + /** + * @param aaguids List of FIDO2 AAGUIDs in this group. + * + * @return builder + * + */ + public Builder aaguids(List aaguids) { + return aaguids(Output.of(aaguids)); + } + + /** + * @param aaguids List of FIDO2 AAGUIDs in this group. + * + * @return builder + * + */ + public Builder aaguids(String... aaguids) { + return aaguids(List.of(aaguids)); + } + + /** + * @param name The name of the AAGUID group. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the AAGUID group. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetAuthenticatorMethodWebauthnAaguidGroupArgs build() { + if ($.aaguids == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnAaguidGroupArgs", "aaguids"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnAaguidGroupArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnArgs.java new file mode 100644 index 000000000..ba1b5e00d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnArgs.java @@ -0,0 +1,174 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnAaguidGroupArgs; +import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnRpIdArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticatorMethodWebauthnArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticatorMethodWebauthnArgs Empty = new GetAuthenticatorMethodWebauthnArgs(); + + /** + * The FIDO2 AAGUID groups. Each element contains: + * + */ + @Import(name="aaguidGroups") + private @Nullable Output> aaguidGroups; + + /** + * @return The FIDO2 AAGUID groups. Each element contains: + * + */ + public Optional>> aaguidGroups() { + return Optional.ofNullable(this.aaguidGroups); + } + + /** + * The ID of the WebAuthn authenticator. + * + */ + @Import(name="authenticatorId", required=true) + private Output authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public Output authenticatorId() { + return this.authenticatorId; + } + + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + @Import(name="rpId") + private @Nullable Output rpId; + + /** + * @return The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + public Optional> rpId() { + return Optional.ofNullable(this.rpId); + } + + private GetAuthenticatorMethodWebauthnArgs() {} + + private GetAuthenticatorMethodWebauthnArgs(GetAuthenticatorMethodWebauthnArgs $) { + this.aaguidGroups = $.aaguidGroups; + this.authenticatorId = $.authenticatorId; + this.rpId = $.rpId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorMethodWebauthnArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorMethodWebauthnArgs $; + + public Builder() { + $ = new GetAuthenticatorMethodWebauthnArgs(); + } + + public Builder(GetAuthenticatorMethodWebauthnArgs defaults) { + $ = new GetAuthenticatorMethodWebauthnArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguidGroups The FIDO2 AAGUID groups. Each element contains: + * + * @return builder + * + */ + public Builder aaguidGroups(@Nullable Output> aaguidGroups) { + $.aaguidGroups = aaguidGroups; + return this; + } + + /** + * @param aaguidGroups The FIDO2 AAGUID groups. Each element contains: + * + * @return builder + * + */ + public Builder aaguidGroups(List aaguidGroups) { + return aaguidGroups(Output.of(aaguidGroups)); + } + + /** + * @param aaguidGroups The FIDO2 AAGUID groups. Each element contains: + * + * @return builder + * + */ + public Builder aaguidGroups(GetAuthenticatorMethodWebauthnAaguidGroupArgs... aaguidGroups) { + return aaguidGroups(List.of(aaguidGroups)); + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(Output authenticatorId) { + $.authenticatorId = authenticatorId; + return this; + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(String authenticatorId) { + return authenticatorId(Output.of(authenticatorId)); + } + + /** + * @param rpId The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + * @return builder + * + */ + public Builder rpId(@Nullable Output rpId) { + $.rpId = rpId; + return this; + } + + /** + * @param rpId The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + * @return builder + * + */ + public Builder rpId(GetAuthenticatorMethodWebauthnRpIdArgs rpId) { + return rpId(Output.of(rpId)); + } + + public GetAuthenticatorMethodWebauthnArgs build() { + if ($.authenticatorId == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnArgs", "authenticatorId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnPlainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnPlainArgs.java new file mode 100644 index 000000000..eb4047e8e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnPlainArgs.java @@ -0,0 +1,143 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnAaguidGroup; +import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnRpId; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticatorMethodWebauthnPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticatorMethodWebauthnPlainArgs Empty = new GetAuthenticatorMethodWebauthnPlainArgs(); + + /** + * The FIDO2 AAGUID groups. Each element contains: + * + */ + @Import(name="aaguidGroups") + private @Nullable List aaguidGroups; + + /** + * @return The FIDO2 AAGUID groups. Each element contains: + * + */ + public Optional> aaguidGroups() { + return Optional.ofNullable(this.aaguidGroups); + } + + /** + * The ID of the WebAuthn authenticator. + * + */ + @Import(name="authenticatorId", required=true) + private String authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public String authenticatorId() { + return this.authenticatorId; + } + + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + @Import(name="rpId") + private @Nullable GetAuthenticatorMethodWebauthnRpId rpId; + + /** + * @return The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + public Optional rpId() { + return Optional.ofNullable(this.rpId); + } + + private GetAuthenticatorMethodWebauthnPlainArgs() {} + + private GetAuthenticatorMethodWebauthnPlainArgs(GetAuthenticatorMethodWebauthnPlainArgs $) { + this.aaguidGroups = $.aaguidGroups; + this.authenticatorId = $.authenticatorId; + this.rpId = $.rpId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorMethodWebauthnPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorMethodWebauthnPlainArgs $; + + public Builder() { + $ = new GetAuthenticatorMethodWebauthnPlainArgs(); + } + + public Builder(GetAuthenticatorMethodWebauthnPlainArgs defaults) { + $ = new GetAuthenticatorMethodWebauthnPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguidGroups The FIDO2 AAGUID groups. Each element contains: + * + * @return builder + * + */ + public Builder aaguidGroups(@Nullable List aaguidGroups) { + $.aaguidGroups = aaguidGroups; + return this; + } + + /** + * @param aaguidGroups The FIDO2 AAGUID groups. Each element contains: + * + * @return builder + * + */ + public Builder aaguidGroups(GetAuthenticatorMethodWebauthnAaguidGroup... aaguidGroups) { + return aaguidGroups(List.of(aaguidGroups)); + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(String authenticatorId) { + $.authenticatorId = authenticatorId; + return this; + } + + /** + * @param rpId The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + * @return builder + * + */ + public Builder rpId(@Nullable GetAuthenticatorMethodWebauthnRpId rpId) { + $.rpId = rpId; + return this; + } + + public GetAuthenticatorMethodWebauthnPlainArgs build() { + if ($.authenticatorId == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnPlainArgs", "authenticatorId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpId.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpId.java new file mode 100644 index 000000000..06692767e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpId.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnRpIdDomain; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticatorMethodWebauthnRpId extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticatorMethodWebauthnRpId Empty = new GetAuthenticatorMethodWebauthnRpId(); + + /** + * The RP domain configuration. Contains: + * + */ + @Import(name="domain") + private @Nullable GetAuthenticatorMethodWebauthnRpIdDomain domain; + + /** + * @return The RP domain configuration. Contains: + * + */ + public Optional domain() { + return Optional.ofNullable(this.domain); + } + + /** + * Whether the RP ID is active and used for WebAuthn operations. + * + */ + @Import(name="enabled", required=true) + private Boolean enabled; + + /** + * @return Whether the RP ID is active and used for WebAuthn operations. + * + */ + public Boolean enabled() { + return this.enabled; + } + + private GetAuthenticatorMethodWebauthnRpId() {} + + private GetAuthenticatorMethodWebauthnRpId(GetAuthenticatorMethodWebauthnRpId $) { + this.domain = $.domain; + this.enabled = $.enabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorMethodWebauthnRpId defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorMethodWebauthnRpId $; + + public Builder() { + $ = new GetAuthenticatorMethodWebauthnRpId(); + } + + public Builder(GetAuthenticatorMethodWebauthnRpId defaults) { + $ = new GetAuthenticatorMethodWebauthnRpId(Objects.requireNonNull(defaults)); + } + + /** + * @param domain The RP domain configuration. Contains: + * + * @return builder + * + */ + public Builder domain(@Nullable GetAuthenticatorMethodWebauthnRpIdDomain domain) { + $.domain = domain; + return this; + } + + /** + * @param enabled Whether the RP ID is active and used for WebAuthn operations. + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + $.enabled = enabled; + return this; + } + + public GetAuthenticatorMethodWebauthnRpId build() { + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnRpId", "enabled"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdArgs.java new file mode 100644 index 000000000..360711832 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthenticatorMethodWebauthnRpIdDomainArgs; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticatorMethodWebauthnRpIdArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthenticatorMethodWebauthnRpIdArgs Empty = new GetAuthenticatorMethodWebauthnRpIdArgs(); + + /** + * The RP domain configuration. Contains: + * + */ + @Import(name="domain") + private @Nullable Output domain; + + /** + * @return The RP domain configuration. Contains: + * + */ + public Optional> domain() { + return Optional.ofNullable(this.domain); + } + + /** + * Whether the RP ID is active and used for WebAuthn operations. + * + */ + @Import(name="enabled", required=true) + private Output enabled; + + /** + * @return Whether the RP ID is active and used for WebAuthn operations. + * + */ + public Output enabled() { + return this.enabled; + } + + private GetAuthenticatorMethodWebauthnRpIdArgs() {} + + private GetAuthenticatorMethodWebauthnRpIdArgs(GetAuthenticatorMethodWebauthnRpIdArgs $) { + this.domain = $.domain; + this.enabled = $.enabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorMethodWebauthnRpIdArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorMethodWebauthnRpIdArgs $; + + public Builder() { + $ = new GetAuthenticatorMethodWebauthnRpIdArgs(); + } + + public Builder(GetAuthenticatorMethodWebauthnRpIdArgs defaults) { + $ = new GetAuthenticatorMethodWebauthnRpIdArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param domain The RP domain configuration. Contains: + * + * @return builder + * + */ + public Builder domain(@Nullable Output domain) { + $.domain = domain; + return this; + } + + /** + * @param domain The RP domain configuration. Contains: + * + * @return builder + * + */ + public Builder domain(GetAuthenticatorMethodWebauthnRpIdDomainArgs domain) { + return domain(Output.of(domain)); + } + + /** + * @param enabled Whether the RP ID is active and used for WebAuthn operations. + * + * @return builder + * + */ + public Builder enabled(Output enabled) { + $.enabled = enabled; + return this; + } + + /** + * @param enabled Whether the RP ID is active and used for WebAuthn operations. + * + * @return builder + * + */ + public Builder enabled(Boolean enabled) { + return enabled(Output.of(enabled)); + } + + public GetAuthenticatorMethodWebauthnRpIdArgs build() { + if ($.enabled == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnRpIdArgs", "enabled"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdDomain.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdDomain.java new file mode 100644 index 000000000..bc7e7c702 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdDomain.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetAuthenticatorMethodWebauthnRpIdDomain extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticatorMethodWebauthnRpIdDomain Empty = new GetAuthenticatorMethodWebauthnRpIdDomain(); + + /** + * The name of the AAGUID group. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return The name of the AAGUID group. + * + */ + public String name() { + return this.name; + } + + /** + * The validation status of the domain. + * + */ + @Import(name="validationStatus", required=true) + private String validationStatus; + + /** + * @return The validation status of the domain. + * + */ + public String validationStatus() { + return this.validationStatus; + } + + private GetAuthenticatorMethodWebauthnRpIdDomain() {} + + private GetAuthenticatorMethodWebauthnRpIdDomain(GetAuthenticatorMethodWebauthnRpIdDomain $) { + this.name = $.name; + this.validationStatus = $.validationStatus; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorMethodWebauthnRpIdDomain defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorMethodWebauthnRpIdDomain $; + + public Builder() { + $ = new GetAuthenticatorMethodWebauthnRpIdDomain(); + } + + public Builder(GetAuthenticatorMethodWebauthnRpIdDomain defaults) { + $ = new GetAuthenticatorMethodWebauthnRpIdDomain(Objects.requireNonNull(defaults)); + } + + /** + * @param name The name of the AAGUID group. + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + /** + * @param validationStatus The validation status of the domain. + * + * @return builder + * + */ + public Builder validationStatus(String validationStatus) { + $.validationStatus = validationStatus; + return this; + } + + public GetAuthenticatorMethodWebauthnRpIdDomain build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnRpIdDomain", "name"); + } + if ($.validationStatus == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnRpIdDomain", "validationStatus"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdDomainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdDomainArgs.java new file mode 100644 index 000000000..66271a85c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorMethodWebauthnRpIdDomainArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetAuthenticatorMethodWebauthnRpIdDomainArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthenticatorMethodWebauthnRpIdDomainArgs Empty = new GetAuthenticatorMethodWebauthnRpIdDomainArgs(); + + /** + * The name of the AAGUID group. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the AAGUID group. + * + */ + public Output name() { + return this.name; + } + + /** + * The validation status of the domain. + * + */ + @Import(name="validationStatus", required=true) + private Output validationStatus; + + /** + * @return The validation status of the domain. + * + */ + public Output validationStatus() { + return this.validationStatus; + } + + private GetAuthenticatorMethodWebauthnRpIdDomainArgs() {} + + private GetAuthenticatorMethodWebauthnRpIdDomainArgs(GetAuthenticatorMethodWebauthnRpIdDomainArgs $) { + this.name = $.name; + this.validationStatus = $.validationStatus; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorMethodWebauthnRpIdDomainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorMethodWebauthnRpIdDomainArgs $; + + public Builder() { + $ = new GetAuthenticatorMethodWebauthnRpIdDomainArgs(); + } + + public Builder(GetAuthenticatorMethodWebauthnRpIdDomainArgs defaults) { + $ = new GetAuthenticatorMethodWebauthnRpIdDomainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name The name of the AAGUID group. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the AAGUID group. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param validationStatus The validation status of the domain. + * + * @return builder + * + */ + public Builder validationStatus(Output validationStatus) { + $.validationStatus = validationStatus; + return this; + } + + /** + * @param validationStatus The validation status of the domain. + * + * @return builder + * + */ + public Builder validationStatus(String validationStatus) { + return validationStatus(Output.of(validationStatus)); + } + + public GetAuthenticatorMethodWebauthnRpIdDomainArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnRpIdDomainArgs", "name"); + } + if ($.validationStatus == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnRpIdDomainArgs", "validationStatus"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsArgs.java new file mode 100644 index 000000000..bef83fa98 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsArgs.java @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticatorWebauthnCustomAaguidsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticatorWebauthnCustomAaguidsArgs Empty = new GetAuthenticatorWebauthnCustomAaguidsArgs(); + + /** + * The ID of the WebAuthn authenticator. + * + */ + @Import(name="authenticatorId", required=true) + private Output authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public Output authenticatorId() { + return this.authenticatorId; + } + + /** + * List of custom AAGUIDs configured for this authenticator. Each element contains: + * + */ + @Import(name="customAaguids") + private @Nullable Output> customAaguids; + + /** + * @return List of custom AAGUIDs configured for this authenticator. Each element contains: + * + */ + public Optional>> customAaguids() { + return Optional.ofNullable(this.customAaguids); + } + + private GetAuthenticatorWebauthnCustomAaguidsArgs() {} + + private GetAuthenticatorWebauthnCustomAaguidsArgs(GetAuthenticatorWebauthnCustomAaguidsArgs $) { + this.authenticatorId = $.authenticatorId; + this.customAaguids = $.customAaguids; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorWebauthnCustomAaguidsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorWebauthnCustomAaguidsArgs $; + + public Builder() { + $ = new GetAuthenticatorWebauthnCustomAaguidsArgs(); + } + + public Builder(GetAuthenticatorWebauthnCustomAaguidsArgs defaults) { + $ = new GetAuthenticatorWebauthnCustomAaguidsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(Output authenticatorId) { + $.authenticatorId = authenticatorId; + return this; + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(String authenticatorId) { + return authenticatorId(Output.of(authenticatorId)); + } + + /** + * @param customAaguids List of custom AAGUIDs configured for this authenticator. Each element contains: + * + * @return builder + * + */ + public Builder customAaguids(@Nullable Output> customAaguids) { + $.customAaguids = customAaguids; + return this; + } + + /** + * @param customAaguids List of custom AAGUIDs configured for this authenticator. Each element contains: + * + * @return builder + * + */ + public Builder customAaguids(List customAaguids) { + return customAaguids(Output.of(customAaguids)); + } + + /** + * @param customAaguids List of custom AAGUIDs configured for this authenticator. Each element contains: + * + * @return builder + * + */ + public Builder customAaguids(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs... customAaguids) { + return customAaguids(List.of(customAaguids)); + } + + public GetAuthenticatorWebauthnCustomAaguidsArgs build() { + if ($.authenticatorId == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsArgs", "authenticatorId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.java new file mode 100644 index 000000000..c61864f5e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticatorWebauthnCustomAaguidsCustomAaguid extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticatorWebauthnCustomAaguidsCustomAaguid Empty = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguid(); + + /** + * The AAGUID identifier. + * + */ + @Import(name="aaguid", required=true) + private String aaguid; + + /** + * @return The AAGUID identifier. + * + */ + public String aaguid() { + return this.aaguid; + } + + /** + * Properties of the custom AAGUID authenticator. + * + */ + @Import(name="authenticatorCharacteristics") + private @Nullable GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics authenticatorCharacteristics; + + /** + * @return Properties of the custom AAGUID authenticator. + * + */ + public Optional authenticatorCharacteristics() { + return Optional.ofNullable(this.authenticatorCharacteristics); + } + + /** + * The product name associated with the AAGUID. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return The product name associated with the AAGUID. + * + */ + public String name() { + return this.name; + } + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguid() {} + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguid(GetAuthenticatorWebauthnCustomAaguidsCustomAaguid $) { + this.aaguid = $.aaguid; + this.authenticatorCharacteristics = $.authenticatorCharacteristics; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguid defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguid $; + + public Builder() { + $ = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguid(); + } + + public Builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguid defaults) { + $ = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguid(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguid The AAGUID identifier. + * + * @return builder + * + */ + public Builder aaguid(String aaguid) { + $.aaguid = aaguid; + return this; + } + + /** + * @param authenticatorCharacteristics Properties of the custom AAGUID authenticator. + * + * @return builder + * + */ + public Builder authenticatorCharacteristics(@Nullable GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics authenticatorCharacteristics) { + $.authenticatorCharacteristics = authenticatorCharacteristics; + return this; + } + + /** + * @param name The product name associated with the AAGUID. + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguid build() { + if ($.aaguid == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguid", "aaguid"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguid", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs.java new file mode 100644 index 000000000..f2b468536 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs Empty = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs(); + + /** + * The AAGUID identifier. + * + */ + @Import(name="aaguid", required=true) + private Output aaguid; + + /** + * @return The AAGUID identifier. + * + */ + public Output aaguid() { + return this.aaguid; + } + + /** + * Properties of the custom AAGUID authenticator. + * + */ + @Import(name="authenticatorCharacteristics") + private @Nullable Output authenticatorCharacteristics; + + /** + * @return Properties of the custom AAGUID authenticator. + * + */ + public Optional> authenticatorCharacteristics() { + return Optional.ofNullable(this.authenticatorCharacteristics); + } + + /** + * The product name associated with the AAGUID. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The product name associated with the AAGUID. + * + */ + public Output name() { + return this.name; + } + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs() {} + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs $) { + this.aaguid = $.aaguid; + this.authenticatorCharacteristics = $.authenticatorCharacteristics; + this.name = $.name; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs $; + + public Builder() { + $ = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs(); + } + + public Builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs defaults) { + $ = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param aaguid The AAGUID identifier. + * + * @return builder + * + */ + public Builder aaguid(Output aaguid) { + $.aaguid = aaguid; + return this; + } + + /** + * @param aaguid The AAGUID identifier. + * + * @return builder + * + */ + public Builder aaguid(String aaguid) { + return aaguid(Output.of(aaguid)); + } + + /** + * @param authenticatorCharacteristics Properties of the custom AAGUID authenticator. + * + * @return builder + * + */ + public Builder authenticatorCharacteristics(@Nullable Output authenticatorCharacteristics) { + $.authenticatorCharacteristics = authenticatorCharacteristics; + return this; + } + + /** + * @param authenticatorCharacteristics Properties of the custom AAGUID authenticator. + * + * @return builder + * + */ + public Builder authenticatorCharacteristics(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs authenticatorCharacteristics) { + return authenticatorCharacteristics(Output.of(authenticatorCharacteristics)); + } + + /** + * @param name The product name associated with the AAGUID. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The product name associated with the AAGUID. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs build() { + if ($.aaguid == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs", "aaguid"); + } + if ($.name == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs", "name"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.java new file mode 100644 index 000000000..3a52e19f7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.util.Objects; + + +public final class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics Empty = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics(); + + /** + * Whether the authenticator meets FIPS compliance requirements. + * + */ + @Import(name="fipsCompliant", required=true) + private Boolean fipsCompliant; + + /** + * @return Whether the authenticator meets FIPS compliance requirements. + * + */ + public Boolean fipsCompliant() { + return this.fipsCompliant; + } + + /** + * Whether the authenticator stores the private key on hardware. + * + */ + @Import(name="hardwareProtected", required=true) + private Boolean hardwareProtected; + + /** + * @return Whether the authenticator stores the private key on hardware. + * + */ + public Boolean hardwareProtected() { + return this.hardwareProtected; + } + + /** + * Whether the AAGUID is built into the authenticator or is external. + * + */ + @Import(name="platformAttached", required=true) + private Boolean platformAttached; + + /** + * @return Whether the AAGUID is built into the authenticator or is external. + * + */ + public Boolean platformAttached() { + return this.platformAttached; + } + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics() {} + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics $) { + this.fipsCompliant = $.fipsCompliant; + this.hardwareProtected = $.hardwareProtected; + this.platformAttached = $.platformAttached; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics $; + + public Builder() { + $ = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics(); + } + + public Builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics defaults) { + $ = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics(Objects.requireNonNull(defaults)); + } + + /** + * @param fipsCompliant Whether the authenticator meets FIPS compliance requirements. + * + * @return builder + * + */ + public Builder fipsCompliant(Boolean fipsCompliant) { + $.fipsCompliant = fipsCompliant; + return this; + } + + /** + * @param hardwareProtected Whether the authenticator stores the private key on hardware. + * + * @return builder + * + */ + public Builder hardwareProtected(Boolean hardwareProtected) { + $.hardwareProtected = hardwareProtected; + return this; + } + + /** + * @param platformAttached Whether the AAGUID is built into the authenticator or is external. + * + * @return builder + * + */ + public Builder platformAttached(Boolean platformAttached) { + $.platformAttached = platformAttached; + return this; + } + + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics build() { + if ($.fipsCompliant == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics", "fipsCompliant"); + } + if ($.hardwareProtected == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics", "hardwareProtected"); + } + if ($.platformAttached == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics", "platformAttached"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs.java new file mode 100644 index 000000000..12c36ed59 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs.java @@ -0,0 +1,165 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.util.Objects; + + +public final class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs Empty = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs(); + + /** + * Whether the authenticator meets FIPS compliance requirements. + * + */ + @Import(name="fipsCompliant", required=true) + private Output fipsCompliant; + + /** + * @return Whether the authenticator meets FIPS compliance requirements. + * + */ + public Output fipsCompliant() { + return this.fipsCompliant; + } + + /** + * Whether the authenticator stores the private key on hardware. + * + */ + @Import(name="hardwareProtected", required=true) + private Output hardwareProtected; + + /** + * @return Whether the authenticator stores the private key on hardware. + * + */ + public Output hardwareProtected() { + return this.hardwareProtected; + } + + /** + * Whether the AAGUID is built into the authenticator or is external. + * + */ + @Import(name="platformAttached", required=true) + private Output platformAttached; + + /** + * @return Whether the AAGUID is built into the authenticator or is external. + * + */ + public Output platformAttached() { + return this.platformAttached; + } + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs() {} + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs $) { + this.fipsCompliant = $.fipsCompliant; + this.hardwareProtected = $.hardwareProtected; + this.platformAttached = $.platformAttached; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs $; + + public Builder() { + $ = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs(); + } + + public Builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs defaults) { + $ = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param fipsCompliant Whether the authenticator meets FIPS compliance requirements. + * + * @return builder + * + */ + public Builder fipsCompliant(Output fipsCompliant) { + $.fipsCompliant = fipsCompliant; + return this; + } + + /** + * @param fipsCompliant Whether the authenticator meets FIPS compliance requirements. + * + * @return builder + * + */ + public Builder fipsCompliant(Boolean fipsCompliant) { + return fipsCompliant(Output.of(fipsCompliant)); + } + + /** + * @param hardwareProtected Whether the authenticator stores the private key on hardware. + * + * @return builder + * + */ + public Builder hardwareProtected(Output hardwareProtected) { + $.hardwareProtected = hardwareProtected; + return this; + } + + /** + * @param hardwareProtected Whether the authenticator stores the private key on hardware. + * + * @return builder + * + */ + public Builder hardwareProtected(Boolean hardwareProtected) { + return hardwareProtected(Output.of(hardwareProtected)); + } + + /** + * @param platformAttached Whether the AAGUID is built into the authenticator or is external. + * + * @return builder + * + */ + public Builder platformAttached(Output platformAttached) { + $.platformAttached = platformAttached; + return this; + } + + /** + * @param platformAttached Whether the AAGUID is built into the authenticator or is external. + * + * @return builder + * + */ + public Builder platformAttached(Boolean platformAttached) { + return platformAttached(Output.of(platformAttached)); + } + + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs build() { + if ($.fipsCompliant == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs", "fipsCompliant"); + } + if ($.hardwareProtected == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs", "hardwareProtected"); + } + if ($.platformAttached == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs", "platformAttached"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsPlainArgs.java new file mode 100644 index 000000000..2e6f82df7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthenticatorWebauthnCustomAaguidsPlainArgs.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguid; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthenticatorWebauthnCustomAaguidsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthenticatorWebauthnCustomAaguidsPlainArgs Empty = new GetAuthenticatorWebauthnCustomAaguidsPlainArgs(); + + /** + * The ID of the WebAuthn authenticator. + * + */ + @Import(name="authenticatorId", required=true) + private String authenticatorId; + + /** + * @return The ID of the WebAuthn authenticator. + * + */ + public String authenticatorId() { + return this.authenticatorId; + } + + /** + * List of custom AAGUIDs configured for this authenticator. Each element contains: + * + */ + @Import(name="customAaguids") + private @Nullable List customAaguids; + + /** + * @return List of custom AAGUIDs configured for this authenticator. Each element contains: + * + */ + public Optional> customAaguids() { + return Optional.ofNullable(this.customAaguids); + } + + private GetAuthenticatorWebauthnCustomAaguidsPlainArgs() {} + + private GetAuthenticatorWebauthnCustomAaguidsPlainArgs(GetAuthenticatorWebauthnCustomAaguidsPlainArgs $) { + this.authenticatorId = $.authenticatorId; + this.customAaguids = $.customAaguids; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthenticatorWebauthnCustomAaguidsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthenticatorWebauthnCustomAaguidsPlainArgs $; + + public Builder() { + $ = new GetAuthenticatorWebauthnCustomAaguidsPlainArgs(); + } + + public Builder(GetAuthenticatorWebauthnCustomAaguidsPlainArgs defaults) { + $ = new GetAuthenticatorWebauthnCustomAaguidsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param authenticatorId The ID of the WebAuthn authenticator. + * + * @return builder + * + */ + public Builder authenticatorId(String authenticatorId) { + $.authenticatorId = authenticatorId; + return this; + } + + /** + * @param customAaguids List of custom AAGUIDs configured for this authenticator. Each element contains: + * + * @return builder + * + */ + public Builder customAaguids(@Nullable List customAaguids) { + $.customAaguids = customAaguids; + return this; + } + + /** + * @param customAaguids List of custom AAGUIDs configured for this authenticator. Each element contains: + * + * @return builder + * + */ + public Builder customAaguids(GetAuthenticatorWebauthnCustomAaguidsCustomAaguid... customAaguids) { + return customAaguids(List.of(customAaguids)); + } + + public GetAuthenticatorWebauthnCustomAaguidsPlainArgs build() { + if ($.authenticatorId == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsPlainArgs", "authenticatorId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActions.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActions.java new file mode 100644 index 000000000..05cd07491 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActions.java @@ -0,0 +1,72 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleActionsToken; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRuleActions extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleActions Empty = new GetAuthorizationServersPoliciesRuleActions(); + + /** + * Token + * + */ + @Import(name="token") + private @Nullable GetAuthorizationServersPoliciesRuleActionsToken token; + + /** + * @return Token + * + */ + public Optional token() { + return Optional.ofNullable(this.token); + } + + private GetAuthorizationServersPoliciesRuleActions() {} + + private GetAuthorizationServersPoliciesRuleActions(GetAuthorizationServersPoliciesRuleActions $) { + this.token = $.token; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleActions defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleActions $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleActions(); + } + + public Builder(GetAuthorizationServersPoliciesRuleActions defaults) { + $ = new GetAuthorizationServersPoliciesRuleActions(Objects.requireNonNull(defaults)); + } + + /** + * @param token Token + * + * @return builder + * + */ + public Builder token(@Nullable GetAuthorizationServersPoliciesRuleActionsToken token) { + $.token = token; + return this; + } + + public GetAuthorizationServersPoliciesRuleActions build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsArgs.java new file mode 100644 index 000000000..5996d9a6d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsArgs.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleActionsTokenArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRuleActionsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthorizationServersPoliciesRuleActionsArgs Empty = new GetAuthorizationServersPoliciesRuleActionsArgs(); + + /** + * Token + * + */ + @Import(name="token") + private @Nullable Output token; + + /** + * @return Token + * + */ + public Optional> token() { + return Optional.ofNullable(this.token); + } + + private GetAuthorizationServersPoliciesRuleActionsArgs() {} + + private GetAuthorizationServersPoliciesRuleActionsArgs(GetAuthorizationServersPoliciesRuleActionsArgs $) { + this.token = $.token; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleActionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleActionsArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleActionsArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleActionsArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleActionsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param token Token + * + * @return builder + * + */ + public Builder token(@Nullable Output token) { + $.token = token; + return this; + } + + /** + * @param token Token + * + * @return builder + * + */ + public Builder token(GetAuthorizationServersPoliciesRuleActionsTokenArgs token) { + return token(Output.of(token)); + } + + public GetAuthorizationServersPoliciesRuleActionsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsToken.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsToken.java new file mode 100644 index 000000000..69b56f236 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsToken.java @@ -0,0 +1,164 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHook; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRuleActionsToken extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleActionsToken Empty = new GetAuthorizationServersPoliciesRuleActionsToken(); + + /** + * Lifetime of the access token in minutes. + * + */ + @Import(name="accessTokenLifetimeMinutes", required=true) + private Integer accessTokenLifetimeMinutes; + + /** + * @return Lifetime of the access token in minutes. + * + */ + public Integer accessTokenLifetimeMinutes() { + return this.accessTokenLifetimeMinutes; + } + + /** + * InlineHook + * + */ + @Import(name="inlineHook") + private @Nullable GetAuthorizationServersPoliciesRuleActionsTokenInlineHook inlineHook; + + /** + * @return InlineHook + * + */ + public Optional inlineHook() { + return Optional.ofNullable(this.inlineHook); + } + + /** + * Lifetime of the refresh token is the minimum access token lifetime. + * + */ + @Import(name="refreshTokenLifetimeMinutes", required=true) + private Integer refreshTokenLifetimeMinutes; + + /** + * @return Lifetime of the refresh token is the minimum access token lifetime. + * + */ + public Integer refreshTokenLifetimeMinutes() { + return this.refreshTokenLifetimeMinutes; + } + + /** + * Timeframe when the refresh token is valid. + * + */ + @Import(name="refreshTokenWindowMinutes", required=true) + private Integer refreshTokenWindowMinutes; + + /** + * @return Timeframe when the refresh token is valid. + * + */ + public Integer refreshTokenWindowMinutes() { + return this.refreshTokenWindowMinutes; + } + + private GetAuthorizationServersPoliciesRuleActionsToken() {} + + private GetAuthorizationServersPoliciesRuleActionsToken(GetAuthorizationServersPoliciesRuleActionsToken $) { + this.accessTokenLifetimeMinutes = $.accessTokenLifetimeMinutes; + this.inlineHook = $.inlineHook; + this.refreshTokenLifetimeMinutes = $.refreshTokenLifetimeMinutes; + this.refreshTokenWindowMinutes = $.refreshTokenWindowMinutes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleActionsToken defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleActionsToken $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleActionsToken(); + } + + public Builder(GetAuthorizationServersPoliciesRuleActionsToken defaults) { + $ = new GetAuthorizationServersPoliciesRuleActionsToken(Objects.requireNonNull(defaults)); + } + + /** + * @param accessTokenLifetimeMinutes Lifetime of the access token in minutes. + * + * @return builder + * + */ + public Builder accessTokenLifetimeMinutes(Integer accessTokenLifetimeMinutes) { + $.accessTokenLifetimeMinutes = accessTokenLifetimeMinutes; + return this; + } + + /** + * @param inlineHook InlineHook + * + * @return builder + * + */ + public Builder inlineHook(@Nullable GetAuthorizationServersPoliciesRuleActionsTokenInlineHook inlineHook) { + $.inlineHook = inlineHook; + return this; + } + + /** + * @param refreshTokenLifetimeMinutes Lifetime of the refresh token is the minimum access token lifetime. + * + * @return builder + * + */ + public Builder refreshTokenLifetimeMinutes(Integer refreshTokenLifetimeMinutes) { + $.refreshTokenLifetimeMinutes = refreshTokenLifetimeMinutes; + return this; + } + + /** + * @param refreshTokenWindowMinutes Timeframe when the refresh token is valid. + * + * @return builder + * + */ + public Builder refreshTokenWindowMinutes(Integer refreshTokenWindowMinutes) { + $.refreshTokenWindowMinutes = refreshTokenWindowMinutes; + return this; + } + + public GetAuthorizationServersPoliciesRuleActionsToken build() { + if ($.accessTokenLifetimeMinutes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsToken", "accessTokenLifetimeMinutes"); + } + if ($.refreshTokenLifetimeMinutes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsToken", "refreshTokenLifetimeMinutes"); + } + if ($.refreshTokenWindowMinutes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsToken", "refreshTokenWindowMinutes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenArgs.java new file mode 100644 index 000000000..5eb34308d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenArgs.java @@ -0,0 +1,205 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRuleActionsTokenArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthorizationServersPoliciesRuleActionsTokenArgs Empty = new GetAuthorizationServersPoliciesRuleActionsTokenArgs(); + + /** + * Lifetime of the access token in minutes. + * + */ + @Import(name="accessTokenLifetimeMinutes", required=true) + private Output accessTokenLifetimeMinutes; + + /** + * @return Lifetime of the access token in minutes. + * + */ + public Output accessTokenLifetimeMinutes() { + return this.accessTokenLifetimeMinutes; + } + + /** + * InlineHook + * + */ + @Import(name="inlineHook") + private @Nullable Output inlineHook; + + /** + * @return InlineHook + * + */ + public Optional> inlineHook() { + return Optional.ofNullable(this.inlineHook); + } + + /** + * Lifetime of the refresh token is the minimum access token lifetime. + * + */ + @Import(name="refreshTokenLifetimeMinutes", required=true) + private Output refreshTokenLifetimeMinutes; + + /** + * @return Lifetime of the refresh token is the minimum access token lifetime. + * + */ + public Output refreshTokenLifetimeMinutes() { + return this.refreshTokenLifetimeMinutes; + } + + /** + * Timeframe when the refresh token is valid. + * + */ + @Import(name="refreshTokenWindowMinutes", required=true) + private Output refreshTokenWindowMinutes; + + /** + * @return Timeframe when the refresh token is valid. + * + */ + public Output refreshTokenWindowMinutes() { + return this.refreshTokenWindowMinutes; + } + + private GetAuthorizationServersPoliciesRuleActionsTokenArgs() {} + + private GetAuthorizationServersPoliciesRuleActionsTokenArgs(GetAuthorizationServersPoliciesRuleActionsTokenArgs $) { + this.accessTokenLifetimeMinutes = $.accessTokenLifetimeMinutes; + this.inlineHook = $.inlineHook; + this.refreshTokenLifetimeMinutes = $.refreshTokenLifetimeMinutes; + this.refreshTokenWindowMinutes = $.refreshTokenWindowMinutes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleActionsTokenArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleActionsTokenArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleActionsTokenArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleActionsTokenArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleActionsTokenArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accessTokenLifetimeMinutes Lifetime of the access token in minutes. + * + * @return builder + * + */ + public Builder accessTokenLifetimeMinutes(Output accessTokenLifetimeMinutes) { + $.accessTokenLifetimeMinutes = accessTokenLifetimeMinutes; + return this; + } + + /** + * @param accessTokenLifetimeMinutes Lifetime of the access token in minutes. + * + * @return builder + * + */ + public Builder accessTokenLifetimeMinutes(Integer accessTokenLifetimeMinutes) { + return accessTokenLifetimeMinutes(Output.of(accessTokenLifetimeMinutes)); + } + + /** + * @param inlineHook InlineHook + * + * @return builder + * + */ + public Builder inlineHook(@Nullable Output inlineHook) { + $.inlineHook = inlineHook; + return this; + } + + /** + * @param inlineHook InlineHook + * + * @return builder + * + */ + public Builder inlineHook(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs inlineHook) { + return inlineHook(Output.of(inlineHook)); + } + + /** + * @param refreshTokenLifetimeMinutes Lifetime of the refresh token is the minimum access token lifetime. + * + * @return builder + * + */ + public Builder refreshTokenLifetimeMinutes(Output refreshTokenLifetimeMinutes) { + $.refreshTokenLifetimeMinutes = refreshTokenLifetimeMinutes; + return this; + } + + /** + * @param refreshTokenLifetimeMinutes Lifetime of the refresh token is the minimum access token lifetime. + * + * @return builder + * + */ + public Builder refreshTokenLifetimeMinutes(Integer refreshTokenLifetimeMinutes) { + return refreshTokenLifetimeMinutes(Output.of(refreshTokenLifetimeMinutes)); + } + + /** + * @param refreshTokenWindowMinutes Timeframe when the refresh token is valid. + * + * @return builder + * + */ + public Builder refreshTokenWindowMinutes(Output refreshTokenWindowMinutes) { + $.refreshTokenWindowMinutes = refreshTokenWindowMinutes; + return this; + } + + /** + * @param refreshTokenWindowMinutes Timeframe when the refresh token is valid. + * + * @return builder + * + */ + public Builder refreshTokenWindowMinutes(Integer refreshTokenWindowMinutes) { + return refreshTokenWindowMinutes(Output.of(refreshTokenWindowMinutes)); + } + + public GetAuthorizationServersPoliciesRuleActionsTokenArgs build() { + if ($.accessTokenLifetimeMinutes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsTokenArgs", "accessTokenLifetimeMinutes"); + } + if ($.refreshTokenLifetimeMinutes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsTokenArgs", "refreshTokenLifetimeMinutes"); + } + if ($.refreshTokenWindowMinutes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsTokenArgs", "refreshTokenWindowMinutes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.java new file mode 100644 index 000000000..ca4109eb7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleActionsTokenInlineHook extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleActionsTokenInlineHook Empty = new GetAuthorizationServersPoliciesRuleActionsTokenInlineHook(); + + /** + * Unique identifier of the authorization server policy rule. + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return Unique identifier of the authorization server policy rule. + * + */ + public String id() { + return this.id; + } + + private GetAuthorizationServersPoliciesRuleActionsTokenInlineHook() {} + + private GetAuthorizationServersPoliciesRuleActionsTokenInlineHook(GetAuthorizationServersPoliciesRuleActionsTokenInlineHook $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleActionsTokenInlineHook defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleActionsTokenInlineHook $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleActionsTokenInlineHook(); + } + + public Builder(GetAuthorizationServersPoliciesRuleActionsTokenInlineHook defaults) { + $ = new GetAuthorizationServersPoliciesRuleActionsTokenInlineHook(Objects.requireNonNull(defaults)); + } + + /** + * @param id Unique identifier of the authorization server policy rule. + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + public GetAuthorizationServersPoliciesRuleActionsTokenInlineHook build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsTokenInlineHook", "id"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs.java new file mode 100644 index 000000000..de0d448b9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs Empty = new GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs(); + + /** + * Unique identifier of the authorization server policy rule. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return Unique identifier of the authorization server policy rule. + * + */ + public Output id() { + return this.id; + } + + private GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs() {} + + private GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs $) { + this.id = $.id; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id Unique identifier of the authorization server policy rule. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id Unique identifier of the authorization server policy rule. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + public GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs", "id"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleArgs.java new file mode 100644 index 000000000..17b7cd0b7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleArgs.java @@ -0,0 +1,203 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleActionsArgs; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRuleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleArgs Empty = new GetAuthorizationServersPoliciesRuleArgs(); + + @Import(name="actions") + private @Nullable Output actions; + + public Optional> actions() { + return Optional.ofNullable(this.actions); + } + + /** + * `id` of the Authorization Server + * + */ + @Import(name="authServerId", required=true) + private Output authServerId; + + /** + * @return `id` of the Authorization Server + * + */ + public Output authServerId() { + return this.authServerId; + } + + @Import(name="conditions") + private @Nullable Output conditions; + + public Optional> conditions() { + return Optional.ofNullable(this.conditions); + } + + /** + * Unique identifier of the authorization server policy rule. + * + */ + @Import(name="id", required=true) + private Output id; + + /** + * @return Unique identifier of the authorization server policy rule. + * + */ + public Output id() { + return this.id; + } + + /** + * `id` of the policy + * + */ + @Import(name="policyId", required=true) + private Output policyId; + + /** + * @return `id` of the policy + * + */ + public Output policyId() { + return this.policyId; + } + + private GetAuthorizationServersPoliciesRuleArgs() {} + + private GetAuthorizationServersPoliciesRuleArgs(GetAuthorizationServersPoliciesRuleArgs $) { + this.actions = $.actions; + this.authServerId = $.authServerId; + this.conditions = $.conditions; + this.id = $.id; + this.policyId = $.policyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleArgs(Objects.requireNonNull(defaults)); + } + + public Builder actions(@Nullable Output actions) { + $.actions = actions; + return this; + } + + public Builder actions(GetAuthorizationServersPoliciesRuleActionsArgs actions) { + return actions(Output.of(actions)); + } + + /** + * @param authServerId `id` of the Authorization Server + * + * @return builder + * + */ + public Builder authServerId(Output authServerId) { + $.authServerId = authServerId; + return this; + } + + /** + * @param authServerId `id` of the Authorization Server + * + * @return builder + * + */ + public Builder authServerId(String authServerId) { + return authServerId(Output.of(authServerId)); + } + + public Builder conditions(@Nullable Output conditions) { + $.conditions = conditions; + return this; + } + + public Builder conditions(GetAuthorizationServersPoliciesRuleConditionsArgs conditions) { + return conditions(Output.of(conditions)); + } + + /** + * @param id Unique identifier of the authorization server policy rule. + * + * @return builder + * + */ + public Builder id(Output id) { + $.id = id; + return this; + } + + /** + * @param id Unique identifier of the authorization server policy rule. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param policyId `id` of the policy + * + * @return builder + * + */ + public Builder policyId(Output policyId) { + $.policyId = policyId; + return this; + } + + /** + * @param policyId `id` of the policy + * + * @return builder + * + */ + public Builder policyId(String policyId) { + return policyId(Output.of(policyId)); + } + + public GetAuthorizationServersPoliciesRuleArgs build() { + if ($.authServerId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleArgs", "authServerId"); + } + if ($.id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleArgs", "id"); + } + if ($.policyId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleArgs", "policyId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditions.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditions.java new file mode 100644 index 000000000..1d2e81b4d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditions.java @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypes; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsPeople; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsScopes; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRuleConditions extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleConditions Empty = new GetAuthorizationServersPoliciesRuleConditions(); + + /** + * Array of grant types that this condition includes. + * + */ + @Import(name="grantTypes") + private @Nullable GetAuthorizationServersPoliciesRuleConditionsGrantTypes grantTypes; + + /** + * @return Array of grant types that this condition includes. + * + */ + public Optional grantTypes() { + return Optional.ofNullable(this.grantTypes); + } + + /** + * Identifies Users and Groups that are used together + * + */ + @Import(name="people") + private @Nullable GetAuthorizationServersPoliciesRuleConditionsPeople people; + + /** + * @return Identifies Users and Groups that are used together + * + */ + public Optional people() { + return Optional.ofNullable(this.people); + } + + /** + * Array of scopes that the condition includes + * + */ + @Import(name="scopes") + private @Nullable GetAuthorizationServersPoliciesRuleConditionsScopes scopes; + + /** + * @return Array of scopes that the condition includes + * + */ + public Optional scopes() { + return Optional.ofNullable(this.scopes); + } + + private GetAuthorizationServersPoliciesRuleConditions() {} + + private GetAuthorizationServersPoliciesRuleConditions(GetAuthorizationServersPoliciesRuleConditions $) { + this.grantTypes = $.grantTypes; + this.people = $.people; + this.scopes = $.scopes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditions defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditions $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditions(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditions defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditions(Objects.requireNonNull(defaults)); + } + + /** + * @param grantTypes Array of grant types that this condition includes. + * + * @return builder + * + */ + public Builder grantTypes(@Nullable GetAuthorizationServersPoliciesRuleConditionsGrantTypes grantTypes) { + $.grantTypes = grantTypes; + return this; + } + + /** + * @param people Identifies Users and Groups that are used together + * + * @return builder + * + */ + public Builder people(@Nullable GetAuthorizationServersPoliciesRuleConditionsPeople people) { + $.people = people; + return this; + } + + /** + * @param scopes Array of scopes that the condition includes + * + * @return builder + * + */ + public Builder scopes(@Nullable GetAuthorizationServersPoliciesRuleConditionsScopes scopes) { + $.scopes = scopes; + return this; + } + + public GetAuthorizationServersPoliciesRuleConditions build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsArgs.java new file mode 100644 index 000000000..3af4779a1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsArgs.java @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleArgs; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsScopesArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRuleConditionsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsArgs Empty = new GetAuthorizationServersPoliciesRuleConditionsArgs(); + + /** + * Array of grant types that this condition includes. + * + */ + @Import(name="grantTypes") + private @Nullable Output grantTypes; + + /** + * @return Array of grant types that this condition includes. + * + */ + public Optional> grantTypes() { + return Optional.ofNullable(this.grantTypes); + } + + /** + * Identifies Users and Groups that are used together + * + */ + @Import(name="people") + private @Nullable Output people; + + /** + * @return Identifies Users and Groups that are used together + * + */ + public Optional> people() { + return Optional.ofNullable(this.people); + } + + /** + * Array of scopes that the condition includes + * + */ + @Import(name="scopes") + private @Nullable Output scopes; + + /** + * @return Array of scopes that the condition includes + * + */ + public Optional> scopes() { + return Optional.ofNullable(this.scopes); + } + + private GetAuthorizationServersPoliciesRuleConditionsArgs() {} + + private GetAuthorizationServersPoliciesRuleConditionsArgs(GetAuthorizationServersPoliciesRuleConditionsArgs $) { + this.grantTypes = $.grantTypes; + this.people = $.people; + this.scopes = $.scopes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param grantTypes Array of grant types that this condition includes. + * + * @return builder + * + */ + public Builder grantTypes(@Nullable Output grantTypes) { + $.grantTypes = grantTypes; + return this; + } + + /** + * @param grantTypes Array of grant types that this condition includes. + * + * @return builder + * + */ + public Builder grantTypes(GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs grantTypes) { + return grantTypes(Output.of(grantTypes)); + } + + /** + * @param people Identifies Users and Groups that are used together + * + * @return builder + * + */ + public Builder people(@Nullable Output people) { + $.people = people; + return this; + } + + /** + * @param people Identifies Users and Groups that are used together + * + * @return builder + * + */ + public Builder people(GetAuthorizationServersPoliciesRuleConditionsPeopleArgs people) { + return people(Output.of(people)); + } + + /** + * @param scopes Array of scopes that the condition includes + * + * @return builder + * + */ + public Builder scopes(@Nullable Output scopes) { + $.scopes = scopes; + return this; + } + + /** + * @param scopes Array of scopes that the condition includes + * + * @return builder + * + */ + public Builder scopes(GetAuthorizationServersPoliciesRuleConditionsScopesArgs scopes) { + return scopes(Output.of(scopes)); + } + + public GetAuthorizationServersPoliciesRuleConditionsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.java new file mode 100644 index 000000000..8aecf9217 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleConditionsGrantTypes extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsGrantTypes Empty = new GetAuthorizationServersPoliciesRuleConditionsGrantTypes(); + + /** + * Array of grant types that this condition includes. + * + */ + @Import(name="includes", required=true) + private List includes; + + /** + * @return Array of grant types that this condition includes. + * + */ + public List includes() { + return this.includes; + } + + private GetAuthorizationServersPoliciesRuleConditionsGrantTypes() {} + + private GetAuthorizationServersPoliciesRuleConditionsGrantTypes(GetAuthorizationServersPoliciesRuleConditionsGrantTypes $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsGrantTypes defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsGrantTypes $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsGrantTypes(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsGrantTypes defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsGrantTypes(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Array of grant types that this condition includes. + * + * @return builder + * + */ + public Builder includes(List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Array of grant types that this condition includes. + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetAuthorizationServersPoliciesRuleConditionsGrantTypes build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsGrantTypes", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs.java new file mode 100644 index 000000000..411a6bb28 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs.java @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs Empty = new GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs(); + + /** + * Array of grant types that this condition includes. + * + */ + @Import(name="includes", required=true) + private Output> includes; + + /** + * @return Array of grant types that this condition includes. + * + */ + public Output> includes() { + return this.includes; + } + + private GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs() {} + + private GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs(GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Array of grant types that this condition includes. + * + * @return builder + * + */ + public Builder includes(Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Array of grant types that this condition includes. + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes Array of grant types that this condition includes. + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeople.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeople.java new file mode 100644 index 000000000..fd797ba2f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeople.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroups; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsers; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRuleConditionsPeople extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsPeople Empty = new GetAuthorizationServersPoliciesRuleConditionsPeople(); + + /** + * Specifies a set of Groups whose Users are to be included + * + */ + @Import(name="groups") + private @Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleGroups groups; + + /** + * @return Specifies a set of Groups whose Users are to be included + * + */ + public Optional groups() { + return Optional.ofNullable(this.groups); + } + + /** + * Specifies a set of Users to be included + * + */ + @Import(name="users") + private @Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleUsers users; + + /** + * @return Specifies a set of Users to be included + * + */ + public Optional users() { + return Optional.ofNullable(this.users); + } + + private GetAuthorizationServersPoliciesRuleConditionsPeople() {} + + private GetAuthorizationServersPoliciesRuleConditionsPeople(GetAuthorizationServersPoliciesRuleConditionsPeople $) { + this.groups = $.groups; + this.users = $.users; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsPeople defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsPeople $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeople(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsPeople defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeople(Objects.requireNonNull(defaults)); + } + + /** + * @param groups Specifies a set of Groups whose Users are to be included + * + * @return builder + * + */ + public Builder groups(@Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleGroups groups) { + $.groups = groups; + return this; + } + + /** + * @param users Specifies a set of Users to be included + * + * @return builder + * + */ + public Builder users(@Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleUsers users) { + $.users = users; + return this; + } + + public GetAuthorizationServersPoliciesRuleConditionsPeople build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleArgs.java new file mode 100644 index 000000000..6843d9746 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRuleConditionsPeopleArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsPeopleArgs Empty = new GetAuthorizationServersPoliciesRuleConditionsPeopleArgs(); + + /** + * Specifies a set of Groups whose Users are to be included + * + */ + @Import(name="groups") + private @Nullable Output groups; + + /** + * @return Specifies a set of Groups whose Users are to be included + * + */ + public Optional> groups() { + return Optional.ofNullable(this.groups); + } + + /** + * Specifies a set of Users to be included + * + */ + @Import(name="users") + private @Nullable Output users; + + /** + * @return Specifies a set of Users to be included + * + */ + public Optional> users() { + return Optional.ofNullable(this.users); + } + + private GetAuthorizationServersPoliciesRuleConditionsPeopleArgs() {} + + private GetAuthorizationServersPoliciesRuleConditionsPeopleArgs(GetAuthorizationServersPoliciesRuleConditionsPeopleArgs $) { + this.groups = $.groups; + this.users = $.users; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsPeopleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsPeopleArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsPeopleArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param groups Specifies a set of Groups whose Users are to be included + * + * @return builder + * + */ + public Builder groups(@Nullable Output groups) { + $.groups = groups; + return this; + } + + /** + * @param groups Specifies a set of Groups whose Users are to be included + * + * @return builder + * + */ + public Builder groups(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs groups) { + return groups(Output.of(groups)); + } + + /** + * @param users Specifies a set of Users to be included + * + * @return builder + * + */ + public Builder users(@Nullable Output users) { + $.users = users; + return this; + } + + /** + * @param users Specifies a set of Users to be included + * + * @return builder + * + */ + public Builder users(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs users) { + return users(Output.of(users)); + } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.java new file mode 100644 index 000000000..92f8296cf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleConditionsPeopleGroups extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsPeopleGroups Empty = new GetAuthorizationServersPoliciesRuleConditionsPeopleGroups(); + + /** + * Groups to be included + * + */ + @Import(name="includes", required=true) + private List includes; + + /** + * @return Groups to be included + * + */ + public List includes() { + return this.includes; + } + + private GetAuthorizationServersPoliciesRuleConditionsPeopleGroups() {} + + private GetAuthorizationServersPoliciesRuleConditionsPeopleGroups(GetAuthorizationServersPoliciesRuleConditionsPeopleGroups $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsPeopleGroups defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsPeopleGroups $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleGroups(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsPeopleGroups defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleGroups(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleGroups build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsPeopleGroups", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs.java new file mode 100644 index 000000000..48d0a40fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs.java @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs Empty = new GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs(); + + /** + * Groups to be included + * + */ + @Import(name="includes", required=true) + private Output> includes; + + /** + * @return Groups to be included + * + */ + public Output> includes() { + return this.includes; + } + + private GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs() {} + + private GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes Groups to be included + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.java new file mode 100644 index 000000000..c92289823 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleConditionsPeopleUsers extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsPeopleUsers Empty = new GetAuthorizationServersPoliciesRuleConditionsPeopleUsers(); + + /** + * Users to be included + * + */ + @Import(name="includes", required=true) + private List includes; + + /** + * @return Users to be included + * + */ + public List includes() { + return this.includes; + } + + private GetAuthorizationServersPoliciesRuleConditionsPeopleUsers() {} + + private GetAuthorizationServersPoliciesRuleConditionsPeopleUsers(GetAuthorizationServersPoliciesRuleConditionsPeopleUsers $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsPeopleUsers defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsPeopleUsers $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleUsers(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsPeopleUsers defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleUsers(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleUsers build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsPeopleUsers", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs.java new file mode 100644 index 000000000..98440864b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs.java @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs Empty = new GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs(); + + /** + * Users to be included + * + */ + @Import(name="includes", required=true) + private Output> includes; + + /** + * @return Users to be included + * + */ + public Output> includes() { + return this.includes; + } + + private GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs() {} + + private GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes Users to be included + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsScopes.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsScopes.java new file mode 100644 index 000000000..0b153daf9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsScopes.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleConditionsScopes extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsScopes Empty = new GetAuthorizationServersPoliciesRuleConditionsScopes(); + + /** + * Include + * + */ + @Import(name="includes", required=true) + private List includes; + + /** + * @return Include + * + */ + public List includes() { + return this.includes; + } + + private GetAuthorizationServersPoliciesRuleConditionsScopes() {} + + private GetAuthorizationServersPoliciesRuleConditionsScopes(GetAuthorizationServersPoliciesRuleConditionsScopes $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsScopes defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsScopes $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsScopes(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsScopes defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsScopes(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(List includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetAuthorizationServersPoliciesRuleConditionsScopes build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsScopes", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsScopesArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsScopesArgs.java new file mode 100644 index 000000000..c10a220ef --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRuleConditionsScopesArgs.java @@ -0,0 +1,96 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + + +public final class GetAuthorizationServersPoliciesRuleConditionsScopesArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAuthorizationServersPoliciesRuleConditionsScopesArgs Empty = new GetAuthorizationServersPoliciesRuleConditionsScopesArgs(); + + /** + * Include + * + */ + @Import(name="includes", required=true) + private Output> includes; + + /** + * @return Include + * + */ + public Output> includes() { + return this.includes; + } + + private GetAuthorizationServersPoliciesRuleConditionsScopesArgs() {} + + private GetAuthorizationServersPoliciesRuleConditionsScopesArgs(GetAuthorizationServersPoliciesRuleConditionsScopesArgs $) { + this.includes = $.includes; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsScopesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRuleConditionsScopesArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRuleConditionsScopesArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRuleConditionsScopesArgs defaults) { + $ = new GetAuthorizationServersPoliciesRuleConditionsScopesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(Output> includes) { + $.includes = includes; + return this; + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(List includes) { + return includes(Output.of(includes)); + } + + /** + * @param includes Include + * + * @return builder + * + */ + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + + public GetAuthorizationServersPoliciesRuleConditionsScopesArgs build() { + if ($.includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsScopesArgs", "includes"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRulePlainArgs.java new file mode 100644 index 000000000..fcbc72711 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetAuthorizationServersPoliciesRulePlainArgs.java @@ -0,0 +1,164 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleActions; +import com.pulumi.okta.inputs.GetAuthorizationServersPoliciesRuleConditions; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAuthorizationServersPoliciesRulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAuthorizationServersPoliciesRulePlainArgs Empty = new GetAuthorizationServersPoliciesRulePlainArgs(); + + @Import(name="actions") + private @Nullable GetAuthorizationServersPoliciesRuleActions actions; + + public Optional actions() { + return Optional.ofNullable(this.actions); + } + + /** + * `id` of the Authorization Server + * + */ + @Import(name="authServerId", required=true) + private String authServerId; + + /** + * @return `id` of the Authorization Server + * + */ + public String authServerId() { + return this.authServerId; + } + + @Import(name="conditions") + private @Nullable GetAuthorizationServersPoliciesRuleConditions conditions; + + public Optional conditions() { + return Optional.ofNullable(this.conditions); + } + + /** + * Unique identifier of the authorization server policy rule. + * + */ + @Import(name="id", required=true) + private String id; + + /** + * @return Unique identifier of the authorization server policy rule. + * + */ + public String id() { + return this.id; + } + + /** + * `id` of the policy + * + */ + @Import(name="policyId", required=true) + private String policyId; + + /** + * @return `id` of the policy + * + */ + public String policyId() { + return this.policyId; + } + + private GetAuthorizationServersPoliciesRulePlainArgs() {} + + private GetAuthorizationServersPoliciesRulePlainArgs(GetAuthorizationServersPoliciesRulePlainArgs $) { + this.actions = $.actions; + this.authServerId = $.authServerId; + this.conditions = $.conditions; + this.id = $.id; + this.policyId = $.policyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAuthorizationServersPoliciesRulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAuthorizationServersPoliciesRulePlainArgs $; + + public Builder() { + $ = new GetAuthorizationServersPoliciesRulePlainArgs(); + } + + public Builder(GetAuthorizationServersPoliciesRulePlainArgs defaults) { + $ = new GetAuthorizationServersPoliciesRulePlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder actions(@Nullable GetAuthorizationServersPoliciesRuleActions actions) { + $.actions = actions; + return this; + } + + /** + * @param authServerId `id` of the Authorization Server + * + * @return builder + * + */ + public Builder authServerId(String authServerId) { + $.authServerId = authServerId; + return this; + } + + public Builder conditions(@Nullable GetAuthorizationServersPoliciesRuleConditions conditions) { + $.conditions = conditions; + return this; + } + + /** + * @param id Unique identifier of the authorization server policy rule. + * + * @return builder + * + */ + public Builder id(String id) { + $.id = id; + return this; + } + + /** + * @param policyId `id` of the policy + * + * @return builder + * + */ + public Builder policyId(String policyId) { + $.policyId = policyId; + return this; + } + + public GetAuthorizationServersPoliciesRulePlainArgs build() { + if ($.authServerId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRulePlainArgs", "authServerId"); + } + if ($.id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRulePlainArgs", "id"); + } + if ($.policyId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRulePlainArgs", "policyId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserArgs.java new file mode 100644 index 000000000..d526daf6b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserArgs.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.GetIamAssigneesUserItemArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIamAssigneesUserArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIamAssigneesUserArgs Empty = new GetIamAssigneesUserArgs(); + + @Import(name="id") + private @Nullable Output id; + + public Optional> id() { + return Optional.ofNullable(this.id); + } + + @Import(name="items") + private @Nullable Output> items; + + public Optional>> items() { + return Optional.ofNullable(this.items); + } + + private GetIamAssigneesUserArgs() {} + + private GetIamAssigneesUserArgs(GetIamAssigneesUserArgs $) { + this.id = $.id; + this.items = $.items; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIamAssigneesUserArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIamAssigneesUserArgs $; + + public Builder() { + $ = new GetIamAssigneesUserArgs(); + } + + public Builder(GetIamAssigneesUserArgs defaults) { + $ = new GetIamAssigneesUserArgs(Objects.requireNonNull(defaults)); + } + + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + public Builder id(String id) { + return id(Output.of(id)); + } + + public Builder items(@Nullable Output> items) { + $.items = items; + return this; + } + + public Builder items(List items) { + return items(Output.of(items)); + } + + public Builder items(GetIamAssigneesUserItemArgs... items) { + return items(List.of(items)); + } + + public GetIamAssigneesUserArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserItem.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserItem.java new file mode 100644 index 000000000..8b6d0d994 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserItem.java @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetIamAssigneesUserItem extends com.pulumi.resources.InvokeArgs { + + public static final GetIamAssigneesUserItem Empty = new GetIamAssigneesUserItem(); + + @Import(name="id", required=true) + private String id; + + public String id() { + return this.id; + } + + /** + * ORN representing the assignee + * + */ + @Import(name="orn", required=true) + private String orn; + + /** + * @return ORN representing the assignee + * + */ + public String orn() { + return this.orn; + } + + private GetIamAssigneesUserItem() {} + + private GetIamAssigneesUserItem(GetIamAssigneesUserItem $) { + this.id = $.id; + this.orn = $.orn; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIamAssigneesUserItem defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIamAssigneesUserItem $; + + public Builder() { + $ = new GetIamAssigneesUserItem(); + } + + public Builder(GetIamAssigneesUserItem defaults) { + $ = new GetIamAssigneesUserItem(Objects.requireNonNull(defaults)); + } + + public Builder id(String id) { + $.id = id; + return this; + } + + /** + * @param orn ORN representing the assignee + * + * @return builder + * + */ + public Builder orn(String orn) { + $.orn = orn; + return this; + } + + public GetIamAssigneesUserItem build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetIamAssigneesUserItem", "id"); + } + if ($.orn == null) { + throw new MissingRequiredPropertyException("GetIamAssigneesUserItem", "orn"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserItemArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserItemArgs.java new file mode 100644 index 000000000..d02113362 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserItemArgs.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetIamAssigneesUserItemArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetIamAssigneesUserItemArgs Empty = new GetIamAssigneesUserItemArgs(); + + @Import(name="id", required=true) + private Output id; + + public Output id() { + return this.id; + } + + /** + * ORN representing the assignee + * + */ + @Import(name="orn", required=true) + private Output orn; + + /** + * @return ORN representing the assignee + * + */ + public Output orn() { + return this.orn; + } + + private GetIamAssigneesUserItemArgs() {} + + private GetIamAssigneesUserItemArgs(GetIamAssigneesUserItemArgs $) { + this.id = $.id; + this.orn = $.orn; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIamAssigneesUserItemArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIamAssigneesUserItemArgs $; + + public Builder() { + $ = new GetIamAssigneesUserItemArgs(); + } + + public Builder(GetIamAssigneesUserItemArgs defaults) { + $ = new GetIamAssigneesUserItemArgs(Objects.requireNonNull(defaults)); + } + + public Builder id(Output id) { + $.id = id; + return this; + } + + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param orn ORN representing the assignee + * + * @return builder + * + */ + public Builder orn(Output orn) { + $.orn = orn; + return this; + } + + /** + * @param orn ORN representing the assignee + * + * @return builder + * + */ + public Builder orn(String orn) { + return orn(Output.of(orn)); + } + + public GetIamAssigneesUserItemArgs build() { + if ($.id == null) { + throw new MissingRequiredPropertyException("GetIamAssigneesUserItemArgs", "id"); + } + if ($.orn == null) { + throw new MissingRequiredPropertyException("GetIamAssigneesUserItemArgs", "orn"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserPlainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserPlainArgs.java new file mode 100644 index 000000000..6621d753b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIamAssigneesUserPlainArgs.java @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.GetIamAssigneesUserItem; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIamAssigneesUserPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIamAssigneesUserPlainArgs Empty = new GetIamAssigneesUserPlainArgs(); + + @Import(name="id") + private @Nullable String id; + + public Optional id() { + return Optional.ofNullable(this.id); + } + + @Import(name="items") + private @Nullable List items; + + public Optional> items() { + return Optional.ofNullable(this.items); + } + + private GetIamAssigneesUserPlainArgs() {} + + private GetIamAssigneesUserPlainArgs(GetIamAssigneesUserPlainArgs $) { + this.id = $.id; + this.items = $.items; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIamAssigneesUserPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIamAssigneesUserPlainArgs $; + + public Builder() { + $ = new GetIamAssigneesUserPlainArgs(); + } + + public Builder(GetIamAssigneesUserPlainArgs defaults) { + $ = new GetIamAssigneesUserPlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + public Builder items(@Nullable List items) { + $.items = items; + return this; + } + + public Builder items(GetIamAssigneesUserItem... items) { + return items(List.of(items)); + } + + public GetIamAssigneesUserPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupMembershipsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupMembershipsArgs.java new file mode 100644 index 000000000..36f030f8c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupMembershipsArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetIdentitySourceGroupMembershipsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceGroupMembershipsArgs Empty = new GetIdentitySourceGroupMembershipsArgs(); + + /** + * The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + * + */ + @Import(name="groupExternalId", required=true) + private Output groupExternalId; + + /** + * @return The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + * + */ + public Output groupExternalId() { + return this.groupExternalId; + } + + /** + * ID of the identity source. + * + */ + @Import(name="identitySourceId", required=true) + private Output identitySourceId; + + /** + * @return ID of the identity source. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + + private GetIdentitySourceGroupMembershipsArgs() {} + + private GetIdentitySourceGroupMembershipsArgs(GetIdentitySourceGroupMembershipsArgs $) { + this.groupExternalId = $.groupExternalId; + this.identitySourceId = $.identitySourceId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceGroupMembershipsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceGroupMembershipsArgs $; + + public Builder() { + $ = new GetIdentitySourceGroupMembershipsArgs(); + } + + public Builder(GetIdentitySourceGroupMembershipsArgs defaults) { + $ = new GetIdentitySourceGroupMembershipsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param groupExternalId The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + * + * @return builder + * + */ + public Builder groupExternalId(Output groupExternalId) { + $.groupExternalId = groupExternalId; + return this; + } + + /** + * @param groupExternalId The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + * + * @return builder + * + */ + public Builder groupExternalId(String groupExternalId) { + return groupExternalId(Output.of(groupExternalId)); + } + + /** + * @param identitySourceId ID of the identity source. + * + * @return builder + * + */ + public Builder identitySourceId(Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + public GetIdentitySourceGroupMembershipsArgs build() { + if ($.groupExternalId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupMembershipsArgs", "groupExternalId"); + } + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupMembershipsArgs", "identitySourceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupMembershipsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupMembershipsPlainArgs.java new file mode 100644 index 000000000..a13d7f18d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupMembershipsPlainArgs.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetIdentitySourceGroupMembershipsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceGroupMembershipsPlainArgs Empty = new GetIdentitySourceGroupMembershipsPlainArgs(); + + /** + * The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + * + */ + @Import(name="groupExternalId", required=true) + private String groupExternalId; + + /** + * @return The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + * + */ + public String groupExternalId() { + return this.groupExternalId; + } + + /** + * ID of the identity source. + * + */ + @Import(name="identitySourceId", required=true) + private String identitySourceId; + + /** + * @return ID of the identity source. + * + */ + public String identitySourceId() { + return this.identitySourceId; + } + + private GetIdentitySourceGroupMembershipsPlainArgs() {} + + private GetIdentitySourceGroupMembershipsPlainArgs(GetIdentitySourceGroupMembershipsPlainArgs $) { + this.groupExternalId = $.groupExternalId; + this.identitySourceId = $.identitySourceId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceGroupMembershipsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceGroupMembershipsPlainArgs $; + + public Builder() { + $ = new GetIdentitySourceGroupMembershipsPlainArgs(); + } + + public Builder(GetIdentitySourceGroupMembershipsPlainArgs defaults) { + $ = new GetIdentitySourceGroupMembershipsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param groupExternalId The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + * + * @return builder + * + */ + public Builder groupExternalId(String groupExternalId) { + $.groupExternalId = groupExternalId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + public GetIdentitySourceGroupMembershipsPlainArgs build() { + if ($.groupExternalId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupMembershipsPlainArgs", "groupExternalId"); + } + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupMembershipsPlainArgs", "identitySourceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsArgs.java new file mode 100644 index 000000000..fe535afbb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsArgs.java @@ -0,0 +1,182 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetIdentitySourceGroupsProfileArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIdentitySourceGroupsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceGroupsArgs Empty = new GetIdentitySourceGroupsArgs(); + + /** + * The external ID of the group in the identity source. + * + */ + @Import(name="externalId", required=true) + private Output externalId; + + /** + * @return The external ID of the group in the identity source. + * + */ + public Output externalId() { + return this.externalId; + } + + /** + * Okta-assigned ID of the group (populated after read). + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return Okta-assigned ID of the group (populated after read). + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * ID of the identity source. + * + */ + @Import(name="identitySourceId", required=true) + private Output identitySourceId; + + /** + * @return ID of the identity source. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + + @Import(name="profile") + private @Nullable Output profile; + + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + private GetIdentitySourceGroupsArgs() {} + + private GetIdentitySourceGroupsArgs(GetIdentitySourceGroupsArgs $) { + this.externalId = $.externalId; + this.id = $.id; + this.identitySourceId = $.identitySourceId; + this.profile = $.profile; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceGroupsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceGroupsArgs $; + + public Builder() { + $ = new GetIdentitySourceGroupsArgs(); + } + + public Builder(GetIdentitySourceGroupsArgs defaults) { + $ = new GetIdentitySourceGroupsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalId The external ID of the group in the identity source. + * + * @return builder + * + */ + public Builder externalId(Output externalId) { + $.externalId = externalId; + return this; + } + + /** + * @param externalId The external ID of the group in the identity source. + * + * @return builder + * + */ + public Builder externalId(String externalId) { + return externalId(Output.of(externalId)); + } + + /** + * @param id Okta-assigned ID of the group (populated after read). + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id Okta-assigned ID of the group (populated after read). + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param identitySourceId ID of the identity source. + * + * @return builder + * + */ + public Builder identitySourceId(Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + public Builder profile(GetIdentitySourceGroupsProfileArgs profile) { + return profile(Output.of(profile)); + } + + public GetIdentitySourceGroupsArgs build() { + if ($.externalId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsArgs", "externalId"); + } + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsArgs", "identitySourceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsPlainArgs.java new file mode 100644 index 000000000..1065be26a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsPlainArgs.java @@ -0,0 +1,147 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.inputs.GetIdentitySourceGroupsProfile; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIdentitySourceGroupsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceGroupsPlainArgs Empty = new GetIdentitySourceGroupsPlainArgs(); + + /** + * The external ID of the group in the identity source. + * + */ + @Import(name="externalId", required=true) + private String externalId; + + /** + * @return The external ID of the group in the identity source. + * + */ + public String externalId() { + return this.externalId; + } + + /** + * Okta-assigned ID of the group (populated after read). + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return Okta-assigned ID of the group (populated after read). + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * ID of the identity source. + * + */ + @Import(name="identitySourceId", required=true) + private String identitySourceId; + + /** + * @return ID of the identity source. + * + */ + public String identitySourceId() { + return this.identitySourceId; + } + + @Import(name="profile") + private @Nullable GetIdentitySourceGroupsProfile profile; + + public Optional profile() { + return Optional.ofNullable(this.profile); + } + + private GetIdentitySourceGroupsPlainArgs() {} + + private GetIdentitySourceGroupsPlainArgs(GetIdentitySourceGroupsPlainArgs $) { + this.externalId = $.externalId; + this.id = $.id; + this.identitySourceId = $.identitySourceId; + this.profile = $.profile; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceGroupsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceGroupsPlainArgs $; + + public Builder() { + $ = new GetIdentitySourceGroupsPlainArgs(); + } + + public Builder(GetIdentitySourceGroupsPlainArgs defaults) { + $ = new GetIdentitySourceGroupsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalId The external ID of the group in the identity source. + * + * @return builder + * + */ + public Builder externalId(String externalId) { + $.externalId = externalId; + return this; + } + + /** + * @param id Okta-assigned ID of the group (populated after read). + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param identitySourceId ID of the identity source. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + public Builder profile(@Nullable GetIdentitySourceGroupsProfile profile) { + $.profile = profile; + return this; + } + + public GetIdentitySourceGroupsPlainArgs build() { + if ($.externalId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsPlainArgs", "externalId"); + } + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsPlainArgs", "identitySourceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsProfile.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsProfile.java new file mode 100644 index 000000000..03d40ee93 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsProfile.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetIdentitySourceGroupsProfile extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceGroupsProfile Empty = new GetIdentitySourceGroupsProfile(); + + /** + * Description of the group. + * + */ + @Import(name="description", required=true) + private String description; + + /** + * @return Description of the group. + * + */ + public String description() { + return this.description; + } + + /** + * Display name of the group. + * + */ + @Import(name="displayName", required=true) + private String displayName; + + /** + * @return Display name of the group. + * + */ + public String displayName() { + return this.displayName; + } + + private GetIdentitySourceGroupsProfile() {} + + private GetIdentitySourceGroupsProfile(GetIdentitySourceGroupsProfile $) { + this.description = $.description; + this.displayName = $.displayName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceGroupsProfile defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceGroupsProfile $; + + public Builder() { + $ = new GetIdentitySourceGroupsProfile(); + } + + public Builder(GetIdentitySourceGroupsProfile defaults) { + $ = new GetIdentitySourceGroupsProfile(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description of the group. + * + * @return builder + * + */ + public Builder description(String description) { + $.description = description; + return this; + } + + /** + * @param displayName Display name of the group. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + $.displayName = displayName; + return this; + } + + public GetIdentitySourceGroupsProfile build() { + if ($.description == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsProfile", "description"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsProfile", "displayName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsProfileArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsProfileArgs.java new file mode 100644 index 000000000..3dec2baae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceGroupsProfileArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetIdentitySourceGroupsProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetIdentitySourceGroupsProfileArgs Empty = new GetIdentitySourceGroupsProfileArgs(); + + /** + * Description of the group. + * + */ + @Import(name="description", required=true) + private Output description; + + /** + * @return Description of the group. + * + */ + public Output description() { + return this.description; + } + + /** + * Display name of the group. + * + */ + @Import(name="displayName", required=true) + private Output displayName; + + /** + * @return Display name of the group. + * + */ + public Output displayName() { + return this.displayName; + } + + private GetIdentitySourceGroupsProfileArgs() {} + + private GetIdentitySourceGroupsProfileArgs(GetIdentitySourceGroupsProfileArgs $) { + this.description = $.description; + this.displayName = $.displayName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceGroupsProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceGroupsProfileArgs $; + + public Builder() { + $ = new GetIdentitySourceGroupsProfileArgs(); + } + + public Builder(GetIdentitySourceGroupsProfileArgs defaults) { + $ = new GetIdentitySourceGroupsProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description of the group. + * + * @return builder + * + */ + public Builder description(Output description) { + $.description = description; + return this; + } + + /** + * @param description Description of the group. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName Display name of the group. + * + * @return builder + * + */ + public Builder displayName(Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName Display name of the group. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + public GetIdentitySourceGroupsProfileArgs build() { + if ($.description == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsProfileArgs", "description"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsProfileArgs", "displayName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceSessionsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceSessionsArgs.java new file mode 100644 index 000000000..d2838a88d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceSessionsArgs.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetIdentitySourceSessionsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceSessionsArgs Empty = new GetIdentitySourceSessionsArgs(); + + /** + * ID of the identity source. + * + */ + @Import(name="identitySourceId", required=true) + private Output identitySourceId; + + /** + * @return ID of the identity source. + * + */ + public Output identitySourceId() { + return this.identitySourceId; + } + + @Import(name="sessionId", required=true) + private Output sessionId; + + public Output sessionId() { + return this.sessionId; + } + + private GetIdentitySourceSessionsArgs() {} + + private GetIdentitySourceSessionsArgs(GetIdentitySourceSessionsArgs $) { + this.identitySourceId = $.identitySourceId; + this.sessionId = $.sessionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceSessionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceSessionsArgs $; + + public Builder() { + $ = new GetIdentitySourceSessionsArgs(); + } + + public Builder(GetIdentitySourceSessionsArgs defaults) { + $ = new GetIdentitySourceSessionsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param identitySourceId ID of the identity source. + * + * @return builder + * + */ + public Builder identitySourceId(Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + public Builder sessionId(Output sessionId) { + $.sessionId = sessionId; + return this; + } + + public Builder sessionId(String sessionId) { + return sessionId(Output.of(sessionId)); + } + + public GetIdentitySourceSessionsArgs build() { + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsArgs", "identitySourceId"); + } + if ($.sessionId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsArgs", "sessionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceSessionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceSessionsPlainArgs.java new file mode 100644 index 000000000..ea0c500ff --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceSessionsPlainArgs.java @@ -0,0 +1,90 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetIdentitySourceSessionsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceSessionsPlainArgs Empty = new GetIdentitySourceSessionsPlainArgs(); + + /** + * ID of the identity source. + * + */ + @Import(name="identitySourceId", required=true) + private String identitySourceId; + + /** + * @return ID of the identity source. + * + */ + public String identitySourceId() { + return this.identitySourceId; + } + + @Import(name="sessionId", required=true) + private String sessionId; + + public String sessionId() { + return this.sessionId; + } + + private GetIdentitySourceSessionsPlainArgs() {} + + private GetIdentitySourceSessionsPlainArgs(GetIdentitySourceSessionsPlainArgs $) { + this.identitySourceId = $.identitySourceId; + this.sessionId = $.sessionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceSessionsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceSessionsPlainArgs $; + + public Builder() { + $ = new GetIdentitySourceSessionsPlainArgs(); + } + + public Builder(GetIdentitySourceSessionsPlainArgs defaults) { + $ = new GetIdentitySourceSessionsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param identitySourceId ID of the identity source. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + public Builder sessionId(String sessionId) { + $.sessionId = sessionId; + return this; + } + + public GetIdentitySourceSessionsPlainArgs build() { + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsPlainArgs", "identitySourceId"); + } + if ($.sessionId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsPlainArgs", "sessionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceUsersArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceUsersArgs.java new file mode 100644 index 000000000..7ad6955fa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceUsersArgs.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIdentitySourceUsersArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceUsersArgs Empty = new GetIdentitySourceUsersArgs(); + + @Import(name="externalId", required=true) + private Output externalId; + + public Output externalId() { + return this.externalId; + } + + @Import(name="id") + private @Nullable Output id; + + public Optional> id() { + return Optional.ofNullable(this.id); + } + + @Import(name="identitySourceId", required=true) + private Output identitySourceId; + + public Output identitySourceId() { + return this.identitySourceId; + } + + private GetIdentitySourceUsersArgs() {} + + private GetIdentitySourceUsersArgs(GetIdentitySourceUsersArgs $) { + this.externalId = $.externalId; + this.id = $.id; + this.identitySourceId = $.identitySourceId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceUsersArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceUsersArgs $; + + public Builder() { + $ = new GetIdentitySourceUsersArgs(); + } + + public Builder(GetIdentitySourceUsersArgs defaults) { + $ = new GetIdentitySourceUsersArgs(Objects.requireNonNull(defaults)); + } + + public Builder externalId(Output externalId) { + $.externalId = externalId; + return this; + } + + public Builder externalId(String externalId) { + return externalId(Output.of(externalId)); + } + + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + public Builder id(String id) { + return id(Output.of(id)); + } + + public Builder identitySourceId(Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + public GetIdentitySourceUsersArgs build() { + if ($.externalId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersArgs", "externalId"); + } + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersArgs", "identitySourceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceUsersPlainArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceUsersPlainArgs.java new file mode 100644 index 000000000..7aa383b2d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/GetIdentitySourceUsersPlainArgs.java @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetIdentitySourceUsersPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetIdentitySourceUsersPlainArgs Empty = new GetIdentitySourceUsersPlainArgs(); + + @Import(name="externalId", required=true) + private String externalId; + + public String externalId() { + return this.externalId; + } + + @Import(name="id") + private @Nullable String id; + + public Optional id() { + return Optional.ofNullable(this.id); + } + + @Import(name="identitySourceId", required=true) + private String identitySourceId; + + public String identitySourceId() { + return this.identitySourceId; + } + + private GetIdentitySourceUsersPlainArgs() {} + + private GetIdentitySourceUsersPlainArgs(GetIdentitySourceUsersPlainArgs $) { + this.externalId = $.externalId; + this.id = $.id; + this.identitySourceId = $.identitySourceId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetIdentitySourceUsersPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetIdentitySourceUsersPlainArgs $; + + public Builder() { + $ = new GetIdentitySourceUsersPlainArgs(); + } + + public Builder(GetIdentitySourceUsersPlainArgs defaults) { + $ = new GetIdentitySourceUsersPlainArgs(Objects.requireNonNull(defaults)); + } + + public Builder externalId(String externalId) { + $.externalId = externalId; + return this; + } + + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + public Builder identitySourceId(String identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + public GetIdentitySourceUsersPlainArgs build() { + if ($.externalId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersPlainArgs", "externalId"); + } + if ($.identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersPlainArgs", "identitySourceId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupMembershipState.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupMembershipState.java new file mode 100644 index 000000000..89ed2b74a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupMembershipState.java @@ -0,0 +1,205 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceGroupMembershipState extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceGroupMembershipState Empty = new IdentitySourceGroupMembershipState(); + + /** + * External ID of the identity source group. Forces replacement when changed. + * + */ + @Import(name="groupOrExternalId") + private @Nullable Output groupOrExternalId; + + /** + * @return External ID of the identity source group. Forces replacement when changed. + * + */ + public Optional> groupOrExternalId() { + return Optional.ofNullable(this.groupOrExternalId); + } + + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Import(name="identitySourceId") + private @Nullable Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Optional> identitySourceId() { + return Optional.ofNullable(this.identitySourceId); + } + + /** + * The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + */ + @Import(name="memberExternalId") + private @Nullable Output memberExternalId; + + /** + * @return The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + */ + public Optional> memberExternalId() { + return Optional.ofNullable(this.memberExternalId); + } + + /** + * A list of all member external IDs currently in the group (populated after creation). + * + */ + @Import(name="memberExternalIds") + private @Nullable Output> memberExternalIds; + + /** + * @return A list of all member external IDs currently in the group (populated after creation). + * + */ + public Optional>> memberExternalIds() { + return Optional.ofNullable(this.memberExternalIds); + } + + private IdentitySourceGroupMembershipState() {} + + private IdentitySourceGroupMembershipState(IdentitySourceGroupMembershipState $) { + this.groupOrExternalId = $.groupOrExternalId; + this.identitySourceId = $.identitySourceId; + this.memberExternalId = $.memberExternalId; + this.memberExternalIds = $.memberExternalIds; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceGroupMembershipState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceGroupMembershipState $; + + public Builder() { + $ = new IdentitySourceGroupMembershipState(); + } + + public Builder(IdentitySourceGroupMembershipState defaults) { + $ = new IdentitySourceGroupMembershipState(Objects.requireNonNull(defaults)); + } + + /** + * @param groupOrExternalId External ID of the identity source group. Forces replacement when changed. + * + * @return builder + * + */ + public Builder groupOrExternalId(@Nullable Output groupOrExternalId) { + $.groupOrExternalId = groupOrExternalId; + return this; + } + + /** + * @param groupOrExternalId External ID of the identity source group. Forces replacement when changed. + * + * @return builder + * + */ + public Builder groupOrExternalId(String groupOrExternalId) { + return groupOrExternalId(Output.of(groupOrExternalId)); + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(@Nullable Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + /** + * @param memberExternalId The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + * @return builder + * + */ + public Builder memberExternalId(@Nullable Output memberExternalId) { + $.memberExternalId = memberExternalId; + return this; + } + + /** + * @param memberExternalId The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + * + * @return builder + * + */ + public Builder memberExternalId(String memberExternalId) { + return memberExternalId(Output.of(memberExternalId)); + } + + /** + * @param memberExternalIds A list of all member external IDs currently in the group (populated after creation). + * + * @return builder + * + */ + public Builder memberExternalIds(@Nullable Output> memberExternalIds) { + $.memberExternalIds = memberExternalIds; + return this; + } + + /** + * @param memberExternalIds A list of all member external IDs currently in the group (populated after creation). + * + * @return builder + * + */ + public Builder memberExternalIds(List memberExternalIds) { + return memberExternalIds(Output.of(memberExternalIds)); + } + + /** + * @param memberExternalIds A list of all member external IDs currently in the group (populated after creation). + * + * @return builder + * + */ + public Builder memberExternalIds(String... memberExternalIds) { + return memberExternalIds(List.of(memberExternalIds)); + } + + public IdentitySourceGroupMembershipState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupProfileArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupProfileArgs.java new file mode 100644 index 000000000..758f426cf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupProfileArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceGroupProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceGroupProfileArgs Empty = new IdentitySourceGroupProfileArgs(); + + /** + * Description of the group. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description of the group. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Name of the group. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return Name of the group. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + private IdentitySourceGroupProfileArgs() {} + + private IdentitySourceGroupProfileArgs(IdentitySourceGroupProfileArgs $) { + this.description = $.description; + this.displayName = $.displayName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceGroupProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceGroupProfileArgs $; + + public Builder() { + $ = new IdentitySourceGroupProfileArgs(); + } + + public Builder(IdentitySourceGroupProfileArgs defaults) { + $ = new IdentitySourceGroupProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description of the group. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description of the group. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName Name of the group. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName Name of the group. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + public IdentitySourceGroupProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupState.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupState.java new file mode 100644 index 000000000..ef80ec695 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceGroupState.java @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceGroupProfileArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceGroupState extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceGroupState Empty = new IdentitySourceGroupState(); + + /** + * The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + */ + @Import(name="externalId") + private @Nullable Output externalId; + + /** + * @return The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + */ + public Optional> externalId() { + return Optional.ofNullable(this.externalId); + } + + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Import(name="identitySourceId") + private @Nullable Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Optional> identitySourceId() { + return Optional.ofNullable(this.identitySourceId); + } + + /** + * Display attributes for the group. + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return Display attributes for the group. + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + private IdentitySourceGroupState() {} + + private IdentitySourceGroupState(IdentitySourceGroupState $) { + this.externalId = $.externalId; + this.identitySourceId = $.identitySourceId; + this.profile = $.profile; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceGroupState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceGroupState $; + + public Builder() { + $ = new IdentitySourceGroupState(); + } + + public Builder(IdentitySourceGroupState defaults) { + $ = new IdentitySourceGroupState(Objects.requireNonNull(defaults)); + } + + /** + * @param externalId The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + * @return builder + * + */ + public Builder externalId(@Nullable Output externalId) { + $.externalId = externalId; + return this; + } + + /** + * @param externalId The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + * + * @return builder + * + */ + public Builder externalId(String externalId) { + return externalId(Output.of(externalId)); + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(@Nullable Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + /** + * @param profile Display attributes for the group. + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile Display attributes for the group. + * + * @return builder + * + */ + public Builder profile(IdentitySourceGroupProfileArgs profile) { + return profile(Output.of(profile)); + } + + public IdentitySourceGroupState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupMembershipsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupMembershipsArgs.java new file mode 100644 index 000000000..933889423 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupMembershipsArgs.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceImportDeleteGroupMembershipsMembershipArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportDeleteGroupMembershipsArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportDeleteGroupMembershipsArgs Empty = new IdentitySourceImportDeleteGroupMembershipsArgs(); + + /** + * Group memberships to delete. (see below) + * + */ + @Import(name="memberships") + private @Nullable Output> memberships; + + /** + * @return Group memberships to delete. (see below) + * + */ + public Optional>> memberships() { + return Optional.ofNullable(this.memberships); + } + + private IdentitySourceImportDeleteGroupMembershipsArgs() {} + + private IdentitySourceImportDeleteGroupMembershipsArgs(IdentitySourceImportDeleteGroupMembershipsArgs $) { + this.memberships = $.memberships; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportDeleteGroupMembershipsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportDeleteGroupMembershipsArgs $; + + public Builder() { + $ = new IdentitySourceImportDeleteGroupMembershipsArgs(); + } + + public Builder(IdentitySourceImportDeleteGroupMembershipsArgs defaults) { + $ = new IdentitySourceImportDeleteGroupMembershipsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param memberships Group memberships to delete. (see below) + * + * @return builder + * + */ + public Builder memberships(@Nullable Output> memberships) { + $.memberships = memberships; + return this; + } + + /** + * @param memberships Group memberships to delete. (see below) + * + * @return builder + * + */ + public Builder memberships(List memberships) { + return memberships(Output.of(memberships)); + } + + /** + * @param memberships Group memberships to delete. (see below) + * + * @return builder + * + */ + public Builder memberships(IdentitySourceImportDeleteGroupMembershipsMembershipArgs... memberships) { + return memberships(List.of(memberships)); + } + + public IdentitySourceImportDeleteGroupMembershipsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupMembershipsMembershipArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupMembershipsMembershipArgs.java new file mode 100644 index 000000000..8b15426ad --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupMembershipsMembershipArgs.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportDeleteGroupMembershipsMembershipArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportDeleteGroupMembershipsMembershipArgs Empty = new IdentitySourceImportDeleteGroupMembershipsMembershipArgs(); + + /** + * External ID of the group. + * + */ + @Import(name="groupExternalId") + private @Nullable Output groupExternalId; + + /** + * @return External ID of the group. + * + */ + public Optional> groupExternalId() { + return Optional.ofNullable(this.groupExternalId); + } + + /** + * External IDs of the group members to remove. + * + */ + @Import(name="memberExternalIds") + private @Nullable Output> memberExternalIds; + + /** + * @return External IDs of the group members to remove. + * + */ + public Optional>> memberExternalIds() { + return Optional.ofNullable(this.memberExternalIds); + } + + private IdentitySourceImportDeleteGroupMembershipsMembershipArgs() {} + + private IdentitySourceImportDeleteGroupMembershipsMembershipArgs(IdentitySourceImportDeleteGroupMembershipsMembershipArgs $) { + this.groupExternalId = $.groupExternalId; + this.memberExternalIds = $.memberExternalIds; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportDeleteGroupMembershipsMembershipArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportDeleteGroupMembershipsMembershipArgs $; + + public Builder() { + $ = new IdentitySourceImportDeleteGroupMembershipsMembershipArgs(); + } + + public Builder(IdentitySourceImportDeleteGroupMembershipsMembershipArgs defaults) { + $ = new IdentitySourceImportDeleteGroupMembershipsMembershipArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param groupExternalId External ID of the group. + * + * @return builder + * + */ + public Builder groupExternalId(@Nullable Output groupExternalId) { + $.groupExternalId = groupExternalId; + return this; + } + + /** + * @param groupExternalId External ID of the group. + * + * @return builder + * + */ + public Builder groupExternalId(String groupExternalId) { + return groupExternalId(Output.of(groupExternalId)); + } + + /** + * @param memberExternalIds External IDs of the group members to remove. + * + * @return builder + * + */ + public Builder memberExternalIds(@Nullable Output> memberExternalIds) { + $.memberExternalIds = memberExternalIds; + return this; + } + + /** + * @param memberExternalIds External IDs of the group members to remove. + * + * @return builder + * + */ + public Builder memberExternalIds(List memberExternalIds) { + return memberExternalIds(Output.of(memberExternalIds)); + } + + /** + * @param memberExternalIds External IDs of the group members to remove. + * + * @return builder + * + */ + public Builder memberExternalIds(String... memberExternalIds) { + return memberExternalIds(List.of(memberExternalIds)); + } + + public IdentitySourceImportDeleteGroupMembershipsMembershipArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupsArgs.java new file mode 100644 index 000000000..efca00544 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteGroupsArgs.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportDeleteGroupsArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportDeleteGroupsArgs Empty = new IdentitySourceImportDeleteGroupsArgs(); + + /** + * External IDs of the groups to delete. + * + */ + @Import(name="externalIds") + private @Nullable Output> externalIds; + + /** + * @return External IDs of the groups to delete. + * + */ + public Optional>> externalIds() { + return Optional.ofNullable(this.externalIds); + } + + private IdentitySourceImportDeleteGroupsArgs() {} + + private IdentitySourceImportDeleteGroupsArgs(IdentitySourceImportDeleteGroupsArgs $) { + this.externalIds = $.externalIds; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportDeleteGroupsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportDeleteGroupsArgs $; + + public Builder() { + $ = new IdentitySourceImportDeleteGroupsArgs(); + } + + public Builder(IdentitySourceImportDeleteGroupsArgs defaults) { + $ = new IdentitySourceImportDeleteGroupsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalIds External IDs of the groups to delete. + * + * @return builder + * + */ + public Builder externalIds(@Nullable Output> externalIds) { + $.externalIds = externalIds; + return this; + } + + /** + * @param externalIds External IDs of the groups to delete. + * + * @return builder + * + */ + public Builder externalIds(List externalIds) { + return externalIds(Output.of(externalIds)); + } + + /** + * @param externalIds External IDs of the groups to delete. + * + * @return builder + * + */ + public Builder externalIds(String... externalIds) { + return externalIds(List.of(externalIds)); + } + + public IdentitySourceImportDeleteGroupsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteUsersArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteUsersArgs.java new file mode 100644 index 000000000..6dea428c5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteUsersArgs.java @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceImportDeleteUsersProfileArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportDeleteUsersArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportDeleteUsersArgs Empty = new IdentitySourceImportDeleteUsersArgs(); + + /** + * Entity type. Currently only `USERS` is supported. + * + */ + @Import(name="entityType") + private @Nullable Output entityType; + + /** + * @return Entity type. Currently only `USERS` is supported. + * + */ + public Optional> entityType() { + return Optional.ofNullable(this.entityType); + } + + /** + * User profiles to delete (by external ID). (see below) + * + */ + @Import(name="profiles") + private @Nullable Output> profiles; + + /** + * @return User profiles to delete (by external ID). (see below) + * + */ + public Optional>> profiles() { + return Optional.ofNullable(this.profiles); + } + + private IdentitySourceImportDeleteUsersArgs() {} + + private IdentitySourceImportDeleteUsersArgs(IdentitySourceImportDeleteUsersArgs $) { + this.entityType = $.entityType; + this.profiles = $.profiles; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportDeleteUsersArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportDeleteUsersArgs $; + + public Builder() { + $ = new IdentitySourceImportDeleteUsersArgs(); + } + + public Builder(IdentitySourceImportDeleteUsersArgs defaults) { + $ = new IdentitySourceImportDeleteUsersArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param entityType Entity type. Currently only `USERS` is supported. + * + * @return builder + * + */ + public Builder entityType(@Nullable Output entityType) { + $.entityType = entityType; + return this; + } + + /** + * @param entityType Entity type. Currently only `USERS` is supported. + * + * @return builder + * + */ + public Builder entityType(String entityType) { + return entityType(Output.of(entityType)); + } + + /** + * @param profiles User profiles to delete (by external ID). (see below) + * + * @return builder + * + */ + public Builder profiles(@Nullable Output> profiles) { + $.profiles = profiles; + return this; + } + + /** + * @param profiles User profiles to delete (by external ID). (see below) + * + * @return builder + * + */ + public Builder profiles(List profiles) { + return profiles(Output.of(profiles)); + } + + /** + * @param profiles User profiles to delete (by external ID). (see below) + * + * @return builder + * + */ + public Builder profiles(IdentitySourceImportDeleteUsersProfileArgs... profiles) { + return profiles(List.of(profiles)); + } + + public IdentitySourceImportDeleteUsersArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteUsersProfileArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteUsersProfileArgs.java new file mode 100644 index 000000000..03d747369 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportDeleteUsersProfileArgs.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportDeleteUsersProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportDeleteUsersProfileArgs Empty = new IdentitySourceImportDeleteUsersProfileArgs(); + + /** + * External ID of the user to delete. + * + */ + @Import(name="externalId") + private @Nullable Output externalId; + + /** + * @return External ID of the user to delete. + * + */ + public Optional> externalId() { + return Optional.ofNullable(this.externalId); + } + + private IdentitySourceImportDeleteUsersProfileArgs() {} + + private IdentitySourceImportDeleteUsersProfileArgs(IdentitySourceImportDeleteUsersProfileArgs $) { + this.externalId = $.externalId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportDeleteUsersProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportDeleteUsersProfileArgs $; + + public Builder() { + $ = new IdentitySourceImportDeleteUsersProfileArgs(); + } + + public Builder(IdentitySourceImportDeleteUsersProfileArgs defaults) { + $ = new IdentitySourceImportDeleteUsersProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalId External ID of the user to delete. + * + * @return builder + * + */ + public Builder externalId(@Nullable Output externalId) { + $.externalId = externalId; + return this; + } + + /** + * @param externalId External ID of the user to delete. + * + * @return builder + * + */ + public Builder externalId(String externalId) { + return externalId(Output.of(externalId)); + } + + public IdentitySourceImportDeleteUsersProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportState.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportState.java new file mode 100644 index 000000000..a830f7706 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportState.java @@ -0,0 +1,385 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceImportDeleteGroupMembershipsArgs; +import com.pulumi.okta.inputs.IdentitySourceImportDeleteGroupsArgs; +import com.pulumi.okta.inputs.IdentitySourceImportDeleteUsersArgs; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupMembershipsArgs; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsArgs; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportState extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportState Empty = new IdentitySourceImportState(); + + /** + * Group memberships to delete in Okta. + * + */ + @Import(name="deleteGroupMemberships") + private @Nullable Output deleteGroupMemberships; + + /** + * @return Group memberships to delete in Okta. + * + */ + public Optional> deleteGroupMemberships() { + return Optional.ofNullable(this.deleteGroupMemberships); + } + + /** + * Groups to delete from Okta. + * + */ + @Import(name="deleteGroups") + private @Nullable Output deleteGroups; + + /** + * @return Groups to delete from Okta. + * + */ + public Optional> deleteGroups() { + return Optional.ofNullable(this.deleteGroups); + } + + /** + * Users to delete from Okta. + * + */ + @Import(name="deleteUsers") + private @Nullable Output deleteUsers; + + /** + * @return Users to delete from Okta. + * + */ + public Optional> deleteUsers() { + return Optional.ofNullable(this.deleteUsers); + } + + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Import(name="identitySourceId") + private @Nullable Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Optional> identitySourceId() { + return Optional.ofNullable(this.identitySourceId); + } + + /** + * Session ID created for this import job. + * + */ + @Import(name="sessionId") + private @Nullable Output sessionId; + + /** + * @return Session ID created for this import job. + * + */ + public Optional> sessionId() { + return Optional.ofNullable(this.sessionId); + } + + /** + * Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + * + */ + @Import(name="sessionStatus") + private @Nullable Output sessionStatus; + + /** + * @return Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + * + */ + public Optional> sessionStatus() { + return Optional.ofNullable(this.sessionStatus); + } + + /** + * Group memberships to create or update in Okta. + * + */ + @Import(name="upsertGroupMemberships") + private @Nullable Output upsertGroupMemberships; + + /** + * @return Group memberships to create or update in Okta. + * + */ + public Optional> upsertGroupMemberships() { + return Optional.ofNullable(this.upsertGroupMemberships); + } + + /** + * Groups to create or update in Okta. + * + */ + @Import(name="upsertGroups") + private @Nullable Output upsertGroups; + + /** + * @return Groups to create or update in Okta. + * + */ + public Optional> upsertGroups() { + return Optional.ofNullable(this.upsertGroups); + } + + /** + * Users to create or update in Okta. + * + */ + @Import(name="upsertUsers") + private @Nullable Output upsertUsers; + + /** + * @return Users to create or update in Okta. + * + */ + public Optional> upsertUsers() { + return Optional.ofNullable(this.upsertUsers); + } + + private IdentitySourceImportState() {} + + private IdentitySourceImportState(IdentitySourceImportState $) { + this.deleteGroupMemberships = $.deleteGroupMemberships; + this.deleteGroups = $.deleteGroups; + this.deleteUsers = $.deleteUsers; + this.identitySourceId = $.identitySourceId; + this.sessionId = $.sessionId; + this.sessionStatus = $.sessionStatus; + this.upsertGroupMemberships = $.upsertGroupMemberships; + this.upsertGroups = $.upsertGroups; + this.upsertUsers = $.upsertUsers; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportState $; + + public Builder() { + $ = new IdentitySourceImportState(); + } + + public Builder(IdentitySourceImportState defaults) { + $ = new IdentitySourceImportState(Objects.requireNonNull(defaults)); + } + + /** + * @param deleteGroupMemberships Group memberships to delete in Okta. + * + * @return builder + * + */ + public Builder deleteGroupMemberships(@Nullable Output deleteGroupMemberships) { + $.deleteGroupMemberships = deleteGroupMemberships; + return this; + } + + /** + * @param deleteGroupMemberships Group memberships to delete in Okta. + * + * @return builder + * + */ + public Builder deleteGroupMemberships(IdentitySourceImportDeleteGroupMembershipsArgs deleteGroupMemberships) { + return deleteGroupMemberships(Output.of(deleteGroupMemberships)); + } + + /** + * @param deleteGroups Groups to delete from Okta. + * + * @return builder + * + */ + public Builder deleteGroups(@Nullable Output deleteGroups) { + $.deleteGroups = deleteGroups; + return this; + } + + /** + * @param deleteGroups Groups to delete from Okta. + * + * @return builder + * + */ + public Builder deleteGroups(IdentitySourceImportDeleteGroupsArgs deleteGroups) { + return deleteGroups(Output.of(deleteGroups)); + } + + /** + * @param deleteUsers Users to delete from Okta. + * + * @return builder + * + */ + public Builder deleteUsers(@Nullable Output deleteUsers) { + $.deleteUsers = deleteUsers; + return this; + } + + /** + * @param deleteUsers Users to delete from Okta. + * + * @return builder + * + */ + public Builder deleteUsers(IdentitySourceImportDeleteUsersArgs deleteUsers) { + return deleteUsers(Output.of(deleteUsers)); + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(@Nullable Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + /** + * @param sessionId Session ID created for this import job. + * + * @return builder + * + */ + public Builder sessionId(@Nullable Output sessionId) { + $.sessionId = sessionId; + return this; + } + + /** + * @param sessionId Session ID created for this import job. + * + * @return builder + * + */ + public Builder sessionId(String sessionId) { + return sessionId(Output.of(sessionId)); + } + + /** + * @param sessionStatus Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + * + * @return builder + * + */ + public Builder sessionStatus(@Nullable Output sessionStatus) { + $.sessionStatus = sessionStatus; + return this; + } + + /** + * @param sessionStatus Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + * + * @return builder + * + */ + public Builder sessionStatus(String sessionStatus) { + return sessionStatus(Output.of(sessionStatus)); + } + + /** + * @param upsertGroupMemberships Group memberships to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertGroupMemberships(@Nullable Output upsertGroupMemberships) { + $.upsertGroupMemberships = upsertGroupMemberships; + return this; + } + + /** + * @param upsertGroupMemberships Group memberships to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertGroupMemberships(IdentitySourceImportUpsertGroupMembershipsArgs upsertGroupMemberships) { + return upsertGroupMemberships(Output.of(upsertGroupMemberships)); + } + + /** + * @param upsertGroups Groups to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertGroups(@Nullable Output upsertGroups) { + $.upsertGroups = upsertGroups; + return this; + } + + /** + * @param upsertGroups Groups to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertGroups(IdentitySourceImportUpsertGroupsArgs upsertGroups) { + return upsertGroups(Output.of(upsertGroups)); + } + + /** + * @param upsertUsers Users to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertUsers(@Nullable Output upsertUsers) { + $.upsertUsers = upsertUsers; + return this; + } + + /** + * @param upsertUsers Users to create or update in Okta. + * + * @return builder + * + */ + public Builder upsertUsers(IdentitySourceImportUpsertUsersArgs upsertUsers) { + return upsertUsers(Output.of(upsertUsers)); + } + + public IdentitySourceImportState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupMembershipsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupMembershipsArgs.java new file mode 100644 index 000000000..9f411d867 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupMembershipsArgs.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupMembershipsMembershipArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportUpsertGroupMembershipsArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportUpsertGroupMembershipsArgs Empty = new IdentitySourceImportUpsertGroupMembershipsArgs(); + + /** + * Group memberships to upsert. (see below) + * + */ + @Import(name="memberships") + private @Nullable Output> memberships; + + /** + * @return Group memberships to upsert. (see below) + * + */ + public Optional>> memberships() { + return Optional.ofNullable(this.memberships); + } + + private IdentitySourceImportUpsertGroupMembershipsArgs() {} + + private IdentitySourceImportUpsertGroupMembershipsArgs(IdentitySourceImportUpsertGroupMembershipsArgs $) { + this.memberships = $.memberships; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportUpsertGroupMembershipsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportUpsertGroupMembershipsArgs $; + + public Builder() { + $ = new IdentitySourceImportUpsertGroupMembershipsArgs(); + } + + public Builder(IdentitySourceImportUpsertGroupMembershipsArgs defaults) { + $ = new IdentitySourceImportUpsertGroupMembershipsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param memberships Group memberships to upsert. (see below) + * + * @return builder + * + */ + public Builder memberships(@Nullable Output> memberships) { + $.memberships = memberships; + return this; + } + + /** + * @param memberships Group memberships to upsert. (see below) + * + * @return builder + * + */ + public Builder memberships(List memberships) { + return memberships(Output.of(memberships)); + } + + /** + * @param memberships Group memberships to upsert. (see below) + * + * @return builder + * + */ + public Builder memberships(IdentitySourceImportUpsertGroupMembershipsMembershipArgs... memberships) { + return memberships(List.of(memberships)); + } + + public IdentitySourceImportUpsertGroupMembershipsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupMembershipsMembershipArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupMembershipsMembershipArgs.java new file mode 100644 index 000000000..e6ac0dc18 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupMembershipsMembershipArgs.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportUpsertGroupMembershipsMembershipArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportUpsertGroupMembershipsMembershipArgs Empty = new IdentitySourceImportUpsertGroupMembershipsMembershipArgs(); + + /** + * External ID of the group. + * + */ + @Import(name="groupExternalId") + private @Nullable Output groupExternalId; + + /** + * @return External ID of the group. + * + */ + public Optional> groupExternalId() { + return Optional.ofNullable(this.groupExternalId); + } + + /** + * External IDs of the group members to add. + * + */ + @Import(name="memberExternalIds") + private @Nullable Output> memberExternalIds; + + /** + * @return External IDs of the group members to add. + * + */ + public Optional>> memberExternalIds() { + return Optional.ofNullable(this.memberExternalIds); + } + + private IdentitySourceImportUpsertGroupMembershipsMembershipArgs() {} + + private IdentitySourceImportUpsertGroupMembershipsMembershipArgs(IdentitySourceImportUpsertGroupMembershipsMembershipArgs $) { + this.groupExternalId = $.groupExternalId; + this.memberExternalIds = $.memberExternalIds; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportUpsertGroupMembershipsMembershipArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportUpsertGroupMembershipsMembershipArgs $; + + public Builder() { + $ = new IdentitySourceImportUpsertGroupMembershipsMembershipArgs(); + } + + public Builder(IdentitySourceImportUpsertGroupMembershipsMembershipArgs defaults) { + $ = new IdentitySourceImportUpsertGroupMembershipsMembershipArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param groupExternalId External ID of the group. + * + * @return builder + * + */ + public Builder groupExternalId(@Nullable Output groupExternalId) { + $.groupExternalId = groupExternalId; + return this; + } + + /** + * @param groupExternalId External ID of the group. + * + * @return builder + * + */ + public Builder groupExternalId(String groupExternalId) { + return groupExternalId(Output.of(groupExternalId)); + } + + /** + * @param memberExternalIds External IDs of the group members to add. + * + * @return builder + * + */ + public Builder memberExternalIds(@Nullable Output> memberExternalIds) { + $.memberExternalIds = memberExternalIds; + return this; + } + + /** + * @param memberExternalIds External IDs of the group members to add. + * + * @return builder + * + */ + public Builder memberExternalIds(List memberExternalIds) { + return memberExternalIds(Output.of(memberExternalIds)); + } + + /** + * @param memberExternalIds External IDs of the group members to add. + * + * @return builder + * + */ + public Builder memberExternalIds(String... memberExternalIds) { + return memberExternalIds(List.of(memberExternalIds)); + } + + public IdentitySourceImportUpsertGroupMembershipsMembershipArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsArgs.java new file mode 100644 index 000000000..600fb9670 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsArgs.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsProfileArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportUpsertGroupsArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportUpsertGroupsArgs Empty = new IdentitySourceImportUpsertGroupsArgs(); + + /** + * Group profiles to upsert. (see below) + * + */ + @Import(name="profiles") + private @Nullable Output> profiles; + + /** + * @return Group profiles to upsert. (see below) + * + */ + public Optional>> profiles() { + return Optional.ofNullable(this.profiles); + } + + private IdentitySourceImportUpsertGroupsArgs() {} + + private IdentitySourceImportUpsertGroupsArgs(IdentitySourceImportUpsertGroupsArgs $) { + this.profiles = $.profiles; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportUpsertGroupsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportUpsertGroupsArgs $; + + public Builder() { + $ = new IdentitySourceImportUpsertGroupsArgs(); + } + + public Builder(IdentitySourceImportUpsertGroupsArgs defaults) { + $ = new IdentitySourceImportUpsertGroupsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param profiles Group profiles to upsert. (see below) + * + * @return builder + * + */ + public Builder profiles(@Nullable Output> profiles) { + $.profiles = profiles; + return this; + } + + /** + * @param profiles Group profiles to upsert. (see below) + * + * @return builder + * + */ + public Builder profiles(List profiles) { + return profiles(Output.of(profiles)); + } + + /** + * @param profiles Group profiles to upsert. (see below) + * + * @return builder + * + */ + public Builder profiles(IdentitySourceImportUpsertGroupsProfileArgs... profiles) { + return profiles(List.of(profiles)); + } + + public IdentitySourceImportUpsertGroupsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsProfileArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsProfileArgs.java new file mode 100644 index 000000000..e01d38ea3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsProfileArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertGroupsProfileGroupProfileArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportUpsertGroupsProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportUpsertGroupsProfileArgs Empty = new IdentitySourceImportUpsertGroupsProfileArgs(); + + /** + * External ID of the group. + * + */ + @Import(name="externalId") + private @Nullable Output externalId; + + /** + * @return External ID of the group. + * + */ + public Optional> externalId() { + return Optional.ofNullable(this.externalId); + } + + /** + * Group profile attributes. (see below) + * + */ + @Import(name="groupProfile") + private @Nullable Output groupProfile; + + /** + * @return Group profile attributes. (see below) + * + */ + public Optional> groupProfile() { + return Optional.ofNullable(this.groupProfile); + } + + private IdentitySourceImportUpsertGroupsProfileArgs() {} + + private IdentitySourceImportUpsertGroupsProfileArgs(IdentitySourceImportUpsertGroupsProfileArgs $) { + this.externalId = $.externalId; + this.groupProfile = $.groupProfile; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportUpsertGroupsProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportUpsertGroupsProfileArgs $; + + public Builder() { + $ = new IdentitySourceImportUpsertGroupsProfileArgs(); + } + + public Builder(IdentitySourceImportUpsertGroupsProfileArgs defaults) { + $ = new IdentitySourceImportUpsertGroupsProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalId External ID of the group. + * + * @return builder + * + */ + public Builder externalId(@Nullable Output externalId) { + $.externalId = externalId; + return this; + } + + /** + * @param externalId External ID of the group. + * + * @return builder + * + */ + public Builder externalId(String externalId) { + return externalId(Output.of(externalId)); + } + + /** + * @param groupProfile Group profile attributes. (see below) + * + * @return builder + * + */ + public Builder groupProfile(@Nullable Output groupProfile) { + $.groupProfile = groupProfile; + return this; + } + + /** + * @param groupProfile Group profile attributes. (see below) + * + * @return builder + * + */ + public Builder groupProfile(IdentitySourceImportUpsertGroupsProfileGroupProfileArgs groupProfile) { + return groupProfile(Output.of(groupProfile)); + } + + public IdentitySourceImportUpsertGroupsProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.java new file mode 100644 index 000000000..0247bf385 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertGroupsProfileGroupProfileArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportUpsertGroupsProfileGroupProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportUpsertGroupsProfileGroupProfileArgs Empty = new IdentitySourceImportUpsertGroupsProfileGroupProfileArgs(); + + /** + * Description of the group. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description of the group. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Display name of the group. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return Display name of the group. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + private IdentitySourceImportUpsertGroupsProfileGroupProfileArgs() {} + + private IdentitySourceImportUpsertGroupsProfileGroupProfileArgs(IdentitySourceImportUpsertGroupsProfileGroupProfileArgs $) { + this.description = $.description; + this.displayName = $.displayName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportUpsertGroupsProfileGroupProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportUpsertGroupsProfileGroupProfileArgs $; + + public Builder() { + $ = new IdentitySourceImportUpsertGroupsProfileGroupProfileArgs(); + } + + public Builder(IdentitySourceImportUpsertGroupsProfileGroupProfileArgs defaults) { + $ = new IdentitySourceImportUpsertGroupsProfileGroupProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description Description of the group. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description of the group. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName Display name of the group. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName Display name of the group. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + public IdentitySourceImportUpsertGroupsProfileGroupProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersArgs.java new file mode 100644 index 000000000..02acc8a17 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersArgs.java @@ -0,0 +1,132 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportUpsertUsersArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportUpsertUsersArgs Empty = new IdentitySourceImportUpsertUsersArgs(); + + /** + * Entity type. Currently only `USERS` is supported. + * + */ + @Import(name="entityType") + private @Nullable Output entityType; + + /** + * @return Entity type. Currently only `USERS` is supported. + * + */ + public Optional> entityType() { + return Optional.ofNullable(this.entityType); + } + + /** + * User profiles to upsert. (see below) + * + */ + @Import(name="profiles") + private @Nullable Output> profiles; + + /** + * @return User profiles to upsert. (see below) + * + */ + public Optional>> profiles() { + return Optional.ofNullable(this.profiles); + } + + private IdentitySourceImportUpsertUsersArgs() {} + + private IdentitySourceImportUpsertUsersArgs(IdentitySourceImportUpsertUsersArgs $) { + this.entityType = $.entityType; + this.profiles = $.profiles; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportUpsertUsersArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportUpsertUsersArgs $; + + public Builder() { + $ = new IdentitySourceImportUpsertUsersArgs(); + } + + public Builder(IdentitySourceImportUpsertUsersArgs defaults) { + $ = new IdentitySourceImportUpsertUsersArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param entityType Entity type. Currently only `USERS` is supported. + * + * @return builder + * + */ + public Builder entityType(@Nullable Output entityType) { + $.entityType = entityType; + return this; + } + + /** + * @param entityType Entity type. Currently only `USERS` is supported. + * + * @return builder + * + */ + public Builder entityType(String entityType) { + return entityType(Output.of(entityType)); + } + + /** + * @param profiles User profiles to upsert. (see below) + * + * @return builder + * + */ + public Builder profiles(@Nullable Output> profiles) { + $.profiles = profiles; + return this; + } + + /** + * @param profiles User profiles to upsert. (see below) + * + * @return builder + * + */ + public Builder profiles(List profiles) { + return profiles(Output.of(profiles)); + } + + /** + * @param profiles User profiles to upsert. (see below) + * + * @return builder + * + */ + public Builder profiles(IdentitySourceImportUpsertUsersProfileArgs... profiles) { + return profiles(List.of(profiles)); + } + + public IdentitySourceImportUpsertUsersArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersProfileArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersProfileArgs.java new file mode 100644 index 000000000..6431f3b6e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersProfileArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceImportUpsertUsersProfileProfileArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportUpsertUsersProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportUpsertUsersProfileArgs Empty = new IdentitySourceImportUpsertUsersProfileArgs(); + + /** + * External ID of the user. + * + */ + @Import(name="externalId") + private @Nullable Output externalId; + + /** + * @return External ID of the user. + * + */ + public Optional> externalId() { + return Optional.ofNullable(this.externalId); + } + + /** + * User profile attributes. (see below) + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return User profile attributes. (see below) + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + private IdentitySourceImportUpsertUsersProfileArgs() {} + + private IdentitySourceImportUpsertUsersProfileArgs(IdentitySourceImportUpsertUsersProfileArgs $) { + this.externalId = $.externalId; + this.profile = $.profile; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportUpsertUsersProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportUpsertUsersProfileArgs $; + + public Builder() { + $ = new IdentitySourceImportUpsertUsersProfileArgs(); + } + + public Builder(IdentitySourceImportUpsertUsersProfileArgs defaults) { + $ = new IdentitySourceImportUpsertUsersProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalId External ID of the user. + * + * @return builder + * + */ + public Builder externalId(@Nullable Output externalId) { + $.externalId = externalId; + return this; + } + + /** + * @param externalId External ID of the user. + * + * @return builder + * + */ + public Builder externalId(String externalId) { + return externalId(Output.of(externalId)); + } + + /** + * @param profile User profile attributes. (see below) + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile User profile attributes. (see below) + * + * @return builder + * + */ + public Builder profile(IdentitySourceImportUpsertUsersProfileProfileArgs profile) { + return profile(Output.of(profile)); + } + + public IdentitySourceImportUpsertUsersProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersProfileProfileArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersProfileProfileArgs.java new file mode 100644 index 000000000..69318627a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceImportUpsertUsersProfileProfileArgs.java @@ -0,0 +1,305 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceImportUpsertUsersProfileProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceImportUpsertUsersProfileProfileArgs Empty = new IdentitySourceImportUpsertUsersProfileProfileArgs(); + + /** + * Email address of the user. + * + */ + @Import(name="email") + private @Nullable Output email; + + /** + * @return Email address of the user. + * + */ + public Optional> email() { + return Optional.ofNullable(this.email); + } + + /** + * First name of the user. + * + */ + @Import(name="firstName") + private @Nullable Output firstName; + + /** + * @return First name of the user. + * + */ + public Optional> firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * Home address of the user. + * + */ + @Import(name="homeAddress") + private @Nullable Output homeAddress; + + /** + * @return Home address of the user. + * + */ + public Optional> homeAddress() { + return Optional.ofNullable(this.homeAddress); + } + + /** + * Last name of the user. + * + */ + @Import(name="lastName") + private @Nullable Output lastName; + + /** + * @return Last name of the user. + * + */ + public Optional> lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * Mobile phone number of the user. + * + */ + @Import(name="mobilePhone") + private @Nullable Output mobilePhone; + + /** + * @return Mobile phone number of the user. + * + */ + public Optional> mobilePhone() { + return Optional.ofNullable(this.mobilePhone); + } + + /** + * Alternative email address of the user. + * + */ + @Import(name="secondEmail") + private @Nullable Output secondEmail; + + /** + * @return Alternative email address of the user. + * + */ + public Optional> secondEmail() { + return Optional.ofNullable(this.secondEmail); + } + + /** + * Username of the user. + * + */ + @Import(name="userName") + private @Nullable Output userName; + + /** + * @return Username of the user. + * + */ + public Optional> userName() { + return Optional.ofNullable(this.userName); + } + + private IdentitySourceImportUpsertUsersProfileProfileArgs() {} + + private IdentitySourceImportUpsertUsersProfileProfileArgs(IdentitySourceImportUpsertUsersProfileProfileArgs $) { + this.email = $.email; + this.firstName = $.firstName; + this.homeAddress = $.homeAddress; + this.lastName = $.lastName; + this.mobilePhone = $.mobilePhone; + this.secondEmail = $.secondEmail; + this.userName = $.userName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceImportUpsertUsersProfileProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceImportUpsertUsersProfileProfileArgs $; + + public Builder() { + $ = new IdentitySourceImportUpsertUsersProfileProfileArgs(); + } + + public Builder(IdentitySourceImportUpsertUsersProfileProfileArgs defaults) { + $ = new IdentitySourceImportUpsertUsersProfileProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param email Email address of the user. + * + * @return builder + * + */ + public Builder email(@Nullable Output email) { + $.email = email; + return this; + } + + /** + * @param email Email address of the user. + * + * @return builder + * + */ + public Builder email(String email) { + return email(Output.of(email)); + } + + /** + * @param firstName First name of the user. + * + * @return builder + * + */ + public Builder firstName(@Nullable Output firstName) { + $.firstName = firstName; + return this; + } + + /** + * @param firstName First name of the user. + * + * @return builder + * + */ + public Builder firstName(String firstName) { + return firstName(Output.of(firstName)); + } + + /** + * @param homeAddress Home address of the user. + * + * @return builder + * + */ + public Builder homeAddress(@Nullable Output homeAddress) { + $.homeAddress = homeAddress; + return this; + } + + /** + * @param homeAddress Home address of the user. + * + * @return builder + * + */ + public Builder homeAddress(String homeAddress) { + return homeAddress(Output.of(homeAddress)); + } + + /** + * @param lastName Last name of the user. + * + * @return builder + * + */ + public Builder lastName(@Nullable Output lastName) { + $.lastName = lastName; + return this; + } + + /** + * @param lastName Last name of the user. + * + * @return builder + * + */ + public Builder lastName(String lastName) { + return lastName(Output.of(lastName)); + } + + /** + * @param mobilePhone Mobile phone number of the user. + * + * @return builder + * + */ + public Builder mobilePhone(@Nullable Output mobilePhone) { + $.mobilePhone = mobilePhone; + return this; + } + + /** + * @param mobilePhone Mobile phone number of the user. + * + * @return builder + * + */ + public Builder mobilePhone(String mobilePhone) { + return mobilePhone(Output.of(mobilePhone)); + } + + /** + * @param secondEmail Alternative email address of the user. + * + * @return builder + * + */ + public Builder secondEmail(@Nullable Output secondEmail) { + $.secondEmail = secondEmail; + return this; + } + + /** + * @param secondEmail Alternative email address of the user. + * + * @return builder + * + */ + public Builder secondEmail(String secondEmail) { + return secondEmail(Output.of(secondEmail)); + } + + /** + * @param userName Username of the user. + * + * @return builder + * + */ + public Builder userName(@Nullable Output userName) { + $.userName = userName; + return this; + } + + /** + * @param userName Username of the user. + * + * @return builder + * + */ + public Builder userName(String userName) { + return userName(Output.of(userName)); + } + + public IdentitySourceImportUpsertUsersProfileProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceUserProfileArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceUserProfileArgs.java new file mode 100644 index 000000000..28f6afccb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceUserProfileArgs.java @@ -0,0 +1,305 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceUserProfileArgs extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceUserProfileArgs Empty = new IdentitySourceUserProfileArgs(); + + /** + * Email address of the user. + * + */ + @Import(name="email") + private @Nullable Output email; + + /** + * @return Email address of the user. + * + */ + public Optional> email() { + return Optional.ofNullable(this.email); + } + + /** + * First name of the user. + * + */ + @Import(name="firstName") + private @Nullable Output firstName; + + /** + * @return First name of the user. + * + */ + public Optional> firstName() { + return Optional.ofNullable(this.firstName); + } + + /** + * Home address of the user. + * + */ + @Import(name="homeAddress") + private @Nullable Output homeAddress; + + /** + * @return Home address of the user. + * + */ + public Optional> homeAddress() { + return Optional.ofNullable(this.homeAddress); + } + + /** + * Last name of the user. + * + */ + @Import(name="lastName") + private @Nullable Output lastName; + + /** + * @return Last name of the user. + * + */ + public Optional> lastName() { + return Optional.ofNullable(this.lastName); + } + + /** + * Mobile phone number of the user. + * + */ + @Import(name="mobilePhone") + private @Nullable Output mobilePhone; + + /** + * @return Mobile phone number of the user. + * + */ + public Optional> mobilePhone() { + return Optional.ofNullable(this.mobilePhone); + } + + /** + * Alternative email address of the user. + * + */ + @Import(name="secondEmail") + private @Nullable Output secondEmail; + + /** + * @return Alternative email address of the user. + * + */ + public Optional> secondEmail() { + return Optional.ofNullable(this.secondEmail); + } + + /** + * Username of the user. + * + */ + @Import(name="userName") + private @Nullable Output userName; + + /** + * @return Username of the user. + * + */ + public Optional> userName() { + return Optional.ofNullable(this.userName); + } + + private IdentitySourceUserProfileArgs() {} + + private IdentitySourceUserProfileArgs(IdentitySourceUserProfileArgs $) { + this.email = $.email; + this.firstName = $.firstName; + this.homeAddress = $.homeAddress; + this.lastName = $.lastName; + this.mobilePhone = $.mobilePhone; + this.secondEmail = $.secondEmail; + this.userName = $.userName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceUserProfileArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceUserProfileArgs $; + + public Builder() { + $ = new IdentitySourceUserProfileArgs(); + } + + public Builder(IdentitySourceUserProfileArgs defaults) { + $ = new IdentitySourceUserProfileArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param email Email address of the user. + * + * @return builder + * + */ + public Builder email(@Nullable Output email) { + $.email = email; + return this; + } + + /** + * @param email Email address of the user. + * + * @return builder + * + */ + public Builder email(String email) { + return email(Output.of(email)); + } + + /** + * @param firstName First name of the user. + * + * @return builder + * + */ + public Builder firstName(@Nullable Output firstName) { + $.firstName = firstName; + return this; + } + + /** + * @param firstName First name of the user. + * + * @return builder + * + */ + public Builder firstName(String firstName) { + return firstName(Output.of(firstName)); + } + + /** + * @param homeAddress Home address of the user. + * + * @return builder + * + */ + public Builder homeAddress(@Nullable Output homeAddress) { + $.homeAddress = homeAddress; + return this; + } + + /** + * @param homeAddress Home address of the user. + * + * @return builder + * + */ + public Builder homeAddress(String homeAddress) { + return homeAddress(Output.of(homeAddress)); + } + + /** + * @param lastName Last name of the user. + * + * @return builder + * + */ + public Builder lastName(@Nullable Output lastName) { + $.lastName = lastName; + return this; + } + + /** + * @param lastName Last name of the user. + * + * @return builder + * + */ + public Builder lastName(String lastName) { + return lastName(Output.of(lastName)); + } + + /** + * @param mobilePhone Mobile phone number of the user. + * + * @return builder + * + */ + public Builder mobilePhone(@Nullable Output mobilePhone) { + $.mobilePhone = mobilePhone; + return this; + } + + /** + * @param mobilePhone Mobile phone number of the user. + * + * @return builder + * + */ + public Builder mobilePhone(String mobilePhone) { + return mobilePhone(Output.of(mobilePhone)); + } + + /** + * @param secondEmail Alternative email address of the user. + * + * @return builder + * + */ + public Builder secondEmail(@Nullable Output secondEmail) { + $.secondEmail = secondEmail; + return this; + } + + /** + * @param secondEmail Alternative email address of the user. + * + * @return builder + * + */ + public Builder secondEmail(String secondEmail) { + return secondEmail(Output.of(secondEmail)); + } + + /** + * @param userName Username of the user. + * + * @return builder + * + */ + public Builder userName(@Nullable Output userName) { + $.userName = userName; + return this; + } + + /** + * @param userName Username of the user. + * + * @return builder + * + */ + public Builder userName(String userName) { + return userName(Output.of(userName)); + } + + public IdentitySourceUserProfileArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceUserState.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceUserState.java new file mode 100644 index 000000000..d23f2278a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/IdentitySourceUserState.java @@ -0,0 +1,232 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.okta.inputs.IdentitySourceUserProfileArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class IdentitySourceUserState extends com.pulumi.resources.ResourceArgs { + + public static final IdentitySourceUserState Empty = new IdentitySourceUserState(); + + /** + * Timestamp when the user was created in the identity source (RFC3339). + * + */ + @Import(name="created") + private @Nullable Output created; + + /** + * @return Timestamp when the user was created in the identity source (RFC3339). + * + */ + public Optional> created() { + return Optional.ofNullable(this.created); + } + + /** + * ID of the identity source. Forces replacement when changed. + * + */ + @Import(name="identitySourceId") + private @Nullable Output identitySourceId; + + /** + * @return ID of the identity source. Forces replacement when changed. + * + */ + public Optional> identitySourceId() { + return Optional.ofNullable(this.identitySourceId); + } + + /** + * The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + */ + @Import(name="identitySourceUserId") + private @Nullable Output identitySourceUserId; + + /** + * @return The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + */ + public Optional> identitySourceUserId() { + return Optional.ofNullable(this.identitySourceUserId); + } + + /** + * Timestamp when the user was last updated in the identity source (RFC3339). + * + */ + @Import(name="lastUpdated") + private @Nullable Output lastUpdated; + + /** + * @return Timestamp when the user was last updated in the identity source (RFC3339). + * + */ + public Optional> lastUpdated() { + return Optional.ofNullable(this.lastUpdated); + } + + /** + * User profile attributes. + * + */ + @Import(name="profile") + private @Nullable Output profile; + + /** + * @return User profile attributes. + * + */ + public Optional> profile() { + return Optional.ofNullable(this.profile); + } + + private IdentitySourceUserState() {} + + private IdentitySourceUserState(IdentitySourceUserState $) { + this.created = $.created; + this.identitySourceId = $.identitySourceId; + this.identitySourceUserId = $.identitySourceUserId; + this.lastUpdated = $.lastUpdated; + this.profile = $.profile; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(IdentitySourceUserState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private IdentitySourceUserState $; + + public Builder() { + $ = new IdentitySourceUserState(); + } + + public Builder(IdentitySourceUserState defaults) { + $ = new IdentitySourceUserState(Objects.requireNonNull(defaults)); + } + + /** + * @param created Timestamp when the user was created in the identity source (RFC3339). + * + * @return builder + * + */ + public Builder created(@Nullable Output created) { + $.created = created; + return this; + } + + /** + * @param created Timestamp when the user was created in the identity source (RFC3339). + * + * @return builder + * + */ + public Builder created(String created) { + return created(Output.of(created)); + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(@Nullable Output identitySourceId) { + $.identitySourceId = identitySourceId; + return this; + } + + /** + * @param identitySourceId ID of the identity source. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceId(String identitySourceId) { + return identitySourceId(Output.of(identitySourceId)); + } + + /** + * @param identitySourceUserId The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceUserId(@Nullable Output identitySourceUserId) { + $.identitySourceUserId = identitySourceUserId; + return this; + } + + /** + * @param identitySourceUserId The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + * + * @return builder + * + */ + public Builder identitySourceUserId(String identitySourceUserId) { + return identitySourceUserId(Output.of(identitySourceUserId)); + } + + /** + * @param lastUpdated Timestamp when the user was last updated in the identity source (RFC3339). + * + * @return builder + * + */ + public Builder lastUpdated(@Nullable Output lastUpdated) { + $.lastUpdated = lastUpdated; + return this; + } + + /** + * @param lastUpdated Timestamp when the user was last updated in the identity source (RFC3339). + * + * @return builder + * + */ + public Builder lastUpdated(String lastUpdated) { + return lastUpdated(Output.of(lastUpdated)); + } + + /** + * @param profile User profile attributes. + * + * @return builder + * + */ + public Builder profile(@Nullable Output profile) { + $.profile = profile; + return this; + } + + /** + * @param profile User profile attributes. + * + * @return builder + * + */ + public Builder profile(IdentitySourceUserProfileArgs profile) { + return profile(Output.of(profile)); + } + + public IdentitySourceUserState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/PolicyPasswordDefaultState.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/PolicyPasswordDefaultState.java index 200bdd09d..09ff2ccec 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/inputs/PolicyPasswordDefaultState.java +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/PolicyPasswordDefaultState.java @@ -18,6 +18,51 @@ public final class PolicyPasswordDefaultState extends com.pulumi.resources.Resou public static final PolicyPasswordDefaultState Empty = new PolicyPasswordDefaultState(); + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + @Import(name="breachedPasswordDelegatedWorkflowId") + private @Nullable Output breachedPasswordDelegatedWorkflowId; + + /** + * @return The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + public Optional> breachedPasswordDelegatedWorkflowId() { + return Optional.ofNullable(this.breachedPasswordDelegatedWorkflowId); + } + + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + @Import(name="breachedPasswordExpireAfterDays") + private @Nullable Output breachedPasswordExpireAfterDays; + + /** + * @return Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + public Optional> breachedPasswordExpireAfterDays() { + return Optional.ofNullable(this.breachedPasswordExpireAfterDays); + } + + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + @Import(name="breachedPasswordLogoutEnabled") + private @Nullable Output breachedPasswordLogoutEnabled; + + /** + * @return If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + public Optional> breachedPasswordLogoutEnabled() { + return Optional.ofNullable(this.breachedPasswordLogoutEnabled); + } + /** * Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` * @@ -471,6 +516,9 @@ public Optional> status() { private PolicyPasswordDefaultState() {} private PolicyPasswordDefaultState(PolicyPasswordDefaultState $) { + this.breachedPasswordDelegatedWorkflowId = $.breachedPasswordDelegatedWorkflowId; + this.breachedPasswordExpireAfterDays = $.breachedPasswordExpireAfterDays; + this.breachedPasswordLogoutEnabled = $.breachedPasswordLogoutEnabled; this.callRecovery = $.callRecovery; this.defaultAuthProvider = $.defaultAuthProvider; this.defaultIncludedGroupId = $.defaultIncludedGroupId; @@ -521,6 +569,69 @@ public Builder(PolicyPasswordDefaultState defaults) { $ = new PolicyPasswordDefaultState(Objects.requireNonNull(defaults)); } + /** + * @param breachedPasswordDelegatedWorkflowId The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + * @return builder + * + */ + public Builder breachedPasswordDelegatedWorkflowId(@Nullable Output breachedPasswordDelegatedWorkflowId) { + $.breachedPasswordDelegatedWorkflowId = breachedPasswordDelegatedWorkflowId; + return this; + } + + /** + * @param breachedPasswordDelegatedWorkflowId The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + * @return builder + * + */ + public Builder breachedPasswordDelegatedWorkflowId(String breachedPasswordDelegatedWorkflowId) { + return breachedPasswordDelegatedWorkflowId(Output.of(breachedPasswordDelegatedWorkflowId)); + } + + /** + * @param breachedPasswordExpireAfterDays Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + * @return builder + * + */ + public Builder breachedPasswordExpireAfterDays(@Nullable Output breachedPasswordExpireAfterDays) { + $.breachedPasswordExpireAfterDays = breachedPasswordExpireAfterDays; + return this; + } + + /** + * @param breachedPasswordExpireAfterDays Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + * @return builder + * + */ + public Builder breachedPasswordExpireAfterDays(Integer breachedPasswordExpireAfterDays) { + return breachedPasswordExpireAfterDays(Output.of(breachedPasswordExpireAfterDays)); + } + + /** + * @param breachedPasswordLogoutEnabled If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + * @return builder + * + */ + public Builder breachedPasswordLogoutEnabled(@Nullable Output breachedPasswordLogoutEnabled) { + $.breachedPasswordLogoutEnabled = breachedPasswordLogoutEnabled; + return this; + } + + /** + * @param breachedPasswordLogoutEnabled If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + * @return builder + * + */ + public Builder breachedPasswordLogoutEnabled(Boolean breachedPasswordLogoutEnabled) { + return breachedPasswordLogoutEnabled(Output.of(breachedPasswordLogoutEnabled)); + } + /** * @param callRecovery Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` * diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/PushGroupAppConfigArgs.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/PushGroupAppConfigArgs.java index 33cbd1cb0..7421ef1ae 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/inputs/PushGroupAppConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/PushGroupAppConfigArgs.java @@ -42,6 +42,13 @@ public Output samAccountName() { return this.samAccountName; } + @Import(name="type", required=true) + private Output type; + + public Output type() { + return this.type; + } + private PushGroupAppConfigArgs() {} private PushGroupAppConfigArgs(PushGroupAppConfigArgs $) { @@ -49,6 +56,7 @@ private PushGroupAppConfigArgs(PushGroupAppConfigArgs $) { this.groupScope = $.groupScope; this.groupType = $.groupType; this.samAccountName = $.samAccountName; + this.type = $.type; } public static Builder builder() { @@ -105,6 +113,15 @@ public Builder samAccountName(String samAccountName) { return samAccountName(Output.of(samAccountName)); } + public Builder type(Output type) { + $.type = type; + return this; + } + + public Builder type(String type) { + return type(Output.of(type)); + } + public PushGroupAppConfigArgs build() { if ($.distinguishedName == null) { throw new MissingRequiredPropertyException("PushGroupAppConfigArgs", "distinguishedName"); @@ -118,6 +135,9 @@ public PushGroupAppConfigArgs build() { if ($.samAccountName == null) { throw new MissingRequiredPropertyException("PushGroupAppConfigArgs", "samAccountName"); } + if ($.type == null) { + throw new MissingRequiredPropertyException("PushGroupAppConfigArgs", "type"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/okta/inputs/RequestSettingOrganizationState.java b/sdk/java/src/main/java/com/pulumi/okta/inputs/RequestSettingOrganizationState.java index b8bc1a281..80048a2e2 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/inputs/RequestSettingOrganizationState.java +++ b/sdk/java/src/main/java/com/pulumi/okta/inputs/RequestSettingOrganizationState.java @@ -17,14 +17,14 @@ public final class RequestSettingOrganizationState extends com.pulumi.resources. public static final RequestSettingOrganizationState Empty = new RequestSettingOrganizationState(); /** - * Request condition id. + * The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * */ @Import(name="idProperty") private @Nullable Output idProperty; /** - * @return Request condition id. + * @return The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * */ public Optional> idProperty() { @@ -72,7 +72,7 @@ public Builder(RequestSettingOrganizationState defaults) { } /** - * @param idProperty Request condition id. + * @param idProperty The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * * @return builder * @@ -83,7 +83,7 @@ public Builder idProperty(@Nullable Output idProperty) { } /** - * @param idProperty Request condition id. + * @param idProperty The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/AppSignonPolicyRuleKeepMeSignedIn.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/AppSignonPolicyRuleKeepMeSignedIn.java new file mode 100644 index 000000000..36cea90fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/AppSignonPolicyRuleKeepMeSignedIn.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AppSignonPolicyRuleKeepMeSignedIn { + /** + * @return Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + */ + private @Nullable String postAuth; + /** + * @return How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + */ + private @Nullable String postAuthPromptFrequency; + + private AppSignonPolicyRuleKeepMeSignedIn() {} + /** + * @return Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + * + */ + public Optional postAuth() { + return Optional.ofNullable(this.postAuth); + } + /** + * @return How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + * + */ + public Optional postAuthPromptFrequency() { + return Optional.ofNullable(this.postAuthPromptFrequency); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AppSignonPolicyRuleKeepMeSignedIn defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String postAuth; + private @Nullable String postAuthPromptFrequency; + public Builder() {} + public Builder(AppSignonPolicyRuleKeepMeSignedIn defaults) { + Objects.requireNonNull(defaults); + this.postAuth = defaults.postAuth; + this.postAuthPromptFrequency = defaults.postAuthPromptFrequency; + } + + @CustomType.Setter + public Builder postAuth(@Nullable String postAuth) { + + this.postAuth = postAuth; + return this; + } + @CustomType.Setter + public Builder postAuthPromptFrequency(@Nullable String postAuthPromptFrequency) { + + this.postAuthPromptFrequency = postAuthPromptFrequency; + return this; + } + public AppSignonPolicyRuleKeepMeSignedIn build() { + final var _resultValue = new AppSignonPolicyRuleKeepMeSignedIn(); + _resultValue.postAuth = postAuth; + _resultValue.postAuthPromptFrequency = postAuthPromptFrequency; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnAaguidGroup.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnAaguidGroup.java new file mode 100644 index 000000000..333b86222 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnAaguidGroup.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class AuthenticatorMethodWebauthnAaguidGroup { + /** + * @return A list of FIDO2 AAGUIDs in this group. + * + */ + private List aaguids; + /** + * @return A name to identify the group of FIDO2 AAGUIDs. + * + */ + private String name; + + private AuthenticatorMethodWebauthnAaguidGroup() {} + /** + * @return A list of FIDO2 AAGUIDs in this group. + * + */ + public List aaguids() { + return this.aaguids; + } + /** + * @return A name to identify the group of FIDO2 AAGUIDs. + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthenticatorMethodWebauthnAaguidGroup defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List aaguids; + private String name; + public Builder() {} + public Builder(AuthenticatorMethodWebauthnAaguidGroup defaults) { + Objects.requireNonNull(defaults); + this.aaguids = defaults.aaguids; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder aaguids(List aaguids) { + if (aaguids == null) { + throw new MissingRequiredPropertyException("AuthenticatorMethodWebauthnAaguidGroup", "aaguids"); + } + this.aaguids = aaguids; + return this; + } + public Builder aaguids(String... aaguids) { + return aaguids(List.of(aaguids)); + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("AuthenticatorMethodWebauthnAaguidGroup", "name"); + } + this.name = name; + return this; + } + public AuthenticatorMethodWebauthnAaguidGroup build() { + final var _resultValue = new AuthenticatorMethodWebauthnAaguidGroup(); + _resultValue.aaguids = aaguids; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnRpId.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnRpId.java new file mode 100644 index 000000000..2628612a8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnRpId.java @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.AuthenticatorMethodWebauthnRpIdDomain; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthenticatorMethodWebauthnRpId { + /** + * @return The RP domain configuration. Contains: + * + */ + private @Nullable AuthenticatorMethodWebauthnRpIdDomain domain; + /** + * @return Whether the RP ID is active and used for WebAuthn operations. + * + */ + private @Nullable Boolean enabled; + + private AuthenticatorMethodWebauthnRpId() {} + /** + * @return The RP domain configuration. Contains: + * + */ + public Optional domain() { + return Optional.ofNullable(this.domain); + } + /** + * @return Whether the RP ID is active and used for WebAuthn operations. + * + */ + public Optional enabled() { + return Optional.ofNullable(this.enabled); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthenticatorMethodWebauthnRpId defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable AuthenticatorMethodWebauthnRpIdDomain domain; + private @Nullable Boolean enabled; + public Builder() {} + public Builder(AuthenticatorMethodWebauthnRpId defaults) { + Objects.requireNonNull(defaults); + this.domain = defaults.domain; + this.enabled = defaults.enabled; + } + + @CustomType.Setter + public Builder domain(@Nullable AuthenticatorMethodWebauthnRpIdDomain domain) { + + this.domain = domain; + return this; + } + @CustomType.Setter + public Builder enabled(@Nullable Boolean enabled) { + + this.enabled = enabled; + return this; + } + public AuthenticatorMethodWebauthnRpId build() { + final var _resultValue = new AuthenticatorMethodWebauthnRpId(); + _resultValue.domain = domain; + _resultValue.enabled = enabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnRpIdDomain.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnRpIdDomain.java new file mode 100644 index 000000000..7173dd4b0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorMethodWebauthnRpIdDomain.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthenticatorMethodWebauthnRpIdDomain { + /** + * @return The RP ID domain value used for WebAuthn operations. + * + */ + private @Nullable String name; + /** + * @return The validation status of the domain. + * + */ + private @Nullable String validationStatus; + + private AuthenticatorMethodWebauthnRpIdDomain() {} + /** + * @return The RP ID domain value used for WebAuthn operations. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return The validation status of the domain. + * + */ + public Optional validationStatus() { + return Optional.ofNullable(this.validationStatus); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthenticatorMethodWebauthnRpIdDomain defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String name; + private @Nullable String validationStatus; + public Builder() {} + public Builder(AuthenticatorMethodWebauthnRpIdDomain defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.validationStatus = defaults.validationStatus; + } + + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder validationStatus(@Nullable String validationStatus) { + + this.validationStatus = validationStatus; + return this; + } + public AuthenticatorMethodWebauthnRpIdDomain build() { + final var _resultValue = new AuthenticatorMethodWebauthnRpIdDomain(); + _resultValue.name = name; + _resultValue.validationStatus = validationStatus; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.java new file mode 100644 index 000000000..ea5ba01ac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.java @@ -0,0 +1,123 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthenticatorWebauthnCustomAaguidAttestationRootCertificate { + /** + * @return Expiry date of the certificate. + * + */ + private @Nullable String expiry; + /** + * @return Issuer of the certificate. + * + */ + private @Nullable String issuer; + /** + * @return X.509 certificate chain (base64-encoded). + * + */ + private String x5c; + /** + * @return SHA-256 hash (thumbprint) of the X.509 certificate. + * + */ + private @Nullable String x5tS256; + + private AuthenticatorWebauthnCustomAaguidAttestationRootCertificate() {} + /** + * @return Expiry date of the certificate. + * + */ + public Optional expiry() { + return Optional.ofNullable(this.expiry); + } + /** + * @return Issuer of the certificate. + * + */ + public Optional issuer() { + return Optional.ofNullable(this.issuer); + } + /** + * @return X.509 certificate chain (base64-encoded). + * + */ + public String x5c() { + return this.x5c; + } + /** + * @return SHA-256 hash (thumbprint) of the X.509 certificate. + * + */ + public Optional x5tS256() { + return Optional.ofNullable(this.x5tS256); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthenticatorWebauthnCustomAaguidAttestationRootCertificate defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String expiry; + private @Nullable String issuer; + private String x5c; + private @Nullable String x5tS256; + public Builder() {} + public Builder(AuthenticatorWebauthnCustomAaguidAttestationRootCertificate defaults) { + Objects.requireNonNull(defaults); + this.expiry = defaults.expiry; + this.issuer = defaults.issuer; + this.x5c = defaults.x5c; + this.x5tS256 = defaults.x5tS256; + } + + @CustomType.Setter + public Builder expiry(@Nullable String expiry) { + + this.expiry = expiry; + return this; + } + @CustomType.Setter + public Builder issuer(@Nullable String issuer) { + + this.issuer = issuer; + return this; + } + @CustomType.Setter + public Builder x5c(String x5c) { + if (x5c == null) { + throw new MissingRequiredPropertyException("AuthenticatorWebauthnCustomAaguidAttestationRootCertificate", "x5c"); + } + this.x5c = x5c; + return this; + } + @CustomType.Setter + public Builder x5tS256(@Nullable String x5tS256) { + + this.x5tS256 = x5tS256; + return this; + } + public AuthenticatorWebauthnCustomAaguidAttestationRootCertificate build() { + final var _resultValue = new AuthenticatorWebauthnCustomAaguidAttestationRootCertificate(); + _resultValue.expiry = expiry; + _resultValue.issuer = issuer; + _resultValue.x5c = x5c; + _resultValue.x5tS256 = x5tS256; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.java new file mode 100644 index 000000000..2fb241468 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.java @@ -0,0 +1,99 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics { + /** + * @return Indicates whether the authenticator meets FIPS compliance requirements. + * + */ + private @Nullable Boolean fipsCompliant; + /** + * @return Indicates whether the authenticator stores the private key on a hardware component. + * + */ + private @Nullable Boolean hardwareProtected; + /** + * @return Indicates whether the custom AAGUID is built into the authenticator or is external. + * + */ + private @Nullable Boolean platformAttached; + + private AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics() {} + /** + * @return Indicates whether the authenticator meets FIPS compliance requirements. + * + */ + public Optional fipsCompliant() { + return Optional.ofNullable(this.fipsCompliant); + } + /** + * @return Indicates whether the authenticator stores the private key on a hardware component. + * + */ + public Optional hardwareProtected() { + return Optional.ofNullable(this.hardwareProtected); + } + /** + * @return Indicates whether the custom AAGUID is built into the authenticator or is external. + * + */ + public Optional platformAttached() { + return Optional.ofNullable(this.platformAttached); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean fipsCompliant; + private @Nullable Boolean hardwareProtected; + private @Nullable Boolean platformAttached; + public Builder() {} + public Builder(AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics defaults) { + Objects.requireNonNull(defaults); + this.fipsCompliant = defaults.fipsCompliant; + this.hardwareProtected = defaults.hardwareProtected; + this.platformAttached = defaults.platformAttached; + } + + @CustomType.Setter + public Builder fipsCompliant(@Nullable Boolean fipsCompliant) { + + this.fipsCompliant = fipsCompliant; + return this; + } + @CustomType.Setter + public Builder hardwareProtected(@Nullable Boolean hardwareProtected) { + + this.hardwareProtected = hardwareProtected; + return this; + } + @CustomType.Setter + public Builder platformAttached(@Nullable Boolean platformAttached) { + + this.platformAttached = platformAttached; + return this; + } + public AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics build() { + final var _resultValue = new AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics(); + _resultValue.fipsCompliant = fipsCompliant; + _resultValue.hardwareProtected = hardwareProtected; + _resultValue.platformAttached = platformAttached; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnAaguidGroup.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnAaguidGroup.java new file mode 100644 index 000000000..840640721 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnAaguidGroup.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthenticatorMethodWebauthnAaguidGroup { + /** + * @return List of FIDO2 AAGUIDs in this group. + * + */ + private List aaguids; + /** + * @return The name of the AAGUID group. + * + */ + private String name; + + private GetAuthenticatorMethodWebauthnAaguidGroup() {} + /** + * @return List of FIDO2 AAGUIDs in this group. + * + */ + public List aaguids() { + return this.aaguids; + } + /** + * @return The name of the AAGUID group. + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticatorMethodWebauthnAaguidGroup defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List aaguids; + private String name; + public Builder() {} + public Builder(GetAuthenticatorMethodWebauthnAaguidGroup defaults) { + Objects.requireNonNull(defaults); + this.aaguids = defaults.aaguids; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder aaguids(List aaguids) { + if (aaguids == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnAaguidGroup", "aaguids"); + } + this.aaguids = aaguids; + return this; + } + public Builder aaguids(String... aaguids) { + return aaguids(List.of(aaguids)); + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnAaguidGroup", "name"); + } + this.name = name; + return this; + } + public GetAuthenticatorMethodWebauthnAaguidGroup build() { + final var _resultValue = new GetAuthenticatorMethodWebauthnAaguidGroup(); + _resultValue.aaguids = aaguids; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnResult.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnResult.java new file mode 100644 index 000000000..5adc05ba0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnResult.java @@ -0,0 +1,369 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.outputs.GetAuthenticatorMethodWebauthnAaguidGroup; +import com.pulumi.okta.outputs.GetAuthenticatorMethodWebauthnRpId; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAuthenticatorMethodWebauthnResult { + /** + * @return The FIDO2 AAGUID groups. Each element contains: + * + */ + private @Nullable List aaguidGroups; + /** + * @return Whether syncable passkeys are allowed. + * + */ + private Boolean allowSyncablePasskeys; + /** + * @return Method attachment setting. + * + */ + private String attachment; + private String authenticatorId; + /** + * @return Whether certificate-based attestation validation is enabled. + * + */ + private Boolean certBasedAttestationValidation; + /** + * @return Whether the passkeys autofill UI is enabled. + * + */ + private Boolean enableAutofillUi; + /** + * @return Whether the authenticator must be FIPS compliant. + * + */ + private Boolean fipsCompliant; + /** + * @return Whether the authenticator must store the private key on hardware. + * + */ + private Boolean hardwareProtected; + private String id; + /** + * @return Resident key requirement setting. + * + */ + private String residentKeyRequirement; + /** + * @return The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + private @Nullable GetAuthenticatorMethodWebauthnRpId rpId; + /** + * @return Whether the "Sign in with a Passkey" button is shown. + * + */ + private Boolean showSignInWithAPasskeyButton; + /** + * @return The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + * + */ + private String status; + /** + * @return User verification setting for enrollment. + * + */ + private String userVerification; + /** + * @return User verification setting for authentication. + * + */ + private String userVerificationForVerify; + + private GetAuthenticatorMethodWebauthnResult() {} + /** + * @return The FIDO2 AAGUID groups. Each element contains: + * + */ + public List aaguidGroups() { + return this.aaguidGroups == null ? List.of() : this.aaguidGroups; + } + /** + * @return Whether syncable passkeys are allowed. + * + */ + public Boolean allowSyncablePasskeys() { + return this.allowSyncablePasskeys; + } + /** + * @return Method attachment setting. + * + */ + public String attachment() { + return this.attachment; + } + public String authenticatorId() { + return this.authenticatorId; + } + /** + * @return Whether certificate-based attestation validation is enabled. + * + */ + public Boolean certBasedAttestationValidation() { + return this.certBasedAttestationValidation; + } + /** + * @return Whether the passkeys autofill UI is enabled. + * + */ + public Boolean enableAutofillUi() { + return this.enableAutofillUi; + } + /** + * @return Whether the authenticator must be FIPS compliant. + * + */ + public Boolean fipsCompliant() { + return this.fipsCompliant; + } + /** + * @return Whether the authenticator must store the private key on hardware. + * + */ + public Boolean hardwareProtected() { + return this.hardwareProtected; + } + public String id() { + return this.id; + } + /** + * @return Resident key requirement setting. + * + */ + public String residentKeyRequirement() { + return this.residentKeyRequirement; + } + /** + * @return The Relying Party (RP) ID configuration for WebAuthn. Contains: + * + */ + public Optional rpId() { + return Optional.ofNullable(this.rpId); + } + /** + * @return Whether the "Sign in with a Passkey" button is shown. + * + */ + public Boolean showSignInWithAPasskeyButton() { + return this.showSignInWithAPasskeyButton; + } + /** + * @return The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + * + */ + public String status() { + return this.status; + } + /** + * @return User verification setting for enrollment. + * + */ + public String userVerification() { + return this.userVerification; + } + /** + * @return User verification setting for authentication. + * + */ + public String userVerificationForVerify() { + return this.userVerificationForVerify; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticatorMethodWebauthnResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List aaguidGroups; + private Boolean allowSyncablePasskeys; + private String attachment; + private String authenticatorId; + private Boolean certBasedAttestationValidation; + private Boolean enableAutofillUi; + private Boolean fipsCompliant; + private Boolean hardwareProtected; + private String id; + private String residentKeyRequirement; + private @Nullable GetAuthenticatorMethodWebauthnRpId rpId; + private Boolean showSignInWithAPasskeyButton; + private String status; + private String userVerification; + private String userVerificationForVerify; + public Builder() {} + public Builder(GetAuthenticatorMethodWebauthnResult defaults) { + Objects.requireNonNull(defaults); + this.aaguidGroups = defaults.aaguidGroups; + this.allowSyncablePasskeys = defaults.allowSyncablePasskeys; + this.attachment = defaults.attachment; + this.authenticatorId = defaults.authenticatorId; + this.certBasedAttestationValidation = defaults.certBasedAttestationValidation; + this.enableAutofillUi = defaults.enableAutofillUi; + this.fipsCompliant = defaults.fipsCompliant; + this.hardwareProtected = defaults.hardwareProtected; + this.id = defaults.id; + this.residentKeyRequirement = defaults.residentKeyRequirement; + this.rpId = defaults.rpId; + this.showSignInWithAPasskeyButton = defaults.showSignInWithAPasskeyButton; + this.status = defaults.status; + this.userVerification = defaults.userVerification; + this.userVerificationForVerify = defaults.userVerificationForVerify; + } + + @CustomType.Setter + public Builder aaguidGroups(@Nullable List aaguidGroups) { + + this.aaguidGroups = aaguidGroups; + return this; + } + public Builder aaguidGroups(GetAuthenticatorMethodWebauthnAaguidGroup... aaguidGroups) { + return aaguidGroups(List.of(aaguidGroups)); + } + @CustomType.Setter + public Builder allowSyncablePasskeys(Boolean allowSyncablePasskeys) { + if (allowSyncablePasskeys == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "allowSyncablePasskeys"); + } + this.allowSyncablePasskeys = allowSyncablePasskeys; + return this; + } + @CustomType.Setter + public Builder attachment(String attachment) { + if (attachment == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "attachment"); + } + this.attachment = attachment; + return this; + } + @CustomType.Setter + public Builder authenticatorId(String authenticatorId) { + if (authenticatorId == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "authenticatorId"); + } + this.authenticatorId = authenticatorId; + return this; + } + @CustomType.Setter + public Builder certBasedAttestationValidation(Boolean certBasedAttestationValidation) { + if (certBasedAttestationValidation == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "certBasedAttestationValidation"); + } + this.certBasedAttestationValidation = certBasedAttestationValidation; + return this; + } + @CustomType.Setter + public Builder enableAutofillUi(Boolean enableAutofillUi) { + if (enableAutofillUi == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "enableAutofillUi"); + } + this.enableAutofillUi = enableAutofillUi; + return this; + } + @CustomType.Setter + public Builder fipsCompliant(Boolean fipsCompliant) { + if (fipsCompliant == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "fipsCompliant"); + } + this.fipsCompliant = fipsCompliant; + return this; + } + @CustomType.Setter + public Builder hardwareProtected(Boolean hardwareProtected) { + if (hardwareProtected == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "hardwareProtected"); + } + this.hardwareProtected = hardwareProtected; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder residentKeyRequirement(String residentKeyRequirement) { + if (residentKeyRequirement == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "residentKeyRequirement"); + } + this.residentKeyRequirement = residentKeyRequirement; + return this; + } + @CustomType.Setter + public Builder rpId(@Nullable GetAuthenticatorMethodWebauthnRpId rpId) { + + this.rpId = rpId; + return this; + } + @CustomType.Setter + public Builder showSignInWithAPasskeyButton(Boolean showSignInWithAPasskeyButton) { + if (showSignInWithAPasskeyButton == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "showSignInWithAPasskeyButton"); + } + this.showSignInWithAPasskeyButton = showSignInWithAPasskeyButton; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder userVerification(String userVerification) { + if (userVerification == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "userVerification"); + } + this.userVerification = userVerification; + return this; + } + @CustomType.Setter + public Builder userVerificationForVerify(String userVerificationForVerify) { + if (userVerificationForVerify == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnResult", "userVerificationForVerify"); + } + this.userVerificationForVerify = userVerificationForVerify; + return this; + } + public GetAuthenticatorMethodWebauthnResult build() { + final var _resultValue = new GetAuthenticatorMethodWebauthnResult(); + _resultValue.aaguidGroups = aaguidGroups; + _resultValue.allowSyncablePasskeys = allowSyncablePasskeys; + _resultValue.attachment = attachment; + _resultValue.authenticatorId = authenticatorId; + _resultValue.certBasedAttestationValidation = certBasedAttestationValidation; + _resultValue.enableAutofillUi = enableAutofillUi; + _resultValue.fipsCompliant = fipsCompliant; + _resultValue.hardwareProtected = hardwareProtected; + _resultValue.id = id; + _resultValue.residentKeyRequirement = residentKeyRequirement; + _resultValue.rpId = rpId; + _resultValue.showSignInWithAPasskeyButton = showSignInWithAPasskeyButton; + _resultValue.status = status; + _resultValue.userVerification = userVerification; + _resultValue.userVerificationForVerify = userVerificationForVerify; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnRpId.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnRpId.java new file mode 100644 index 000000000..d1a671649 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnRpId.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.outputs.GetAuthenticatorMethodWebauthnRpIdDomain; +import java.lang.Boolean; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAuthenticatorMethodWebauthnRpId { + /** + * @return The RP domain configuration. Contains: + * + */ + private @Nullable GetAuthenticatorMethodWebauthnRpIdDomain domain; + /** + * @return Whether the RP ID is active and used for WebAuthn operations. + * + */ + private Boolean enabled; + + private GetAuthenticatorMethodWebauthnRpId() {} + /** + * @return The RP domain configuration. Contains: + * + */ + public Optional domain() { + return Optional.ofNullable(this.domain); + } + /** + * @return Whether the RP ID is active and used for WebAuthn operations. + * + */ + public Boolean enabled() { + return this.enabled; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticatorMethodWebauthnRpId defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetAuthenticatorMethodWebauthnRpIdDomain domain; + private Boolean enabled; + public Builder() {} + public Builder(GetAuthenticatorMethodWebauthnRpId defaults) { + Objects.requireNonNull(defaults); + this.domain = defaults.domain; + this.enabled = defaults.enabled; + } + + @CustomType.Setter + public Builder domain(@Nullable GetAuthenticatorMethodWebauthnRpIdDomain domain) { + + this.domain = domain; + return this; + } + @CustomType.Setter + public Builder enabled(Boolean enabled) { + if (enabled == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnRpId", "enabled"); + } + this.enabled = enabled; + return this; + } + public GetAuthenticatorMethodWebauthnRpId build() { + final var _resultValue = new GetAuthenticatorMethodWebauthnRpId(); + _resultValue.domain = domain; + _resultValue.enabled = enabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnRpIdDomain.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnRpIdDomain.java new file mode 100644 index 000000000..bc14732dc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorMethodWebauthnRpIdDomain.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthenticatorMethodWebauthnRpIdDomain { + /** + * @return The name of the AAGUID group. + * + */ + private String name; + /** + * @return The validation status of the domain. + * + */ + private String validationStatus; + + private GetAuthenticatorMethodWebauthnRpIdDomain() {} + /** + * @return The name of the AAGUID group. + * + */ + public String name() { + return this.name; + } + /** + * @return The validation status of the domain. + * + */ + public String validationStatus() { + return this.validationStatus; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticatorMethodWebauthnRpIdDomain defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String validationStatus; + public Builder() {} + public Builder(GetAuthenticatorMethodWebauthnRpIdDomain defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.validationStatus = defaults.validationStatus; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnRpIdDomain", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder validationStatus(String validationStatus) { + if (validationStatus == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorMethodWebauthnRpIdDomain", "validationStatus"); + } + this.validationStatus = validationStatus; + return this; + } + public GetAuthenticatorMethodWebauthnRpIdDomain build() { + final var _resultValue = new GetAuthenticatorMethodWebauthnRpIdDomain(); + _resultValue.name = name; + _resultValue.validationStatus = validationStatus; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.java new file mode 100644 index 000000000..2052c31e9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguid.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.outputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAuthenticatorWebauthnCustomAaguidsCustomAaguid { + /** + * @return The AAGUID identifier. + * + */ + private String aaguid; + /** + * @return Properties of the custom AAGUID authenticator. + * + */ + private @Nullable GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics authenticatorCharacteristics; + /** + * @return The product name associated with the AAGUID. + * + */ + private String name; + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguid() {} + /** + * @return The AAGUID identifier. + * + */ + public String aaguid() { + return this.aaguid; + } + /** + * @return Properties of the custom AAGUID authenticator. + * + */ + public Optional authenticatorCharacteristics() { + return Optional.ofNullable(this.authenticatorCharacteristics); + } + /** + * @return The product name associated with the AAGUID. + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguid defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String aaguid; + private @Nullable GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics authenticatorCharacteristics; + private String name; + public Builder() {} + public Builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguid defaults) { + Objects.requireNonNull(defaults); + this.aaguid = defaults.aaguid; + this.authenticatorCharacteristics = defaults.authenticatorCharacteristics; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder aaguid(String aaguid) { + if (aaguid == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguid", "aaguid"); + } + this.aaguid = aaguid; + return this; + } + @CustomType.Setter + public Builder authenticatorCharacteristics(@Nullable GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics authenticatorCharacteristics) { + + this.authenticatorCharacteristics = authenticatorCharacteristics; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguid", "name"); + } + this.name = name; + return this; + } + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguid build() { + final var _resultValue = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguid(); + _resultValue.aaguid = aaguid; + _resultValue.authenticatorCharacteristics = authenticatorCharacteristics; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.java new file mode 100644 index 000000000..3ba3e8b7a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics.java @@ -0,0 +1,104 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.util.Objects; + +@CustomType +public final class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics { + /** + * @return Whether the authenticator meets FIPS compliance requirements. + * + */ + private Boolean fipsCompliant; + /** + * @return Whether the authenticator stores the private key on hardware. + * + */ + private Boolean hardwareProtected; + /** + * @return Whether the AAGUID is built into the authenticator or is external. + * + */ + private Boolean platformAttached; + + private GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics() {} + /** + * @return Whether the authenticator meets FIPS compliance requirements. + * + */ + public Boolean fipsCompliant() { + return this.fipsCompliant; + } + /** + * @return Whether the authenticator stores the private key on hardware. + * + */ + public Boolean hardwareProtected() { + return this.hardwareProtected; + } + /** + * @return Whether the AAGUID is built into the authenticator or is external. + * + */ + public Boolean platformAttached() { + return this.platformAttached; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean fipsCompliant; + private Boolean hardwareProtected; + private Boolean platformAttached; + public Builder() {} + public Builder(GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics defaults) { + Objects.requireNonNull(defaults); + this.fipsCompliant = defaults.fipsCompliant; + this.hardwareProtected = defaults.hardwareProtected; + this.platformAttached = defaults.platformAttached; + } + + @CustomType.Setter + public Builder fipsCompliant(Boolean fipsCompliant) { + if (fipsCompliant == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics", "fipsCompliant"); + } + this.fipsCompliant = fipsCompliant; + return this; + } + @CustomType.Setter + public Builder hardwareProtected(Boolean hardwareProtected) { + if (hardwareProtected == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics", "hardwareProtected"); + } + this.hardwareProtected = hardwareProtected; + return this; + } + @CustomType.Setter + public Builder platformAttached(Boolean platformAttached) { + if (platformAttached == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics", "platformAttached"); + } + this.platformAttached = platformAttached; + return this; + } + public GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics build() { + final var _resultValue = new GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics(); + _resultValue.fipsCompliant = fipsCompliant; + _resultValue.hardwareProtected = hardwareProtected; + _resultValue.platformAttached = platformAttached; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsResult.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsResult.java new file mode 100644 index 000000000..c604891ab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthenticatorWebauthnCustomAaguidsResult.java @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.outputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguid; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetAuthenticatorWebauthnCustomAaguidsResult { + private String authenticatorId; + /** + * @return List of custom AAGUIDs configured for this authenticator. Each element contains: + * + */ + private @Nullable List customAaguids; + private String id; + + private GetAuthenticatorWebauthnCustomAaguidsResult() {} + public String authenticatorId() { + return this.authenticatorId; + } + /** + * @return List of custom AAGUIDs configured for this authenticator. Each element contains: + * + */ + public List customAaguids() { + return this.customAaguids == null ? List.of() : this.customAaguids; + } + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthenticatorWebauthnCustomAaguidsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String authenticatorId; + private @Nullable List customAaguids; + private String id; + public Builder() {} + public Builder(GetAuthenticatorWebauthnCustomAaguidsResult defaults) { + Objects.requireNonNull(defaults); + this.authenticatorId = defaults.authenticatorId; + this.customAaguids = defaults.customAaguids; + this.id = defaults.id; + } + + @CustomType.Setter + public Builder authenticatorId(String authenticatorId) { + if (authenticatorId == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsResult", "authenticatorId"); + } + this.authenticatorId = authenticatorId; + return this; + } + @CustomType.Setter + public Builder customAaguids(@Nullable List customAaguids) { + + this.customAaguids = customAaguids; + return this; + } + public Builder customAaguids(GetAuthenticatorWebauthnCustomAaguidsCustomAaguid... customAaguids) { + return customAaguids(List.of(customAaguids)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthenticatorWebauthnCustomAaguidsResult", "id"); + } + this.id = id; + return this; + } + public GetAuthenticatorWebauthnCustomAaguidsResult build() { + final var _resultValue = new GetAuthenticatorWebauthnCustomAaguidsResult(); + _resultValue.authenticatorId = authenticatorId; + _resultValue.customAaguids = customAaguids; + _resultValue.id = id; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActions.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActions.java new file mode 100644 index 000000000..0bacad7c1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActions.java @@ -0,0 +1,57 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleActionsToken; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleActions { + /** + * @return Token + * + */ + private @Nullable GetAuthorizationServersPoliciesRuleActionsToken token; + + private GetAuthorizationServersPoliciesRuleActions() {} + /** + * @return Token + * + */ + public Optional token() { + return Optional.ofNullable(this.token); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleActions defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetAuthorizationServersPoliciesRuleActionsToken token; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleActions defaults) { + Objects.requireNonNull(defaults); + this.token = defaults.token; + } + + @CustomType.Setter + public Builder token(@Nullable GetAuthorizationServersPoliciesRuleActionsToken token) { + + this.token = token; + return this; + } + public GetAuthorizationServersPoliciesRuleActions build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleActions(); + _resultValue.token = token; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActionsToken.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActionsToken.java new file mode 100644 index 000000000..4fc2242dc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActionsToken.java @@ -0,0 +1,128 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHook; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleActionsToken { + /** + * @return Lifetime of the access token in minutes. + * + */ + private Integer accessTokenLifetimeMinutes; + /** + * @return InlineHook + * + */ + private @Nullable GetAuthorizationServersPoliciesRuleActionsTokenInlineHook inlineHook; + /** + * @return Lifetime of the refresh token is the minimum access token lifetime. + * + */ + private Integer refreshTokenLifetimeMinutes; + /** + * @return Timeframe when the refresh token is valid. + * + */ + private Integer refreshTokenWindowMinutes; + + private GetAuthorizationServersPoliciesRuleActionsToken() {} + /** + * @return Lifetime of the access token in minutes. + * + */ + public Integer accessTokenLifetimeMinutes() { + return this.accessTokenLifetimeMinutes; + } + /** + * @return InlineHook + * + */ + public Optional inlineHook() { + return Optional.ofNullable(this.inlineHook); + } + /** + * @return Lifetime of the refresh token is the minimum access token lifetime. + * + */ + public Integer refreshTokenLifetimeMinutes() { + return this.refreshTokenLifetimeMinutes; + } + /** + * @return Timeframe when the refresh token is valid. + * + */ + public Integer refreshTokenWindowMinutes() { + return this.refreshTokenWindowMinutes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleActionsToken defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer accessTokenLifetimeMinutes; + private @Nullable GetAuthorizationServersPoliciesRuleActionsTokenInlineHook inlineHook; + private Integer refreshTokenLifetimeMinutes; + private Integer refreshTokenWindowMinutes; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleActionsToken defaults) { + Objects.requireNonNull(defaults); + this.accessTokenLifetimeMinutes = defaults.accessTokenLifetimeMinutes; + this.inlineHook = defaults.inlineHook; + this.refreshTokenLifetimeMinutes = defaults.refreshTokenLifetimeMinutes; + this.refreshTokenWindowMinutes = defaults.refreshTokenWindowMinutes; + } + + @CustomType.Setter + public Builder accessTokenLifetimeMinutes(Integer accessTokenLifetimeMinutes) { + if (accessTokenLifetimeMinutes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsToken", "accessTokenLifetimeMinutes"); + } + this.accessTokenLifetimeMinutes = accessTokenLifetimeMinutes; + return this; + } + @CustomType.Setter + public Builder inlineHook(@Nullable GetAuthorizationServersPoliciesRuleActionsTokenInlineHook inlineHook) { + + this.inlineHook = inlineHook; + return this; + } + @CustomType.Setter + public Builder refreshTokenLifetimeMinutes(Integer refreshTokenLifetimeMinutes) { + if (refreshTokenLifetimeMinutes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsToken", "refreshTokenLifetimeMinutes"); + } + this.refreshTokenLifetimeMinutes = refreshTokenLifetimeMinutes; + return this; + } + @CustomType.Setter + public Builder refreshTokenWindowMinutes(Integer refreshTokenWindowMinutes) { + if (refreshTokenWindowMinutes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsToken", "refreshTokenWindowMinutes"); + } + this.refreshTokenWindowMinutes = refreshTokenWindowMinutes; + return this; + } + public GetAuthorizationServersPoliciesRuleActionsToken build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleActionsToken(); + _resultValue.accessTokenLifetimeMinutes = accessTokenLifetimeMinutes; + _resultValue.inlineHook = inlineHook; + _resultValue.refreshTokenLifetimeMinutes = refreshTokenLifetimeMinutes; + _resultValue.refreshTokenWindowMinutes = refreshTokenWindowMinutes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.java new file mode 100644 index 000000000..cb9d3411e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleActionsTokenInlineHook.java @@ -0,0 +1,58 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleActionsTokenInlineHook { + /** + * @return Unique identifier of the authorization server policy rule. + * + */ + private String id; + + private GetAuthorizationServersPoliciesRuleActionsTokenInlineHook() {} + /** + * @return Unique identifier of the authorization server policy rule. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleActionsTokenInlineHook defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleActionsTokenInlineHook defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleActionsTokenInlineHook", "id"); + } + this.id = id; + return this; + } + public GetAuthorizationServersPoliciesRuleActionsTokenInlineHook build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleActionsTokenInlineHook(); + _resultValue.id = id; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditions.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditions.java new file mode 100644 index 000000000..c2c40b6c7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditions.java @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypes; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleConditionsPeople; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleConditionsScopes; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleConditions { + /** + * @return Array of grant types that this condition includes. + * + */ + private @Nullable GetAuthorizationServersPoliciesRuleConditionsGrantTypes grantTypes; + /** + * @return Identifies Users and Groups that are used together + * + */ + private @Nullable GetAuthorizationServersPoliciesRuleConditionsPeople people; + /** + * @return Array of scopes that the condition includes + * + */ + private @Nullable GetAuthorizationServersPoliciesRuleConditionsScopes scopes; + + private GetAuthorizationServersPoliciesRuleConditions() {} + /** + * @return Array of grant types that this condition includes. + * + */ + public Optional grantTypes() { + return Optional.ofNullable(this.grantTypes); + } + /** + * @return Identifies Users and Groups that are used together + * + */ + public Optional people() { + return Optional.ofNullable(this.people); + } + /** + * @return Array of scopes that the condition includes + * + */ + public Optional scopes() { + return Optional.ofNullable(this.scopes); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleConditions defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetAuthorizationServersPoliciesRuleConditionsGrantTypes grantTypes; + private @Nullable GetAuthorizationServersPoliciesRuleConditionsPeople people; + private @Nullable GetAuthorizationServersPoliciesRuleConditionsScopes scopes; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleConditions defaults) { + Objects.requireNonNull(defaults); + this.grantTypes = defaults.grantTypes; + this.people = defaults.people; + this.scopes = defaults.scopes; + } + + @CustomType.Setter + public Builder grantTypes(@Nullable GetAuthorizationServersPoliciesRuleConditionsGrantTypes grantTypes) { + + this.grantTypes = grantTypes; + return this; + } + @CustomType.Setter + public Builder people(@Nullable GetAuthorizationServersPoliciesRuleConditionsPeople people) { + + this.people = people; + return this; + } + @CustomType.Setter + public Builder scopes(@Nullable GetAuthorizationServersPoliciesRuleConditionsScopes scopes) { + + this.scopes = scopes; + return this; + } + public GetAuthorizationServersPoliciesRuleConditions build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleConditions(); + _resultValue.grantTypes = grantTypes; + _resultValue.people = people; + _resultValue.scopes = scopes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.java new file mode 100644 index 000000000..6d405f963 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsGrantTypes.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleConditionsGrantTypes { + /** + * @return Array of grant types that this condition includes. + * + */ + private List includes; + + private GetAuthorizationServersPoliciesRuleConditionsGrantTypes() {} + /** + * @return Array of grant types that this condition includes. + * + */ + public List includes() { + return this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsGrantTypes defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List includes; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleConditionsGrantTypes defaults) { + Objects.requireNonNull(defaults); + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder includes(List includes) { + if (includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsGrantTypes", "includes"); + } + this.includes = includes; + return this; + } + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + public GetAuthorizationServersPoliciesRuleConditionsGrantTypes build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleConditionsGrantTypes(); + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeople.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeople.java new file mode 100644 index 000000000..423586064 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeople.java @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroups; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsers; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleConditionsPeople { + /** + * @return Specifies a set of Groups whose Users are to be included + * + */ + private @Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleGroups groups; + /** + * @return Specifies a set of Users to be included + * + */ + private @Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleUsers users; + + private GetAuthorizationServersPoliciesRuleConditionsPeople() {} + /** + * @return Specifies a set of Groups whose Users are to be included + * + */ + public Optional groups() { + return Optional.ofNullable(this.groups); + } + /** + * @return Specifies a set of Users to be included + * + */ + public Optional users() { + return Optional.ofNullable(this.users); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsPeople defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleGroups groups; + private @Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleUsers users; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleConditionsPeople defaults) { + Objects.requireNonNull(defaults); + this.groups = defaults.groups; + this.users = defaults.users; + } + + @CustomType.Setter + public Builder groups(@Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleGroups groups) { + + this.groups = groups; + return this; + } + @CustomType.Setter + public Builder users(@Nullable GetAuthorizationServersPoliciesRuleConditionsPeopleUsers users) { + + this.users = users; + return this; + } + public GetAuthorizationServersPoliciesRuleConditionsPeople build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleConditionsPeople(); + _resultValue.groups = groups; + _resultValue.users = users; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.java new file mode 100644 index 000000000..68bcb3d12 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleGroups.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleConditionsPeopleGroups { + /** + * @return Groups to be included + * + */ + private List includes; + + private GetAuthorizationServersPoliciesRuleConditionsPeopleGroups() {} + /** + * @return Groups to be included + * + */ + public List includes() { + return this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsPeopleGroups defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List includes; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleConditionsPeopleGroups defaults) { + Objects.requireNonNull(defaults); + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder includes(List includes) { + if (includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsPeopleGroups", "includes"); + } + this.includes = includes; + return this; + } + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + public GetAuthorizationServersPoliciesRuleConditionsPeopleGroups build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleConditionsPeopleGroups(); + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.java new file mode 100644 index 000000000..2443f4cfe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsPeopleUsers.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleConditionsPeopleUsers { + /** + * @return Users to be included + * + */ + private List includes; + + private GetAuthorizationServersPoliciesRuleConditionsPeopleUsers() {} + /** + * @return Users to be included + * + */ + public List includes() { + return this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsPeopleUsers defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List includes; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleConditionsPeopleUsers defaults) { + Objects.requireNonNull(defaults); + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder includes(List includes) { + if (includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsPeopleUsers", "includes"); + } + this.includes = includes; + return this; + } + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + public GetAuthorizationServersPoliciesRuleConditionsPeopleUsers build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleConditionsPeopleUsers(); + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsScopes.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsScopes.java new file mode 100644 index 000000000..da93969bf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleConditionsScopes.java @@ -0,0 +1,62 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleConditionsScopes { + /** + * @return Include + * + */ + private List includes; + + private GetAuthorizationServersPoliciesRuleConditionsScopes() {} + /** + * @return Include + * + */ + public List includes() { + return this.includes; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleConditionsScopes defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List includes; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleConditionsScopes defaults) { + Objects.requireNonNull(defaults); + this.includes = defaults.includes; + } + + @CustomType.Setter + public Builder includes(List includes) { + if (includes == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleConditionsScopes", "includes"); + } + this.includes = includes; + return this; + } + public Builder includes(String... includes) { + return includes(List.of(includes)); + } + public GetAuthorizationServersPoliciesRuleConditionsScopes build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleConditionsScopes(); + _resultValue.includes = includes; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleResult.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleResult.java new file mode 100644 index 000000000..028d2ab0b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetAuthorizationServersPoliciesRuleResult.java @@ -0,0 +1,297 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleActions; +import com.pulumi.okta.outputs.GetAuthorizationServersPoliciesRuleConditions; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAuthorizationServersPoliciesRuleResult { + private @Nullable GetAuthorizationServersPoliciesRuleActions actions; + /** + * @return `id` of the Authorization Server + * + */ + private String authServerId; + private @Nullable GetAuthorizationServersPoliciesRuleConditions conditions; + /** + * @return Timestamp when the rule was created + * + */ + private String created; + /** + * @return Unique identifier of the authorization server policy rule. + * + */ + private String id; + /** + * @return Timestamp when the rule was last modified + * + */ + private String lastUpdated; + /** + * @return Name of the rule + * + */ + private String name; + /** + * @return `id` of the policy + * + */ + private String policyId; + /** + * @return Priority of the rule + * + */ + private Integer priority; + /** + * @return Status of the rule + * + */ + private String status; + /** + * @return Set to `true` for system rules. + * + */ + private Boolean system; + /** + * @return Rule type + * + */ + private String type; + + private GetAuthorizationServersPoliciesRuleResult() {} + public Optional actions() { + return Optional.ofNullable(this.actions); + } + /** + * @return `id` of the Authorization Server + * + */ + public String authServerId() { + return this.authServerId; + } + public Optional conditions() { + return Optional.ofNullable(this.conditions); + } + /** + * @return Timestamp when the rule was created + * + */ + public String created() { + return this.created; + } + /** + * @return Unique identifier of the authorization server policy rule. + * + */ + public String id() { + return this.id; + } + /** + * @return Timestamp when the rule was last modified + * + */ + public String lastUpdated() { + return this.lastUpdated; + } + /** + * @return Name of the rule + * + */ + public String name() { + return this.name; + } + /** + * @return `id` of the policy + * + */ + public String policyId() { + return this.policyId; + } + /** + * @return Priority of the rule + * + */ + public Integer priority() { + return this.priority; + } + /** + * @return Status of the rule + * + */ + public String status() { + return this.status; + } + /** + * @return Set to `true` for system rules. + * + */ + public Boolean system() { + return this.system; + } + /** + * @return Rule type + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAuthorizationServersPoliciesRuleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable GetAuthorizationServersPoliciesRuleActions actions; + private String authServerId; + private @Nullable GetAuthorizationServersPoliciesRuleConditions conditions; + private String created; + private String id; + private String lastUpdated; + private String name; + private String policyId; + private Integer priority; + private String status; + private Boolean system; + private String type; + public Builder() {} + public Builder(GetAuthorizationServersPoliciesRuleResult defaults) { + Objects.requireNonNull(defaults); + this.actions = defaults.actions; + this.authServerId = defaults.authServerId; + this.conditions = defaults.conditions; + this.created = defaults.created; + this.id = defaults.id; + this.lastUpdated = defaults.lastUpdated; + this.name = defaults.name; + this.policyId = defaults.policyId; + this.priority = defaults.priority; + this.status = defaults.status; + this.system = defaults.system; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder actions(@Nullable GetAuthorizationServersPoliciesRuleActions actions) { + + this.actions = actions; + return this; + } + @CustomType.Setter + public Builder authServerId(String authServerId) { + if (authServerId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "authServerId"); + } + this.authServerId = authServerId; + return this; + } + @CustomType.Setter + public Builder conditions(@Nullable GetAuthorizationServersPoliciesRuleConditions conditions) { + + this.conditions = conditions; + return this; + } + @CustomType.Setter + public Builder created(String created) { + if (created == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "created"); + } + this.created = created; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder lastUpdated(String lastUpdated) { + if (lastUpdated == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "lastUpdated"); + } + this.lastUpdated = lastUpdated; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder policyId(String policyId) { + if (policyId == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "policyId"); + } + this.policyId = policyId; + return this; + } + @CustomType.Setter + public Builder priority(Integer priority) { + if (priority == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "priority"); + } + this.priority = priority; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "status"); + } + this.status = status; + return this; + } + @CustomType.Setter + public Builder system(Boolean system) { + if (system == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "system"); + } + this.system = system; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetAuthorizationServersPoliciesRuleResult", "type"); + } + this.type = type; + return this; + } + public GetAuthorizationServersPoliciesRuleResult build() { + final var _resultValue = new GetAuthorizationServersPoliciesRuleResult(); + _resultValue.actions = actions; + _resultValue.authServerId = authServerId; + _resultValue.conditions = conditions; + _resultValue.created = created; + _resultValue.id = id; + _resultValue.lastUpdated = lastUpdated; + _resultValue.name = name; + _resultValue.policyId = policyId; + _resultValue.priority = priority; + _resultValue.status = status; + _resultValue.system = system; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIamAssigneesUserItem.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIamAssigneesUserItem.java new file mode 100644 index 000000000..d1d08462b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIamAssigneesUserItem.java @@ -0,0 +1,73 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetIamAssigneesUserItem { + private String id; + /** + * @return ORN representing the assignee + * + */ + private String orn; + + private GetIamAssigneesUserItem() {} + public String id() { + return this.id; + } + /** + * @return ORN representing the assignee + * + */ + public String orn() { + return this.orn; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIamAssigneesUserItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String orn; + public Builder() {} + public Builder(GetIamAssigneesUserItem defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.orn = defaults.orn; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetIamAssigneesUserItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder orn(String orn) { + if (orn == null) { + throw new MissingRequiredPropertyException("GetIamAssigneesUserItem", "orn"); + } + this.orn = orn; + return this; + } + public GetIamAssigneesUserItem build() { + final var _resultValue = new GetIamAssigneesUserItem(); + _resultValue.id = id; + _resultValue.orn = orn; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIamAssigneesUserResult.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIamAssigneesUserResult.java new file mode 100644 index 000000000..e8a46aa80 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIamAssigneesUserResult.java @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.outputs.GetIamAssigneesUserItem; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetIamAssigneesUserResult { + private String id; + private @Nullable List items; + + private GetIamAssigneesUserResult() {} + public String id() { + return this.id; + } + public List items() { + return this.items == null ? List.of() : this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIamAssigneesUserResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private @Nullable List items; + public Builder() {} + public Builder(GetIamAssigneesUserResult defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.items = defaults.items; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetIamAssigneesUserResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder items(@Nullable List items) { + + this.items = items; + return this; + } + public Builder items(GetIamAssigneesUserItem... items) { + return items(List.of(items)); + } + public GetIamAssigneesUserResult build() { + final var _resultValue = new GetIamAssigneesUserResult(); + _resultValue.id = id; + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupMembershipsResult.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupMembershipsResult.java new file mode 100644 index 000000000..3264e5b0f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupMembershipsResult.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetIdentitySourceGroupMembershipsResult { + /** + * @return The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + * + */ + private String groupExternalId; + /** + * @return Composite identifier (`{identity_source_id}/{group_external_id}`). + * + */ + private String id; + /** + * @return ID of the identity source. + * + */ + private String identitySourceId; + /** + * @return External IDs of members belonging to the group in the identity source. + * + */ + private List memberExternalIds; + + private GetIdentitySourceGroupMembershipsResult() {} + /** + * @return The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + * + */ + public String groupExternalId() { + return this.groupExternalId; + } + /** + * @return Composite identifier (`{identity_source_id}/{group_external_id}`). + * + */ + public String id() { + return this.id; + } + /** + * @return ID of the identity source. + * + */ + public String identitySourceId() { + return this.identitySourceId; + } + /** + * @return External IDs of members belonging to the group in the identity source. + * + */ + public List memberExternalIds() { + return this.memberExternalIds; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIdentitySourceGroupMembershipsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String groupExternalId; + private String id; + private String identitySourceId; + private List memberExternalIds; + public Builder() {} + public Builder(GetIdentitySourceGroupMembershipsResult defaults) { + Objects.requireNonNull(defaults); + this.groupExternalId = defaults.groupExternalId; + this.id = defaults.id; + this.identitySourceId = defaults.identitySourceId; + this.memberExternalIds = defaults.memberExternalIds; + } + + @CustomType.Setter + public Builder groupExternalId(String groupExternalId) { + if (groupExternalId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupMembershipsResult", "groupExternalId"); + } + this.groupExternalId = groupExternalId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupMembershipsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identitySourceId(String identitySourceId) { + if (identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupMembershipsResult", "identitySourceId"); + } + this.identitySourceId = identitySourceId; + return this; + } + @CustomType.Setter + public Builder memberExternalIds(List memberExternalIds) { + if (memberExternalIds == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupMembershipsResult", "memberExternalIds"); + } + this.memberExternalIds = memberExternalIds; + return this; + } + public Builder memberExternalIds(String... memberExternalIds) { + return memberExternalIds(List.of(memberExternalIds)); + } + public GetIdentitySourceGroupMembershipsResult build() { + final var _resultValue = new GetIdentitySourceGroupMembershipsResult(); + _resultValue.groupExternalId = groupExternalId; + _resultValue.id = id; + _resultValue.identitySourceId = identitySourceId; + _resultValue.memberExternalIds = memberExternalIds; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupsProfile.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupsProfile.java new file mode 100644 index 000000000..483facf23 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupsProfile.java @@ -0,0 +1,81 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetIdentitySourceGroupsProfile { + /** + * @return Description of the group. + * + */ + private String description; + /** + * @return Display name of the group. + * + */ + private String displayName; + + private GetIdentitySourceGroupsProfile() {} + /** + * @return Description of the group. + * + */ + public String description() { + return this.description; + } + /** + * @return Display name of the group. + * + */ + public String displayName() { + return this.displayName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIdentitySourceGroupsProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String displayName; + public Builder() {} + public Builder(GetIdentitySourceGroupsProfile defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.displayName = defaults.displayName; + } + + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsProfile", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsProfile", "displayName"); + } + this.displayName = displayName; + return this; + } + public GetIdentitySourceGroupsProfile build() { + final var _resultValue = new GetIdentitySourceGroupsProfile(); + _resultValue.description = description; + _resultValue.displayName = displayName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupsResult.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupsResult.java new file mode 100644 index 000000000..d55932633 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceGroupsResult.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.outputs.GetIdentitySourceGroupsProfile; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetIdentitySourceGroupsResult { + /** + * @return The external ID of the group in the identity source. + * + */ + private String externalId; + /** + * @return Okta-assigned ID of the group (populated after read). + * + */ + private String id; + /** + * @return ID of the identity source. + * + */ + private String identitySourceId; + private @Nullable GetIdentitySourceGroupsProfile profile; + + private GetIdentitySourceGroupsResult() {} + /** + * @return The external ID of the group in the identity source. + * + */ + public String externalId() { + return this.externalId; + } + /** + * @return Okta-assigned ID of the group (populated after read). + * + */ + public String id() { + return this.id; + } + /** + * @return ID of the identity source. + * + */ + public String identitySourceId() { + return this.identitySourceId; + } + public Optional profile() { + return Optional.ofNullable(this.profile); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIdentitySourceGroupsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalId; + private String id; + private String identitySourceId; + private @Nullable GetIdentitySourceGroupsProfile profile; + public Builder() {} + public Builder(GetIdentitySourceGroupsResult defaults) { + Objects.requireNonNull(defaults); + this.externalId = defaults.externalId; + this.id = defaults.id; + this.identitySourceId = defaults.identitySourceId; + this.profile = defaults.profile; + } + + @CustomType.Setter + public Builder externalId(String externalId) { + if (externalId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsResult", "externalId"); + } + this.externalId = externalId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identitySourceId(String identitySourceId) { + if (identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceGroupsResult", "identitySourceId"); + } + this.identitySourceId = identitySourceId; + return this; + } + @CustomType.Setter + public Builder profile(@Nullable GetIdentitySourceGroupsProfile profile) { + + this.profile = profile; + return this; + } + public GetIdentitySourceGroupsResult build() { + final var _resultValue = new GetIdentitySourceGroupsResult(); + _resultValue.externalId = externalId; + _resultValue.id = id; + _resultValue.identitySourceId = identitySourceId; + _resultValue.profile = profile; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceSessionsResult.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceSessionsResult.java new file mode 100644 index 000000000..dba21b1df --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceSessionsResult.java @@ -0,0 +1,188 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetIdentitySourceSessionsResult { + /** + * @return Timestamp when the session was created (RFC3339). + * + */ + private String created; + /** + * @return Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned. + * + */ + private String id; + /** + * @return ID of the identity source. + * + */ + private String identitySourceId; + /** + * @return The type of import. All imports are `INCREMENTAL`. + * + */ + private String importType; + /** + * @return The timestamp when the identity source session was created (RFC3339). + * + */ + private String lastUpdated; + private String sessionId; + /** + * @return The current status of the identity source session. + * + */ + private String status; + + private GetIdentitySourceSessionsResult() {} + /** + * @return Timestamp when the session was created (RFC3339). + * + */ + public String created() { + return this.created; + } + /** + * @return Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned. + * + */ + public String id() { + return this.id; + } + /** + * @return ID of the identity source. + * + */ + public String identitySourceId() { + return this.identitySourceId; + } + /** + * @return The type of import. All imports are `INCREMENTAL`. + * + */ + public String importType() { + return this.importType; + } + /** + * @return The timestamp when the identity source session was created (RFC3339). + * + */ + public String lastUpdated() { + return this.lastUpdated; + } + public String sessionId() { + return this.sessionId; + } + /** + * @return The current status of the identity source session. + * + */ + public String status() { + return this.status; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIdentitySourceSessionsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String created; + private String id; + private String identitySourceId; + private String importType; + private String lastUpdated; + private String sessionId; + private String status; + public Builder() {} + public Builder(GetIdentitySourceSessionsResult defaults) { + Objects.requireNonNull(defaults); + this.created = defaults.created; + this.id = defaults.id; + this.identitySourceId = defaults.identitySourceId; + this.importType = defaults.importType; + this.lastUpdated = defaults.lastUpdated; + this.sessionId = defaults.sessionId; + this.status = defaults.status; + } + + @CustomType.Setter + public Builder created(String created) { + if (created == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsResult", "created"); + } + this.created = created; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identitySourceId(String identitySourceId) { + if (identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsResult", "identitySourceId"); + } + this.identitySourceId = identitySourceId; + return this; + } + @CustomType.Setter + public Builder importType(String importType) { + if (importType == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsResult", "importType"); + } + this.importType = importType; + return this; + } + @CustomType.Setter + public Builder lastUpdated(String lastUpdated) { + if (lastUpdated == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsResult", "lastUpdated"); + } + this.lastUpdated = lastUpdated; + return this; + } + @CustomType.Setter + public Builder sessionId(String sessionId) { + if (sessionId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsResult", "sessionId"); + } + this.sessionId = sessionId; + return this; + } + @CustomType.Setter + public Builder status(String status) { + if (status == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceSessionsResult", "status"); + } + this.status = status; + return this; + } + public GetIdentitySourceSessionsResult build() { + final var _resultValue = new GetIdentitySourceSessionsResult(); + _resultValue.created = created; + _resultValue.id = id; + _resultValue.identitySourceId = identitySourceId; + _resultValue.importType = importType; + _resultValue.lastUpdated = lastUpdated; + _resultValue.sessionId = sessionId; + _resultValue.status = status; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceUsersProfile.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceUsersProfile.java new file mode 100644 index 000000000..a7312d867 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceUsersProfile.java @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetIdentitySourceUsersProfile { + private String email; + private String firstName; + private String homeAddress; + private String lastName; + private String mobilePhone; + private String secondEmail; + private String userName; + + private GetIdentitySourceUsersProfile() {} + public String email() { + return this.email; + } + public String firstName() { + return this.firstName; + } + public String homeAddress() { + return this.homeAddress; + } + public String lastName() { + return this.lastName; + } + public String mobilePhone() { + return this.mobilePhone; + } + public String secondEmail() { + return this.secondEmail; + } + public String userName() { + return this.userName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIdentitySourceUsersProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String email; + private String firstName; + private String homeAddress; + private String lastName; + private String mobilePhone; + private String secondEmail; + private String userName; + public Builder() {} + public Builder(GetIdentitySourceUsersProfile defaults) { + Objects.requireNonNull(defaults); + this.email = defaults.email; + this.firstName = defaults.firstName; + this.homeAddress = defaults.homeAddress; + this.lastName = defaults.lastName; + this.mobilePhone = defaults.mobilePhone; + this.secondEmail = defaults.secondEmail; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder email(String email) { + if (email == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersProfile", "email"); + } + this.email = email; + return this; + } + @CustomType.Setter + public Builder firstName(String firstName) { + if (firstName == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersProfile", "firstName"); + } + this.firstName = firstName; + return this; + } + @CustomType.Setter + public Builder homeAddress(String homeAddress) { + if (homeAddress == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersProfile", "homeAddress"); + } + this.homeAddress = homeAddress; + return this; + } + @CustomType.Setter + public Builder lastName(String lastName) { + if (lastName == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersProfile", "lastName"); + } + this.lastName = lastName; + return this; + } + @CustomType.Setter + public Builder mobilePhone(String mobilePhone) { + if (mobilePhone == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersProfile", "mobilePhone"); + } + this.mobilePhone = mobilePhone; + return this; + } + @CustomType.Setter + public Builder secondEmail(String secondEmail) { + if (secondEmail == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersProfile", "secondEmail"); + } + this.secondEmail = secondEmail; + return this; + } + @CustomType.Setter + public Builder userName(String userName) { + if (userName == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersProfile", "userName"); + } + this.userName = userName; + return this; + } + public GetIdentitySourceUsersProfile build() { + final var _resultValue = new GetIdentitySourceUsersProfile(); + _resultValue.email = email; + _resultValue.firstName = firstName; + _resultValue.homeAddress = homeAddress; + _resultValue.lastName = lastName; + _resultValue.mobilePhone = mobilePhone; + _resultValue.secondEmail = secondEmail; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceUsersResult.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceUsersResult.java new file mode 100644 index 000000000..6afbf9ebe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/GetIdentitySourceUsersResult.java @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.okta.outputs.GetIdentitySourceUsersProfile; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetIdentitySourceUsersResult { + private String created; + private String externalId; + private String id; + private String identitySourceId; + private String lastUpdated; + private GetIdentitySourceUsersProfile profile; + + private GetIdentitySourceUsersResult() {} + public String created() { + return this.created; + } + public String externalId() { + return this.externalId; + } + public String id() { + return this.id; + } + public String identitySourceId() { + return this.identitySourceId; + } + public String lastUpdated() { + return this.lastUpdated; + } + public GetIdentitySourceUsersProfile profile() { + return this.profile; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetIdentitySourceUsersResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String created; + private String externalId; + private String id; + private String identitySourceId; + private String lastUpdated; + private GetIdentitySourceUsersProfile profile; + public Builder() {} + public Builder(GetIdentitySourceUsersResult defaults) { + Objects.requireNonNull(defaults); + this.created = defaults.created; + this.externalId = defaults.externalId; + this.id = defaults.id; + this.identitySourceId = defaults.identitySourceId; + this.lastUpdated = defaults.lastUpdated; + this.profile = defaults.profile; + } + + @CustomType.Setter + public Builder created(String created) { + if (created == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersResult", "created"); + } + this.created = created; + return this; + } + @CustomType.Setter + public Builder externalId(String externalId) { + if (externalId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersResult", "externalId"); + } + this.externalId = externalId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder identitySourceId(String identitySourceId) { + if (identitySourceId == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersResult", "identitySourceId"); + } + this.identitySourceId = identitySourceId; + return this; + } + @CustomType.Setter + public Builder lastUpdated(String lastUpdated) { + if (lastUpdated == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersResult", "lastUpdated"); + } + this.lastUpdated = lastUpdated; + return this; + } + @CustomType.Setter + public Builder profile(GetIdentitySourceUsersProfile profile) { + if (profile == null) { + throw new MissingRequiredPropertyException("GetIdentitySourceUsersResult", "profile"); + } + this.profile = profile; + return this; + } + public GetIdentitySourceUsersResult build() { + final var _resultValue = new GetIdentitySourceUsersResult(); + _resultValue.created = created; + _resultValue.externalId = externalId; + _resultValue.id = id; + _resultValue.identitySourceId = identitySourceId; + _resultValue.lastUpdated = lastUpdated; + _resultValue.profile = profile; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceGroupProfile.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceGroupProfile.java new file mode 100644 index 000000000..51fe44260 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceGroupProfile.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceGroupProfile { + /** + * @return Description of the group. + * + */ + private @Nullable String description; + /** + * @return Name of the group. + * + */ + private @Nullable String displayName; + + private IdentitySourceGroupProfile() {} + /** + * @return Description of the group. + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return Name of the group. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceGroupProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String description; + private @Nullable String displayName; + public Builder() {} + public Builder(IdentitySourceGroupProfile defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.displayName = defaults.displayName; + } + + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(@Nullable String displayName) { + + this.displayName = displayName; + return this; + } + public IdentitySourceGroupProfile build() { + final var _resultValue = new IdentitySourceGroupProfile(); + _resultValue.description = description; + _resultValue.displayName = displayName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroupMemberships.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroupMemberships.java new file mode 100644 index 000000000..6ab5b6d1e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroupMemberships.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.IdentitySourceImportDeleteGroupMembershipsMembership; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportDeleteGroupMemberships { + /** + * @return Group memberships to delete. (see below) + * + */ + private @Nullable List memberships; + + private IdentitySourceImportDeleteGroupMemberships() {} + /** + * @return Group memberships to delete. (see below) + * + */ + public List memberships() { + return this.memberships == null ? List.of() : this.memberships; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportDeleteGroupMemberships defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List memberships; + public Builder() {} + public Builder(IdentitySourceImportDeleteGroupMemberships defaults) { + Objects.requireNonNull(defaults); + this.memberships = defaults.memberships; + } + + @CustomType.Setter + public Builder memberships(@Nullable List memberships) { + + this.memberships = memberships; + return this; + } + public Builder memberships(IdentitySourceImportDeleteGroupMembershipsMembership... memberships) { + return memberships(List.of(memberships)); + } + public IdentitySourceImportDeleteGroupMemberships build() { + final var _resultValue = new IdentitySourceImportDeleteGroupMemberships(); + _resultValue.memberships = memberships; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroupMembershipsMembership.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroupMembershipsMembership.java new file mode 100644 index 000000000..c5205028f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroupMembershipsMembership.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportDeleteGroupMembershipsMembership { + /** + * @return External ID of the group. + * + */ + private @Nullable String groupExternalId; + /** + * @return External IDs of the group members to remove. + * + */ + private @Nullable List memberExternalIds; + + private IdentitySourceImportDeleteGroupMembershipsMembership() {} + /** + * @return External ID of the group. + * + */ + public Optional groupExternalId() { + return Optional.ofNullable(this.groupExternalId); + } + /** + * @return External IDs of the group members to remove. + * + */ + public List memberExternalIds() { + return this.memberExternalIds == null ? List.of() : this.memberExternalIds; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportDeleteGroupMembershipsMembership defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String groupExternalId; + private @Nullable List memberExternalIds; + public Builder() {} + public Builder(IdentitySourceImportDeleteGroupMembershipsMembership defaults) { + Objects.requireNonNull(defaults); + this.groupExternalId = defaults.groupExternalId; + this.memberExternalIds = defaults.memberExternalIds; + } + + @CustomType.Setter + public Builder groupExternalId(@Nullable String groupExternalId) { + + this.groupExternalId = groupExternalId; + return this; + } + @CustomType.Setter + public Builder memberExternalIds(@Nullable List memberExternalIds) { + + this.memberExternalIds = memberExternalIds; + return this; + } + public Builder memberExternalIds(String... memberExternalIds) { + return memberExternalIds(List.of(memberExternalIds)); + } + public IdentitySourceImportDeleteGroupMembershipsMembership build() { + final var _resultValue = new IdentitySourceImportDeleteGroupMembershipsMembership(); + _resultValue.groupExternalId = groupExternalId; + _resultValue.memberExternalIds = memberExternalIds; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroups.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroups.java new file mode 100644 index 000000000..25f3a78d7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteGroups.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportDeleteGroups { + /** + * @return External IDs of the groups to delete. + * + */ + private @Nullable List externalIds; + + private IdentitySourceImportDeleteGroups() {} + /** + * @return External IDs of the groups to delete. + * + */ + public List externalIds() { + return this.externalIds == null ? List.of() : this.externalIds; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportDeleteGroups defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List externalIds; + public Builder() {} + public Builder(IdentitySourceImportDeleteGroups defaults) { + Objects.requireNonNull(defaults); + this.externalIds = defaults.externalIds; + } + + @CustomType.Setter + public Builder externalIds(@Nullable List externalIds) { + + this.externalIds = externalIds; + return this; + } + public Builder externalIds(String... externalIds) { + return externalIds(List.of(externalIds)); + } + public IdentitySourceImportDeleteGroups build() { + final var _resultValue = new IdentitySourceImportDeleteGroups(); + _resultValue.externalIds = externalIds; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteUsers.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteUsers.java new file mode 100644 index 000000000..34f755212 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteUsers.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.IdentitySourceImportDeleteUsersProfile; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportDeleteUsers { + /** + * @return Entity type. Currently only `USERS` is supported. + * + */ + private @Nullable String entityType; + /** + * @return User profiles to delete (by external ID). (see below) + * + */ + private @Nullable List profiles; + + private IdentitySourceImportDeleteUsers() {} + /** + * @return Entity type. Currently only `USERS` is supported. + * + */ + public Optional entityType() { + return Optional.ofNullable(this.entityType); + } + /** + * @return User profiles to delete (by external ID). (see below) + * + */ + public List profiles() { + return this.profiles == null ? List.of() : this.profiles; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportDeleteUsers defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String entityType; + private @Nullable List profiles; + public Builder() {} + public Builder(IdentitySourceImportDeleteUsers defaults) { + Objects.requireNonNull(defaults); + this.entityType = defaults.entityType; + this.profiles = defaults.profiles; + } + + @CustomType.Setter + public Builder entityType(@Nullable String entityType) { + + this.entityType = entityType; + return this; + } + @CustomType.Setter + public Builder profiles(@Nullable List profiles) { + + this.profiles = profiles; + return this; + } + public Builder profiles(IdentitySourceImportDeleteUsersProfile... profiles) { + return profiles(List.of(profiles)); + } + public IdentitySourceImportDeleteUsers build() { + final var _resultValue = new IdentitySourceImportDeleteUsers(); + _resultValue.entityType = entityType; + _resultValue.profiles = profiles; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteUsersProfile.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteUsersProfile.java new file mode 100644 index 000000000..5d1eb9a1a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportDeleteUsersProfile.java @@ -0,0 +1,57 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportDeleteUsersProfile { + /** + * @return External ID of the user to delete. + * + */ + private @Nullable String externalId; + + private IdentitySourceImportDeleteUsersProfile() {} + /** + * @return External ID of the user to delete. + * + */ + public Optional externalId() { + return Optional.ofNullable(this.externalId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportDeleteUsersProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String externalId; + public Builder() {} + public Builder(IdentitySourceImportDeleteUsersProfile defaults) { + Objects.requireNonNull(defaults); + this.externalId = defaults.externalId; + } + + @CustomType.Setter + public Builder externalId(@Nullable String externalId) { + + this.externalId = externalId; + return this; + } + public IdentitySourceImportDeleteUsersProfile build() { + final var _resultValue = new IdentitySourceImportDeleteUsersProfile(); + _resultValue.externalId = externalId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupMemberships.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupMemberships.java new file mode 100644 index 000000000..c593c3006 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupMemberships.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.IdentitySourceImportUpsertGroupMembershipsMembership; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportUpsertGroupMemberships { + /** + * @return Group memberships to upsert. (see below) + * + */ + private @Nullable List memberships; + + private IdentitySourceImportUpsertGroupMemberships() {} + /** + * @return Group memberships to upsert. (see below) + * + */ + public List memberships() { + return this.memberships == null ? List.of() : this.memberships; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportUpsertGroupMemberships defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List memberships; + public Builder() {} + public Builder(IdentitySourceImportUpsertGroupMemberships defaults) { + Objects.requireNonNull(defaults); + this.memberships = defaults.memberships; + } + + @CustomType.Setter + public Builder memberships(@Nullable List memberships) { + + this.memberships = memberships; + return this; + } + public Builder memberships(IdentitySourceImportUpsertGroupMembershipsMembership... memberships) { + return memberships(List.of(memberships)); + } + public IdentitySourceImportUpsertGroupMemberships build() { + final var _resultValue = new IdentitySourceImportUpsertGroupMemberships(); + _resultValue.memberships = memberships; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupMembershipsMembership.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupMembershipsMembership.java new file mode 100644 index 000000000..022422b51 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupMembershipsMembership.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportUpsertGroupMembershipsMembership { + /** + * @return External ID of the group. + * + */ + private @Nullable String groupExternalId; + /** + * @return External IDs of the group members to add. + * + */ + private @Nullable List memberExternalIds; + + private IdentitySourceImportUpsertGroupMembershipsMembership() {} + /** + * @return External ID of the group. + * + */ + public Optional groupExternalId() { + return Optional.ofNullable(this.groupExternalId); + } + /** + * @return External IDs of the group members to add. + * + */ + public List memberExternalIds() { + return this.memberExternalIds == null ? List.of() : this.memberExternalIds; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportUpsertGroupMembershipsMembership defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String groupExternalId; + private @Nullable List memberExternalIds; + public Builder() {} + public Builder(IdentitySourceImportUpsertGroupMembershipsMembership defaults) { + Objects.requireNonNull(defaults); + this.groupExternalId = defaults.groupExternalId; + this.memberExternalIds = defaults.memberExternalIds; + } + + @CustomType.Setter + public Builder groupExternalId(@Nullable String groupExternalId) { + + this.groupExternalId = groupExternalId; + return this; + } + @CustomType.Setter + public Builder memberExternalIds(@Nullable List memberExternalIds) { + + this.memberExternalIds = memberExternalIds; + return this; + } + public Builder memberExternalIds(String... memberExternalIds) { + return memberExternalIds(List.of(memberExternalIds)); + } + public IdentitySourceImportUpsertGroupMembershipsMembership build() { + final var _resultValue = new IdentitySourceImportUpsertGroupMembershipsMembership(); + _resultValue.groupExternalId = groupExternalId; + _resultValue.memberExternalIds = memberExternalIds; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroups.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroups.java new file mode 100644 index 000000000..91252c96e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroups.java @@ -0,0 +1,60 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.IdentitySourceImportUpsertGroupsProfile; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportUpsertGroups { + /** + * @return Group profiles to upsert. (see below) + * + */ + private @Nullable List profiles; + + private IdentitySourceImportUpsertGroups() {} + /** + * @return Group profiles to upsert. (see below) + * + */ + public List profiles() { + return this.profiles == null ? List.of() : this.profiles; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportUpsertGroups defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List profiles; + public Builder() {} + public Builder(IdentitySourceImportUpsertGroups defaults) { + Objects.requireNonNull(defaults); + this.profiles = defaults.profiles; + } + + @CustomType.Setter + public Builder profiles(@Nullable List profiles) { + + this.profiles = profiles; + return this; + } + public Builder profiles(IdentitySourceImportUpsertGroupsProfile... profiles) { + return profiles(List.of(profiles)); + } + public IdentitySourceImportUpsertGroups build() { + final var _resultValue = new IdentitySourceImportUpsertGroups(); + _resultValue.profiles = profiles; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupsProfile.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupsProfile.java new file mode 100644 index 000000000..397d2d79d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupsProfile.java @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.IdentitySourceImportUpsertGroupsProfileGroupProfile; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportUpsertGroupsProfile { + /** + * @return External ID of the group. + * + */ + private @Nullable String externalId; + /** + * @return Group profile attributes. (see below) + * + */ + private @Nullable IdentitySourceImportUpsertGroupsProfileGroupProfile groupProfile; + + private IdentitySourceImportUpsertGroupsProfile() {} + /** + * @return External ID of the group. + * + */ + public Optional externalId() { + return Optional.ofNullable(this.externalId); + } + /** + * @return Group profile attributes. (see below) + * + */ + public Optional groupProfile() { + return Optional.ofNullable(this.groupProfile); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportUpsertGroupsProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String externalId; + private @Nullable IdentitySourceImportUpsertGroupsProfileGroupProfile groupProfile; + public Builder() {} + public Builder(IdentitySourceImportUpsertGroupsProfile defaults) { + Objects.requireNonNull(defaults); + this.externalId = defaults.externalId; + this.groupProfile = defaults.groupProfile; + } + + @CustomType.Setter + public Builder externalId(@Nullable String externalId) { + + this.externalId = externalId; + return this; + } + @CustomType.Setter + public Builder groupProfile(@Nullable IdentitySourceImportUpsertGroupsProfileGroupProfile groupProfile) { + + this.groupProfile = groupProfile; + return this; + } + public IdentitySourceImportUpsertGroupsProfile build() { + final var _resultValue = new IdentitySourceImportUpsertGroupsProfile(); + _resultValue.externalId = externalId; + _resultValue.groupProfile = groupProfile; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupsProfileGroupProfile.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupsProfileGroupProfile.java new file mode 100644 index 000000000..0d9d702d3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertGroupsProfileGroupProfile.java @@ -0,0 +1,78 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportUpsertGroupsProfileGroupProfile { + /** + * @return Description of the group. + * + */ + private @Nullable String description; + /** + * @return Display name of the group. + * + */ + private @Nullable String displayName; + + private IdentitySourceImportUpsertGroupsProfileGroupProfile() {} + /** + * @return Description of the group. + * + */ + public Optional description() { + return Optional.ofNullable(this.description); + } + /** + * @return Display name of the group. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportUpsertGroupsProfileGroupProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String description; + private @Nullable String displayName; + public Builder() {} + public Builder(IdentitySourceImportUpsertGroupsProfileGroupProfile defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.displayName = defaults.displayName; + } + + @CustomType.Setter + public Builder description(@Nullable String description) { + + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(@Nullable String displayName) { + + this.displayName = displayName; + return this; + } + public IdentitySourceImportUpsertGroupsProfileGroupProfile build() { + final var _resultValue = new IdentitySourceImportUpsertGroupsProfileGroupProfile(); + _resultValue.description = description; + _resultValue.displayName = displayName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsers.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsers.java new file mode 100644 index 000000000..770c65e7f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsers.java @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.IdentitySourceImportUpsertUsersProfile; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportUpsertUsers { + /** + * @return Entity type. Currently only `USERS` is supported. + * + */ + private @Nullable String entityType; + /** + * @return User profiles to upsert. (see below) + * + */ + private @Nullable List profiles; + + private IdentitySourceImportUpsertUsers() {} + /** + * @return Entity type. Currently only `USERS` is supported. + * + */ + public Optional entityType() { + return Optional.ofNullable(this.entityType); + } + /** + * @return User profiles to upsert. (see below) + * + */ + public List profiles() { + return this.profiles == null ? List.of() : this.profiles; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportUpsertUsers defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String entityType; + private @Nullable List profiles; + public Builder() {} + public Builder(IdentitySourceImportUpsertUsers defaults) { + Objects.requireNonNull(defaults); + this.entityType = defaults.entityType; + this.profiles = defaults.profiles; + } + + @CustomType.Setter + public Builder entityType(@Nullable String entityType) { + + this.entityType = entityType; + return this; + } + @CustomType.Setter + public Builder profiles(@Nullable List profiles) { + + this.profiles = profiles; + return this; + } + public Builder profiles(IdentitySourceImportUpsertUsersProfile... profiles) { + return profiles(List.of(profiles)); + } + public IdentitySourceImportUpsertUsers build() { + final var _resultValue = new IdentitySourceImportUpsertUsers(); + _resultValue.entityType = entityType; + _resultValue.profiles = profiles; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsersProfile.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsersProfile.java new file mode 100644 index 000000000..31c020384 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsersProfile.java @@ -0,0 +1,79 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.okta.outputs.IdentitySourceImportUpsertUsersProfileProfile; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportUpsertUsersProfile { + /** + * @return External ID of the user. + * + */ + private @Nullable String externalId; + /** + * @return User profile attributes. (see below) + * + */ + private @Nullable IdentitySourceImportUpsertUsersProfileProfile profile; + + private IdentitySourceImportUpsertUsersProfile() {} + /** + * @return External ID of the user. + * + */ + public Optional externalId() { + return Optional.ofNullable(this.externalId); + } + /** + * @return User profile attributes. (see below) + * + */ + public Optional profile() { + return Optional.ofNullable(this.profile); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportUpsertUsersProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String externalId; + private @Nullable IdentitySourceImportUpsertUsersProfileProfile profile; + public Builder() {} + public Builder(IdentitySourceImportUpsertUsersProfile defaults) { + Objects.requireNonNull(defaults); + this.externalId = defaults.externalId; + this.profile = defaults.profile; + } + + @CustomType.Setter + public Builder externalId(@Nullable String externalId) { + + this.externalId = externalId; + return this; + } + @CustomType.Setter + public Builder profile(@Nullable IdentitySourceImportUpsertUsersProfileProfile profile) { + + this.profile = profile; + return this; + } + public IdentitySourceImportUpsertUsersProfile build() { + final var _resultValue = new IdentitySourceImportUpsertUsersProfile(); + _resultValue.externalId = externalId; + _resultValue.profile = profile; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsersProfileProfile.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsersProfileProfile.java new file mode 100644 index 000000000..2637c5896 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceImportUpsertUsersProfileProfile.java @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceImportUpsertUsersProfileProfile { + /** + * @return Email address of the user. + * + */ + private @Nullable String email; + /** + * @return First name of the user. + * + */ + private @Nullable String firstName; + /** + * @return Home address of the user. + * + */ + private @Nullable String homeAddress; + /** + * @return Last name of the user. + * + */ + private @Nullable String lastName; + /** + * @return Mobile phone number of the user. + * + */ + private @Nullable String mobilePhone; + /** + * @return Alternative email address of the user. + * + */ + private @Nullable String secondEmail; + /** + * @return Username of the user. + * + */ + private @Nullable String userName; + + private IdentitySourceImportUpsertUsersProfileProfile() {} + /** + * @return Email address of the user. + * + */ + public Optional email() { + return Optional.ofNullable(this.email); + } + /** + * @return First name of the user. + * + */ + public Optional firstName() { + return Optional.ofNullable(this.firstName); + } + /** + * @return Home address of the user. + * + */ + public Optional homeAddress() { + return Optional.ofNullable(this.homeAddress); + } + /** + * @return Last name of the user. + * + */ + public Optional lastName() { + return Optional.ofNullable(this.lastName); + } + /** + * @return Mobile phone number of the user. + * + */ + public Optional mobilePhone() { + return Optional.ofNullable(this.mobilePhone); + } + /** + * @return Alternative email address of the user. + * + */ + public Optional secondEmail() { + return Optional.ofNullable(this.secondEmail); + } + /** + * @return Username of the user. + * + */ + public Optional userName() { + return Optional.ofNullable(this.userName); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceImportUpsertUsersProfileProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String email; + private @Nullable String firstName; + private @Nullable String homeAddress; + private @Nullable String lastName; + private @Nullable String mobilePhone; + private @Nullable String secondEmail; + private @Nullable String userName; + public Builder() {} + public Builder(IdentitySourceImportUpsertUsersProfileProfile defaults) { + Objects.requireNonNull(defaults); + this.email = defaults.email; + this.firstName = defaults.firstName; + this.homeAddress = defaults.homeAddress; + this.lastName = defaults.lastName; + this.mobilePhone = defaults.mobilePhone; + this.secondEmail = defaults.secondEmail; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder email(@Nullable String email) { + + this.email = email; + return this; + } + @CustomType.Setter + public Builder firstName(@Nullable String firstName) { + + this.firstName = firstName; + return this; + } + @CustomType.Setter + public Builder homeAddress(@Nullable String homeAddress) { + + this.homeAddress = homeAddress; + return this; + } + @CustomType.Setter + public Builder lastName(@Nullable String lastName) { + + this.lastName = lastName; + return this; + } + @CustomType.Setter + public Builder mobilePhone(@Nullable String mobilePhone) { + + this.mobilePhone = mobilePhone; + return this; + } + @CustomType.Setter + public Builder secondEmail(@Nullable String secondEmail) { + + this.secondEmail = secondEmail; + return this; + } + @CustomType.Setter + public Builder userName(@Nullable String userName) { + + this.userName = userName; + return this; + } + public IdentitySourceImportUpsertUsersProfileProfile build() { + final var _resultValue = new IdentitySourceImportUpsertUsersProfileProfile(); + _resultValue.email = email; + _resultValue.firstName = firstName; + _resultValue.homeAddress = homeAddress; + _resultValue.lastName = lastName; + _resultValue.mobilePhone = mobilePhone; + _resultValue.secondEmail = secondEmail; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceUserProfile.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceUserProfile.java new file mode 100644 index 000000000..dacbc661d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/IdentitySourceUserProfile.java @@ -0,0 +1,183 @@ +// *** WARNING: this file was generated by pulumi-language-java. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.okta.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class IdentitySourceUserProfile { + /** + * @return Email address of the user. + * + */ + private @Nullable String email; + /** + * @return First name of the user. + * + */ + private @Nullable String firstName; + /** + * @return Home address of the user. + * + */ + private @Nullable String homeAddress; + /** + * @return Last name of the user. + * + */ + private @Nullable String lastName; + /** + * @return Mobile phone number of the user. + * + */ + private @Nullable String mobilePhone; + /** + * @return Alternative email address of the user. + * + */ + private @Nullable String secondEmail; + /** + * @return Username of the user. + * + */ + private @Nullable String userName; + + private IdentitySourceUserProfile() {} + /** + * @return Email address of the user. + * + */ + public Optional email() { + return Optional.ofNullable(this.email); + } + /** + * @return First name of the user. + * + */ + public Optional firstName() { + return Optional.ofNullable(this.firstName); + } + /** + * @return Home address of the user. + * + */ + public Optional homeAddress() { + return Optional.ofNullable(this.homeAddress); + } + /** + * @return Last name of the user. + * + */ + public Optional lastName() { + return Optional.ofNullable(this.lastName); + } + /** + * @return Mobile phone number of the user. + * + */ + public Optional mobilePhone() { + return Optional.ofNullable(this.mobilePhone); + } + /** + * @return Alternative email address of the user. + * + */ + public Optional secondEmail() { + return Optional.ofNullable(this.secondEmail); + } + /** + * @return Username of the user. + * + */ + public Optional userName() { + return Optional.ofNullable(this.userName); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(IdentitySourceUserProfile defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String email; + private @Nullable String firstName; + private @Nullable String homeAddress; + private @Nullable String lastName; + private @Nullable String mobilePhone; + private @Nullable String secondEmail; + private @Nullable String userName; + public Builder() {} + public Builder(IdentitySourceUserProfile defaults) { + Objects.requireNonNull(defaults); + this.email = defaults.email; + this.firstName = defaults.firstName; + this.homeAddress = defaults.homeAddress; + this.lastName = defaults.lastName; + this.mobilePhone = defaults.mobilePhone; + this.secondEmail = defaults.secondEmail; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder email(@Nullable String email) { + + this.email = email; + return this; + } + @CustomType.Setter + public Builder firstName(@Nullable String firstName) { + + this.firstName = firstName; + return this; + } + @CustomType.Setter + public Builder homeAddress(@Nullable String homeAddress) { + + this.homeAddress = homeAddress; + return this; + } + @CustomType.Setter + public Builder lastName(@Nullable String lastName) { + + this.lastName = lastName; + return this; + } + @CustomType.Setter + public Builder mobilePhone(@Nullable String mobilePhone) { + + this.mobilePhone = mobilePhone; + return this; + } + @CustomType.Setter + public Builder secondEmail(@Nullable String secondEmail) { + + this.secondEmail = secondEmail; + return this; + } + @CustomType.Setter + public Builder userName(@Nullable String userName) { + + this.userName = userName; + return this; + } + public IdentitySourceUserProfile build() { + final var _resultValue = new IdentitySourceUserProfile(); + _resultValue.email = email; + _resultValue.firstName = firstName; + _resultValue.homeAddress = homeAddress; + _resultValue.lastName = lastName; + _resultValue.mobilePhone = mobilePhone; + _resultValue.secondEmail = secondEmail; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/okta/outputs/PushGroupAppConfig.java b/sdk/java/src/main/java/com/pulumi/okta/outputs/PushGroupAppConfig.java index 98ce7dc10..245bfd669 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/outputs/PushGroupAppConfig.java +++ b/sdk/java/src/main/java/com/pulumi/okta/outputs/PushGroupAppConfig.java @@ -14,6 +14,7 @@ public final class PushGroupAppConfig { private String groupScope; private String groupType; private String samAccountName; + private String type; private PushGroupAppConfig() {} public String distinguishedName() { @@ -28,6 +29,9 @@ public String groupType() { public String samAccountName() { return this.samAccountName; } + public String type() { + return this.type; + } public static Builder builder() { return new Builder(); @@ -42,6 +46,7 @@ public static final class Builder { private String groupScope; private String groupType; private String samAccountName; + private String type; public Builder() {} public Builder(PushGroupAppConfig defaults) { Objects.requireNonNull(defaults); @@ -49,6 +54,7 @@ public Builder(PushGroupAppConfig defaults) { this.groupScope = defaults.groupScope; this.groupType = defaults.groupType; this.samAccountName = defaults.samAccountName; + this.type = defaults.type; } @CustomType.Setter @@ -83,12 +89,21 @@ public Builder samAccountName(String samAccountName) { this.samAccountName = samAccountName; return this; } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("PushGroupAppConfig", "type"); + } + this.type = type; + return this; + } public PushGroupAppConfig build() { final var _resultValue = new PushGroupAppConfig(); _resultValue.distinguishedName = distinguishedName; _resultValue.groupScope = groupScope; _resultValue.groupType = groupType; _resultValue.samAccountName = samAccountName; + _resultValue.type = type; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/Password.java b/sdk/java/src/main/java/com/pulumi/okta/policy/Password.java index 0b29564dd..4ec64dda3 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/Password.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/Password.java @@ -80,6 +80,48 @@ public class Password extends com.pulumi.resources.CustomResource { public Output> authProvider() { return Codegen.optional(this.authProvider); } + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + @Export(name="breachedPasswordDelegatedWorkflowId", refs={String.class}, tree="[0]") + private Output breachedPasswordDelegatedWorkflowId; + + /** + * @return The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + public Output> breachedPasswordDelegatedWorkflowId() { + return Codegen.optional(this.breachedPasswordDelegatedWorkflowId); + } + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + @Export(name="breachedPasswordExpireAfterDays", refs={Integer.class}, tree="[0]") + private Output breachedPasswordExpireAfterDays; + + /** + * @return Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + public Output> breachedPasswordExpireAfterDays() { + return Codegen.optional(this.breachedPasswordExpireAfterDays); + } + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + @Export(name="breachedPasswordLogoutEnabled", refs={Boolean.class}, tree="[0]") + private Output breachedPasswordLogoutEnabled; + + /** + * @return If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + public Output> breachedPasswordLogoutEnabled() { + return Codegen.optional(this.breachedPasswordLogoutEnabled); + } /** * Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` * diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/PasswordArgs.java b/sdk/java/src/main/java/com/pulumi/okta/policy/PasswordArgs.java index aaf640e6d..333742086 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/PasswordArgs.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/PasswordArgs.java @@ -33,6 +33,51 @@ public Optional> authProvider() { return Optional.ofNullable(this.authProvider); } + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + @Import(name="breachedPasswordDelegatedWorkflowId") + private @Nullable Output breachedPasswordDelegatedWorkflowId; + + /** + * @return The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + public Optional> breachedPasswordDelegatedWorkflowId() { + return Optional.ofNullable(this.breachedPasswordDelegatedWorkflowId); + } + + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + @Import(name="breachedPasswordExpireAfterDays") + private @Nullable Output breachedPasswordExpireAfterDays; + + /** + * @return Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + public Optional> breachedPasswordExpireAfterDays() { + return Optional.ofNullable(this.breachedPasswordExpireAfterDays); + } + + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + @Import(name="breachedPasswordLogoutEnabled") + private @Nullable Output breachedPasswordLogoutEnabled; + + /** + * @return If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + public Optional> breachedPasswordLogoutEnabled() { + return Optional.ofNullable(this.breachedPasswordLogoutEnabled); + } + /** * Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` * @@ -472,6 +517,9 @@ private PasswordArgs() {} private PasswordArgs(PasswordArgs $) { this.authProvider = $.authProvider; + this.breachedPasswordDelegatedWorkflowId = $.breachedPasswordDelegatedWorkflowId; + this.breachedPasswordExpireAfterDays = $.breachedPasswordExpireAfterDays; + this.breachedPasswordLogoutEnabled = $.breachedPasswordLogoutEnabled; this.callRecovery = $.callRecovery; this.description = $.description; this.emailRecovery = $.emailRecovery; @@ -542,6 +590,69 @@ public Builder authProvider(String authProvider) { return authProvider(Output.of(authProvider)); } + /** + * @param breachedPasswordDelegatedWorkflowId The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + * @return builder + * + */ + public Builder breachedPasswordDelegatedWorkflowId(@Nullable Output breachedPasswordDelegatedWorkflowId) { + $.breachedPasswordDelegatedWorkflowId = breachedPasswordDelegatedWorkflowId; + return this; + } + + /** + * @param breachedPasswordDelegatedWorkflowId The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + * @return builder + * + */ + public Builder breachedPasswordDelegatedWorkflowId(String breachedPasswordDelegatedWorkflowId) { + return breachedPasswordDelegatedWorkflowId(Output.of(breachedPasswordDelegatedWorkflowId)); + } + + /** + * @param breachedPasswordExpireAfterDays Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + * @return builder + * + */ + public Builder breachedPasswordExpireAfterDays(@Nullable Output breachedPasswordExpireAfterDays) { + $.breachedPasswordExpireAfterDays = breachedPasswordExpireAfterDays; + return this; + } + + /** + * @param breachedPasswordExpireAfterDays Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + * @return builder + * + */ + public Builder breachedPasswordExpireAfterDays(Integer breachedPasswordExpireAfterDays) { + return breachedPasswordExpireAfterDays(Output.of(breachedPasswordExpireAfterDays)); + } + + /** + * @param breachedPasswordLogoutEnabled If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + * @return builder + * + */ + public Builder breachedPasswordLogoutEnabled(@Nullable Output breachedPasswordLogoutEnabled) { + $.breachedPasswordLogoutEnabled = breachedPasswordLogoutEnabled; + return this; + } + + /** + * @param breachedPasswordLogoutEnabled If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + * @return builder + * + */ + public Builder breachedPasswordLogoutEnabled(Boolean breachedPasswordLogoutEnabled) { + return breachedPasswordLogoutEnabled(Output.of(breachedPasswordLogoutEnabled)); + } + /** * @param callRecovery Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` * diff --git a/sdk/java/src/main/java/com/pulumi/okta/policy/inputs/PasswordState.java b/sdk/java/src/main/java/com/pulumi/okta/policy/inputs/PasswordState.java index 89c664f94..367cfb3cd 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/policy/inputs/PasswordState.java +++ b/sdk/java/src/main/java/com/pulumi/okta/policy/inputs/PasswordState.java @@ -33,6 +33,51 @@ public Optional> authProvider() { return Optional.ofNullable(this.authProvider); } + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + @Import(name="breachedPasswordDelegatedWorkflowId") + private @Nullable Output breachedPasswordDelegatedWorkflowId; + + /** + * @return The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + */ + public Optional> breachedPasswordDelegatedWorkflowId() { + return Optional.ofNullable(this.breachedPasswordDelegatedWorkflowId); + } + + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + @Import(name="breachedPasswordExpireAfterDays") + private @Nullable Output breachedPasswordExpireAfterDays; + + /** + * @return Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + */ + public Optional> breachedPasswordExpireAfterDays() { + return Optional.ofNullable(this.breachedPasswordExpireAfterDays); + } + + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + @Import(name="breachedPasswordLogoutEnabled") + private @Nullable Output breachedPasswordLogoutEnabled; + + /** + * @return If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + */ + public Optional> breachedPasswordLogoutEnabled() { + return Optional.ofNullable(this.breachedPasswordLogoutEnabled); + } + /** * Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` * @@ -472,6 +517,9 @@ private PasswordState() {} private PasswordState(PasswordState $) { this.authProvider = $.authProvider; + this.breachedPasswordDelegatedWorkflowId = $.breachedPasswordDelegatedWorkflowId; + this.breachedPasswordExpireAfterDays = $.breachedPasswordExpireAfterDays; + this.breachedPasswordLogoutEnabled = $.breachedPasswordLogoutEnabled; this.callRecovery = $.callRecovery; this.description = $.description; this.emailRecovery = $.emailRecovery; @@ -542,6 +590,69 @@ public Builder authProvider(String authProvider) { return authProvider(Output.of(authProvider)); } + /** + * @param breachedPasswordDelegatedWorkflowId The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + * @return builder + * + */ + public Builder breachedPasswordDelegatedWorkflowId(@Nullable Output breachedPasswordDelegatedWorkflowId) { + $.breachedPasswordDelegatedWorkflowId = breachedPasswordDelegatedWorkflowId; + return this; + } + + /** + * @param breachedPasswordDelegatedWorkflowId The ID of the workflow to run when a breached password is found during a sign-in attempt. + * + * @return builder + * + */ + public Builder breachedPasswordDelegatedWorkflowId(String breachedPasswordDelegatedWorkflowId) { + return breachedPasswordDelegatedWorkflowId(Output.of(breachedPasswordDelegatedWorkflowId)); + } + + /** + * @param breachedPasswordExpireAfterDays Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + * @return builder + * + */ + public Builder breachedPasswordExpireAfterDays(@Nullable Output breachedPasswordExpireAfterDays) { + $.breachedPasswordExpireAfterDays = breachedPasswordExpireAfterDays; + return this; + } + + /** + * @param breachedPasswordExpireAfterDays Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + * + * @return builder + * + */ + public Builder breachedPasswordExpireAfterDays(Integer breachedPasswordExpireAfterDays) { + return breachedPasswordExpireAfterDays(Output.of(breachedPasswordExpireAfterDays)); + } + + /** + * @param breachedPasswordLogoutEnabled If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + * @return builder + * + */ + public Builder breachedPasswordLogoutEnabled(@Nullable Output breachedPasswordLogoutEnabled) { + $.breachedPasswordLogoutEnabled = breachedPasswordLogoutEnabled; + return this; + } + + /** + * @param breachedPasswordLogoutEnabled If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + * + * @return builder + * + */ + public Builder breachedPasswordLogoutEnabled(Boolean breachedPasswordLogoutEnabled) { + return breachedPasswordLogoutEnabled(Output.of(breachedPasswordLogoutEnabled)); + } + /** * @param callRecovery Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` * diff --git a/sdk/java/src/main/java/com/pulumi/okta/user/User.java b/sdk/java/src/main/java/com/pulumi/okta/user/User.java index fafcec8e8..111227f7e 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/user/User.java +++ b/sdk/java/src/main/java/com/pulumi/okta/user/User.java @@ -103,6 +103,20 @@ */ @ResourceType(type="okta:user/user:User") public class User extends com.pulumi.resources.CustomResource { + /** + * The timestamp when the user status transitioned to ACTIVE + * + */ + @Export(name="activated", refs={String.class}, tree="[0]") + private Output activated; + + /** + * @return The timestamp when the user status transitioned to ACTIVE + * + */ + public Output activated() { + return this.activated; + } /** * User city * @@ -145,6 +159,20 @@ public Output> costCenter() { public Output> countryCode() { return Codegen.optional(this.countryCode); } + /** + * The timestamp when the user was created + * + */ + @Export(name="created", refs={String.class}, tree="[0]") + private Output created; + + /** + * @return The timestamp when the user was created + * + */ + public Output created() { + return this.created; + } /** * JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. * @@ -299,6 +327,20 @@ public Output> honorificPrefix() { public Output> honorificSuffix() { return Codegen.optional(this.honorificSuffix); } + /** + * The timestamp of the user's last login + * + */ + @Export(name="lastLogin", refs={String.class}, tree="[0]") + private Output lastLogin; + + /** + * @return The timestamp of the user's last login + * + */ + public Output lastLogin() { + return this.lastLogin; + } /** * User last name * @@ -313,6 +355,20 @@ public Output> honorificSuffix() { public Output lastName() { return this.lastName; } + /** + * The timestamp when the user was last updated + * + */ + @Export(name="lastUpdated", refs={String.class}, tree="[0]") + private Output lastUpdated; + + /** + * @return The timestamp when the user was last updated + * + */ + public Output lastUpdated() { + return this.lastUpdated; + } /** * User default location * @@ -453,6 +509,20 @@ public Output> organization() { public Output> password() { return Codegen.optional(this.password); } + /** + * The timestamp when the user's password was last changed + * + */ + @Export(name="passwordChanged", refs={String.class}, tree="[0]") + private Output passwordChanged; + + /** + * @return The timestamp when the user's password was last changed + * + */ + public Output passwordChanged() { + return this.passwordChanged; + } /** * Specifies a hashed password to import into Okta. * @@ -653,6 +723,20 @@ public Output> state() { public Output> status() { return Codegen.optional(this.status); } + /** + * The timestamp when the user's status last changed + * + */ + @Export(name="statusChanged", refs={String.class}, tree="[0]") + private Output statusChanged; + + /** + * @return The timestamp when the user's status last changed + * + */ + public Output statusChanged() { + return this.statusChanged; + } /** * User street address * diff --git a/sdk/java/src/main/java/com/pulumi/okta/user/inputs/UserState.java b/sdk/java/src/main/java/com/pulumi/okta/user/inputs/UserState.java index 99e43a84b..21948e5f9 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/user/inputs/UserState.java +++ b/sdk/java/src/main/java/com/pulumi/okta/user/inputs/UserState.java @@ -19,6 +19,21 @@ public final class UserState extends com.pulumi.resources.ResourceArgs { public static final UserState Empty = new UserState(); + /** + * The timestamp when the user status transitioned to ACTIVE + * + */ + @Import(name="activated") + private @Nullable Output activated; + + /** + * @return The timestamp when the user status transitioned to ACTIVE + * + */ + public Optional> activated() { + return Optional.ofNullable(this.activated); + } + /** * User city * @@ -64,6 +79,21 @@ public Optional> countryCode() { return Optional.ofNullable(this.countryCode); } + /** + * The timestamp when the user was created + * + */ + @Import(name="created") + private @Nullable Output created; + + /** + * @return The timestamp when the user was created + * + */ + public Optional> created() { + return Optional.ofNullable(this.created); + } + /** * JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. * @@ -229,6 +259,21 @@ public Optional> honorificSuffix() { return Optional.ofNullable(this.honorificSuffix); } + /** + * The timestamp of the user's last login + * + */ + @Import(name="lastLogin") + private @Nullable Output lastLogin; + + /** + * @return The timestamp of the user's last login + * + */ + public Optional> lastLogin() { + return Optional.ofNullable(this.lastLogin); + } + /** * User last name * @@ -244,6 +289,21 @@ public Optional> lastName() { return Optional.ofNullable(this.lastName); } + /** + * The timestamp when the user was last updated + * + */ + @Import(name="lastUpdated") + private @Nullable Output lastUpdated; + + /** + * @return The timestamp when the user was last updated + * + */ + public Optional> lastUpdated() { + return Optional.ofNullable(this.lastUpdated); + } + /** * User default location * @@ -394,6 +454,21 @@ public Optional> password() { return Optional.ofNullable(this.password); } + /** + * The timestamp when the user's password was last changed + * + */ + @Import(name="passwordChanged") + private @Nullable Output passwordChanged; + + /** + * @return The timestamp when the user's password was last changed + * + */ + public Optional> passwordChanged() { + return Optional.ofNullable(this.passwordChanged); + } + /** * Specifies a hashed password to import into Okta. * @@ -612,6 +687,21 @@ public Optional> status() { return Optional.ofNullable(this.status); } + /** + * The timestamp when the user's status last changed + * + */ + @Import(name="statusChanged") + private @Nullable Output statusChanged; + + /** + * @return The timestamp when the user's status last changed + * + */ + public Optional> statusChanged() { + return Optional.ofNullable(this.statusChanged); + } + /** * User street address * @@ -705,9 +795,11 @@ public Optional> zipCode() { private UserState() {} private UserState(UserState $) { + this.activated = $.activated; this.city = $.city; this.costCenter = $.costCenter; this.countryCode = $.countryCode; + this.created = $.created; this.customProfileAttributes = $.customProfileAttributes; this.customProfileAttributesToIgnores = $.customProfileAttributesToIgnores; this.department = $.department; @@ -719,7 +811,9 @@ private UserState(UserState $) { this.firstName = $.firstName; this.honorificPrefix = $.honorificPrefix; this.honorificSuffix = $.honorificSuffix; + this.lastLogin = $.lastLogin; this.lastName = $.lastName; + this.lastUpdated = $.lastUpdated; this.locale = $.locale; this.login = $.login; this.manager = $.manager; @@ -730,6 +824,7 @@ private UserState(UserState $) { this.oldPassword = $.oldPassword; this.organization = $.organization; this.password = $.password; + this.passwordChanged = $.passwordChanged; this.passwordHash = $.passwordHash; this.passwordInlineHook = $.passwordInlineHook; this.postalAddress = $.postalAddress; @@ -744,6 +839,7 @@ private UserState(UserState $) { this.skipRoles = $.skipRoles; this.state = $.state; this.status = $.status; + this.statusChanged = $.statusChanged; this.streetAddress = $.streetAddress; this.timezone = $.timezone; this.title = $.title; @@ -770,6 +866,27 @@ public Builder(UserState defaults) { $ = new UserState(Objects.requireNonNull(defaults)); } + /** + * @param activated The timestamp when the user status transitioned to ACTIVE + * + * @return builder + * + */ + public Builder activated(@Nullable Output activated) { + $.activated = activated; + return this; + } + + /** + * @param activated The timestamp when the user status transitioned to ACTIVE + * + * @return builder + * + */ + public Builder activated(String activated) { + return activated(Output.of(activated)); + } + /** * @param city User city * @@ -833,6 +950,27 @@ public Builder countryCode(String countryCode) { return countryCode(Output.of(countryCode)); } + /** + * @param created The timestamp when the user was created + * + * @return builder + * + */ + public Builder created(@Nullable Output created) { + $.created = created; + return this; + } + + /** + * @param created The timestamp when the user was created + * + * @return builder + * + */ + public Builder created(String created) { + return created(Output.of(created)); + } + /** * @param customProfileAttributes JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. * @@ -1074,6 +1212,27 @@ public Builder honorificSuffix(String honorificSuffix) { return honorificSuffix(Output.of(honorificSuffix)); } + /** + * @param lastLogin The timestamp of the user's last login + * + * @return builder + * + */ + public Builder lastLogin(@Nullable Output lastLogin) { + $.lastLogin = lastLogin; + return this; + } + + /** + * @param lastLogin The timestamp of the user's last login + * + * @return builder + * + */ + public Builder lastLogin(String lastLogin) { + return lastLogin(Output.of(lastLogin)); + } + /** * @param lastName User last name * @@ -1095,6 +1254,27 @@ public Builder lastName(String lastName) { return lastName(Output.of(lastName)); } + /** + * @param lastUpdated The timestamp when the user was last updated + * + * @return builder + * + */ + public Builder lastUpdated(@Nullable Output lastUpdated) { + $.lastUpdated = lastUpdated; + return this; + } + + /** + * @param lastUpdated The timestamp when the user was last updated + * + * @return builder + * + */ + public Builder lastUpdated(String lastUpdated) { + return lastUpdated(Output.of(lastUpdated)); + } + /** * @param locale User default location * @@ -1305,6 +1485,27 @@ public Builder password(String password) { return password(Output.of(password)); } + /** + * @param passwordChanged The timestamp when the user's password was last changed + * + * @return builder + * + */ + public Builder passwordChanged(@Nullable Output passwordChanged) { + $.passwordChanged = passwordChanged; + return this; + } + + /** + * @param passwordChanged The timestamp when the user's password was last changed + * + * @return builder + * + */ + public Builder passwordChanged(String passwordChanged) { + return passwordChanged(Output.of(passwordChanged)); + } + /** * @param passwordHash Specifies a hashed password to import into Okta. * @@ -1607,6 +1808,27 @@ public Builder status(String status) { return status(Output.of(status)); } + /** + * @param statusChanged The timestamp when the user's status last changed + * + * @return builder + * + */ + public Builder statusChanged(@Nullable Output statusChanged) { + $.statusChanged = statusChanged; + return this; + } + + /** + * @param statusChanged The timestamp when the user's status last changed + * + * @return builder + * + */ + public Builder statusChanged(String statusChanged) { + return statusChanged(Output.of(statusChanged)); + } + /** * @param streetAddress User street address * diff --git a/sdk/java/src/main/java/com/pulumi/okta/user/outputs/GetUserResult.java b/sdk/java/src/main/java/com/pulumi/okta/user/outputs/GetUserResult.java index af1026757..a5b9da05b 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/user/outputs/GetUserResult.java +++ b/sdk/java/src/main/java/com/pulumi/okta/user/outputs/GetUserResult.java @@ -16,6 +16,7 @@ @CustomType public final class GetUserResult { + private String activated; private List adminRoles; private String city; /** @@ -25,6 +26,7 @@ public final class GetUserResult { private @Nullable String compoundSearchOperator; private String costCenter; private String countryCode; + private String created; private String customProfileAttributes; /** * @return Force delay of the user read by N seconds. Useful when eventual consistency of user information needs to be allowed for. @@ -45,7 +47,9 @@ public final class GetUserResult { * */ private String id; + private String lastLogin; private String lastName; + private String lastUpdated; private String locale; private String login; private String manager; @@ -54,6 +58,7 @@ public final class GetUserResult { private String mobilePhone; private String nickName; private String organization; + private String passwordChanged; private String postalAddress; private String preferredLanguage; private String primaryPhone; @@ -82,6 +87,7 @@ public final class GetUserResult { private @Nullable Boolean skipRoles; private String state; private String status; + private String statusChanged; private String streetAddress; private String timezone; private String title; @@ -95,6 +101,9 @@ public final class GetUserResult { private String zipCode; private GetUserResult() {} + public String activated() { + return this.activated; + } public List adminRoles() { return this.adminRoles; } @@ -114,6 +123,9 @@ public String costCenter() { public String countryCode() { return this.countryCode; } + public String created() { + return this.created; + } public String customProfileAttributes() { return this.customProfileAttributes; } @@ -158,9 +170,15 @@ public String honorificSuffix() { public String id() { return this.id; } + public String lastLogin() { + return this.lastLogin; + } public String lastName() { return this.lastName; } + public String lastUpdated() { + return this.lastUpdated; + } public String locale() { return this.locale; } @@ -185,6 +203,9 @@ public String nickName() { public String organization() { return this.organization; } + public String passwordChanged() { + return this.passwordChanged; + } public String postalAddress() { return this.postalAddress; } @@ -237,6 +258,9 @@ public String state() { public String status() { return this.status; } + public String statusChanged() { + return this.statusChanged; + } public String streetAddress() { return this.streetAddress; } @@ -272,11 +296,13 @@ public static Builder builder(GetUserResult defaults) { } @CustomType.Builder public static final class Builder { + private String activated; private List adminRoles; private String city; private @Nullable String compoundSearchOperator; private String costCenter; private String countryCode; + private String created; private String customProfileAttributes; private @Nullable String delayReadSeconds; private String department; @@ -289,7 +315,9 @@ public static final class Builder { private String honorificPrefix; private String honorificSuffix; private String id; + private String lastLogin; private String lastName; + private String lastUpdated; private String locale; private String login; private String manager; @@ -298,6 +326,7 @@ public static final class Builder { private String mobilePhone; private String nickName; private String organization; + private String passwordChanged; private String postalAddress; private String preferredLanguage; private String primaryPhone; @@ -310,6 +339,7 @@ public static final class Builder { private @Nullable Boolean skipRoles; private String state; private String status; + private String statusChanged; private String streetAddress; private String timezone; private String title; @@ -320,11 +350,13 @@ public static final class Builder { public Builder() {} public Builder(GetUserResult defaults) { Objects.requireNonNull(defaults); + this.activated = defaults.activated; this.adminRoles = defaults.adminRoles; this.city = defaults.city; this.compoundSearchOperator = defaults.compoundSearchOperator; this.costCenter = defaults.costCenter; this.countryCode = defaults.countryCode; + this.created = defaults.created; this.customProfileAttributes = defaults.customProfileAttributes; this.delayReadSeconds = defaults.delayReadSeconds; this.department = defaults.department; @@ -337,7 +369,9 @@ public Builder(GetUserResult defaults) { this.honorificPrefix = defaults.honorificPrefix; this.honorificSuffix = defaults.honorificSuffix; this.id = defaults.id; + this.lastLogin = defaults.lastLogin; this.lastName = defaults.lastName; + this.lastUpdated = defaults.lastUpdated; this.locale = defaults.locale; this.login = defaults.login; this.manager = defaults.manager; @@ -346,6 +380,7 @@ public Builder(GetUserResult defaults) { this.mobilePhone = defaults.mobilePhone; this.nickName = defaults.nickName; this.organization = defaults.organization; + this.passwordChanged = defaults.passwordChanged; this.postalAddress = defaults.postalAddress; this.preferredLanguage = defaults.preferredLanguage; this.primaryPhone = defaults.primaryPhone; @@ -358,6 +393,7 @@ public Builder(GetUserResult defaults) { this.skipRoles = defaults.skipRoles; this.state = defaults.state; this.status = defaults.status; + this.statusChanged = defaults.statusChanged; this.streetAddress = defaults.streetAddress; this.timezone = defaults.timezone; this.title = defaults.title; @@ -367,6 +403,14 @@ public Builder(GetUserResult defaults) { this.zipCode = defaults.zipCode; } + @CustomType.Setter + public Builder activated(String activated) { + if (activated == null) { + throw new MissingRequiredPropertyException("GetUserResult", "activated"); + } + this.activated = activated; + return this; + } @CustomType.Setter public Builder adminRoles(List adminRoles) { if (adminRoles == null) { @@ -409,6 +453,14 @@ public Builder countryCode(String countryCode) { return this; } @CustomType.Setter + public Builder created(String created) { + if (created == null) { + throw new MissingRequiredPropertyException("GetUserResult", "created"); + } + this.created = created; + return this; + } + @CustomType.Setter public Builder customProfileAttributes(String customProfileAttributes) { if (customProfileAttributes == null) { throw new MissingRequiredPropertyException("GetUserResult", "customProfileAttributes"); @@ -506,6 +558,14 @@ public Builder id(String id) { return this; } @CustomType.Setter + public Builder lastLogin(String lastLogin) { + if (lastLogin == null) { + throw new MissingRequiredPropertyException("GetUserResult", "lastLogin"); + } + this.lastLogin = lastLogin; + return this; + } + @CustomType.Setter public Builder lastName(String lastName) { if (lastName == null) { throw new MissingRequiredPropertyException("GetUserResult", "lastName"); @@ -514,6 +574,14 @@ public Builder lastName(String lastName) { return this; } @CustomType.Setter + public Builder lastUpdated(String lastUpdated) { + if (lastUpdated == null) { + throw new MissingRequiredPropertyException("GetUserResult", "lastUpdated"); + } + this.lastUpdated = lastUpdated; + return this; + } + @CustomType.Setter public Builder locale(String locale) { if (locale == null) { throw new MissingRequiredPropertyException("GetUserResult", "locale"); @@ -578,6 +646,14 @@ public Builder organization(String organization) { return this; } @CustomType.Setter + public Builder passwordChanged(String passwordChanged) { + if (passwordChanged == null) { + throw new MissingRequiredPropertyException("GetUserResult", "passwordChanged"); + } + this.passwordChanged = passwordChanged; + return this; + } + @CustomType.Setter public Builder postalAddress(String postalAddress) { if (postalAddress == null) { throw new MissingRequiredPropertyException("GetUserResult", "postalAddress"); @@ -674,6 +750,14 @@ public Builder status(String status) { return this; } @CustomType.Setter + public Builder statusChanged(String statusChanged) { + if (statusChanged == null) { + throw new MissingRequiredPropertyException("GetUserResult", "statusChanged"); + } + this.statusChanged = statusChanged; + return this; + } + @CustomType.Setter public Builder streetAddress(String streetAddress) { if (streetAddress == null) { throw new MissingRequiredPropertyException("GetUserResult", "streetAddress"); @@ -732,11 +816,13 @@ public Builder zipCode(String zipCode) { } public GetUserResult build() { final var _resultValue = new GetUserResult(); + _resultValue.activated = activated; _resultValue.adminRoles = adminRoles; _resultValue.city = city; _resultValue.compoundSearchOperator = compoundSearchOperator; _resultValue.costCenter = costCenter; _resultValue.countryCode = countryCode; + _resultValue.created = created; _resultValue.customProfileAttributes = customProfileAttributes; _resultValue.delayReadSeconds = delayReadSeconds; _resultValue.department = department; @@ -749,7 +835,9 @@ public GetUserResult build() { _resultValue.honorificPrefix = honorificPrefix; _resultValue.honorificSuffix = honorificSuffix; _resultValue.id = id; + _resultValue.lastLogin = lastLogin; _resultValue.lastName = lastName; + _resultValue.lastUpdated = lastUpdated; _resultValue.locale = locale; _resultValue.login = login; _resultValue.manager = manager; @@ -758,6 +846,7 @@ public GetUserResult build() { _resultValue.mobilePhone = mobilePhone; _resultValue.nickName = nickName; _resultValue.organization = organization; + _resultValue.passwordChanged = passwordChanged; _resultValue.postalAddress = postalAddress; _resultValue.preferredLanguage = preferredLanguage; _resultValue.primaryPhone = primaryPhone; @@ -770,6 +859,7 @@ public GetUserResult build() { _resultValue.skipRoles = skipRoles; _resultValue.state = state; _resultValue.status = status; + _resultValue.statusChanged = statusChanged; _resultValue.streetAddress = streetAddress; _resultValue.timezone = timezone; _resultValue.title = title; diff --git a/sdk/java/src/main/java/com/pulumi/okta/user/outputs/GetUsersUser.java b/sdk/java/src/main/java/com/pulumi/okta/user/outputs/GetUsersUser.java index 592caf95c..aca7e3aae 100644 --- a/sdk/java/src/main/java/com/pulumi/okta/user/outputs/GetUsersUser.java +++ b/sdk/java/src/main/java/com/pulumi/okta/user/outputs/GetUsersUser.java @@ -12,10 +12,12 @@ @CustomType public final class GetUsersUser { + private String activated; private List adminRoles; private String city; private String costCenter; private String countryCode; + private String created; private String customProfileAttributes; private String department; private String displayName; @@ -27,7 +29,9 @@ public final class GetUsersUser { private String honorificPrefix; private String honorificSuffix; private String id; + private String lastLogin; private String lastName; + private String lastUpdated; private String locale; private String login; private String manager; @@ -36,6 +40,7 @@ public final class GetUsersUser { private String mobilePhone; private String nickName; private String organization; + private String passwordChanged; private String postalAddress; private String preferredLanguage; private String primaryPhone; @@ -49,6 +54,7 @@ public final class GetUsersUser { private String secondEmail; private String state; private String status; + private String statusChanged; private String streetAddress; private String timezone; private String title; @@ -61,6 +67,9 @@ public final class GetUsersUser { private String zipCode; private GetUsersUser() {} + public String activated() { + return this.activated; + } public List adminRoles() { return this.adminRoles; } @@ -73,6 +82,9 @@ public String costCenter() { public String countryCode() { return this.countryCode; } + public String created() { + return this.created; + } public String customProfileAttributes() { return this.customProfileAttributes; } @@ -106,9 +118,15 @@ public String honorificSuffix() { public String id() { return this.id; } + public String lastLogin() { + return this.lastLogin; + } public String lastName() { return this.lastName; } + public String lastUpdated() { + return this.lastUpdated; + } public String locale() { return this.locale; } @@ -133,6 +151,9 @@ public String nickName() { public String organization() { return this.organization; } + public String passwordChanged() { + return this.passwordChanged; + } public String postalAddress() { return this.postalAddress; } @@ -164,6 +185,9 @@ public String state() { public String status() { return this.status; } + public String statusChanged() { + return this.statusChanged; + } public String streetAddress() { return this.streetAddress; } @@ -196,10 +220,12 @@ public static Builder builder(GetUsersUser defaults) { } @CustomType.Builder public static final class Builder { + private String activated; private List adminRoles; private String city; private String costCenter; private String countryCode; + private String created; private String customProfileAttributes; private String department; private String displayName; @@ -211,7 +237,9 @@ public static final class Builder { private String honorificPrefix; private String honorificSuffix; private String id; + private String lastLogin; private String lastName; + private String lastUpdated; private String locale; private String login; private String manager; @@ -220,6 +248,7 @@ public static final class Builder { private String mobilePhone; private String nickName; private String organization; + private String passwordChanged; private String postalAddress; private String preferredLanguage; private String primaryPhone; @@ -229,6 +258,7 @@ public static final class Builder { private String secondEmail; private String state; private String status; + private String statusChanged; private String streetAddress; private String timezone; private String title; @@ -238,10 +268,12 @@ public static final class Builder { public Builder() {} public Builder(GetUsersUser defaults) { Objects.requireNonNull(defaults); + this.activated = defaults.activated; this.adminRoles = defaults.adminRoles; this.city = defaults.city; this.costCenter = defaults.costCenter; this.countryCode = defaults.countryCode; + this.created = defaults.created; this.customProfileAttributes = defaults.customProfileAttributes; this.department = defaults.department; this.displayName = defaults.displayName; @@ -253,7 +285,9 @@ public Builder(GetUsersUser defaults) { this.honorificPrefix = defaults.honorificPrefix; this.honorificSuffix = defaults.honorificSuffix; this.id = defaults.id; + this.lastLogin = defaults.lastLogin; this.lastName = defaults.lastName; + this.lastUpdated = defaults.lastUpdated; this.locale = defaults.locale; this.login = defaults.login; this.manager = defaults.manager; @@ -262,6 +296,7 @@ public Builder(GetUsersUser defaults) { this.mobilePhone = defaults.mobilePhone; this.nickName = defaults.nickName; this.organization = defaults.organization; + this.passwordChanged = defaults.passwordChanged; this.postalAddress = defaults.postalAddress; this.preferredLanguage = defaults.preferredLanguage; this.primaryPhone = defaults.primaryPhone; @@ -271,6 +306,7 @@ public Builder(GetUsersUser defaults) { this.secondEmail = defaults.secondEmail; this.state = defaults.state; this.status = defaults.status; + this.statusChanged = defaults.statusChanged; this.streetAddress = defaults.streetAddress; this.timezone = defaults.timezone; this.title = defaults.title; @@ -279,6 +315,14 @@ public Builder(GetUsersUser defaults) { this.zipCode = defaults.zipCode; } + @CustomType.Setter + public Builder activated(String activated) { + if (activated == null) { + throw new MissingRequiredPropertyException("GetUsersUser", "activated"); + } + this.activated = activated; + return this; + } @CustomType.Setter public Builder adminRoles(List adminRoles) { if (adminRoles == null) { @@ -315,6 +359,14 @@ public Builder countryCode(String countryCode) { return this; } @CustomType.Setter + public Builder created(String created) { + if (created == null) { + throw new MissingRequiredPropertyException("GetUsersUser", "created"); + } + this.created = created; + return this; + } + @CustomType.Setter public Builder customProfileAttributes(String customProfileAttributes) { if (customProfileAttributes == null) { throw new MissingRequiredPropertyException("GetUsersUser", "customProfileAttributes"); @@ -406,6 +458,14 @@ public Builder id(String id) { return this; } @CustomType.Setter + public Builder lastLogin(String lastLogin) { + if (lastLogin == null) { + throw new MissingRequiredPropertyException("GetUsersUser", "lastLogin"); + } + this.lastLogin = lastLogin; + return this; + } + @CustomType.Setter public Builder lastName(String lastName) { if (lastName == null) { throw new MissingRequiredPropertyException("GetUsersUser", "lastName"); @@ -414,6 +474,14 @@ public Builder lastName(String lastName) { return this; } @CustomType.Setter + public Builder lastUpdated(String lastUpdated) { + if (lastUpdated == null) { + throw new MissingRequiredPropertyException("GetUsersUser", "lastUpdated"); + } + this.lastUpdated = lastUpdated; + return this; + } + @CustomType.Setter public Builder locale(String locale) { if (locale == null) { throw new MissingRequiredPropertyException("GetUsersUser", "locale"); @@ -478,6 +546,14 @@ public Builder organization(String organization) { return this; } @CustomType.Setter + public Builder passwordChanged(String passwordChanged) { + if (passwordChanged == null) { + throw new MissingRequiredPropertyException("GetUsersUser", "passwordChanged"); + } + this.passwordChanged = passwordChanged; + return this; + } + @CustomType.Setter public Builder postalAddress(String postalAddress) { if (postalAddress == null) { throw new MissingRequiredPropertyException("GetUsersUser", "postalAddress"); @@ -553,6 +629,14 @@ public Builder status(String status) { return this; } @CustomType.Setter + public Builder statusChanged(String statusChanged) { + if (statusChanged == null) { + throw new MissingRequiredPropertyException("GetUsersUser", "statusChanged"); + } + this.statusChanged = statusChanged; + return this; + } + @CustomType.Setter public Builder streetAddress(String streetAddress) { if (streetAddress == null) { throw new MissingRequiredPropertyException("GetUsersUser", "streetAddress"); @@ -605,10 +689,12 @@ public Builder zipCode(String zipCode) { } public GetUsersUser build() { final var _resultValue = new GetUsersUser(); + _resultValue.activated = activated; _resultValue.adminRoles = adminRoles; _resultValue.city = city; _resultValue.costCenter = costCenter; _resultValue.countryCode = countryCode; + _resultValue.created = created; _resultValue.customProfileAttributes = customProfileAttributes; _resultValue.department = department; _resultValue.displayName = displayName; @@ -620,7 +706,9 @@ public GetUsersUser build() { _resultValue.honorificPrefix = honorificPrefix; _resultValue.honorificSuffix = honorificSuffix; _resultValue.id = id; + _resultValue.lastLogin = lastLogin; _resultValue.lastName = lastName; + _resultValue.lastUpdated = lastUpdated; _resultValue.locale = locale; _resultValue.login = login; _resultValue.manager = manager; @@ -629,6 +717,7 @@ public GetUsersUser build() { _resultValue.mobilePhone = mobilePhone; _resultValue.nickName = nickName; _resultValue.organization = organization; + _resultValue.passwordChanged = passwordChanged; _resultValue.postalAddress = postalAddress; _resultValue.preferredLanguage = preferredLanguage; _resultValue.primaryPhone = primaryPhone; @@ -638,6 +727,7 @@ public GetUsersUser build() { _resultValue.secondEmail = secondEmail; _resultValue.state = state; _resultValue.status = status; + _resultValue.statusChanged = statusChanged; _resultValue.streetAddress = streetAddress; _resultValue.timezone = timezone; _resultValue.title = title; diff --git a/sdk/nodejs/app/getSignOnPolicyRule.ts b/sdk/nodejs/app/getSignOnPolicyRule.ts new file mode 100644 index 000000000..eb9f4fd87 --- /dev/null +++ b/sdk/nodejs/app/getSignOnPolicyRule.ts @@ -0,0 +1,150 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + * + * > **WARNING:** This feature is only available as a part of the + * Identity Engine. Contact support + * for further information. + * + * > Inside the product a sign-on policy rule is referenced as an _authentication + * policy rule_, in the public API the parent policy is of type + * [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getAppSignonPolicy({ + * appId: "", + * }); + * const exampleGetSignOnPolicyRule = example.then(example => okta.app.getSignOnPolicyRule({ + * id: "", + * policyId: example.id, + * })); + * ``` + */ +export function getSignOnPolicyRule(args: GetSignOnPolicyRuleArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", { + "actions": args.actions, + "conditions": args.conditions, + "id": args.id, + "policyId": args.policyId, + }, opts); +} + +/** + * A collection of arguments for invoking getSignOnPolicyRule. + */ +export interface GetSignOnPolicyRuleArgs { + actions?: inputs.app.GetSignOnPolicyRuleActions; + conditions?: inputs.app.GetSignOnPolicyRuleConditions; + /** + * Unique identifier of the access policy rule. + */ + id: string; + /** + * `id` of the policy + */ + policyId: string; +} + +/** + * A collection of values returned by getSignOnPolicyRule. + */ +export interface GetSignOnPolicyRuleResult { + readonly actions?: outputs.app.GetSignOnPolicyRuleActions; + readonly conditions?: outputs.app.GetSignOnPolicyRuleConditions; + /** + * Timestamp when the rule was created + */ + readonly created: string; + /** + * Unique identifier of the access policy rule. + */ + readonly id: string; + /** + * Timestamp when the rule was last modified + */ + readonly lastUpdated: string; + /** + * Name of the rule + */ + readonly name: string; + /** + * `id` of the policy + */ + readonly policyId: string; + /** + * Priority of the rule + */ + readonly priority: number; + /** + * Whether or not the rule is active. + */ + readonly status: string; + /** + * Specifies whether Okta created the policy rule (`system=true`). + */ + readonly system: boolean; +} +/** + * Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + * + * > **WARNING:** This feature is only available as a part of the + * Identity Engine. Contact support + * for further information. + * + * > Inside the product a sign-on policy rule is referenced as an _authentication + * policy rule_, in the public API the parent policy is of type + * [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getAppSignonPolicy({ + * appId: "", + * }); + * const exampleGetSignOnPolicyRule = example.then(example => okta.app.getSignOnPolicyRule({ + * id: "", + * policyId: example.id, + * })); + * ``` + */ +export function getSignOnPolicyRuleOutput(args: GetSignOnPolicyRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("okta:app/getSignOnPolicyRule:getSignOnPolicyRule", { + "actions": args.actions, + "conditions": args.conditions, + "id": args.id, + "policyId": args.policyId, + }, opts); +} + +/** + * A collection of arguments for invoking getSignOnPolicyRule. + */ +export interface GetSignOnPolicyRuleOutputArgs { + actions?: pulumi.Input; + conditions?: pulumi.Input; + /** + * Unique identifier of the access policy rule. + */ + id: pulumi.Input; + /** + * `id` of the policy + */ + policyId: pulumi.Input; +} diff --git a/sdk/nodejs/app/index.ts b/sdk/nodejs/app/index.ts index a95c57a9b..9b7072f51 100644 --- a/sdk/nodejs/app/index.ts +++ b/sdk/nodejs/app/index.ts @@ -75,6 +75,11 @@ export const getSaml: typeof import("./getSaml").getSaml = null as any; export const getSamlOutput: typeof import("./getSaml").getSamlOutput = null as any; utilities.lazyLoad(exports, ["getSaml","getSamlOutput"], () => require("./getSaml")); +export { GetSignOnPolicyRuleArgs, GetSignOnPolicyRuleResult, GetSignOnPolicyRuleOutputArgs } from "./getSignOnPolicyRule"; +export const getSignOnPolicyRule: typeof import("./getSignOnPolicyRule").getSignOnPolicyRule = null as any; +export const getSignOnPolicyRuleOutput: typeof import("./getSignOnPolicyRule").getSignOnPolicyRuleOutput = null as any; +utilities.lazyLoad(exports, ["getSignOnPolicyRule","getSignOnPolicyRuleOutput"], () => require("./getSignOnPolicyRule")); + export { GetTokenArgs, GetTokenResult, GetTokenOutputArgs } from "./getToken"; export const getToken: typeof import("./getToken").getToken = null as any; export const getTokenOutput: typeof import("./getToken").getTokenOutput = null as any; diff --git a/sdk/nodejs/app/oauth.ts b/sdk/nodejs/app/oauth.ts index af3c7b069..4add5563b 100644 --- a/sdk/nodejs/app/oauth.ts +++ b/sdk/nodejs/app/oauth.ts @@ -157,6 +157,10 @@ export class OAuth extends pulumi.CustomResource { * Display auto submit toolbar */ declare public readonly autoSubmitToolbar: pulumi.Output; + /** + * The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + */ + declare public readonly backchannelCustomAuthenticatorId: pulumi.Output; /** * The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. */ @@ -379,6 +383,7 @@ export class OAuth extends pulumi.CustomResource { resourceInputs["authenticationPolicy"] = state?.authenticationPolicy; resourceInputs["autoKeyRotation"] = state?.autoKeyRotation; resourceInputs["autoSubmitToolbar"] = state?.autoSubmitToolbar; + resourceInputs["backchannelCustomAuthenticatorId"] = state?.backchannelCustomAuthenticatorId; resourceInputs["clientBasicSecret"] = state?.clientBasicSecret; resourceInputs["clientBasicSecretWo"] = state?.clientBasicSecretWo; resourceInputs["clientBasicSecretWoVersion"] = state?.clientBasicSecretWoVersion; @@ -445,6 +450,7 @@ export class OAuth extends pulumi.CustomResource { resourceInputs["authenticationPolicy"] = args?.authenticationPolicy; resourceInputs["autoKeyRotation"] = args?.autoKeyRotation; resourceInputs["autoSubmitToolbar"] = args?.autoSubmitToolbar; + resourceInputs["backchannelCustomAuthenticatorId"] = args?.backchannelCustomAuthenticatorId; resourceInputs["clientBasicSecret"] = args?.clientBasicSecret ? pulumi.secret(args.clientBasicSecret) : undefined; resourceInputs["clientBasicSecretWo"] = args?.clientBasicSecretWo ? pulumi.secret(args.clientBasicSecretWo) : undefined; resourceInputs["clientBasicSecretWoVersion"] = args?.clientBasicSecretWoVersion; @@ -546,6 +552,10 @@ export interface OAuthState { * Display auto submit toolbar */ autoSubmitToolbar?: pulumi.Input; + /** + * The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + */ + backchannelCustomAuthenticatorId?: pulumi.Input; /** * The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. */ @@ -791,6 +801,10 @@ export interface OAuthArgs { * Display auto submit toolbar */ autoSubmitToolbar?: pulumi.Input; + /** + * The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + */ + backchannelCustomAuthenticatorId?: pulumi.Input; /** * The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `clientBasicSecretWo` instead to avoid persisting secrets in state. Either `clientBasicSecret` or `clientBasicSecretWo` can be specified, but not both. */ diff --git a/sdk/nodejs/app/signonPolicyRules.ts b/sdk/nodejs/app/signonPolicyRules.ts index 3cc6540ce..ad6da7e6d 100644 --- a/sdk/nodejs/app/signonPolicyRules.ts +++ b/sdk/nodejs/app/signonPolicyRules.ts @@ -43,6 +43,16 @@ import * as utilities from "../utilities"; * access: "DENY", * status: "ACTIVE", * }, + * { + * name: "KMSI Rule", + * priority: 4, + * access: "ALLOW", + * status: "ACTIVE", + * keepMeSignedIn: { + * postAuth: "ALLOWED", + * postAuthPromptFrequency: "PT168H", + * }, + * }, * ], * }); * ``` diff --git a/sdk/nodejs/appSignonPolicyRule.ts b/sdk/nodejs/appSignonPolicyRule.ts index 6c33c8d53..f1d8b5a03 100644 --- a/sdk/nodejs/appSignonPolicyRule.ts +++ b/sdk/nodejs/appSignonPolicyRule.ts @@ -97,6 +97,10 @@ export class AppSignonPolicyRule extends pulumi.CustomResource { * The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. */ declare public readonly inactivityPeriod: pulumi.Output; + /** + * Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + */ + declare public readonly keepMeSignedIn: pulumi.Output; /** * Policy Rule Name */ @@ -183,6 +187,7 @@ export class AppSignonPolicyRule extends pulumi.CustomResource { resourceInputs["groupsExcludeds"] = state?.groupsExcludeds; resourceInputs["groupsIncludeds"] = state?.groupsIncludeds; resourceInputs["inactivityPeriod"] = state?.inactivityPeriod; + resourceInputs["keepMeSignedIn"] = state?.keepMeSignedIn; resourceInputs["name"] = state?.name; resourceInputs["networkConnection"] = state?.networkConnection; resourceInputs["networkExcludes"] = state?.networkExcludes; @@ -215,6 +220,7 @@ export class AppSignonPolicyRule extends pulumi.CustomResource { resourceInputs["groupsExcludeds"] = args?.groupsExcludeds; resourceInputs["groupsIncludeds"] = args?.groupsIncludeds; resourceInputs["inactivityPeriod"] = args?.inactivityPeriod; + resourceInputs["keepMeSignedIn"] = args?.keepMeSignedIn; resourceInputs["name"] = args?.name; resourceInputs["networkConnection"] = args?.networkConnection; resourceInputs["networkExcludes"] = args?.networkExcludes; @@ -285,6 +291,10 @@ export interface AppSignonPolicyRuleState { * The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. */ inactivityPeriod?: pulumi.Input; + /** + * Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + */ + keepMeSignedIn?: pulumi.Input; /** * Policy Rule Name */ @@ -396,6 +406,10 @@ export interface AppSignonPolicyRuleArgs { * The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. */ inactivityPeriod?: pulumi.Input; + /** + * Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + */ + keepMeSignedIn?: pulumi.Input; /** * Policy Rule Name */ diff --git a/sdk/nodejs/authenticatorMethodWebauthn.ts b/sdk/nodejs/authenticatorMethodWebauthn.ts new file mode 100644 index 000000000..e7f883b2e --- /dev/null +++ b/sdk/nodejs/authenticatorMethodWebauthn.ts @@ -0,0 +1,300 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Manages the WebAuthn authenticator method settings, including AAGUID group allowlists, user verification preferences, and passkey configuration. + * + * > **Note:** This resource manages the settings of an existing WebAuthn authenticator method. The method itself cannot be created or deleted — it exists as part of the authenticator. On destroy, settings are reset to defaults. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const webauthn = okta.getAuthenticator({ + * key: "webauthn", + * }); + * const example = new okta.AuthenticatorMethodWebauthn("example", { + * authenticatorId: webauthn.then(webauthn => webauthn.id), + * userVerification: "PREFERRED", + * attachment: "ANY", + * allowSyncablePasskeys: true, + * aaguidGroups: [{ + * name: "YubiKeys", + * aaguids: ["cb69481e-8ff7-4039-93ec-0a2729a154a8"], + * }], + * }); + * ``` + * + * ## Import + * + * The WebAuthn method can be imported using the authenticator ID: + * + * ```sh + * $ pulumi import okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn example aut1234567890 + * ``` + */ +export class AuthenticatorMethodWebauthn extends pulumi.CustomResource { + /** + * Get an existing AuthenticatorMethodWebauthn resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: AuthenticatorMethodWebauthnState, opts?: pulumi.CustomResourceOptions): AuthenticatorMethodWebauthn { + return new AuthenticatorMethodWebauthn(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn'; + + /** + * Returns true if the given object is an instance of AuthenticatorMethodWebauthn. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is AuthenticatorMethodWebauthn { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AuthenticatorMethodWebauthn.__pulumiType; + } + + /** + * List of AAGUID group configurations. + */ + declare public readonly aaguidGroups: pulumi.Output; + /** + * Whether syncable passkeys are allowed. + */ + declare public readonly allowSyncablePasskeys: pulumi.Output; + /** + * Method attachment setting. + */ + declare public readonly attachment: pulumi.Output; + /** + * The ID of the WebAuthn authenticator. + */ + declare public readonly authenticatorId: pulumi.Output; + /** + * Whether certificate-based attestation validation is enabled. + */ + declare public readonly certBasedAttestationValidation: pulumi.Output; + /** + * Enables the passkeys autofill UI for WebAuthn discoverable credentials. + */ + declare public readonly enableAutofillUi: pulumi.Output; + /** + * Whether the authenticator must be FIPS compliant. + */ + declare public readonly fipsCompliant: pulumi.Output; + /** + * Whether the authenticator must store the private key on hardware. + */ + declare public readonly hardwareProtected: pulumi.Output; + /** + * Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + */ + declare public readonly residentKeyRequirement: pulumi.Output; + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + */ + declare public readonly rpId: pulumi.Output; + /** + * Whether to show the "Sign in with a Passkey" button. + */ + declare public readonly showSignInWithAPasskeyButton: pulumi.Output; + /** + * The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + */ + declare public /*out*/ readonly status: pulumi.Output; + /** + * User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + */ + declare public readonly userVerification: pulumi.Output; + /** + * User verification setting for authentication (verification). + */ + declare public readonly userVerificationForVerify: pulumi.Output; + + /** + * Create a AuthenticatorMethodWebauthn resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: AuthenticatorMethodWebauthnArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: AuthenticatorMethodWebauthnArgs | AuthenticatorMethodWebauthnState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as AuthenticatorMethodWebauthnState | undefined; + resourceInputs["aaguidGroups"] = state?.aaguidGroups; + resourceInputs["allowSyncablePasskeys"] = state?.allowSyncablePasskeys; + resourceInputs["attachment"] = state?.attachment; + resourceInputs["authenticatorId"] = state?.authenticatorId; + resourceInputs["certBasedAttestationValidation"] = state?.certBasedAttestationValidation; + resourceInputs["enableAutofillUi"] = state?.enableAutofillUi; + resourceInputs["fipsCompliant"] = state?.fipsCompliant; + resourceInputs["hardwareProtected"] = state?.hardwareProtected; + resourceInputs["residentKeyRequirement"] = state?.residentKeyRequirement; + resourceInputs["rpId"] = state?.rpId; + resourceInputs["showSignInWithAPasskeyButton"] = state?.showSignInWithAPasskeyButton; + resourceInputs["status"] = state?.status; + resourceInputs["userVerification"] = state?.userVerification; + resourceInputs["userVerificationForVerify"] = state?.userVerificationForVerify; + } else { + const args = argsOrState as AuthenticatorMethodWebauthnArgs | undefined; + if (args?.authenticatorId === undefined && !opts.urn) { + throw new Error("Missing required property 'authenticatorId'"); + } + resourceInputs["aaguidGroups"] = args?.aaguidGroups; + resourceInputs["allowSyncablePasskeys"] = args?.allowSyncablePasskeys; + resourceInputs["attachment"] = args?.attachment; + resourceInputs["authenticatorId"] = args?.authenticatorId; + resourceInputs["certBasedAttestationValidation"] = args?.certBasedAttestationValidation; + resourceInputs["enableAutofillUi"] = args?.enableAutofillUi; + resourceInputs["fipsCompliant"] = args?.fipsCompliant; + resourceInputs["hardwareProtected"] = args?.hardwareProtected; + resourceInputs["residentKeyRequirement"] = args?.residentKeyRequirement; + resourceInputs["rpId"] = args?.rpId; + resourceInputs["showSignInWithAPasskeyButton"] = args?.showSignInWithAPasskeyButton; + resourceInputs["userVerification"] = args?.userVerification; + resourceInputs["userVerificationForVerify"] = args?.userVerificationForVerify; + resourceInputs["status"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(AuthenticatorMethodWebauthn.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering AuthenticatorMethodWebauthn resources. + */ +export interface AuthenticatorMethodWebauthnState { + /** + * List of AAGUID group configurations. + */ + aaguidGroups?: pulumi.Input[] | undefined>; + /** + * Whether syncable passkeys are allowed. + */ + allowSyncablePasskeys?: pulumi.Input; + /** + * Method attachment setting. + */ + attachment?: pulumi.Input; + /** + * The ID of the WebAuthn authenticator. + */ + authenticatorId?: pulumi.Input; + /** + * Whether certificate-based attestation validation is enabled. + */ + certBasedAttestationValidation?: pulumi.Input; + /** + * Enables the passkeys autofill UI for WebAuthn discoverable credentials. + */ + enableAutofillUi?: pulumi.Input; + /** + * Whether the authenticator must be FIPS compliant. + */ + fipsCompliant?: pulumi.Input; + /** + * Whether the authenticator must store the private key on hardware. + */ + hardwareProtected?: pulumi.Input; + /** + * Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + */ + residentKeyRequirement?: pulumi.Input; + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + */ + rpId?: pulumi.Input; + /** + * Whether to show the "Sign in with a Passkey" button. + */ + showSignInWithAPasskeyButton?: pulumi.Input; + /** + * The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + */ + status?: pulumi.Input; + /** + * User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + */ + userVerification?: pulumi.Input; + /** + * User verification setting for authentication (verification). + */ + userVerificationForVerify?: pulumi.Input; +} + +/** + * The set of arguments for constructing a AuthenticatorMethodWebauthn resource. + */ +export interface AuthenticatorMethodWebauthnArgs { + /** + * List of AAGUID group configurations. + */ + aaguidGroups?: pulumi.Input[] | undefined>; + /** + * Whether syncable passkeys are allowed. + */ + allowSyncablePasskeys?: pulumi.Input; + /** + * Method attachment setting. + */ + attachment?: pulumi.Input; + /** + * The ID of the WebAuthn authenticator. + */ + authenticatorId: pulumi.Input; + /** + * Whether certificate-based attestation validation is enabled. + */ + certBasedAttestationValidation?: pulumi.Input; + /** + * Enables the passkeys autofill UI for WebAuthn discoverable credentials. + */ + enableAutofillUi?: pulumi.Input; + /** + * Whether the authenticator must be FIPS compliant. + */ + fipsCompliant?: pulumi.Input; + /** + * Whether the authenticator must store the private key on hardware. + */ + hardwareProtected?: pulumi.Input; + /** + * Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + */ + residentKeyRequirement?: pulumi.Input; + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + */ + rpId?: pulumi.Input; + /** + * Whether to show the "Sign in with a Passkey" button. + */ + showSignInWithAPasskeyButton?: pulumi.Input; + /** + * User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + */ + userVerification?: pulumi.Input; + /** + * User verification setting for authentication (verification). + */ + userVerificationForVerify?: pulumi.Input; +} diff --git a/sdk/nodejs/authenticatorWebauthnCustomAaguid.ts b/sdk/nodejs/authenticatorWebauthnCustomAaguid.ts new file mode 100644 index 000000000..33c53ad49 --- /dev/null +++ b/sdk/nodejs/authenticatorWebauthnCustomAaguid.ts @@ -0,0 +1,206 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Manages a custom AAGUID (Authenticator Attestation Globally Unique Identifier) for a WebAuthn authenticator. Custom AAGUIDs allow administrators to register specific hardware security key models with the organization. + * + * > **NOTE:** AAGUIDs that are registered in the [FIDO Metadata Service (MDS)](https://fidoalliance.org/metadata/) with attestation certificates **require** the `attestationRootCertificate` block(s) to be provided. If omitted for an MDS-registered AAGUID, the API will return a validation error. AAGUIDs not present in the MDS do not require certificates. + * + * ## Example Usage + * + * ### Basic (custom/non-MDS AAGUID) + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const webauthn = okta.getAuthenticator({ + * key: "webauthn", + * }); + * const customKey = new okta.AuthenticatorWebauthnCustomAaguid("custom_key", { + * authenticatorId: webauthn.then(webauthn => webauthn.id), + * aaguid: "00000000-0000-0000-0000-000000000001", + * name: "Custom Security Key", + * authenticatorCharacteristics: { + * hardwareProtected: true, + * platformAttached: false, + * }, + * }); + * ``` + * + * ### With attestation certificates (MDS-registered AAGUID) + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const webauthn = okta.getAuthenticator({ + * key: "webauthn", + * }); + * const yubikey5 = new okta.AuthenticatorWebauthnCustomAaguid("yubikey5", { + * authenticatorId: webauthn.then(webauthn => webauthn.id), + * aaguid: "cb69481e-8ff7-4039-93ec-0a2729a154a8", + * name: "YubiKey 5 Series", + * authenticatorCharacteristics: { + * fipsCompliant: true, + * hardwareProtected: true, + * platformAttached: false, + * }, + * attestationRootCertificates: [{ + * x5c: "", + * }], + * }); + * ``` + * + * ## Import + * + * A custom AAGUID can be imported using the format `authenticator_id/aaguid`: + * + * ```sh + * $ pulumi import okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid example aut1234567890/cb69481e-8ff7-4039-93ec-0a2729a154a8 + * ``` + */ +export class AuthenticatorWebauthnCustomAaguid extends pulumi.CustomResource { + /** + * Get an existing AuthenticatorWebauthnCustomAaguid resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: AuthenticatorWebauthnCustomAaguidState, opts?: pulumi.CustomResourceOptions): AuthenticatorWebauthnCustomAaguid { + return new AuthenticatorWebauthnCustomAaguid(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid'; + + /** + * Returns true if the given object is an instance of AuthenticatorWebauthnCustomAaguid. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is AuthenticatorWebauthnCustomAaguid { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AuthenticatorWebauthnCustomAaguid.__pulumiType; + } + + /** + * The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + */ + declare public readonly aaguid: pulumi.Output; + /** + * List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + */ + declare public readonly attestationRootCertificates: pulumi.Output; + /** + * Properties of the custom AAGUID authenticator. + */ + declare public readonly authenticatorCharacteristics: pulumi.Output; + /** + * The ID of the WebAuthn authenticator. + */ + declare public readonly authenticatorId: pulumi.Output; + /** + * The product name associated with this AAGUID. + */ + declare public readonly name: pulumi.Output; + + /** + * Create a AuthenticatorWebauthnCustomAaguid resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: AuthenticatorWebauthnCustomAaguidArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: AuthenticatorWebauthnCustomAaguidArgs | AuthenticatorWebauthnCustomAaguidState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as AuthenticatorWebauthnCustomAaguidState | undefined; + resourceInputs["aaguid"] = state?.aaguid; + resourceInputs["attestationRootCertificates"] = state?.attestationRootCertificates; + resourceInputs["authenticatorCharacteristics"] = state?.authenticatorCharacteristics; + resourceInputs["authenticatorId"] = state?.authenticatorId; + resourceInputs["name"] = state?.name; + } else { + const args = argsOrState as AuthenticatorWebauthnCustomAaguidArgs | undefined; + if (args?.aaguid === undefined && !opts.urn) { + throw new Error("Missing required property 'aaguid'"); + } + if (args?.authenticatorId === undefined && !opts.urn) { + throw new Error("Missing required property 'authenticatorId'"); + } + resourceInputs["aaguid"] = args?.aaguid; + resourceInputs["attestationRootCertificates"] = args?.attestationRootCertificates; + resourceInputs["authenticatorCharacteristics"] = args?.authenticatorCharacteristics; + resourceInputs["authenticatorId"] = args?.authenticatorId; + resourceInputs["name"] = args?.name; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(AuthenticatorWebauthnCustomAaguid.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering AuthenticatorWebauthnCustomAaguid resources. + */ +export interface AuthenticatorWebauthnCustomAaguidState { + /** + * The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + */ + aaguid?: pulumi.Input; + /** + * List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + */ + attestationRootCertificates?: pulumi.Input[] | undefined>; + /** + * Properties of the custom AAGUID authenticator. + */ + authenticatorCharacteristics?: pulumi.Input; + /** + * The ID of the WebAuthn authenticator. + */ + authenticatorId?: pulumi.Input; + /** + * The product name associated with this AAGUID. + */ + name?: pulumi.Input; +} + +/** + * The set of arguments for constructing a AuthenticatorWebauthnCustomAaguid resource. + */ +export interface AuthenticatorWebauthnCustomAaguidArgs { + /** + * The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + */ + aaguid: pulumi.Input; + /** + * List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + */ + attestationRootCertificates?: pulumi.Input[] | undefined>; + /** + * Properties of the custom AAGUID authenticator. + */ + authenticatorCharacteristics?: pulumi.Input; + /** + * The ID of the WebAuthn authenticator. + */ + authenticatorId: pulumi.Input; + /** + * The product name associated with this AAGUID. + */ + name?: pulumi.Input; +} diff --git a/sdk/nodejs/getAuthenticatorMethodWebauthn.ts b/sdk/nodejs/getAuthenticatorMethodWebauthn.ts new file mode 100644 index 000000000..7ac1b4f6a --- /dev/null +++ b/sdk/nodejs/getAuthenticatorMethodWebauthn.ts @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const webauthn = okta.getAuthenticator({ + * key: "webauthn", + * }); + * const example = webauthn.then(webauthn => okta.getAuthenticatorMethodWebauthn({ + * authenticatorId: webauthn.id, + * })); + * ``` + */ +export function getAuthenticatorMethodWebauthn(args: GetAuthenticatorMethodWebauthnArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", { + "aaguidGroups": args.aaguidGroups, + "authenticatorId": args.authenticatorId, + "rpId": args.rpId, + }, opts); +} + +/** + * A collection of arguments for invoking getAuthenticatorMethodWebauthn. + */ +export interface GetAuthenticatorMethodWebauthnArgs { + /** + * The FIDO2 AAGUID groups. Each element contains: + */ + aaguidGroups?: inputs.GetAuthenticatorMethodWebauthnAaguidGroup[]; + /** + * The ID of the WebAuthn authenticator. + */ + authenticatorId: string; + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + */ + rpId?: inputs.GetAuthenticatorMethodWebauthnRpId; +} + +/** + * A collection of values returned by getAuthenticatorMethodWebauthn. + */ +export interface GetAuthenticatorMethodWebauthnResult { + /** + * The FIDO2 AAGUID groups. Each element contains: + */ + readonly aaguidGroups?: outputs.GetAuthenticatorMethodWebauthnAaguidGroup[]; + /** + * Whether syncable passkeys are allowed. + */ + readonly allowSyncablePasskeys: boolean; + /** + * Method attachment setting. + */ + readonly attachment: string; + readonly authenticatorId: string; + /** + * Whether certificate-based attestation validation is enabled. + */ + readonly certBasedAttestationValidation: boolean; + /** + * Whether the passkeys autofill UI is enabled. + */ + readonly enableAutofillUi: boolean; + /** + * Whether the authenticator must be FIPS compliant. + */ + readonly fipsCompliant: boolean; + /** + * Whether the authenticator must store the private key on hardware. + */ + readonly hardwareProtected: boolean; + readonly id: string; + /** + * Resident key requirement setting. + */ + readonly residentKeyRequirement: string; + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + */ + readonly rpId?: outputs.GetAuthenticatorMethodWebauthnRpId; + /** + * Whether the "Sign in with a Passkey" button is shown. + */ + readonly showSignInWithAPasskeyButton: boolean; + /** + * The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + */ + readonly status: string; + /** + * User verification setting for enrollment. + */ + readonly userVerification: string; + /** + * User verification setting for authentication. + */ + readonly userVerificationForVerify: string; +} +/** + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const webauthn = okta.getAuthenticator({ + * key: "webauthn", + * }); + * const example = webauthn.then(webauthn => okta.getAuthenticatorMethodWebauthn({ + * authenticatorId: webauthn.id, + * })); + * ``` + */ +export function getAuthenticatorMethodWebauthnOutput(args: GetAuthenticatorMethodWebauthnOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn", { + "aaguidGroups": args.aaguidGroups, + "authenticatorId": args.authenticatorId, + "rpId": args.rpId, + }, opts); +} + +/** + * A collection of arguments for invoking getAuthenticatorMethodWebauthn. + */ +export interface GetAuthenticatorMethodWebauthnOutputArgs { + /** + * The FIDO2 AAGUID groups. Each element contains: + */ + aaguidGroups?: pulumi.Input[] | undefined>; + /** + * The ID of the WebAuthn authenticator. + */ + authenticatorId: pulumi.Input; + /** + * The Relying Party (RP) ID configuration for WebAuthn. Contains: + */ + rpId?: pulumi.Input; +} diff --git a/sdk/nodejs/getAuthenticatorWebauthnCustomAaguids.ts b/sdk/nodejs/getAuthenticatorWebauthnCustomAaguids.ts new file mode 100644 index 000000000..2e98e7a5e --- /dev/null +++ b/sdk/nodejs/getAuthenticatorWebauthnCustomAaguids.ts @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const webauthn = okta.getAuthenticator({ + * key: "webauthn", + * }); + * const all = webauthn.then(webauthn => okta.getAuthenticatorWebauthnCustomAaguids({ + * authenticatorId: webauthn.id, + * })); + * ``` + */ +export function getAuthenticatorWebauthnCustomAaguids(args: GetAuthenticatorWebauthnCustomAaguidsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", { + "authenticatorId": args.authenticatorId, + "customAaguids": args.customAaguids, + }, opts); +} + +/** + * A collection of arguments for invoking getAuthenticatorWebauthnCustomAaguids. + */ +export interface GetAuthenticatorWebauthnCustomAaguidsArgs { + /** + * The ID of the WebAuthn authenticator. + */ + authenticatorId: string; + /** + * List of custom AAGUIDs configured for this authenticator. Each element contains: + */ + customAaguids?: inputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguid[]; +} + +/** + * A collection of values returned by getAuthenticatorWebauthnCustomAaguids. + */ +export interface GetAuthenticatorWebauthnCustomAaguidsResult { + readonly authenticatorId: string; + /** + * List of custom AAGUIDs configured for this authenticator. Each element contains: + */ + readonly customAaguids?: outputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguid[]; + readonly id: string; +} +/** + * > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + * + * Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const webauthn = okta.getAuthenticator({ + * key: "webauthn", + * }); + * const all = webauthn.then(webauthn => okta.getAuthenticatorWebauthnCustomAaguids({ + * authenticatorId: webauthn.id, + * })); + * ``` + */ +export function getAuthenticatorWebauthnCustomAaguidsOutput(args: GetAuthenticatorWebauthnCustomAaguidsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids", { + "authenticatorId": args.authenticatorId, + "customAaguids": args.customAaguids, + }, opts); +} + +/** + * A collection of arguments for invoking getAuthenticatorWebauthnCustomAaguids. + */ +export interface GetAuthenticatorWebauthnCustomAaguidsOutputArgs { + /** + * The ID of the WebAuthn authenticator. + */ + authenticatorId: pulumi.Input; + /** + * List of custom AAGUIDs configured for this authenticator. Each element contains: + */ + customAaguids?: pulumi.Input[] | undefined>; +} diff --git a/sdk/nodejs/getAuthorizationServersPoliciesRule.ts b/sdk/nodejs/getAuthorizationServersPoliciesRule.ts new file mode 100644 index 000000000..4312e9e73 --- /dev/null +++ b/sdk/nodejs/getAuthorizationServersPoliciesRule.ts @@ -0,0 +1,148 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Retrieves an authorization server policy rule by `ruleId` from Okta. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getAuthorizationServersPoliciesRule({ + * id: "", + * authServerId: "", + * policyId: "", + * }); + * ``` + */ +export function getAuthorizationServersPoliciesRule(args: GetAuthorizationServersPoliciesRuleArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", { + "actions": args.actions, + "authServerId": args.authServerId, + "conditions": args.conditions, + "id": args.id, + "policyId": args.policyId, + }, opts); +} + +/** + * A collection of arguments for invoking getAuthorizationServersPoliciesRule. + */ +export interface GetAuthorizationServersPoliciesRuleArgs { + actions?: inputs.GetAuthorizationServersPoliciesRuleActions; + /** + * `id` of the Authorization Server + */ + authServerId: string; + conditions?: inputs.GetAuthorizationServersPoliciesRuleConditions; + /** + * Unique identifier of the authorization server policy rule. + */ + id: string; + /** + * `id` of the policy + */ + policyId: string; +} + +/** + * A collection of values returned by getAuthorizationServersPoliciesRule. + */ +export interface GetAuthorizationServersPoliciesRuleResult { + readonly actions?: outputs.GetAuthorizationServersPoliciesRuleActions; + /** + * `id` of the Authorization Server + */ + readonly authServerId: string; + readonly conditions?: outputs.GetAuthorizationServersPoliciesRuleConditions; + /** + * Timestamp when the rule was created + */ + readonly created: string; + /** + * Unique identifier of the authorization server policy rule. + */ + readonly id: string; + /** + * Timestamp when the rule was last modified + */ + readonly lastUpdated: string; + /** + * Name of the rule + */ + readonly name: string; + /** + * `id` of the policy + */ + readonly policyId: string; + /** + * Priority of the rule + */ + readonly priority: number; + /** + * Status of the rule + */ + readonly status: string; + /** + * Set to `true` for system rules. + */ + readonly system: boolean; + /** + * Rule type + */ + readonly type: string; +} +/** + * Retrieves an authorization server policy rule by `ruleId` from Okta. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getAuthorizationServersPoliciesRule({ + * id: "", + * authServerId: "", + * policyId: "", + * }); + * ``` + */ +export function getAuthorizationServersPoliciesRuleOutput(args: GetAuthorizationServersPoliciesRuleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule", { + "actions": args.actions, + "authServerId": args.authServerId, + "conditions": args.conditions, + "id": args.id, + "policyId": args.policyId, + }, opts); +} + +/** + * A collection of arguments for invoking getAuthorizationServersPoliciesRule. + */ +export interface GetAuthorizationServersPoliciesRuleOutputArgs { + actions?: pulumi.Input; + /** + * `id` of the Authorization Server + */ + authServerId: pulumi.Input; + conditions?: pulumi.Input; + /** + * Unique identifier of the authorization server policy rule. + */ + id: pulumi.Input; + /** + * `id` of the policy + */ + policyId: pulumi.Input; +} diff --git a/sdk/nodejs/getIamAssigneesUser.ts b/sdk/nodejs/getIamAssigneesUser.ts new file mode 100644 index 000000000..2eea47e29 --- /dev/null +++ b/sdk/nodejs/getIamAssigneesUser.ts @@ -0,0 +1,72 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Use this data source to list all Okta users that have IAM role assignments. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getIamAssigneesUser({}); + * ``` + */ +export function getIamAssigneesUser(args?: GetIamAssigneesUserArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("okta:index/getIamAssigneesUser:getIamAssigneesUser", { + "id": args.id, + "items": args.items, + }, opts); +} + +/** + * A collection of arguments for invoking getIamAssigneesUser. + */ +export interface GetIamAssigneesUserArgs { + id?: string; + items?: inputs.GetIamAssigneesUserItem[]; +} + +/** + * A collection of values returned by getIamAssigneesUser. + */ +export interface GetIamAssigneesUserResult { + readonly id: string; + readonly items?: outputs.GetIamAssigneesUserItem[]; +} +/** + * Use this data source to list all Okta users that have IAM role assignments. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getIamAssigneesUser({}); + * ``` + */ +export function getIamAssigneesUserOutput(args?: GetIamAssigneesUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + args = args || {}; + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("okta:index/getIamAssigneesUser:getIamAssigneesUser", { + "id": args.id, + "items": args.items, + }, opts); +} + +/** + * A collection of arguments for invoking getIamAssigneesUser. + */ +export interface GetIamAssigneesUserOutputArgs { + id?: pulumi.Input; + items?: pulumi.Input[] | undefined>; +} diff --git a/sdk/nodejs/getIdentitySourceGroupMemberships.ts b/sdk/nodejs/getIdentitySourceGroupMemberships.ts new file mode 100644 index 000000000..805161d06 --- /dev/null +++ b/sdk/nodejs/getIdentitySourceGroupMemberships.ts @@ -0,0 +1,102 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Retrieves the list of member external IDs for a group in an Okta Identity Source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getIdentitySourceGroupMemberships({ + * identitySourceId: "", + * groupExternalId: "GROUPEXT123456EXAMPLE", + * }); + * export const memberIds = example.then(example => example.memberExternalIds); + * ``` + */ +export function getIdentitySourceGroupMemberships(args: GetIdentitySourceGroupMembershipsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", { + "groupExternalId": args.groupExternalId, + "identitySourceId": args.identitySourceId, + }, opts); +} + +/** + * A collection of arguments for invoking getIdentitySourceGroupMemberships. + */ +export interface GetIdentitySourceGroupMembershipsArgs { + /** + * The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + */ + groupExternalId: string; + /** + * ID of the identity source. + */ + identitySourceId: string; +} + +/** + * A collection of values returned by getIdentitySourceGroupMemberships. + */ +export interface GetIdentitySourceGroupMembershipsResult { + /** + * The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + */ + readonly groupExternalId: string; + /** + * Composite identifier (`{identity_source_id}/{group_external_id}`). + */ + readonly id: string; + /** + * ID of the identity source. + */ + readonly identitySourceId: string; + /** + * External IDs of members belonging to the group in the identity source. + */ + readonly memberExternalIds: string[]; +} +/** + * Retrieves the list of member external IDs for a group in an Okta Identity Source. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getIdentitySourceGroupMemberships({ + * identitySourceId: "", + * groupExternalId: "GROUPEXT123456EXAMPLE", + * }); + * export const memberIds = example.then(example => example.memberExternalIds); + * ``` + */ +export function getIdentitySourceGroupMembershipsOutput(args: GetIdentitySourceGroupMembershipsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships", { + "groupExternalId": args.groupExternalId, + "identitySourceId": args.identitySourceId, + }, opts); +} + +/** + * A collection of arguments for invoking getIdentitySourceGroupMemberships. + */ +export interface GetIdentitySourceGroupMembershipsOutputArgs { + /** + * The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + */ + groupExternalId: pulumi.Input; + /** + * ID of the identity source. + */ + identitySourceId: pulumi.Input; +} diff --git a/sdk/nodejs/getIdentitySourceGroups.ts b/sdk/nodejs/getIdentitySourceGroups.ts new file mode 100644 index 000000000..6f51306c0 --- /dev/null +++ b/sdk/nodejs/getIdentitySourceGroups.ts @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Retrieves a group record from an Okta Identity Source by external ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getIdentitySourceGroups({ + * identitySourceId: "", + * externalId: "GROUPEXT123456EXAMPLE", + * }); + * export const groupOktaId = example.then(example => example.id); + * export const groupDisplayName = example.then(example => example.profile?.displayName); + * ``` + */ +export function getIdentitySourceGroups(args: GetIdentitySourceGroupsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", { + "externalId": args.externalId, + "id": args.id, + "identitySourceId": args.identitySourceId, + "profile": args.profile, + }, opts); +} + +/** + * A collection of arguments for invoking getIdentitySourceGroups. + */ +export interface GetIdentitySourceGroupsArgs { + /** + * The external ID of the group in the identity source. + */ + externalId: string; + /** + * Okta-assigned ID of the group (populated after read). + */ + id?: string; + /** + * ID of the identity source. + */ + identitySourceId: string; + profile?: inputs.GetIdentitySourceGroupsProfile; +} + +/** + * A collection of values returned by getIdentitySourceGroups. + */ +export interface GetIdentitySourceGroupsResult { + /** + * The external ID of the group in the identity source. + */ + readonly externalId: string; + /** + * Okta-assigned ID of the group (populated after read). + */ + readonly id: string; + /** + * ID of the identity source. + */ + readonly identitySourceId: string; + readonly profile?: outputs.GetIdentitySourceGroupsProfile; +} +/** + * Retrieves a group record from an Okta Identity Source by external ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getIdentitySourceGroups({ + * identitySourceId: "", + * externalId: "GROUPEXT123456EXAMPLE", + * }); + * export const groupOktaId = example.then(example => example.id); + * export const groupDisplayName = example.then(example => example.profile?.displayName); + * ``` + */ +export function getIdentitySourceGroupsOutput(args: GetIdentitySourceGroupsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("okta:index/getIdentitySourceGroups:getIdentitySourceGroups", { + "externalId": args.externalId, + "id": args.id, + "identitySourceId": args.identitySourceId, + "profile": args.profile, + }, opts); +} + +/** + * A collection of arguments for invoking getIdentitySourceGroups. + */ +export interface GetIdentitySourceGroupsOutputArgs { + /** + * The external ID of the group in the identity source. + */ + externalId: pulumi.Input; + /** + * Okta-assigned ID of the group (populated after read). + */ + id?: pulumi.Input; + /** + * ID of the identity source. + */ + identitySourceId: pulumi.Input; + profile?: pulumi.Input; +} diff --git a/sdk/nodejs/getIdentitySourceSessions.ts b/sdk/nodejs/getIdentitySourceSessions.ts new file mode 100644 index 000000000..f91968fbb --- /dev/null +++ b/sdk/nodejs/getIdentitySourceSessions.ts @@ -0,0 +1,83 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. + * + * ## Example Usage + */ +export function getIdentitySourceSessions(args: GetIdentitySourceSessionsArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", { + "identitySourceId": args.identitySourceId, + "sessionId": args.sessionId, + }, opts); +} + +/** + * A collection of arguments for invoking getIdentitySourceSessions. + */ +export interface GetIdentitySourceSessionsArgs { + /** + * ID of the identity source. + */ + identitySourceId: string; + sessionId: string; +} + +/** + * A collection of values returned by getIdentitySourceSessions. + */ +export interface GetIdentitySourceSessionsResult { + /** + * Timestamp when the session was created (RFC3339). + */ + readonly created: string; + /** + * Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned. + */ + readonly id: string; + /** + * ID of the identity source. + */ + readonly identitySourceId: string; + /** + * The type of import. All imports are `INCREMENTAL`. + */ + readonly importType: string; + /** + * The timestamp when the identity source session was created (RFC3339). + */ + readonly lastUpdated: string; + readonly sessionId: string; + /** + * The current status of the identity source session. + */ + readonly status: string; +} +/** + * Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. + * + * ## Example Usage + */ +export function getIdentitySourceSessionsOutput(args: GetIdentitySourceSessionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("okta:index/getIdentitySourceSessions:getIdentitySourceSessions", { + "identitySourceId": args.identitySourceId, + "sessionId": args.sessionId, + }, opts); +} + +/** + * A collection of arguments for invoking getIdentitySourceSessions. + */ +export interface GetIdentitySourceSessionsOutputArgs { + /** + * ID of the identity source. + */ + identitySourceId: pulumi.Input; + sessionId: pulumi.Input; +} diff --git a/sdk/nodejs/getIdentitySourceUsers.ts b/sdk/nodejs/getIdentitySourceUsers.ts new file mode 100644 index 000000000..7c669878a --- /dev/null +++ b/sdk/nodejs/getIdentitySourceUsers.ts @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Retrieves a user record from an Okta Identity Source by external ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getIdentitySourceUsers({ + * identitySourceId: "", + * externalId: "USEREXT123456EXAMPLE", + * }); + * export const userEmail = example.then(example => example.profile?.email); + * ``` + */ +export function getIdentitySourceUsers(args: GetIdentitySourceUsersArgs, opts?: pulumi.InvokeOptions): Promise { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", { + "externalId": args.externalId, + "id": args.id, + "identitySourceId": args.identitySourceId, + }, opts); +} + +/** + * A collection of arguments for invoking getIdentitySourceUsers. + */ +export interface GetIdentitySourceUsersArgs { + externalId: string; + id?: string; + identitySourceId: string; +} + +/** + * A collection of values returned by getIdentitySourceUsers. + */ +export interface GetIdentitySourceUsersResult { + readonly created: string; + readonly externalId: string; + readonly id: string; + readonly identitySourceId: string; + readonly lastUpdated: string; + readonly profile: outputs.GetIdentitySourceUsersProfile; +} +/** + * Retrieves a user record from an Okta Identity Source by external ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = okta.getIdentitySourceUsers({ + * identitySourceId: "", + * externalId: "USEREXT123456EXAMPLE", + * }); + * export const userEmail = example.then(example => example.profile?.email); + * ``` + */ +export function getIdentitySourceUsersOutput(args: GetIdentitySourceUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invokeOutput("okta:index/getIdentitySourceUsers:getIdentitySourceUsers", { + "externalId": args.externalId, + "id": args.id, + "identitySourceId": args.identitySourceId, + }, opts); +} + +/** + * A collection of arguments for invoking getIdentitySourceUsers. + */ +export interface GetIdentitySourceUsersOutputArgs { + externalId: pulumi.Input; + id?: pulumi.Input; + identitySourceId: pulumi.Input; +} diff --git a/sdk/nodejs/getRequestSettingResource.ts b/sdk/nodejs/getRequestSettingResource.ts index 1e4ed511a..5ebb4342d 100644 --- a/sdk/nodejs/getRequestSettingResource.ts +++ b/sdk/nodejs/getRequestSettingResource.ts @@ -10,6 +10,15 @@ import * as utilities from "./utilities"; * Retrieves the request settings for a resource. * * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const test = okta.getRequestSettingResource({ + * id: "", + * }); + * ``` */ export function getRequestSettingResource(args: GetRequestSettingResourceArgs, opts?: pulumi.InvokeOptions): Promise { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); @@ -86,6 +95,15 @@ export interface GetRequestSettingResourceResult { * Retrieves the request settings for a resource. * * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const test = okta.getRequestSettingResource({ + * id: "", + * }); + * ``` */ export function getRequestSettingResourceOutput(args: GetRequestSettingResourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); diff --git a/sdk/nodejs/identitySourceGroup.ts b/sdk/nodejs/identitySourceGroup.ts new file mode 100644 index 000000000..789aeefba --- /dev/null +++ b/sdk/nodejs/identitySourceGroup.ts @@ -0,0 +1,144 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Manages a group within an Okta Identity Source. Groups created here are staged for import via a session; use `okta.IdentitySourceImport` to trigger the actual sync into Okta. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = new okta.IdentitySourceGroup("example", { + * identitySourceId: "", + * externalId: "GRPEXT123456EXAMPLE", + * profile: { + * displayName: "Engineering", + * description: "Engineering team group", + * }, + * }); + * ``` + * + * ## Import + * + * Import using `{identity_source_id}/{id}`: + * + * ```sh + * $ pulumi import okta:index/identitySourceGroup:IdentitySourceGroup example / + * ``` + */ +export class IdentitySourceGroup extends pulumi.CustomResource { + /** + * Get an existing IdentitySourceGroup resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: IdentitySourceGroupState, opts?: pulumi.CustomResourceOptions): IdentitySourceGroup { + return new IdentitySourceGroup(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'okta:index/identitySourceGroup:IdentitySourceGroup'; + + /** + * Returns true if the given object is an instance of IdentitySourceGroup. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is IdentitySourceGroup { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IdentitySourceGroup.__pulumiType; + } + + /** + * The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + */ + declare public readonly externalId: pulumi.Output; + /** + * ID of the identity source. Forces replacement when changed. + */ + declare public readonly identitySourceId: pulumi.Output; + /** + * Display attributes for the group. + */ + declare public readonly profile: pulumi.Output; + + /** + * Create a IdentitySourceGroup resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: IdentitySourceGroupArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: IdentitySourceGroupArgs | IdentitySourceGroupState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as IdentitySourceGroupState | undefined; + resourceInputs["externalId"] = state?.externalId; + resourceInputs["identitySourceId"] = state?.identitySourceId; + resourceInputs["profile"] = state?.profile; + } else { + const args = argsOrState as IdentitySourceGroupArgs | undefined; + if (args?.externalId === undefined && !opts.urn) { + throw new Error("Missing required property 'externalId'"); + } + if (args?.identitySourceId === undefined && !opts.urn) { + throw new Error("Missing required property 'identitySourceId'"); + } + resourceInputs["externalId"] = args?.externalId; + resourceInputs["identitySourceId"] = args?.identitySourceId; + resourceInputs["profile"] = args?.profile; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(IdentitySourceGroup.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering IdentitySourceGroup resources. + */ +export interface IdentitySourceGroupState { + /** + * The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + */ + externalId?: pulumi.Input; + /** + * ID of the identity source. Forces replacement when changed. + */ + identitySourceId?: pulumi.Input; + /** + * Display attributes for the group. + */ + profile?: pulumi.Input; +} + +/** + * The set of arguments for constructing a IdentitySourceGroup resource. + */ +export interface IdentitySourceGroupArgs { + /** + * The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + */ + externalId: pulumi.Input; + /** + * ID of the identity source. Forces replacement when changed. + */ + identitySourceId: pulumi.Input; + /** + * Display attributes for the group. + */ + profile?: pulumi.Input; +} diff --git a/sdk/nodejs/identitySourceGroupMembership.ts b/sdk/nodejs/identitySourceGroupMembership.ts new file mode 100644 index 000000000..2324f1405 --- /dev/null +++ b/sdk/nodejs/identitySourceGroupMembership.ts @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "./utilities"; + +/** + * Manages a single member association between a user and a group in an Okta Identity Source. Each resource instance adds one user (identified by `memberExternalId`) to the specified identity source group. All three key attributes force resource replacement when changed. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = new okta.IdentitySourceGroupMembership("example", { + * identitySourceId: "", + * groupOrExternalId: "GRPEXT123456EXAMPLE", + * memberExternalId: "USEREXT123456EXAMPLE", + * }); + * ``` + * + * ## Import + * + * Import using `{identity_source_id}/{group_or_external_id}/{id}`: + * + * ```sh + * $ pulumi import okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership example // + * ``` + */ +export class IdentitySourceGroupMembership extends pulumi.CustomResource { + /** + * Get an existing IdentitySourceGroupMembership resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: IdentitySourceGroupMembershipState, opts?: pulumi.CustomResourceOptions): IdentitySourceGroupMembership { + return new IdentitySourceGroupMembership(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership'; + + /** + * Returns true if the given object is an instance of IdentitySourceGroupMembership. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is IdentitySourceGroupMembership { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IdentitySourceGroupMembership.__pulumiType; + } + + /** + * External ID of the identity source group. Forces replacement when changed. + */ + declare public readonly groupOrExternalId: pulumi.Output; + /** + * ID of the identity source. Forces replacement when changed. + */ + declare public readonly identitySourceId: pulumi.Output; + /** + * The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + */ + declare public readonly memberExternalId: pulumi.Output; + /** + * A list of all member external IDs currently in the group (populated after creation). + */ + declare public /*out*/ readonly memberExternalIds: pulumi.Output; + + /** + * Create a IdentitySourceGroupMembership resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: IdentitySourceGroupMembershipArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: IdentitySourceGroupMembershipArgs | IdentitySourceGroupMembershipState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as IdentitySourceGroupMembershipState | undefined; + resourceInputs["groupOrExternalId"] = state?.groupOrExternalId; + resourceInputs["identitySourceId"] = state?.identitySourceId; + resourceInputs["memberExternalId"] = state?.memberExternalId; + resourceInputs["memberExternalIds"] = state?.memberExternalIds; + } else { + const args = argsOrState as IdentitySourceGroupMembershipArgs | undefined; + if (args?.groupOrExternalId === undefined && !opts.urn) { + throw new Error("Missing required property 'groupOrExternalId'"); + } + if (args?.identitySourceId === undefined && !opts.urn) { + throw new Error("Missing required property 'identitySourceId'"); + } + if (args?.memberExternalId === undefined && !opts.urn) { + throw new Error("Missing required property 'memberExternalId'"); + } + resourceInputs["groupOrExternalId"] = args?.groupOrExternalId; + resourceInputs["identitySourceId"] = args?.identitySourceId; + resourceInputs["memberExternalId"] = args?.memberExternalId; + resourceInputs["memberExternalIds"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(IdentitySourceGroupMembership.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering IdentitySourceGroupMembership resources. + */ +export interface IdentitySourceGroupMembershipState { + /** + * External ID of the identity source group. Forces replacement when changed. + */ + groupOrExternalId?: pulumi.Input; + /** + * ID of the identity source. Forces replacement when changed. + */ + identitySourceId?: pulumi.Input; + /** + * The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + */ + memberExternalId?: pulumi.Input; + /** + * A list of all member external IDs currently in the group (populated after creation). + */ + memberExternalIds?: pulumi.Input[] | undefined>; +} + +/** + * The set of arguments for constructing a IdentitySourceGroupMembership resource. + */ +export interface IdentitySourceGroupMembershipArgs { + /** + * External ID of the identity source group. Forces replacement when changed. + */ + groupOrExternalId: pulumi.Input; + /** + * ID of the identity source. Forces replacement when changed. + */ + identitySourceId: pulumi.Input; + /** + * The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + */ + memberExternalId: pulumi.Input; +} diff --git a/sdk/nodejs/identitySourceImport.ts b/sdk/nodejs/identitySourceImport.ts new file mode 100644 index 000000000..edefecef9 --- /dev/null +++ b/sdk/nodejs/identitySourceImport.ts @@ -0,0 +1,273 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Orchestrates a full Okta Identity Source import job in one resource. On each apply it: + * + * 1. Creates a new import session. + * 2. Uploads any combination of staged data (upsert/delete for users, groups, and group memberships). + * 3. Triggers the import via `startImportFromIdentitySource`. + * + * If any upload step fails the session is automatically deleted so a corrected re-apply is not blocked by Okta's rate limit (*"Only one active import session per identity source is allowed to be created every 5 minutes"*). + * + * > **Note:** This resource does not support deletion. Removing it from configuration will emit a warning but does not undo the import in Okta. To re-run the import, change at least one attribute so Terraform creates a new resource. + * + * ## Example Usage + * + * ### Upsert users and group memberships + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = new okta.IdentitySourceImport("example", { + * identitySourceId: "", + * upsertUsers: { + * entityType: "USERS", + * profiles: [{ + * externalId: "USEREXT001", + * profile: { + * userName: "jdoe@example.com", + * email: "jdoe@example.com", + * firstName: "Jane", + * lastName: "Doe", + * }, + * }], + * }, + * upsertGroupMemberships: { + * memberships: [{ + * groupExternalId: "GROUPEXT001", + * memberExternalIds: ["USEREXT001"], + * }], + * }, + * }); + * ``` + * + * ### Upsert and delete in the same job + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = new okta.IdentitySourceImport("example", { + * identitySourceId: "", + * upsertUsers: { + * entityType: "USERS", + * profiles: [{ + * externalId: "USEREXT_NEW", + * profile: { + * userName: "new.user@example.com", + * email: "new.user@example.com", + * firstName: "New", + * lastName: "User", + * }, + * }], + * }, + * deleteUsers: { + * entityType: "USERS", + * profiles: [{ + * externalId: "USEREXT_OLD", + * }], + * }, + * upsertGroups: { + * profiles: [{ + * externalId: "GROUPEXT001", + * groupProfile: { + * displayName: "Engineering", + * description: "Engineering team", + * }, + * }], + * }, + * deleteGroups: { + * externalIds: ["GROUPEXT_DEPRECATED"], + * }, + * }); + * ``` + */ +export class IdentitySourceImport extends pulumi.CustomResource { + /** + * Get an existing IdentitySourceImport resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: IdentitySourceImportState, opts?: pulumi.CustomResourceOptions): IdentitySourceImport { + return new IdentitySourceImport(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'okta:index/identitySourceImport:IdentitySourceImport'; + + /** + * Returns true if the given object is an instance of IdentitySourceImport. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is IdentitySourceImport { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IdentitySourceImport.__pulumiType; + } + + /** + * Group memberships to delete in Okta. + */ + declare public readonly deleteGroupMemberships: pulumi.Output; + /** + * Groups to delete from Okta. + */ + declare public readonly deleteGroups: pulumi.Output; + /** + * Users to delete from Okta. + */ + declare public readonly deleteUsers: pulumi.Output; + /** + * ID of the identity source. Forces replacement when changed. + */ + declare public readonly identitySourceId: pulumi.Output; + /** + * Session ID created for this import job. + */ + declare public /*out*/ readonly sessionId: pulumi.Output; + /** + * Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + */ + declare public /*out*/ readonly sessionStatus: pulumi.Output; + /** + * Group memberships to create or update in Okta. + */ + declare public readonly upsertGroupMemberships: pulumi.Output; + /** + * Groups to create or update in Okta. + */ + declare public readonly upsertGroups: pulumi.Output; + /** + * Users to create or update in Okta. + */ + declare public readonly upsertUsers: pulumi.Output; + + /** + * Create a IdentitySourceImport resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: IdentitySourceImportArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: IdentitySourceImportArgs | IdentitySourceImportState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as IdentitySourceImportState | undefined; + resourceInputs["deleteGroupMemberships"] = state?.deleteGroupMemberships; + resourceInputs["deleteGroups"] = state?.deleteGroups; + resourceInputs["deleteUsers"] = state?.deleteUsers; + resourceInputs["identitySourceId"] = state?.identitySourceId; + resourceInputs["sessionId"] = state?.sessionId; + resourceInputs["sessionStatus"] = state?.sessionStatus; + resourceInputs["upsertGroupMemberships"] = state?.upsertGroupMemberships; + resourceInputs["upsertGroups"] = state?.upsertGroups; + resourceInputs["upsertUsers"] = state?.upsertUsers; + } else { + const args = argsOrState as IdentitySourceImportArgs | undefined; + if (args?.identitySourceId === undefined && !opts.urn) { + throw new Error("Missing required property 'identitySourceId'"); + } + resourceInputs["deleteGroupMemberships"] = args?.deleteGroupMemberships; + resourceInputs["deleteGroups"] = args?.deleteGroups; + resourceInputs["deleteUsers"] = args?.deleteUsers; + resourceInputs["identitySourceId"] = args?.identitySourceId; + resourceInputs["upsertGroupMemberships"] = args?.upsertGroupMemberships; + resourceInputs["upsertGroups"] = args?.upsertGroups; + resourceInputs["upsertUsers"] = args?.upsertUsers; + resourceInputs["sessionId"] = undefined /*out*/; + resourceInputs["sessionStatus"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(IdentitySourceImport.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering IdentitySourceImport resources. + */ +export interface IdentitySourceImportState { + /** + * Group memberships to delete in Okta. + */ + deleteGroupMemberships?: pulumi.Input; + /** + * Groups to delete from Okta. + */ + deleteGroups?: pulumi.Input; + /** + * Users to delete from Okta. + */ + deleteUsers?: pulumi.Input; + /** + * ID of the identity source. Forces replacement when changed. + */ + identitySourceId?: pulumi.Input; + /** + * Session ID created for this import job. + */ + sessionId?: pulumi.Input; + /** + * Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + */ + sessionStatus?: pulumi.Input; + /** + * Group memberships to create or update in Okta. + */ + upsertGroupMemberships?: pulumi.Input; + /** + * Groups to create or update in Okta. + */ + upsertGroups?: pulumi.Input; + /** + * Users to create or update in Okta. + */ + upsertUsers?: pulumi.Input; +} + +/** + * The set of arguments for constructing a IdentitySourceImport resource. + */ +export interface IdentitySourceImportArgs { + /** + * Group memberships to delete in Okta. + */ + deleteGroupMemberships?: pulumi.Input; + /** + * Groups to delete from Okta. + */ + deleteGroups?: pulumi.Input; + /** + * Users to delete from Okta. + */ + deleteUsers?: pulumi.Input; + /** + * ID of the identity source. Forces replacement when changed. + */ + identitySourceId: pulumi.Input; + /** + * Group memberships to create or update in Okta. + */ + upsertGroupMemberships?: pulumi.Input; + /** + * Groups to create or update in Okta. + */ + upsertGroups?: pulumi.Input; + /** + * Users to create or update in Okta. + */ + upsertUsers?: pulumi.Input; +} diff --git a/sdk/nodejs/identitySourceUser.ts b/sdk/nodejs/identitySourceUser.ts new file mode 100644 index 000000000..4cf45d554 --- /dev/null +++ b/sdk/nodejs/identitySourceUser.ts @@ -0,0 +1,166 @@ +// *** WARNING: this file was generated by pulumi-language-nodejs. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Manages an individual user in an Okta Identity Source. This resource creates or updates a single user record directly in the identity source (without requiring a session), using the external ID as the unique key. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as okta from "@pulumi/okta"; + * + * const example = new okta.IdentitySourceUser("example", { + * identitySourceId: "", + * identitySourceUserId: "USEREXT123456EXAMPLE", + * profile: { + * userName: "jdoe@example.com", + * email: "jdoe@example.com", + * firstName: "Jane", + * lastName: "Doe", + * }, + * }); + * ``` + * + * ## Import + * + * Import using `{identity_source_id}/{id}`: + * + * ```sh + * $ pulumi import okta:index/identitySourceUser:IdentitySourceUser example / + * ``` + */ +export class IdentitySourceUser extends pulumi.CustomResource { + /** + * Get an existing IdentitySourceUser resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: IdentitySourceUserState, opts?: pulumi.CustomResourceOptions): IdentitySourceUser { + return new IdentitySourceUser(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'okta:index/identitySourceUser:IdentitySourceUser'; + + /** + * Returns true if the given object is an instance of IdentitySourceUser. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is IdentitySourceUser { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === IdentitySourceUser.__pulumiType; + } + + /** + * Timestamp when the user was created in the identity source (RFC3339). + */ + declare public /*out*/ readonly created: pulumi.Output; + /** + * ID of the identity source. Forces replacement when changed. + */ + declare public readonly identitySourceId: pulumi.Output; + /** + * The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + */ + declare public readonly identitySourceUserId: pulumi.Output; + /** + * Timestamp when the user was last updated in the identity source (RFC3339). + */ + declare public /*out*/ readonly lastUpdated: pulumi.Output; + /** + * User profile attributes. + */ + declare public readonly profile: pulumi.Output; + + /** + * Create a IdentitySourceUser resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: IdentitySourceUserArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: IdentitySourceUserArgs | IdentitySourceUserState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as IdentitySourceUserState | undefined; + resourceInputs["created"] = state?.created; + resourceInputs["identitySourceId"] = state?.identitySourceId; + resourceInputs["identitySourceUserId"] = state?.identitySourceUserId; + resourceInputs["lastUpdated"] = state?.lastUpdated; + resourceInputs["profile"] = state?.profile; + } else { + const args = argsOrState as IdentitySourceUserArgs | undefined; + if (args?.identitySourceId === undefined && !opts.urn) { + throw new Error("Missing required property 'identitySourceId'"); + } + if (args?.identitySourceUserId === undefined && !opts.urn) { + throw new Error("Missing required property 'identitySourceUserId'"); + } + resourceInputs["identitySourceId"] = args?.identitySourceId; + resourceInputs["identitySourceUserId"] = args?.identitySourceUserId; + resourceInputs["profile"] = args?.profile; + resourceInputs["created"] = undefined /*out*/; + resourceInputs["lastUpdated"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(IdentitySourceUser.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering IdentitySourceUser resources. + */ +export interface IdentitySourceUserState { + /** + * Timestamp when the user was created in the identity source (RFC3339). + */ + created?: pulumi.Input; + /** + * ID of the identity source. Forces replacement when changed. + */ + identitySourceId?: pulumi.Input; + /** + * The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + */ + identitySourceUserId?: pulumi.Input; + /** + * Timestamp when the user was last updated in the identity source (RFC3339). + */ + lastUpdated?: pulumi.Input; + /** + * User profile attributes. + */ + profile?: pulumi.Input; +} + +/** + * The set of arguments for constructing a IdentitySourceUser resource. + */ +export interface IdentitySourceUserArgs { + /** + * ID of the identity source. Forces replacement when changed. + */ + identitySourceId: pulumi.Input; + /** + * The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + */ + identitySourceUserId: pulumi.Input; + /** + * User profile attributes. + */ + profile?: pulumi.Input; +} diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 3f398f3cb..007572f7c 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -90,6 +90,16 @@ export type Authenticator = import("./authenticator").Authenticator; export const Authenticator: typeof import("./authenticator").Authenticator = null as any; utilities.lazyLoad(exports, ["Authenticator"], () => require("./authenticator")); +export { AuthenticatorMethodWebauthnArgs, AuthenticatorMethodWebauthnState } from "./authenticatorMethodWebauthn"; +export type AuthenticatorMethodWebauthn = import("./authenticatorMethodWebauthn").AuthenticatorMethodWebauthn; +export const AuthenticatorMethodWebauthn: typeof import("./authenticatorMethodWebauthn").AuthenticatorMethodWebauthn = null as any; +utilities.lazyLoad(exports, ["AuthenticatorMethodWebauthn"], () => require("./authenticatorMethodWebauthn")); + +export { AuthenticatorWebauthnCustomAaguidArgs, AuthenticatorWebauthnCustomAaguidState } from "./authenticatorWebauthnCustomAaguid"; +export type AuthenticatorWebauthnCustomAaguid = import("./authenticatorWebauthnCustomAaguid").AuthenticatorWebauthnCustomAaguid; +export const AuthenticatorWebauthnCustomAaguid: typeof import("./authenticatorWebauthnCustomAaguid").AuthenticatorWebauthnCustomAaguid = null as any; +utilities.lazyLoad(exports, ["AuthenticatorWebauthnCustomAaguid"], () => require("./authenticatorWebauthnCustomAaguid")); + export { BehaviourArgs, BehaviourState } from "./behaviour"; export type Behaviour = import("./behaviour").Behaviour; export const Behaviour: typeof import("./behaviour").Behaviour = null as any; @@ -270,6 +280,21 @@ export const getAuthenticator: typeof import("./getAuthenticator").getAuthentica export const getAuthenticatorOutput: typeof import("./getAuthenticator").getAuthenticatorOutput = null as any; utilities.lazyLoad(exports, ["getAuthenticator","getAuthenticatorOutput"], () => require("./getAuthenticator")); +export { GetAuthenticatorMethodWebauthnArgs, GetAuthenticatorMethodWebauthnResult, GetAuthenticatorMethodWebauthnOutputArgs } from "./getAuthenticatorMethodWebauthn"; +export const getAuthenticatorMethodWebauthn: typeof import("./getAuthenticatorMethodWebauthn").getAuthenticatorMethodWebauthn = null as any; +export const getAuthenticatorMethodWebauthnOutput: typeof import("./getAuthenticatorMethodWebauthn").getAuthenticatorMethodWebauthnOutput = null as any; +utilities.lazyLoad(exports, ["getAuthenticatorMethodWebauthn","getAuthenticatorMethodWebauthnOutput"], () => require("./getAuthenticatorMethodWebauthn")); + +export { GetAuthenticatorWebauthnCustomAaguidsArgs, GetAuthenticatorWebauthnCustomAaguidsResult, GetAuthenticatorWebauthnCustomAaguidsOutputArgs } from "./getAuthenticatorWebauthnCustomAaguids"; +export const getAuthenticatorWebauthnCustomAaguids: typeof import("./getAuthenticatorWebauthnCustomAaguids").getAuthenticatorWebauthnCustomAaguids = null as any; +export const getAuthenticatorWebauthnCustomAaguidsOutput: typeof import("./getAuthenticatorWebauthnCustomAaguids").getAuthenticatorWebauthnCustomAaguidsOutput = null as any; +utilities.lazyLoad(exports, ["getAuthenticatorWebauthnCustomAaguids","getAuthenticatorWebauthnCustomAaguidsOutput"], () => require("./getAuthenticatorWebauthnCustomAaguids")); + +export { GetAuthorizationServersPoliciesRuleArgs, GetAuthorizationServersPoliciesRuleResult, GetAuthorizationServersPoliciesRuleOutputArgs } from "./getAuthorizationServersPoliciesRule"; +export const getAuthorizationServersPoliciesRule: typeof import("./getAuthorizationServersPoliciesRule").getAuthorizationServersPoliciesRule = null as any; +export const getAuthorizationServersPoliciesRuleOutput: typeof import("./getAuthorizationServersPoliciesRule").getAuthorizationServersPoliciesRuleOutput = null as any; +utilities.lazyLoad(exports, ["getAuthorizationServersPoliciesRule","getAuthorizationServersPoliciesRuleOutput"], () => require("./getAuthorizationServersPoliciesRule")); + export { GetBehaviourArgs, GetBehaviourResult, GetBehaviourOutputArgs } from "./getBehaviour"; export const getBehaviour: typeof import("./getBehaviour").getBehaviour = null as any; export const getBehaviourOutput: typeof import("./getBehaviour").getBehaviourOutput = null as any; @@ -375,6 +400,31 @@ export const getHookKey: typeof import("./getHookKey").getHookKey = null as any; export const getHookKeyOutput: typeof import("./getHookKey").getHookKeyOutput = null as any; utilities.lazyLoad(exports, ["getHookKey","getHookKeyOutput"], () => require("./getHookKey")); +export { GetIamAssigneesUserArgs, GetIamAssigneesUserResult, GetIamAssigneesUserOutputArgs } from "./getIamAssigneesUser"; +export const getIamAssigneesUser: typeof import("./getIamAssigneesUser").getIamAssigneesUser = null as any; +export const getIamAssigneesUserOutput: typeof import("./getIamAssigneesUser").getIamAssigneesUserOutput = null as any; +utilities.lazyLoad(exports, ["getIamAssigneesUser","getIamAssigneesUserOutput"], () => require("./getIamAssigneesUser")); + +export { GetIdentitySourceGroupMembershipsArgs, GetIdentitySourceGroupMembershipsResult, GetIdentitySourceGroupMembershipsOutputArgs } from "./getIdentitySourceGroupMemberships"; +export const getIdentitySourceGroupMemberships: typeof import("./getIdentitySourceGroupMemberships").getIdentitySourceGroupMemberships = null as any; +export const getIdentitySourceGroupMembershipsOutput: typeof import("./getIdentitySourceGroupMemberships").getIdentitySourceGroupMembershipsOutput = null as any; +utilities.lazyLoad(exports, ["getIdentitySourceGroupMemberships","getIdentitySourceGroupMembershipsOutput"], () => require("./getIdentitySourceGroupMemberships")); + +export { GetIdentitySourceGroupsArgs, GetIdentitySourceGroupsResult, GetIdentitySourceGroupsOutputArgs } from "./getIdentitySourceGroups"; +export const getIdentitySourceGroups: typeof import("./getIdentitySourceGroups").getIdentitySourceGroups = null as any; +export const getIdentitySourceGroupsOutput: typeof import("./getIdentitySourceGroups").getIdentitySourceGroupsOutput = null as any; +utilities.lazyLoad(exports, ["getIdentitySourceGroups","getIdentitySourceGroupsOutput"], () => require("./getIdentitySourceGroups")); + +export { GetIdentitySourceSessionsArgs, GetIdentitySourceSessionsResult, GetIdentitySourceSessionsOutputArgs } from "./getIdentitySourceSessions"; +export const getIdentitySourceSessions: typeof import("./getIdentitySourceSessions").getIdentitySourceSessions = null as any; +export const getIdentitySourceSessionsOutput: typeof import("./getIdentitySourceSessions").getIdentitySourceSessionsOutput = null as any; +utilities.lazyLoad(exports, ["getIdentitySourceSessions","getIdentitySourceSessionsOutput"], () => require("./getIdentitySourceSessions")); + +export { GetIdentitySourceUsersArgs, GetIdentitySourceUsersResult, GetIdentitySourceUsersOutputArgs } from "./getIdentitySourceUsers"; +export const getIdentitySourceUsers: typeof import("./getIdentitySourceUsers").getIdentitySourceUsers = null as any; +export const getIdentitySourceUsersOutput: typeof import("./getIdentitySourceUsers").getIdentitySourceUsersOutput = null as any; +utilities.lazyLoad(exports, ["getIdentitySourceUsers","getIdentitySourceUsersOutput"], () => require("./getIdentitySourceUsers")); + export { GetLogStreamArgs, GetLogStreamResult, GetLogStreamOutputArgs } from "./getLogStream"; export const getLogStream: typeof import("./getLogStream").getLogStream = null as any; export const getLogStreamOutput: typeof import("./getLogStream").getLogStreamOutput = null as any; @@ -540,6 +590,26 @@ export type HookKey = import("./hookKey").HookKey; export const HookKey: typeof import("./hookKey").HookKey = null as any; utilities.lazyLoad(exports, ["HookKey"], () => require("./hookKey")); +export { IdentitySourceGroupArgs, IdentitySourceGroupState } from "./identitySourceGroup"; +export type IdentitySourceGroup = import("./identitySourceGroup").IdentitySourceGroup; +export const IdentitySourceGroup: typeof import("./identitySourceGroup").IdentitySourceGroup = null as any; +utilities.lazyLoad(exports, ["IdentitySourceGroup"], () => require("./identitySourceGroup")); + +export { IdentitySourceGroupMembershipArgs, IdentitySourceGroupMembershipState } from "./identitySourceGroupMembership"; +export type IdentitySourceGroupMembership = import("./identitySourceGroupMembership").IdentitySourceGroupMembership; +export const IdentitySourceGroupMembership: typeof import("./identitySourceGroupMembership").IdentitySourceGroupMembership = null as any; +utilities.lazyLoad(exports, ["IdentitySourceGroupMembership"], () => require("./identitySourceGroupMembership")); + +export { IdentitySourceImportArgs, IdentitySourceImportState } from "./identitySourceImport"; +export type IdentitySourceImport = import("./identitySourceImport").IdentitySourceImport; +export const IdentitySourceImport: typeof import("./identitySourceImport").IdentitySourceImport = null as any; +utilities.lazyLoad(exports, ["IdentitySourceImport"], () => require("./identitySourceImport")); + +export { IdentitySourceUserArgs, IdentitySourceUserState } from "./identitySourceUser"; +export type IdentitySourceUser = import("./identitySourceUser").IdentitySourceUser; +export const IdentitySourceUser: typeof import("./identitySourceUser").IdentitySourceUser = null as any; +utilities.lazyLoad(exports, ["IdentitySourceUser"], () => require("./identitySourceUser")); + export { LinkDefinitionArgs, LinkDefinitionState } from "./linkDefinition"; export type LinkDefinition = import("./linkDefinition").LinkDefinition; export const LinkDefinition: typeof import("./linkDefinition").LinkDefinition = null as any; @@ -818,6 +888,10 @@ const _module = { return new AuthServerDefault(name, undefined, { urn }) case "okta:index/authenticator:Authenticator": return new Authenticator(name, undefined, { urn }) + case "okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn": + return new AuthenticatorMethodWebauthn(name, undefined, { urn }) + case "okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid": + return new AuthenticatorWebauthnCustomAaguid(name, undefined, { urn }) case "okta:index/behaviour:Behaviour": return new Behaviour(name, undefined, { urn }) case "okta:index/brand:Brand": @@ -874,6 +948,14 @@ const _module = { return new GroupSchemaProperty(name, undefined, { urn }) case "okta:index/hookKey:HookKey": return new HookKey(name, undefined, { urn }) + case "okta:index/identitySourceGroup:IdentitySourceGroup": + return new IdentitySourceGroup(name, undefined, { urn }) + case "okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership": + return new IdentitySourceGroupMembership(name, undefined, { urn }) + case "okta:index/identitySourceImport:IdentitySourceImport": + return new IdentitySourceImport(name, undefined, { urn }) + case "okta:index/identitySourceUser:IdentitySourceUser": + return new IdentitySourceUser(name, undefined, { urn }) case "okta:index/linkDefinition:LinkDefinition": return new LinkDefinition(name, undefined, { urn }) case "okta:index/linkValue:LinkValue": @@ -978,6 +1060,8 @@ pulumi.runtime.registerResourceModule("okta", "index/appUserSchemaProperty", _mo pulumi.runtime.registerResourceModule("okta", "index/authServerClaimDefault", _module) pulumi.runtime.registerResourceModule("okta", "index/authServerDefault", _module) pulumi.runtime.registerResourceModule("okta", "index/authenticator", _module) +pulumi.runtime.registerResourceModule("okta", "index/authenticatorMethodWebauthn", _module) +pulumi.runtime.registerResourceModule("okta", "index/authenticatorWebauthnCustomAaguid", _module) pulumi.runtime.registerResourceModule("okta", "index/behaviour", _module) pulumi.runtime.registerResourceModule("okta", "index/brand", _module) pulumi.runtime.registerResourceModule("okta", "index/campaign", _module) @@ -1006,6 +1090,10 @@ pulumi.runtime.registerResourceModule("okta", "index/feature", _module) pulumi.runtime.registerResourceModule("okta", "index/groupMemberships", _module) pulumi.runtime.registerResourceModule("okta", "index/groupSchemaProperty", _module) pulumi.runtime.registerResourceModule("okta", "index/hookKey", _module) +pulumi.runtime.registerResourceModule("okta", "index/identitySourceGroup", _module) +pulumi.runtime.registerResourceModule("okta", "index/identitySourceGroupMembership", _module) +pulumi.runtime.registerResourceModule("okta", "index/identitySourceImport", _module) +pulumi.runtime.registerResourceModule("okta", "index/identitySourceUser", _module) pulumi.runtime.registerResourceModule("okta", "index/linkDefinition", _module) pulumi.runtime.registerResourceModule("okta", "index/linkValue", _module) pulumi.runtime.registerResourceModule("okta", "index/logStream", _module) diff --git a/sdk/nodejs/package.json b/sdk/nodejs/package.json index e9cdc489b..c2bb5dd2e 100644 --- a/sdk/nodejs/package.json +++ b/sdk/nodejs/package.json @@ -1,7 +1,7 @@ { "name": "@pulumi/okta", "version": "6.0.0-alpha.0+dev", - "description": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v6.10.0", + "description": "A Pulumi package for creating and managing okta resources.. Based on terraform-provider-okta: version v6.12.0", "keywords": [ "pulumi", "okta" diff --git a/sdk/nodejs/policy/password.ts b/sdk/nodejs/policy/password.ts index e2262c97d..a2ed2104b 100644 --- a/sdk/nodejs/policy/password.ts +++ b/sdk/nodejs/policy/password.ts @@ -60,6 +60,18 @@ export class Password extends pulumi.CustomResource { * Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` */ declare public readonly authProvider: pulumi.Output; + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + */ + declare public readonly breachedPasswordDelegatedWorkflowId: pulumi.Output; + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + */ + declare public readonly breachedPasswordExpireAfterDays: pulumi.Output; + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + */ + declare public readonly breachedPasswordLogoutEnabled: pulumi.Output; /** * Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` */ @@ -191,6 +203,9 @@ export class Password extends pulumi.CustomResource { if (opts.id) { const state = argsOrState as PasswordState | undefined; resourceInputs["authProvider"] = state?.authProvider; + resourceInputs["breachedPasswordDelegatedWorkflowId"] = state?.breachedPasswordDelegatedWorkflowId; + resourceInputs["breachedPasswordExpireAfterDays"] = state?.breachedPasswordExpireAfterDays; + resourceInputs["breachedPasswordLogoutEnabled"] = state?.breachedPasswordLogoutEnabled; resourceInputs["callRecovery"] = state?.callRecovery; resourceInputs["description"] = state?.description; resourceInputs["emailRecovery"] = state?.emailRecovery; @@ -223,6 +238,9 @@ export class Password extends pulumi.CustomResource { } else { const args = argsOrState as PasswordArgs | undefined; resourceInputs["authProvider"] = args?.authProvider; + resourceInputs["breachedPasswordDelegatedWorkflowId"] = args?.breachedPasswordDelegatedWorkflowId; + resourceInputs["breachedPasswordExpireAfterDays"] = args?.breachedPasswordExpireAfterDays; + resourceInputs["breachedPasswordLogoutEnabled"] = args?.breachedPasswordLogoutEnabled; resourceInputs["callRecovery"] = args?.callRecovery; resourceInputs["description"] = args?.description; resourceInputs["emailRecovery"] = args?.emailRecovery; @@ -266,6 +284,18 @@ export interface PasswordState { * Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` */ authProvider?: pulumi.Input; + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + */ + breachedPasswordDelegatedWorkflowId?: pulumi.Input; + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + */ + breachedPasswordExpireAfterDays?: pulumi.Input; + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + */ + breachedPasswordLogoutEnabled?: pulumi.Input; /** * Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` */ @@ -392,6 +422,18 @@ export interface PasswordArgs { * Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` */ authProvider?: pulumi.Input; + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + */ + breachedPasswordDelegatedWorkflowId?: pulumi.Input; + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + */ + breachedPasswordExpireAfterDays?: pulumi.Input; + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + */ + breachedPasswordLogoutEnabled?: pulumi.Input; /** * Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` */ diff --git a/sdk/nodejs/policyPasswordDefault.ts b/sdk/nodejs/policyPasswordDefault.ts index 4cebb05c1..1195172b0 100644 --- a/sdk/nodejs/policyPasswordDefault.ts +++ b/sdk/nodejs/policyPasswordDefault.ts @@ -5,7 +5,14 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "./utilities"; /** - * Configures default password policy. This resource allows you to configure default password policy. + * Configures the default password policy. This resource allows you to configure the default password policy. + * + * > **Note:** If your configuration also manages other `okta.policy.Password` resources, add + * `dependsOn = [okta_policy_password.]` pointing to the last non-default policy in your + * dependency chain. The default policy's `priority` is read-only and shifts whenever other password policies + * are created or deleted. Using `dependsOn` ensures all sibling policies are fully created before this + * resource is read or updated, so the provider sees the correct priority value and the Okta API does not + * reject the request with E0000077. * * ## Example Usage * @@ -13,7 +20,15 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as okta from "@pulumi/okta"; * - * const _default = new okta.PolicyPasswordDefault("default", {}); + * const custom = new okta.policy.Password("custom", { + * name: "Custom Password Policy", + * groupsIncludeds: [example.id], + * status: "ACTIVE", + * priority: 1, + * }); + * const _default = new okta.PolicyPasswordDefault("default", {passwordHistoryCount: 5}, { + * dependsOn: [custom], + * }); * ``` * * ## Import @@ -50,6 +65,18 @@ export class PolicyPasswordDefault extends pulumi.CustomResource { return obj['__pulumiType'] === PolicyPasswordDefault.__pulumiType; } + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + */ + declare public readonly breachedPasswordDelegatedWorkflowId: pulumi.Output; + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + */ + declare public readonly breachedPasswordExpireAfterDays: pulumi.Output; + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + */ + declare public readonly breachedPasswordLogoutEnabled: pulumi.Output; /** * Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` */ @@ -184,6 +211,9 @@ export class PolicyPasswordDefault extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as PolicyPasswordDefaultState | undefined; + resourceInputs["breachedPasswordDelegatedWorkflowId"] = state?.breachedPasswordDelegatedWorkflowId; + resourceInputs["breachedPasswordExpireAfterDays"] = state?.breachedPasswordExpireAfterDays; + resourceInputs["breachedPasswordLogoutEnabled"] = state?.breachedPasswordLogoutEnabled; resourceInputs["callRecovery"] = state?.callRecovery; resourceInputs["defaultAuthProvider"] = state?.defaultAuthProvider; resourceInputs["defaultIncludedGroupId"] = state?.defaultIncludedGroupId; @@ -216,6 +246,9 @@ export class PolicyPasswordDefault extends pulumi.CustomResource { resourceInputs["status"] = state?.status; } else { const args = argsOrState as PolicyPasswordDefaultArgs | undefined; + resourceInputs["breachedPasswordDelegatedWorkflowId"] = args?.breachedPasswordDelegatedWorkflowId; + resourceInputs["breachedPasswordExpireAfterDays"] = args?.breachedPasswordExpireAfterDays; + resourceInputs["breachedPasswordLogoutEnabled"] = args?.breachedPasswordLogoutEnabled; resourceInputs["callRecovery"] = args?.callRecovery; resourceInputs["emailRecovery"] = args?.emailRecovery; resourceInputs["passwordAutoUnlockMinutes"] = args?.passwordAutoUnlockMinutes; @@ -256,6 +289,18 @@ export class PolicyPasswordDefault extends pulumi.CustomResource { * Input properties used for looking up and filtering PolicyPasswordDefault resources. */ export interface PolicyPasswordDefaultState { + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + */ + breachedPasswordDelegatedWorkflowId?: pulumi.Input; + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + */ + breachedPasswordExpireAfterDays?: pulumi.Input; + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + */ + breachedPasswordLogoutEnabled?: pulumi.Input; /** * Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` */ @@ -382,6 +427,18 @@ export interface PolicyPasswordDefaultState { * The set of arguments for constructing a PolicyPasswordDefault resource. */ export interface PolicyPasswordDefaultArgs { + /** + * The ID of the workflow to run when a breached password is found during a sign-in attempt. + */ + breachedPasswordDelegatedWorkflowId?: pulumi.Input; + /** + * Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breachedPasswordLogoutEnabled` is `true`. + */ + breachedPasswordExpireAfterDays?: pulumi.Input; + /** + * If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breachedPasswordExpireAfterDays` to also be configured. Default: `false` + */ + breachedPasswordLogoutEnabled?: pulumi.Input; /** * Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` */ diff --git a/sdk/nodejs/pushGroup.ts b/sdk/nodejs/pushGroup.ts index f49242b21..20f6e8397 100644 --- a/sdk/nodejs/pushGroup.ts +++ b/sdk/nodejs/pushGroup.ts @@ -36,6 +36,7 @@ import * as utilities from "./utilities"; * sourceGroupId: testGroup.id, * status: "ACTIVE", * appConfig: { + * type: "ACTIVE_DIRECTORY", * distinguishedName: "CN=Test,OU=Groups,DC=example,DC=com", * groupScope: "DOMAIN_LOCAL", * groupType: "SECURITY", diff --git a/sdk/nodejs/requestSettingOrganization.ts b/sdk/nodejs/requestSettingOrganization.ts index 7b631114f..f0f79a7d5 100644 --- a/sdk/nodejs/requestSettingOrganization.ts +++ b/sdk/nodejs/requestSettingOrganization.ts @@ -13,16 +13,9 @@ import * as utilities from "./utilities"; * import * as pulumi from "@pulumi/pulumi"; * import * as okta from "@pulumi/okta"; * - * const example = new okta.RequestCondition("example", { - * resourceId: "", - * approvalSequenceId: "", - * name: "", - * accessScopeSettings: { - * type: "RESOURCE_DEFAULT", - * }, - * requesterSettings: { - * type: "EVERYONE", - * }, + * const example = new okta.RequestSettingOrganization("example", { + * idProperty: "default", + * subprocessorsAcknowledged: true, * }); * ``` * @@ -61,7 +54,7 @@ export class RequestSettingOrganization extends pulumi.CustomResource { } /** - * Request condition id. + * The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. */ declare public readonly idProperty: pulumi.Output; /** @@ -102,7 +95,7 @@ export class RequestSettingOrganization extends pulumi.CustomResource { */ export interface RequestSettingOrganizationState { /** - * Request condition id. + * The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. */ idProperty?: pulumi.Input; /** @@ -116,7 +109,7 @@ export interface RequestSettingOrganizationState { */ export interface RequestSettingOrganizationArgs { /** - * Request condition id. + * The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. */ idProperty: pulumi.Input; /** diff --git a/sdk/nodejs/requestSettingResource.ts b/sdk/nodejs/requestSettingResource.ts index 62c9f304c..fa99ec45a 100644 --- a/sdk/nodejs/requestSettingResource.ts +++ b/sdk/nodejs/requestSettingResource.ts @@ -16,7 +16,7 @@ import * as utilities from "./utilities"; * import * as okta from "@pulumi/okta"; * * const test = new okta.RequestSettingResource("test", { - * resourceId: "", + * idProperty: "", * riskSettings: { * defaultSetting: { * requestSubmissionType: "ALLOWED_WITH_OVERRIDES", diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 0d7634b34..5bfab4e13 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -39,6 +39,7 @@ "app/getMetadataSaml.ts", "app/getOauth.ts", "app/getSaml.ts", + "app/getSignOnPolicyRule.ts", "app/getToken.ts", "app/groupAssignment.ts", "app/index.ts", @@ -75,6 +76,8 @@ "authServerClaimDefault.ts", "authServerDefault.ts", "authenticator.ts", + "authenticatorMethodWebauthn.ts", + "authenticatorWebauthnCustomAaguid.ts", "behaviour.ts", "brand.ts", "campaign.ts", @@ -115,6 +118,9 @@ "getAuthServerClaim.ts", "getAuthServerClaims.ts", "getAuthenticator.ts", + "getAuthenticatorMethodWebauthn.ts", + "getAuthenticatorWebauthnCustomAaguids.ts", + "getAuthorizationServersPoliciesRule.ts", "getBehaviour.ts", "getBehaviours.ts", "getBrand.ts", @@ -136,6 +142,11 @@ "getFeatures.ts", "getGroups.ts", "getHookKey.ts", + "getIamAssigneesUser.ts", + "getIdentitySourceGroupMemberships.ts", + "getIdentitySourceGroups.ts", + "getIdentitySourceSessions.ts", + "getIdentitySourceUsers.ts", "getLogStream.ts", "getNetworkZone.ts", "getOauthAuthorizationServer.ts", @@ -178,6 +189,10 @@ "groupMemberships.ts", "groupSchemaProperty.ts", "hookKey.ts", + "identitySourceGroup.ts", + "identitySourceGroupMembership.ts", + "identitySourceImport.ts", + "identitySourceUser.ts", "idp/getMetadataSaml.ts", "idp/getOidc.ts", "idp/getSaml.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 49be1ce6e..cb81ac2a5 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -76,6 +76,17 @@ export interface AppGroupAssignmentsGroup { profile: pulumi.Input; } +export interface AppSignonPolicyRuleKeepMeSignedIn { + /** + * Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + */ + postAuth?: pulumi.Input; + /** + * How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + */ + postAuthPromptFrequency?: pulumi.Input; +} + export interface AppSignonPolicyRulePlatformInclude { /** * Only available with OTHER OS type @@ -107,6 +118,73 @@ export interface AppUserSchemaPropertyOneOf { title: pulumi.Input; } +export interface AuthenticatorMethodWebauthnAaguidGroup { + /** + * A list of FIDO2 AAGUIDs in this group. + */ + aaguids: pulumi.Input[]>; + /** + * A name to identify the group of FIDO2 AAGUIDs. + */ + name: pulumi.Input; +} + +export interface AuthenticatorMethodWebauthnRpId { + /** + * The RP domain configuration. Contains: + */ + domain?: pulumi.Input; + /** + * Whether the RP ID is active and used for WebAuthn operations. + */ + enabled?: pulumi.Input; +} + +export interface AuthenticatorMethodWebauthnRpIdDomain { + /** + * The RP ID domain value used for WebAuthn operations. + */ + name?: pulumi.Input; + /** + * The validation status of the domain. + */ + validationStatus?: pulumi.Input; +} + +export interface AuthenticatorWebauthnCustomAaguidAttestationRootCertificate { + /** + * Expiry date of the certificate. + */ + expiry?: pulumi.Input; + /** + * Issuer of the certificate. + */ + issuer?: pulumi.Input; + /** + * X.509 certificate chain (base64-encoded). + */ + x5c: pulumi.Input; + /** + * SHA-256 hash (thumbprint) of the X.509 certificate. + */ + x5tS256?: pulumi.Input; +} + +export interface AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics { + /** + * Indicates whether the authenticator meets FIPS compliance requirements. + */ + fipsCompliant?: pulumi.Input; + /** + * Indicates whether the authenticator stores the private key on a hardware component. + */ + hardwareProtected?: pulumi.Input; + /** + * Indicates whether the custom AAGUID is built into the authenticator or is external. + */ + platformAttached?: pulumi.Input; +} + export interface CampaignNotificationSettings { /** * To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. @@ -782,6 +860,306 @@ export interface GetApiTokenNetworkArgs { includes?: pulumi.Input[] | undefined>; } +export interface GetAuthenticatorMethodWebauthnAaguidGroup { + /** + * List of FIDO2 AAGUIDs in this group. + */ + aaguids?: string[]; + /** + * The name of the AAGUID group. + */ + name?: string; +} + +export interface GetAuthenticatorMethodWebauthnAaguidGroupArgs { + /** + * List of FIDO2 AAGUIDs in this group. + */ + aaguids?: pulumi.Input[] | undefined>; + /** + * The name of the AAGUID group. + */ + name?: pulumi.Input; +} + +export interface GetAuthenticatorMethodWebauthnRpId { + /** + * The RP domain configuration. Contains: + */ + domain?: inputs.GetAuthenticatorMethodWebauthnRpIdDomain; + /** + * Whether the RP ID is active and used for WebAuthn operations. + */ + enabled?: boolean; +} + +export interface GetAuthenticatorMethodWebauthnRpIdArgs { + /** + * The RP domain configuration. Contains: + */ + domain?: pulumi.Input; + /** + * Whether the RP ID is active and used for WebAuthn operations. + */ + enabled?: pulumi.Input; +} + +export interface GetAuthenticatorMethodWebauthnRpIdDomain { + /** + * The name of the AAGUID group. + */ + name?: string; + /** + * The validation status of the domain. + */ + validationStatus?: string; +} + +export interface GetAuthenticatorMethodWebauthnRpIdDomainArgs { + /** + * The name of the AAGUID group. + */ + name?: pulumi.Input; + /** + * The validation status of the domain. + */ + validationStatus?: pulumi.Input; +} + +export interface GetAuthenticatorWebauthnCustomAaguidsCustomAaguid { + /** + * The AAGUID identifier. + */ + aaguid?: string; + /** + * Properties of the custom AAGUID authenticator. + */ + authenticatorCharacteristics?: inputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics; + /** + * The product name associated with the AAGUID. + */ + name?: string; +} + +export interface GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs { + /** + * The AAGUID identifier. + */ + aaguid?: pulumi.Input; + /** + * Properties of the custom AAGUID authenticator. + */ + authenticatorCharacteristics?: pulumi.Input; + /** + * The product name associated with the AAGUID. + */ + name?: pulumi.Input; +} + +export interface GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics { + /** + * Whether the authenticator meets FIPS compliance requirements. + */ + fipsCompliant?: boolean; + /** + * Whether the authenticator stores the private key on hardware. + */ + hardwareProtected?: boolean; + /** + * Whether the AAGUID is built into the authenticator or is external. + */ + platformAttached?: boolean; +} + +export interface GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs { + /** + * Whether the authenticator meets FIPS compliance requirements. + */ + fipsCompliant?: pulumi.Input; + /** + * Whether the authenticator stores the private key on hardware. + */ + hardwareProtected?: pulumi.Input; + /** + * Whether the AAGUID is built into the authenticator or is external. + */ + platformAttached?: pulumi.Input; +} + +export interface GetAuthorizationServersPoliciesRuleActions { + /** + * Token + */ + token?: inputs.GetAuthorizationServersPoliciesRuleActionsToken; +} + +export interface GetAuthorizationServersPoliciesRuleActionsArgs { + /** + * Token + */ + token?: pulumi.Input; +} + +export interface GetAuthorizationServersPoliciesRuleActionsToken { + /** + * Lifetime of the access token in minutes. + */ + accessTokenLifetimeMinutes?: number; + /** + * InlineHook + */ + inlineHook?: inputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHook; + /** + * Lifetime of the refresh token is the minimum access token lifetime. + */ + refreshTokenLifetimeMinutes?: number; + /** + * Timeframe when the refresh token is valid. + */ + refreshTokenWindowMinutes?: number; +} + +export interface GetAuthorizationServersPoliciesRuleActionsTokenArgs { + /** + * Lifetime of the access token in minutes. + */ + accessTokenLifetimeMinutes?: pulumi.Input; + /** + * InlineHook + */ + inlineHook?: pulumi.Input; + /** + * Lifetime of the refresh token is the minimum access token lifetime. + */ + refreshTokenLifetimeMinutes?: pulumi.Input; + /** + * Timeframe when the refresh token is valid. + */ + refreshTokenWindowMinutes?: pulumi.Input; +} + +export interface GetAuthorizationServersPoliciesRuleActionsTokenInlineHook { + /** + * Unique identifier of the authorization server policy rule. + */ + id?: string; +} + +export interface GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs { + /** + * Unique identifier of the authorization server policy rule. + */ + id?: pulumi.Input; +} + +export interface GetAuthorizationServersPoliciesRuleConditions { + /** + * Array of grant types that this condition includes. + */ + grantTypes?: inputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypes; + /** + * Identifies Users and Groups that are used together + */ + people?: inputs.GetAuthorizationServersPoliciesRuleConditionsPeople; + /** + * Array of scopes that the condition includes + */ + scopes?: inputs.GetAuthorizationServersPoliciesRuleConditionsScopes; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsArgs { + /** + * Array of grant types that this condition includes. + */ + grantTypes?: pulumi.Input; + /** + * Identifies Users and Groups that are used together + */ + people?: pulumi.Input; + /** + * Array of scopes that the condition includes + */ + scopes?: pulumi.Input; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsGrantTypes { + /** + * Array of grant types that this condition includes. + */ + includes?: string[]; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs { + /** + * Array of grant types that this condition includes. + */ + includes?: pulumi.Input[] | undefined>; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsPeople { + /** + * Specifies a set of Groups whose Users are to be included + */ + groups?: inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroups; + /** + * Specifies a set of Users to be included + */ + users?: inputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsers; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsPeopleArgs { + /** + * Specifies a set of Groups whose Users are to be included + */ + groups?: pulumi.Input; + /** + * Specifies a set of Users to be included + */ + users?: pulumi.Input; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsPeopleGroups { + /** + * Groups to be included + */ + includes?: string[]; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs { + /** + * Groups to be included + */ + includes?: pulumi.Input[] | undefined>; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsPeopleUsers { + /** + * Users to be included + */ + includes?: string[]; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs { + /** + * Users to be included + */ + includes?: pulumi.Input[] | undefined>; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsScopes { + /** + * Include + */ + includes?: string[]; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsScopesArgs { + /** + * Include + */ + includes?: pulumi.Input[] | undefined>; +} + export interface GetCampaignNotificationSettings { notifyReviewPeriodEnd?: boolean; notifyReviewerAtCampaignEnd?: boolean; @@ -1988,6 +2366,44 @@ export interface GetEntitlementValueArgs { name?: pulumi.Input; } +export interface GetIamAssigneesUserItem { + id?: string; + /** + * ORN representing the assignee + */ + orn?: string; +} + +export interface GetIamAssigneesUserItemArgs { + id?: pulumi.Input; + /** + * ORN representing the assignee + */ + orn?: pulumi.Input; +} + +export interface GetIdentitySourceGroupsProfile { + /** + * Description of the group. + */ + description?: string; + /** + * Display name of the group. + */ + displayName?: string; +} + +export interface GetIdentitySourceGroupsProfileArgs { + /** + * Description of the group. + */ + description?: pulumi.Input; + /** + * Display name of the group. + */ + displayName?: pulumi.Input; +} + export interface GetLogStreamSettings { /** * AWS account ID. Required only for 'aws_eventbridge' type @@ -3005,13 +3421,198 @@ export interface GroupSchemaPropertyOneOf { title: pulumi.Input; } -export interface LogStreamSettings { +export interface IdentitySourceGroupProfile { /** - * AWS account ID. Required only for 'aws_eventbridge' type + * Description of the group. */ - accountId?: pulumi.Input; + description?: pulumi.Input; /** - * Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type + * Name of the group. + */ + displayName?: pulumi.Input; +} + +export interface IdentitySourceImportDeleteGroupMemberships { + /** + * Group memberships to delete. (see below) + */ + memberships?: pulumi.Input[] | undefined>; +} + +export interface IdentitySourceImportDeleteGroupMembershipsMembership { + /** + * External ID of the group. + */ + groupExternalId?: pulumi.Input; + /** + * External IDs of the group members to remove. + */ + memberExternalIds?: pulumi.Input[] | undefined>; +} + +export interface IdentitySourceImportDeleteGroups { + /** + * External IDs of the groups to delete. + */ + externalIds?: pulumi.Input[] | undefined>; +} + +export interface IdentitySourceImportDeleteUsers { + /** + * Entity type. Currently only `USERS` is supported. + */ + entityType?: pulumi.Input; + /** + * User profiles to delete (by external ID). (see below) + */ + profiles?: pulumi.Input[] | undefined>; +} + +export interface IdentitySourceImportDeleteUsersProfile { + /** + * External ID of the user to delete. + */ + externalId?: pulumi.Input; +} + +export interface IdentitySourceImportUpsertGroupMemberships { + /** + * Group memberships to upsert. (see below) + */ + memberships?: pulumi.Input[] | undefined>; +} + +export interface IdentitySourceImportUpsertGroupMembershipsMembership { + /** + * External ID of the group. + */ + groupExternalId?: pulumi.Input; + /** + * External IDs of the group members to add. + */ + memberExternalIds?: pulumi.Input[] | undefined>; +} + +export interface IdentitySourceImportUpsertGroups { + /** + * Group profiles to upsert. (see below) + */ + profiles?: pulumi.Input[] | undefined>; +} + +export interface IdentitySourceImportUpsertGroupsProfile { + /** + * External ID of the group. + */ + externalId?: pulumi.Input; + /** + * Group profile attributes. (see below) + */ + groupProfile?: pulumi.Input; +} + +export interface IdentitySourceImportUpsertGroupsProfileGroupProfile { + /** + * Description of the group. + */ + description?: pulumi.Input; + /** + * Display name of the group. + */ + displayName?: pulumi.Input; +} + +export interface IdentitySourceImportUpsertUsers { + /** + * Entity type. Currently only `USERS` is supported. + */ + entityType?: pulumi.Input; + /** + * User profiles to upsert. (see below) + */ + profiles?: pulumi.Input[] | undefined>; +} + +export interface IdentitySourceImportUpsertUsersProfile { + /** + * External ID of the user. + */ + externalId?: pulumi.Input; + /** + * User profile attributes. (see below) + */ + profile?: pulumi.Input; +} + +export interface IdentitySourceImportUpsertUsersProfileProfile { + /** + * Email address of the user. + */ + email?: pulumi.Input; + /** + * First name of the user. + */ + firstName?: pulumi.Input; + /** + * Home address of the user. + */ + homeAddress?: pulumi.Input; + /** + * Last name of the user. + */ + lastName?: pulumi.Input; + /** + * Mobile phone number of the user. + */ + mobilePhone?: pulumi.Input; + /** + * Alternative email address of the user. + */ + secondEmail?: pulumi.Input; + /** + * Username of the user. + */ + userName?: pulumi.Input; +} + +export interface IdentitySourceUserProfile { + /** + * Email address of the user. + */ + email?: pulumi.Input; + /** + * First name of the user. + */ + firstName?: pulumi.Input; + /** + * Home address of the user. + */ + homeAddress?: pulumi.Input; + /** + * Last name of the user. + */ + lastName?: pulumi.Input; + /** + * Mobile phone number of the user. + */ + mobilePhone?: pulumi.Input; + /** + * Alternative email address of the user. + */ + secondEmail?: pulumi.Input; + /** + * Username of the user. + */ + userName?: pulumi.Input; +} + +export interface LogStreamSettings { + /** + * AWS account ID. Required only for 'aws_eventbridge' type + */ + accountId?: pulumi.Input; + /** + * Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type */ edition?: pulumi.Input; /** @@ -3085,6 +3686,7 @@ export interface PushGroupAppConfig { groupScope: pulumi.Input; groupType: pulumi.Input; samAccountName: pulumi.Input; + type: pulumi.Input; } export interface PushProviderConfiguration { @@ -3992,6 +4594,516 @@ export namespace app { status?: pulumi.Input; } + export interface GetSignOnPolicyRuleActions { + /** + * Specifies the results when a user attempts to sign in + */ + appSignOn?: inputs.app.GetSignOnPolicyRuleActionsAppSignOn; + } + + export interface GetSignOnPolicyRuleActionsArgs { + /** + * Specifies the results when a user attempts to sign in + */ + appSignOn?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleActionsAppSignOn { + /** + * Access + */ + access?: string; + /** + * Controls how often the post-authentication prompt is presented to users + */ + keepMeSignedIn?: inputs.app.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn; + /** + * The method used to verify a user + */ + verificationMethod?: inputs.app.GetSignOnPolicyRuleActionsAppSignOnVerificationMethod; + } + + export interface GetSignOnPolicyRuleActionsAppSignOnArgs { + /** + * Access + */ + access?: pulumi.Input; + /** + * Controls how often the post-authentication prompt is presented to users + */ + keepMeSignedIn?: pulumi.Input; + /** + * The method used to verify a user + */ + verificationMethod?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn { + /** + * Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + */ + postAuth?: string; + /** + * A time duration specified as an ISO 8601 duration + */ + postAuthPromptFrequency?: string; + } + + export interface GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs { + /** + * Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + */ + postAuth?: pulumi.Input; + /** + * A time duration specified as an ISO 8601 duration + */ + postAuthPromptFrequency?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleActionsAppSignOnVerificationMethod { + /** + * Verification method type + */ + type?: string; + } + + export interface GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs { + /** + * Verification method type + */ + type?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditions { + /** + * Specifies the device condition to match on + */ + device?: inputs.app.GetSignOnPolicyRuleConditionsDevice; + /** + * Specifies Okta Expression Language expressions + */ + elCondition?: inputs.app.GetSignOnPolicyRuleConditionsElCondition; + /** + * Specifies a network selection mode and a set of network zones to be included or excluded. + */ + network?: inputs.app.GetSignOnPolicyRuleConditionsNetwork; + /** + * Specifies the users and groups that are included or excluded by the policy rule + */ + people?: inputs.app.GetSignOnPolicyRuleConditionsPeople; + /** + * Specifies a particular platform or device to match on + */ + platform?: inputs.app.GetSignOnPolicyRuleConditionsPlatform; + /** + * Specifies a particular level of risk to match on + */ + riskScore?: inputs.app.GetSignOnPolicyRuleConditionsRiskScore; + /** + * Specifies which user types to include and/or exclude + */ + userType?: inputs.app.GetSignOnPolicyRuleConditionsUserType; + } + + export interface GetSignOnPolicyRuleConditionsArgs { + /** + * Specifies the device condition to match on + */ + device?: pulumi.Input; + /** + * Specifies Okta Expression Language expressions + */ + elCondition?: pulumi.Input; + /** + * Specifies a network selection mode and a set of network zones to be included or excluded. + */ + network?: pulumi.Input; + /** + * Specifies the users and groups that are included or excluded by the policy rule + */ + people?: pulumi.Input; + /** + * Specifies a particular platform or device to match on + */ + platform?: pulumi.Input; + /** + * Specifies a particular level of risk to match on + */ + riskScore?: pulumi.Input; + /** + * Specifies which user types to include and/or exclude + */ + userType?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsDevice { + /** + * Specifies device assurance policies in the policy rule. + */ + assurance?: inputs.app.GetSignOnPolicyRuleConditionsDeviceAssurance; + /** + * Indicates if the device is managed. + */ + managed?: boolean; + /** + * Indicates if the device is registered. + */ + registered?: boolean; + } + + export interface GetSignOnPolicyRuleConditionsDeviceArgs { + /** + * Specifies device assurance policies in the policy rule. + */ + assurance?: pulumi.Input; + /** + * Indicates if the device is managed. + */ + managed?: pulumi.Input; + /** + * Indicates if the device is registered. + */ + registered?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsDeviceAssurance { + /** + * Specifies the device assurance policy ID + */ + includes?: string[]; + } + + export interface GetSignOnPolicyRuleConditionsDeviceAssuranceArgs { + /** + * Specifies the device assurance policy ID + */ + includes?: pulumi.Input[] | undefined>; + } + + export interface GetSignOnPolicyRuleConditionsElCondition { + /** + * expression to match + */ + condition?: string; + } + + export interface GetSignOnPolicyRuleConditionsElConditionArgs { + /** + * expression to match + */ + condition?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsNetwork { + /** + * Network selection mode + */ + connection?: string; + /** + * The zones to exclude. + */ + excludes?: string[]; + /** + * The zones to include. + */ + includes?: string[]; + } + + export interface GetSignOnPolicyRuleConditionsNetworkArgs { + /** + * Network selection mode + */ + connection?: pulumi.Input; + /** + * The zones to exclude. + */ + excludes?: pulumi.Input[] | undefined>; + /** + * The zones to include. + */ + includes?: pulumi.Input[] | undefined>; + } + + export interface GetSignOnPolicyRuleConditionsPeople { + /** + * Specifies a set of groups whose users are to be included or excluded + */ + groups?: inputs.app.GetSignOnPolicyRuleConditionsPeopleGroups; + /** + * Specifies a set of users to be included or excluded + */ + users?: inputs.app.GetSignOnPolicyRuleConditionsPeopleUsers; + } + + export interface GetSignOnPolicyRuleConditionsPeopleArgs { + /** + * Specifies a set of groups whose users are to be included or excluded + */ + groups?: pulumi.Input; + /** + * Specifies a set of users to be included or excluded + */ + users?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsPeopleGroups { + /** + * Groups to be excluded + */ + excludes?: string[]; + /** + * Groups to be included + */ + includes?: string[]; + } + + export interface GetSignOnPolicyRuleConditionsPeopleGroupsArgs { + /** + * Groups to be excluded + */ + excludes?: pulumi.Input[] | undefined>; + /** + * Groups to be included + */ + includes?: pulumi.Input[] | undefined>; + } + + export interface GetSignOnPolicyRuleConditionsPeopleUsers { + /** + * Users to be excluded + */ + excludes?: string[]; + /** + * Users to be included + */ + includes?: string[]; + } + + export interface GetSignOnPolicyRuleConditionsPeopleUsersArgs { + /** + * Users to be excluded + */ + excludes?: pulumi.Input[] | undefined>; + /** + * Users to be included + */ + includes?: pulumi.Input[] | undefined>; + } + + export interface GetSignOnPolicyRuleConditionsPlatform { + /** + * Exclude + */ + excludes?: inputs.app.GetSignOnPolicyRuleConditionsPlatformExclude[]; + /** + * Include + */ + includes?: inputs.app.GetSignOnPolicyRuleConditionsPlatformInclude[]; + } + + export interface GetSignOnPolicyRuleConditionsPlatformArgs { + /** + * Exclude + */ + excludes?: pulumi.Input[] | undefined>; + /** + * Include + */ + includes?: pulumi.Input[] | undefined>; + } + + export interface GetSignOnPolicyRuleConditionsPlatformExclude { + /** + * Os + */ + os?: inputs.app.GetSignOnPolicyRuleConditionsPlatformExcludeOs; + /** + * The type of platform + */ + type?: string; + } + + export interface GetSignOnPolicyRuleConditionsPlatformExcludeArgs { + /** + * Os + */ + os?: pulumi.Input; + /** + * The type of platform + */ + type?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsPlatformExcludeOs { + /** + * Expression + */ + expression?: string; + /** + * The type of operating system + */ + type?: string; + /** + * Version + */ + version?: inputs.app.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion; + } + + export interface GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs { + /** + * Expression + */ + expression?: pulumi.Input; + /** + * The type of operating system + */ + type?: pulumi.Input; + /** + * Version + */ + version?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion { + /** + * MatchType + */ + matchType?: string; + /** + * Value + */ + value?: string; + } + + export interface GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs { + /** + * MatchType + */ + matchType?: pulumi.Input; + /** + * Value + */ + value?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsPlatformInclude { + /** + * Os + */ + os?: inputs.app.GetSignOnPolicyRuleConditionsPlatformIncludeOs; + /** + * The type of platform + */ + type?: string; + } + + export interface GetSignOnPolicyRuleConditionsPlatformIncludeArgs { + /** + * Os + */ + os?: pulumi.Input; + /** + * The type of platform + */ + type?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsPlatformIncludeOs { + /** + * Expression + */ + expression?: string; + /** + * The type of operating system + */ + type?: string; + /** + * Version + */ + version?: inputs.app.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion; + } + + export interface GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs { + /** + * Expression + */ + expression?: pulumi.Input; + /** + * The type of operating system + */ + type?: pulumi.Input; + /** + * Version + */ + version?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion { + /** + * MatchType + */ + matchType?: string; + /** + * Value + */ + value?: string; + } + + export interface GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs { + /** + * MatchType + */ + matchType?: pulumi.Input; + /** + * Value + */ + value?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsRiskScore { + /** + * The level to match + */ + level?: string; + /** + * The minimum risk level to match. + */ + minRiskLevel?: string; + } + + export interface GetSignOnPolicyRuleConditionsRiskScoreArgs { + /** + * The level to match + */ + level?: pulumi.Input; + /** + * The minimum risk level to match. + */ + minRiskLevel?: pulumi.Input; + } + + export interface GetSignOnPolicyRuleConditionsUserType { + /** + * The user types to exclude + */ + excludes?: string[]; + /** + * The user types to include + */ + includes?: string[]; + } + + export interface GetSignOnPolicyRuleConditionsUserTypeArgs { + /** + * The user types to exclude + */ + excludes?: pulumi.Input[] | undefined>; + /** + * The user types to include + */ + includes?: pulumi.Input[] | undefined>; + } + export interface OAuthGroupsClaim { /** * Groups claim filter. Can only be set if type is FILTER. @@ -4178,6 +5290,10 @@ export namespace app { * Inactivity period before re-authentication in ISO 8601 duration format. */ inactivityPeriod?: pulumi.Input; + /** + * Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + */ + keepMeSignedIn?: pulumi.Input; /** * Policy Rule Name. Must be unique within the policy. */ @@ -4207,7 +5323,7 @@ export namespace app { */ reAuthenticationFrequency?: pulumi.Input; /** - * Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + * Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. */ riskScore?: pulumi.Input; /** @@ -4240,6 +5356,17 @@ export namespace app { usersIncludeds?: pulumi.Input[] | undefined>; } + export interface SignonPolicyRulesRuleKeepMeSignedIn { + /** + * Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + */ + postAuth?: pulumi.Input; + /** + * How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + */ + postAuthPromptFrequency?: pulumi.Input; + } + export interface SignonPolicyRulesRulePlatformInclude { /** * Custom OS expression for advanced matching. Required by the API when osType is OTHER (leave empty or omit to match any OTHER OS). The API normalizes empty and wildcard values to null on read; the provider preserves "" in state. diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index d857584d1..3b6ab3722 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -76,6 +76,17 @@ export interface AppGroupAssignmentsGroup { profile: string; } +export interface AppSignonPolicyRuleKeepMeSignedIn { + /** + * Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + */ + postAuth?: string; + /** + * How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + */ + postAuthPromptFrequency?: string; +} + export interface AppSignonPolicyRulePlatformInclude { /** * Only available with OTHER OS type @@ -107,6 +118,73 @@ export interface AppUserSchemaPropertyOneOf { title: string; } +export interface AuthenticatorMethodWebauthnAaguidGroup { + /** + * A list of FIDO2 AAGUIDs in this group. + */ + aaguids: string[]; + /** + * A name to identify the group of FIDO2 AAGUIDs. + */ + name: string; +} + +export interface AuthenticatorMethodWebauthnRpId { + /** + * The RP domain configuration. Contains: + */ + domain?: outputs.AuthenticatorMethodWebauthnRpIdDomain; + /** + * Whether the RP ID is active and used for WebAuthn operations. + */ + enabled: boolean; +} + +export interface AuthenticatorMethodWebauthnRpIdDomain { + /** + * The RP ID domain value used for WebAuthn operations. + */ + name: string; + /** + * The validation status of the domain. + */ + validationStatus: string; +} + +export interface AuthenticatorWebauthnCustomAaguidAttestationRootCertificate { + /** + * Expiry date of the certificate. + */ + expiry: string; + /** + * Issuer of the certificate. + */ + issuer: string; + /** + * X.509 certificate chain (base64-encoded). + */ + x5c: string; + /** + * SHA-256 hash (thumbprint) of the X.509 certificate. + */ + x5tS256: string; +} + +export interface AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics { + /** + * Indicates whether the authenticator meets FIPS compliance requirements. + */ + fipsCompliant: boolean; + /** + * Indicates whether the authenticator stores the private key on a hardware component. + */ + hardwareProtected: boolean; + /** + * Indicates whether the custom AAGUID is built into the authenticator or is external. + */ + platformAttached: boolean; +} + export interface CampaignNotificationSettings { /** * To indicate whether a notification should be sent to the reviewer when a given reviewer level period is about to end. @@ -750,6 +828,156 @@ export interface GetAuthServerClaimsClaim { valueType: string; } +export interface GetAuthenticatorMethodWebauthnAaguidGroup { + /** + * List of FIDO2 AAGUIDs in this group. + */ + aaguids: string[]; + /** + * The name of the AAGUID group. + */ + name: string; +} + +export interface GetAuthenticatorMethodWebauthnRpId { + /** + * The RP domain configuration. Contains: + */ + domain?: outputs.GetAuthenticatorMethodWebauthnRpIdDomain; + /** + * Whether the RP ID is active and used for WebAuthn operations. + */ + enabled: boolean; +} + +export interface GetAuthenticatorMethodWebauthnRpIdDomain { + /** + * The name of the AAGUID group. + */ + name: string; + /** + * The validation status of the domain. + */ + validationStatus: string; +} + +export interface GetAuthenticatorWebauthnCustomAaguidsCustomAaguid { + /** + * The AAGUID identifier. + */ + aaguid: string; + /** + * Properties of the custom AAGUID authenticator. + */ + authenticatorCharacteristics?: outputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics; + /** + * The product name associated with the AAGUID. + */ + name: string; +} + +export interface GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristics { + /** + * Whether the authenticator meets FIPS compliance requirements. + */ + fipsCompliant: boolean; + /** + * Whether the authenticator stores the private key on hardware. + */ + hardwareProtected: boolean; + /** + * Whether the AAGUID is built into the authenticator or is external. + */ + platformAttached: boolean; +} + +export interface GetAuthorizationServersPoliciesRuleActions { + /** + * Token + */ + token?: outputs.GetAuthorizationServersPoliciesRuleActionsToken; +} + +export interface GetAuthorizationServersPoliciesRuleActionsToken { + /** + * Lifetime of the access token in minutes. + */ + accessTokenLifetimeMinutes: number; + /** + * InlineHook + */ + inlineHook?: outputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHook; + /** + * Lifetime of the refresh token is the minimum access token lifetime. + */ + refreshTokenLifetimeMinutes: number; + /** + * Timeframe when the refresh token is valid. + */ + refreshTokenWindowMinutes: number; +} + +export interface GetAuthorizationServersPoliciesRuleActionsTokenInlineHook { + /** + * Unique identifier of the authorization server policy rule. + */ + id: string; +} + +export interface GetAuthorizationServersPoliciesRuleConditions { + /** + * Array of grant types that this condition includes. + */ + grantTypes?: outputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypes; + /** + * Identifies Users and Groups that are used together + */ + people?: outputs.GetAuthorizationServersPoliciesRuleConditionsPeople; + /** + * Array of scopes that the condition includes + */ + scopes?: outputs.GetAuthorizationServersPoliciesRuleConditionsScopes; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsGrantTypes { + /** + * Array of grant types that this condition includes. + */ + includes: string[]; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsPeople { + /** + * Specifies a set of Groups whose Users are to be included + */ + groups?: outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroups; + /** + * Specifies a set of Users to be included + */ + users?: outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsers; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsPeopleGroups { + /** + * Groups to be included + */ + includes: string[]; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsPeopleUsers { + /** + * Users to be included + */ + includes: string[]; +} + +export interface GetAuthorizationServersPoliciesRuleConditionsScopes { + /** + * Include + */ + includes: string[]; +} + export interface GetBehavioursBehavior { /** * Behavior ID. @@ -1516,6 +1744,35 @@ export interface GetGroupsGroup { type: string; } +export interface GetIamAssigneesUserItem { + id: string; + /** + * ORN representing the assignee + */ + orn: string; +} + +export interface GetIdentitySourceGroupsProfile { + /** + * Description of the group. + */ + description: string; + /** + * Display name of the group. + */ + displayName: string; +} + +export interface GetIdentitySourceUsersProfile { + email: string; + firstName: string; + homeAddress: string; + lastName: string; + mobilePhone: string; + secondEmail: string; + userName: string; +} + export interface GetLogStreamSettings { /** * AWS account ID. Required only for 'aws_eventbridge' type @@ -2139,6 +2396,191 @@ export interface GroupSchemaPropertyOneOf { title: string; } +export interface IdentitySourceGroupProfile { + /** + * Description of the group. + */ + description?: string; + /** + * Name of the group. + */ + displayName?: string; +} + +export interface IdentitySourceImportDeleteGroupMemberships { + /** + * Group memberships to delete. (see below) + */ + memberships?: outputs.IdentitySourceImportDeleteGroupMembershipsMembership[]; +} + +export interface IdentitySourceImportDeleteGroupMembershipsMembership { + /** + * External ID of the group. + */ + groupExternalId?: string; + /** + * External IDs of the group members to remove. + */ + memberExternalIds?: string[]; +} + +export interface IdentitySourceImportDeleteGroups { + /** + * External IDs of the groups to delete. + */ + externalIds?: string[]; +} + +export interface IdentitySourceImportDeleteUsers { + /** + * Entity type. Currently only `USERS` is supported. + */ + entityType?: string; + /** + * User profiles to delete (by external ID). (see below) + */ + profiles?: outputs.IdentitySourceImportDeleteUsersProfile[]; +} + +export interface IdentitySourceImportDeleteUsersProfile { + /** + * External ID of the user to delete. + */ + externalId?: string; +} + +export interface IdentitySourceImportUpsertGroupMemberships { + /** + * Group memberships to upsert. (see below) + */ + memberships?: outputs.IdentitySourceImportUpsertGroupMembershipsMembership[]; +} + +export interface IdentitySourceImportUpsertGroupMembershipsMembership { + /** + * External ID of the group. + */ + groupExternalId?: string; + /** + * External IDs of the group members to add. + */ + memberExternalIds?: string[]; +} + +export interface IdentitySourceImportUpsertGroups { + /** + * Group profiles to upsert. (see below) + */ + profiles?: outputs.IdentitySourceImportUpsertGroupsProfile[]; +} + +export interface IdentitySourceImportUpsertGroupsProfile { + /** + * External ID of the group. + */ + externalId?: string; + /** + * Group profile attributes. (see below) + */ + groupProfile?: outputs.IdentitySourceImportUpsertGroupsProfileGroupProfile; +} + +export interface IdentitySourceImportUpsertGroupsProfileGroupProfile { + /** + * Description of the group. + */ + description?: string; + /** + * Display name of the group. + */ + displayName?: string; +} + +export interface IdentitySourceImportUpsertUsers { + /** + * Entity type. Currently only `USERS` is supported. + */ + entityType?: string; + /** + * User profiles to upsert. (see below) + */ + profiles?: outputs.IdentitySourceImportUpsertUsersProfile[]; +} + +export interface IdentitySourceImportUpsertUsersProfile { + /** + * External ID of the user. + */ + externalId?: string; + /** + * User profile attributes. (see below) + */ + profile?: outputs.IdentitySourceImportUpsertUsersProfileProfile; +} + +export interface IdentitySourceImportUpsertUsersProfileProfile { + /** + * Email address of the user. + */ + email?: string; + /** + * First name of the user. + */ + firstName?: string; + /** + * Home address of the user. + */ + homeAddress?: string; + /** + * Last name of the user. + */ + lastName?: string; + /** + * Mobile phone number of the user. + */ + mobilePhone?: string; + /** + * Alternative email address of the user. + */ + secondEmail?: string; + /** + * Username of the user. + */ + userName?: string; +} + +export interface IdentitySourceUserProfile { + /** + * Email address of the user. + */ + email?: string; + /** + * First name of the user. + */ + firstName?: string; + /** + * Home address of the user. + */ + homeAddress?: string; + /** + * Last name of the user. + */ + lastName?: string; + /** + * Mobile phone number of the user. + */ + mobilePhone?: string; + /** + * Alternative email address of the user. + */ + secondEmail?: string; + /** + * Username of the user. + */ + userName?: string; +} + export interface LogStreamSettings { /** * AWS account ID. Required only for 'aws_eventbridge' type @@ -2219,6 +2661,7 @@ export interface PushGroupAppConfig { groupScope: string; groupType: string; samAccountName: string; + type: string; } export interface PushProviderConfiguration { @@ -2989,6 +3432,261 @@ export namespace app { values: string[]; } + export interface GetSignOnPolicyRuleActions { + /** + * Specifies the results when a user attempts to sign in + */ + appSignOn?: outputs.app.GetSignOnPolicyRuleActionsAppSignOn; + } + + export interface GetSignOnPolicyRuleActionsAppSignOn { + /** + * Access + */ + access: string; + /** + * Controls how often the post-authentication prompt is presented to users + */ + keepMeSignedIn?: outputs.app.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn; + /** + * The method used to verify a user + */ + verificationMethod?: outputs.app.GetSignOnPolicyRuleActionsAppSignOnVerificationMethod; + } + + export interface GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedIn { + /** + * Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + */ + postAuth: string; + /** + * A time duration specified as an ISO 8601 duration + */ + postAuthPromptFrequency: string; + } + + export interface GetSignOnPolicyRuleActionsAppSignOnVerificationMethod { + /** + * Verification method type + */ + type: string; + } + + export interface GetSignOnPolicyRuleConditions { + /** + * Specifies the device condition to match on + */ + device?: outputs.app.GetSignOnPolicyRuleConditionsDevice; + /** + * Specifies Okta Expression Language expressions + */ + elCondition?: outputs.app.GetSignOnPolicyRuleConditionsElCondition; + /** + * Specifies a network selection mode and a set of network zones to be included or excluded. + */ + network?: outputs.app.GetSignOnPolicyRuleConditionsNetwork; + /** + * Specifies the users and groups that are included or excluded by the policy rule + */ + people?: outputs.app.GetSignOnPolicyRuleConditionsPeople; + /** + * Specifies a particular platform or device to match on + */ + platform?: outputs.app.GetSignOnPolicyRuleConditionsPlatform; + /** + * Specifies a particular level of risk to match on + */ + riskScore?: outputs.app.GetSignOnPolicyRuleConditionsRiskScore; + /** + * Specifies which user types to include and/or exclude + */ + userType?: outputs.app.GetSignOnPolicyRuleConditionsUserType; + } + + export interface GetSignOnPolicyRuleConditionsDevice { + /** + * Specifies device assurance policies in the policy rule. + */ + assurance?: outputs.app.GetSignOnPolicyRuleConditionsDeviceAssurance; + /** + * Indicates if the device is managed. + */ + managed: boolean; + /** + * Indicates if the device is registered. + */ + registered: boolean; + } + + export interface GetSignOnPolicyRuleConditionsDeviceAssurance { + /** + * Specifies the device assurance policy ID + */ + includes: string[]; + } + + export interface GetSignOnPolicyRuleConditionsElCondition { + /** + * expression to match + */ + condition: string; + } + + export interface GetSignOnPolicyRuleConditionsNetwork { + /** + * Network selection mode + */ + connection: string; + /** + * The zones to exclude. + */ + excludes: string[]; + /** + * The zones to include. + */ + includes: string[]; + } + + export interface GetSignOnPolicyRuleConditionsPeople { + /** + * Specifies a set of groups whose users are to be included or excluded + */ + groups?: outputs.app.GetSignOnPolicyRuleConditionsPeopleGroups; + /** + * Specifies a set of users to be included or excluded + */ + users?: outputs.app.GetSignOnPolicyRuleConditionsPeopleUsers; + } + + export interface GetSignOnPolicyRuleConditionsPeopleGroups { + /** + * Groups to be excluded + */ + excludes: string[]; + /** + * Groups to be included + */ + includes: string[]; + } + + export interface GetSignOnPolicyRuleConditionsPeopleUsers { + /** + * Users to be excluded + */ + excludes: string[]; + /** + * Users to be included + */ + includes: string[]; + } + + export interface GetSignOnPolicyRuleConditionsPlatform { + /** + * Exclude + */ + excludes?: outputs.app.GetSignOnPolicyRuleConditionsPlatformExclude[]; + /** + * Include + */ + includes?: outputs.app.GetSignOnPolicyRuleConditionsPlatformInclude[]; + } + + export interface GetSignOnPolicyRuleConditionsPlatformExclude { + /** + * Os + */ + os?: outputs.app.GetSignOnPolicyRuleConditionsPlatformExcludeOs; + /** + * The type of platform + */ + type: string; + } + + export interface GetSignOnPolicyRuleConditionsPlatformExcludeOs { + /** + * Expression + */ + expression: string; + /** + * The type of operating system + */ + type: string; + /** + * Version + */ + version?: outputs.app.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion; + } + + export interface GetSignOnPolicyRuleConditionsPlatformExcludeOsVersion { + /** + * MatchType + */ + matchType: string; + /** + * Value + */ + value: string; + } + + export interface GetSignOnPolicyRuleConditionsPlatformInclude { + /** + * Os + */ + os?: outputs.app.GetSignOnPolicyRuleConditionsPlatformIncludeOs; + /** + * The type of platform + */ + type: string; + } + + export interface GetSignOnPolicyRuleConditionsPlatformIncludeOs { + /** + * Expression + */ + expression: string; + /** + * The type of operating system + */ + type: string; + /** + * Version + */ + version?: outputs.app.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion; + } + + export interface GetSignOnPolicyRuleConditionsPlatformIncludeOsVersion { + /** + * MatchType + */ + matchType: string; + /** + * Value + */ + value: string; + } + + export interface GetSignOnPolicyRuleConditionsRiskScore { + /** + * The level to match + */ + level: string; + /** + * The minimum risk level to match. + */ + minRiskLevel: string; + } + + export interface GetSignOnPolicyRuleConditionsUserType { + /** + * The user types to exclude + */ + excludes: string[]; + /** + * The user types to include + */ + includes: string[]; + } + export interface OAuthGroupsClaim { /** * Groups claim filter. Can only be set if type is FILTER. @@ -3175,6 +3873,10 @@ export namespace app { * Inactivity period before re-authentication in ISO 8601 duration format. */ inactivityPeriod?: string; + /** + * Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + */ + keepMeSignedIn?: outputs.app.SignonPolicyRulesRuleKeepMeSignedIn; /** * Policy Rule Name. Must be unique within the policy. */ @@ -3204,7 +3906,7 @@ export namespace app { */ reAuthenticationFrequency: string; /** - * Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + * Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. */ riskScore: string; /** @@ -3237,6 +3939,17 @@ export namespace app { usersIncludeds?: string[]; } + export interface SignonPolicyRulesRuleKeepMeSignedIn { + /** + * Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + */ + postAuth: string; + /** + * How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + */ + postAuthPromptFrequency?: string; + } + export interface SignonPolicyRulesRulePlatformInclude { /** * Custom OS expression for advanced matching. Required by the API when osType is OTHER (leave empty or omit to match any OTHER OS). The API normalizes empty and wildcard values to null on read; the provider preserves "" in state. @@ -3500,10 +4213,12 @@ export namespace user { } export interface GetUsersUser { + activated: string; adminRoles: string[]; city: string; costCenter: string; countryCode: string; + created: string; customProfileAttributes: string; department: string; displayName: string; @@ -3515,7 +4230,9 @@ export namespace user { honorificPrefix: string; honorificSuffix: string; id: string; + lastLogin: string; lastName: string; + lastUpdated: string; locale: string; login: string; manager: string; @@ -3524,6 +4241,7 @@ export namespace user { mobilePhone: string; nickName: string; organization: string; + passwordChanged: string; postalAddress: string; preferredLanguage: string; primaryPhone: string; @@ -3536,6 +4254,7 @@ export namespace user { secondEmail: string; state: string; status: string; + statusChanged: string; streetAddress: string; timezone: string; title: string; diff --git a/sdk/nodejs/user/getUser.ts b/sdk/nodejs/user/getUser.ts index fe447766c..22d3d7c3d 100644 --- a/sdk/nodejs/user/getUser.ts +++ b/sdk/nodejs/user/getUser.ts @@ -56,6 +56,7 @@ export interface GetUserArgs { * A collection of values returned by getUser. */ export interface GetUserResult { + readonly activated: string; readonly adminRoles: string[]; readonly city: string; /** @@ -64,6 +65,7 @@ export interface GetUserResult { readonly compoundSearchOperator?: string; readonly costCenter: string; readonly countryCode: string; + readonly created: string; readonly customProfileAttributes: string; /** * Force delay of the user read by N seconds. Useful when eventual consistency of user information needs to be allowed for. @@ -82,7 +84,9 @@ export interface GetUserResult { * The provider-assigned unique ID for this managed resource. */ readonly id: string; + readonly lastLogin: string; readonly lastName: string; + readonly lastUpdated: string; readonly locale: string; readonly login: string; readonly manager: string; @@ -91,6 +95,7 @@ export interface GetUserResult { readonly mobilePhone: string; readonly nickName: string; readonly organization: string; + readonly passwordChanged: string; readonly postalAddress: string; readonly preferredLanguage: string; readonly primaryPhone: string; @@ -115,6 +120,7 @@ export interface GetUserResult { readonly skipRoles?: boolean; readonly state: string; readonly status: string; + readonly statusChanged: string; readonly streetAddress: string; readonly timezone: string; readonly title: string; diff --git a/sdk/nodejs/user/user.ts b/sdk/nodejs/user/user.ts index 13e052fa8..f0a265e3a 100644 --- a/sdk/nodejs/user/user.ts +++ b/sdk/nodejs/user/user.ts @@ -93,6 +93,10 @@ export class User extends pulumi.CustomResource { return obj['__pulumiType'] === User.__pulumiType; } + /** + * The timestamp when the user status transitioned to ACTIVE + */ + declare public /*out*/ readonly activated: pulumi.Output; /** * User city */ @@ -105,6 +109,10 @@ export class User extends pulumi.CustomResource { * User country code */ declare public readonly countryCode: pulumi.Output; + /** + * The timestamp when the user was created + */ + declare public /*out*/ readonly created: pulumi.Output; /** * JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. */ @@ -149,10 +157,18 @@ export class User extends pulumi.CustomResource { * User honorific suffix */ declare public readonly honorificSuffix: pulumi.Output; + /** + * The timestamp of the user's last login + */ + declare public /*out*/ readonly lastLogin: pulumi.Output; /** * User last name */ declare public readonly lastName: pulumi.Output; + /** + * The timestamp when the user was last updated + */ + declare public /*out*/ readonly lastUpdated: pulumi.Output; /** * User default location */ @@ -193,6 +209,10 @@ export class User extends pulumi.CustomResource { * User Password */ declare public readonly password: pulumi.Output; + /** + * The timestamp when the user's password was last changed + */ + declare public /*out*/ readonly passwordChanged: pulumi.Output; /** * Specifies a hashed password to import into Okta. */ @@ -251,6 +271,10 @@ export class User extends pulumi.CustomResource { * User profile property. Valid values are `ACTIVE`, `DEPROVISIONED`, `STAGED`, `SUSPENDED`. Default: `ACTIVE` */ declare public readonly status: pulumi.Output; + /** + * The timestamp when the user's status last changed + */ + declare public /*out*/ readonly statusChanged: pulumi.Output; /** * User street address */ @@ -289,9 +313,11 @@ export class User extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as UserState | undefined; + resourceInputs["activated"] = state?.activated; resourceInputs["city"] = state?.city; resourceInputs["costCenter"] = state?.costCenter; resourceInputs["countryCode"] = state?.countryCode; + resourceInputs["created"] = state?.created; resourceInputs["customProfileAttributes"] = state?.customProfileAttributes; resourceInputs["customProfileAttributesToIgnores"] = state?.customProfileAttributesToIgnores; resourceInputs["department"] = state?.department; @@ -303,7 +329,9 @@ export class User extends pulumi.CustomResource { resourceInputs["firstName"] = state?.firstName; resourceInputs["honorificPrefix"] = state?.honorificPrefix; resourceInputs["honorificSuffix"] = state?.honorificSuffix; + resourceInputs["lastLogin"] = state?.lastLogin; resourceInputs["lastName"] = state?.lastName; + resourceInputs["lastUpdated"] = state?.lastUpdated; resourceInputs["locale"] = state?.locale; resourceInputs["login"] = state?.login; resourceInputs["manager"] = state?.manager; @@ -314,6 +342,7 @@ export class User extends pulumi.CustomResource { resourceInputs["oldPassword"] = state?.oldPassword; resourceInputs["organization"] = state?.organization; resourceInputs["password"] = state?.password; + resourceInputs["passwordChanged"] = state?.passwordChanged; resourceInputs["passwordHash"] = state?.passwordHash; resourceInputs["passwordInlineHook"] = state?.passwordInlineHook; resourceInputs["postalAddress"] = state?.postalAddress; @@ -328,6 +357,7 @@ export class User extends pulumi.CustomResource { resourceInputs["skipRoles"] = state?.skipRoles; resourceInputs["state"] = state?.state; resourceInputs["status"] = state?.status; + resourceInputs["statusChanged"] = state?.statusChanged; resourceInputs["streetAddress"] = state?.streetAddress; resourceInputs["timezone"] = state?.timezone; resourceInputs["title"] = state?.title; @@ -392,7 +422,13 @@ export class User extends pulumi.CustomResource { resourceInputs["type"] = args?.type; resourceInputs["userType"] = args?.userType; resourceInputs["zipCode"] = args?.zipCode; + resourceInputs["activated"] = undefined /*out*/; + resourceInputs["created"] = undefined /*out*/; + resourceInputs["lastLogin"] = undefined /*out*/; + resourceInputs["lastUpdated"] = undefined /*out*/; + resourceInputs["passwordChanged"] = undefined /*out*/; resourceInputs["rawStatus"] = undefined /*out*/; + resourceInputs["statusChanged"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); const secretOpts = { additionalSecretOutputs: ["oldPassword", "password", "recoveryAnswer"] }; @@ -405,6 +441,10 @@ export class User extends pulumi.CustomResource { * Input properties used for looking up and filtering User resources. */ export interface UserState { + /** + * The timestamp when the user status transitioned to ACTIVE + */ + activated?: pulumi.Input; /** * User city */ @@ -417,6 +457,10 @@ export interface UserState { * User country code */ countryCode?: pulumi.Input; + /** + * The timestamp when the user was created + */ + created?: pulumi.Input; /** * JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. */ @@ -461,10 +505,18 @@ export interface UserState { * User honorific suffix */ honorificSuffix?: pulumi.Input; + /** + * The timestamp of the user's last login + */ + lastLogin?: pulumi.Input; /** * User last name */ lastName?: pulumi.Input; + /** + * The timestamp when the user was last updated + */ + lastUpdated?: pulumi.Input; /** * User default location */ @@ -505,6 +557,10 @@ export interface UserState { * User Password */ password?: pulumi.Input; + /** + * The timestamp when the user's password was last changed + */ + passwordChanged?: pulumi.Input; /** * Specifies a hashed password to import into Okta. */ @@ -563,6 +619,10 @@ export interface UserState { * User profile property. Valid values are `ACTIVE`, `DEPROVISIONED`, `STAGED`, `SUSPENDED`. Default: `ACTIVE` */ status?: pulumi.Input; + /** + * The timestamp when the user's status last changed + */ + statusChanged?: pulumi.Input; /** * User street address */ diff --git a/sdk/python/pulumi_okta/__init__.py b/sdk/python/pulumi_okta/__init__.py index 5ebb9dda4..47e0a140a 100644 --- a/sdk/python/pulumi_okta/__init__.py +++ b/sdk/python/pulumi_okta/__init__.py @@ -23,6 +23,8 @@ from .auth_server_claim_default import * from .auth_server_default import * from .authenticator import * +from .authenticator_method_webauthn import * +from .authenticator_webauthn_custom_aaguid import * from .behaviour import * from .brand import * from .campaign import * @@ -59,6 +61,9 @@ from .get_auth_server_claim import * from .get_auth_server_claims import * from .get_authenticator import * +from .get_authenticator_method_webauthn import * +from .get_authenticator_webauthn_custom_aaguids import * +from .get_authorization_servers_policies_rule import * from .get_behaviour import * from .get_behaviours import * from .get_brand import * @@ -80,6 +85,11 @@ from .get_features import * from .get_groups import * from .get_hook_key import * +from .get_iam_assignees_user import * +from .get_identity_source_group_memberships import * +from .get_identity_source_groups import * +from .get_identity_source_sessions import * +from .get_identity_source_users import * from .get_log_stream import * from .get_network_zone import * from .get_oauth_authorization_server import * @@ -113,6 +123,10 @@ from .group_memberships import * from .group_schema_property import * from .hook_key import * +from .identity_source_group import * +from .identity_source_group_membership import * +from .identity_source_import import * +from .identity_source_user import * from .link_definition import * from .link_value import * from .log_stream import * @@ -609,6 +623,22 @@ "okta:index/authenticator:Authenticator": "Authenticator" } }, + { + "pkg": "okta", + "mod": "index/authenticatorMethodWebauthn", + "fqn": "pulumi_okta", + "classes": { + "okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn": "AuthenticatorMethodWebauthn" + } + }, + { + "pkg": "okta", + "mod": "index/authenticatorWebauthnCustomAaguid", + "fqn": "pulumi_okta", + "classes": { + "okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid": "AuthenticatorWebauthnCustomAaguid" + } + }, { "pkg": "okta", "mod": "index/behaviour", @@ -833,6 +863,38 @@ "okta:index/hookKey:HookKey": "HookKey" } }, + { + "pkg": "okta", + "mod": "index/identitySourceGroup", + "fqn": "pulumi_okta", + "classes": { + "okta:index/identitySourceGroup:IdentitySourceGroup": "IdentitySourceGroup" + } + }, + { + "pkg": "okta", + "mod": "index/identitySourceGroupMembership", + "fqn": "pulumi_okta", + "classes": { + "okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership": "IdentitySourceGroupMembership" + } + }, + { + "pkg": "okta", + "mod": "index/identitySourceImport", + "fqn": "pulumi_okta", + "classes": { + "okta:index/identitySourceImport:IdentitySourceImport": "IdentitySourceImport" + } + }, + { + "pkg": "okta", + "mod": "index/identitySourceUser", + "fqn": "pulumi_okta", + "classes": { + "okta:index/identitySourceUser:IdentitySourceUser": "IdentitySourceUser" + } + }, { "pkg": "okta", "mod": "index/linkDefinition", diff --git a/sdk/python/pulumi_okta/_inputs.py b/sdk/python/pulumi_okta/_inputs.py index b8c8672d9..48da10956 100644 --- a/sdk/python/pulumi_okta/_inputs.py +++ b/sdk/python/pulumi_okta/_inputs.py @@ -25,12 +25,24 @@ 'ApiTokenNetworkArgsDict', 'AppGroupAssignmentsGroupArgs', 'AppGroupAssignmentsGroupArgsDict', + 'AppSignonPolicyRuleKeepMeSignedInArgs', + 'AppSignonPolicyRuleKeepMeSignedInArgsDict', 'AppSignonPolicyRulePlatformIncludeArgs', 'AppSignonPolicyRulePlatformIncludeArgsDict', 'AppUserSchemaPropertyArrayOneOfArgs', 'AppUserSchemaPropertyArrayOneOfArgsDict', 'AppUserSchemaPropertyOneOfArgs', 'AppUserSchemaPropertyOneOfArgsDict', + 'AuthenticatorMethodWebauthnAaguidGroupArgs', + 'AuthenticatorMethodWebauthnAaguidGroupArgsDict', + 'AuthenticatorMethodWebauthnRpIdArgs', + 'AuthenticatorMethodWebauthnRpIdArgsDict', + 'AuthenticatorMethodWebauthnRpIdDomainArgs', + 'AuthenticatorMethodWebauthnRpIdDomainArgsDict', + 'AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs', + 'AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgsDict', + 'AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs', + 'AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgsDict', 'CampaignNotificationSettingsArgs', 'CampaignNotificationSettingsArgsDict', 'CampaignPrincipalScopeSettingsArgs', @@ -97,6 +109,36 @@ 'GroupSchemaPropertyMasterOverridePriorityArgsDict', 'GroupSchemaPropertyOneOfArgs', 'GroupSchemaPropertyOneOfArgsDict', + 'IdentitySourceGroupProfileArgs', + 'IdentitySourceGroupProfileArgsDict', + 'IdentitySourceImportDeleteGroupMembershipsArgs', + 'IdentitySourceImportDeleteGroupMembershipsArgsDict', + 'IdentitySourceImportDeleteGroupMembershipsMembershipArgs', + 'IdentitySourceImportDeleteGroupMembershipsMembershipArgsDict', + 'IdentitySourceImportDeleteGroupsArgs', + 'IdentitySourceImportDeleteGroupsArgsDict', + 'IdentitySourceImportDeleteUsersArgs', + 'IdentitySourceImportDeleteUsersArgsDict', + 'IdentitySourceImportDeleteUsersProfileArgs', + 'IdentitySourceImportDeleteUsersProfileArgsDict', + 'IdentitySourceImportUpsertGroupMembershipsArgs', + 'IdentitySourceImportUpsertGroupMembershipsArgsDict', + 'IdentitySourceImportUpsertGroupMembershipsMembershipArgs', + 'IdentitySourceImportUpsertGroupMembershipsMembershipArgsDict', + 'IdentitySourceImportUpsertGroupsArgs', + 'IdentitySourceImportUpsertGroupsArgsDict', + 'IdentitySourceImportUpsertGroupsProfileArgs', + 'IdentitySourceImportUpsertGroupsProfileArgsDict', + 'IdentitySourceImportUpsertGroupsProfileGroupProfileArgs', + 'IdentitySourceImportUpsertGroupsProfileGroupProfileArgsDict', + 'IdentitySourceImportUpsertUsersArgs', + 'IdentitySourceImportUpsertUsersArgsDict', + 'IdentitySourceImportUpsertUsersProfileArgs', + 'IdentitySourceImportUpsertUsersProfileArgsDict', + 'IdentitySourceImportUpsertUsersProfileProfileArgs', + 'IdentitySourceImportUpsertUsersProfileProfileArgsDict', + 'IdentitySourceUserProfileArgs', + 'IdentitySourceUserProfileArgsDict', 'LogStreamSettingsArgs', 'LogStreamSettingsArgsDict', 'PolicyRuleProfileEnrollmentProfileAttributeArgs', @@ -169,6 +211,34 @@ 'GetApiServiceIntegrationGrantedScopeArgsDict', 'GetApiTokenNetworkArgs', 'GetApiTokenNetworkArgsDict', + 'GetAuthenticatorMethodWebauthnAaguidGroupArgs', + 'GetAuthenticatorMethodWebauthnAaguidGroupArgsDict', + 'GetAuthenticatorMethodWebauthnRpIdArgs', + 'GetAuthenticatorMethodWebauthnRpIdArgsDict', + 'GetAuthenticatorMethodWebauthnRpIdDomainArgs', + 'GetAuthenticatorMethodWebauthnRpIdDomainArgsDict', + 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs', + 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgsDict', + 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs', + 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgsDict', + 'GetAuthorizationServersPoliciesRuleActionsArgs', + 'GetAuthorizationServersPoliciesRuleActionsArgsDict', + 'GetAuthorizationServersPoliciesRuleActionsTokenArgs', + 'GetAuthorizationServersPoliciesRuleActionsTokenArgsDict', + 'GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs', + 'GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgsDict', + 'GetAuthorizationServersPoliciesRuleConditionsArgs', + 'GetAuthorizationServersPoliciesRuleConditionsArgsDict', + 'GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs', + 'GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgsDict', + 'GetAuthorizationServersPoliciesRuleConditionsPeopleArgs', + 'GetAuthorizationServersPoliciesRuleConditionsPeopleArgsDict', + 'GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs', + 'GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgsDict', + 'GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs', + 'GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgsDict', + 'GetAuthorizationServersPoliciesRuleConditionsScopesArgs', + 'GetAuthorizationServersPoliciesRuleConditionsScopesArgsDict', 'GetCampaignNotificationSettingsArgs', 'GetCampaignNotificationSettingsArgsDict', 'GetCampaignPrincipalScopeSettingsArgs', @@ -253,6 +323,10 @@ 'GetEntitlementParentArgsDict', 'GetEntitlementValueArgs', 'GetEntitlementValueArgsDict', + 'GetIamAssigneesUserItemArgs', + 'GetIamAssigneesUserItemArgsDict', + 'GetIdentitySourceGroupsProfileArgs', + 'GetIdentitySourceGroupsProfileArgsDict', 'GetLogStreamSettingsArgs', 'GetLogStreamSettingsArgsDict', 'GetOrgMetadataDomainsArgs', @@ -663,6 +737,55 @@ def priority(self, value: pulumi.Input[Optional[_builtins.int]]): pulumi.set(self, "priority", value) +class AppSignonPolicyRuleKeepMeSignedInArgsDict(TypedDict): + post_auth: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + """ + post_auth_prompt_frequency: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + +@pulumi.input_type +class AppSignonPolicyRuleKeepMeSignedInArgs: + def __init__(__self__, *, + post_auth: pulumi.Input[Optional[_builtins.str]] = None, + post_auth_prompt_frequency: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] post_auth: Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + :param pulumi.Input[_builtins.str] post_auth_prompt_frequency: How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + if post_auth is not None: + pulumi.set(__self__, "post_auth", post_auth) + if post_auth_prompt_frequency is not None: + pulumi.set(__self__, "post_auth_prompt_frequency", post_auth_prompt_frequency) + + @_builtins.property + @pulumi.getter(name="postAuth") + def post_auth(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + """ + return pulumi.get(self, "post_auth") + + @post_auth.setter + def post_auth(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "post_auth", value) + + @_builtins.property + @pulumi.getter(name="postAuthPromptFrequency") + def post_auth_prompt_frequency(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + return pulumi.get(self, "post_auth_prompt_frequency") + + @post_auth_prompt_frequency.setter + def post_auth_prompt_frequency(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "post_auth_prompt_frequency", value) + + class AppSignonPolicyRulePlatformIncludeArgsDict(TypedDict): os_expression: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ @@ -812,6 +935,308 @@ def title(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "title", value) +class AuthenticatorMethodWebauthnAaguidGroupArgsDict(TypedDict): + aaguids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] + """ + A list of FIDO2 AAGUIDs in this group. + """ + name: pulumi.Input[_builtins.str] + """ + A name to identify the group of FIDO2 AAGUIDs. + """ + +@pulumi.input_type +class AuthenticatorMethodWebauthnAaguidGroupArgs: + def __init__(__self__, *, + aaguids: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]], + name: pulumi.Input[_builtins.str]): + """ + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] aaguids: A list of FIDO2 AAGUIDs in this group. + :param pulumi.Input[_builtins.str] name: A name to identify the group of FIDO2 AAGUIDs. + """ + pulumi.set(__self__, "aaguids", aaguids) + pulumi.set(__self__, "name", name) + + @_builtins.property + @pulumi.getter + def aaguids(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]: + """ + A list of FIDO2 AAGUIDs in this group. + """ + return pulumi.get(self, "aaguids") + + @aaguids.setter + def aaguids(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]): + pulumi.set(self, "aaguids", value) + + @_builtins.property + @pulumi.getter + def name(self) -> pulumi.Input[_builtins.str]: + """ + A name to identify the group of FIDO2 AAGUIDs. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "name", value) + + +class AuthenticatorMethodWebauthnRpIdArgsDict(TypedDict): + domain: NotRequired[pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdDomainArgsDict']]] + """ + The RP domain configuration. Contains: + """ + enabled: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + """ + Whether the RP ID is active and used for WebAuthn operations. + """ + +@pulumi.input_type +class AuthenticatorMethodWebauthnRpIdArgs: + def __init__(__self__, *, + domain: pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdDomainArgs']] = None, + enabled: pulumi.Input[Optional[_builtins.bool]] = None): + """ + :param pulumi.Input['AuthenticatorMethodWebauthnRpIdDomainArgs'] domain: The RP domain configuration. Contains: + :param pulumi.Input[_builtins.bool] enabled: Whether the RP ID is active and used for WebAuthn operations. + """ + if domain is not None: + pulumi.set(__self__, "domain", domain) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @_builtins.property + @pulumi.getter + def domain(self) -> pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdDomainArgs']]: + """ + The RP domain configuration. Contains: + """ + return pulumi.get(self, "domain") + + @domain.setter + def domain(self, value: pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdDomainArgs']]): + pulumi.set(self, "domain", value) + + @_builtins.property + @pulumi.getter + def enabled(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether the RP ID is active and used for WebAuthn operations. + """ + return pulumi.get(self, "enabled") + + @enabled.setter + def enabled(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "enabled", value) + + +class AuthenticatorMethodWebauthnRpIdDomainArgsDict(TypedDict): + name: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The RP ID domain value used for WebAuthn operations. + """ + validation_status: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The validation status of the domain. + """ + +@pulumi.input_type +class AuthenticatorMethodWebauthnRpIdDomainArgs: + def __init__(__self__, *, + name: pulumi.Input[Optional[_builtins.str]] = None, + validation_status: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] name: The RP ID domain value used for WebAuthn operations. + :param pulumi.Input[_builtins.str] validation_status: The validation status of the domain. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if validation_status is not None: + pulumi.set(__self__, "validation_status", validation_status) + + @_builtins.property + @pulumi.getter + def name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The RP ID domain value used for WebAuthn operations. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "name", value) + + @_builtins.property + @pulumi.getter(name="validationStatus") + def validation_status(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The validation status of the domain. + """ + return pulumi.get(self, "validation_status") + + @validation_status.setter + def validation_status(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "validation_status", value) + + +class AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgsDict(TypedDict): + x5c: pulumi.Input[_builtins.str] + """ + X.509 certificate chain (base64-encoded). + """ + expiry: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Expiry date of the certificate. + """ + issuer: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Issuer of the certificate. + """ + x5t_s256: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + SHA-256 hash (thumbprint) of the X.509 certificate. + """ + +@pulumi.input_type +class AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs: + def __init__(__self__, *, + x5c: pulumi.Input[_builtins.str], + expiry: pulumi.Input[Optional[_builtins.str]] = None, + issuer: pulumi.Input[Optional[_builtins.str]] = None, + x5t_s256: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] x5c: X.509 certificate chain (base64-encoded). + :param pulumi.Input[_builtins.str] expiry: Expiry date of the certificate. + :param pulumi.Input[_builtins.str] issuer: Issuer of the certificate. + :param pulumi.Input[_builtins.str] x5t_s256: SHA-256 hash (thumbprint) of the X.509 certificate. + """ + pulumi.set(__self__, "x5c", x5c) + if expiry is not None: + pulumi.set(__self__, "expiry", expiry) + if issuer is not None: + pulumi.set(__self__, "issuer", issuer) + if x5t_s256 is not None: + pulumi.set(__self__, "x5t_s256", x5t_s256) + + @_builtins.property + @pulumi.getter + def x5c(self) -> pulumi.Input[_builtins.str]: + """ + X.509 certificate chain (base64-encoded). + """ + return pulumi.get(self, "x5c") + + @x5c.setter + def x5c(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "x5c", value) + + @_builtins.property + @pulumi.getter + def expiry(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Expiry date of the certificate. + """ + return pulumi.get(self, "expiry") + + @expiry.setter + def expiry(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "expiry", value) + + @_builtins.property + @pulumi.getter + def issuer(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Issuer of the certificate. + """ + return pulumi.get(self, "issuer") + + @issuer.setter + def issuer(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "issuer", value) + + @_builtins.property + @pulumi.getter(name="x5tS256") + def x5t_s256(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + SHA-256 hash (thumbprint) of the X.509 certificate. + """ + return pulumi.get(self, "x5t_s256") + + @x5t_s256.setter + def x5t_s256(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "x5t_s256", value) + + +class AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgsDict(TypedDict): + fips_compliant: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + """ + Indicates whether the authenticator meets FIPS compliance requirements. + """ + hardware_protected: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + """ + Indicates whether the authenticator stores the private key on a hardware component. + """ + platform_attached: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + """ + Indicates whether the custom AAGUID is built into the authenticator or is external. + """ + +@pulumi.input_type +class AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs: + def __init__(__self__, *, + fips_compliant: pulumi.Input[Optional[_builtins.bool]] = None, + hardware_protected: pulumi.Input[Optional[_builtins.bool]] = None, + platform_attached: pulumi.Input[Optional[_builtins.bool]] = None): + """ + :param pulumi.Input[_builtins.bool] fips_compliant: Indicates whether the authenticator meets FIPS compliance requirements. + :param pulumi.Input[_builtins.bool] hardware_protected: Indicates whether the authenticator stores the private key on a hardware component. + :param pulumi.Input[_builtins.bool] platform_attached: Indicates whether the custom AAGUID is built into the authenticator or is external. + """ + if fips_compliant is not None: + pulumi.set(__self__, "fips_compliant", fips_compliant) + if hardware_protected is not None: + pulumi.set(__self__, "hardware_protected", hardware_protected) + if platform_attached is not None: + pulumi.set(__self__, "platform_attached", platform_attached) + + @_builtins.property + @pulumi.getter(name="fipsCompliant") + def fips_compliant(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Indicates whether the authenticator meets FIPS compliance requirements. + """ + return pulumi.get(self, "fips_compliant") + + @fips_compliant.setter + def fips_compliant(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "fips_compliant", value) + + @_builtins.property + @pulumi.getter(name="hardwareProtected") + def hardware_protected(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Indicates whether the authenticator stores the private key on a hardware component. + """ + return pulumi.get(self, "hardware_protected") + + @hardware_protected.setter + def hardware_protected(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "hardware_protected", value) + + @_builtins.property + @pulumi.getter(name="platformAttached") + def platform_attached(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Indicates whether the custom AAGUID is built into the authenticator or is external. + """ + return pulumi.get(self, "platform_attached") + + @platform_attached.setter + def platform_attached(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "platform_attached", value) + + class CampaignNotificationSettingsArgsDict(TypedDict): notify_review_period_end: pulumi.Input[_builtins.bool] """ @@ -3449,736 +3874,1583 @@ def title(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "title", value) -class LogStreamSettingsArgsDict(TypedDict): - account_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - AWS account ID. Required only for 'aws_eventbridge' type - """ - edition: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type - """ - event_source_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type - """ - host: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type - """ - region: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class IdentitySourceGroupProfileArgsDict(TypedDict): + description: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - The destination AWS region where event source is located. Required only for 'aws_eventbridge' type + Description of the group. """ - token: NotRequired[pulumi.Input[Optional[_builtins.str]]] + display_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type + Name of the group. """ @pulumi.input_type -class LogStreamSettingsArgs: +class IdentitySourceGroupProfileArgs: def __init__(__self__, *, - account_id: pulumi.Input[Optional[_builtins.str]] = None, - edition: pulumi.Input[Optional[_builtins.str]] = None, - event_source_name: pulumi.Input[Optional[_builtins.str]] = None, - host: pulumi.Input[Optional[_builtins.str]] = None, - region: pulumi.Input[Optional[_builtins.str]] = None, - token: pulumi.Input[Optional[_builtins.str]] = None): + description: pulumi.Input[Optional[_builtins.str]] = None, + display_name: pulumi.Input[Optional[_builtins.str]] = None): """ - :param pulumi.Input[_builtins.str] account_id: AWS account ID. Required only for 'aws_eventbridge' type - :param pulumi.Input[_builtins.str] edition: Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type - :param pulumi.Input[_builtins.str] event_source_name: An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type - :param pulumi.Input[_builtins.str] host: The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type - :param pulumi.Input[_builtins.str] region: The destination AWS region where event source is located. Required only for 'aws_eventbridge' type - :param pulumi.Input[_builtins.str] token: The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type + :param pulumi.Input[_builtins.str] description: Description of the group. + :param pulumi.Input[_builtins.str] display_name: Name of the group. """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if edition is not None: - pulumi.set(__self__, "edition", edition) - if event_source_name is not None: - pulumi.set(__self__, "event_source_name", event_source_name) - if host is not None: - pulumi.set(__self__, "host", host) - if region is not None: - pulumi.set(__self__, "region", region) - if token is not None: - pulumi.set(__self__, "token", token) + if description is not None: + pulumi.set(__self__, "description", description) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) @_builtins.property - @pulumi.getter(name="accountId") - def account_id(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def description(self) -> pulumi.Input[Optional[_builtins.str]]: """ - AWS account ID. Required only for 'aws_eventbridge' type + Description of the group. """ - return pulumi.get(self, "account_id") + return pulumi.get(self, "description") - @account_id.setter - def account_id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "account_id", value) + @description.setter + def description(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "description", value) @_builtins.property - @pulumi.getter - def edition(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type + Name of the group. """ - return pulumi.get(self, "edition") + return pulumi.get(self, "display_name") - @edition.setter - def edition(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "edition", value) + @display_name.setter + def display_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "display_name", value) - @_builtins.property - @pulumi.getter(name="eventSourceName") - def event_source_name(self) -> pulumi.Input[Optional[_builtins.str]]: + +class IdentitySourceImportDeleteGroupMembershipsArgsDict(TypedDict): + memberships: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportDeleteGroupMembershipsMembershipArgsDict']]]]] + """ + Group memberships to delete. (see below) + """ + +@pulumi.input_type +class IdentitySourceImportDeleteGroupMembershipsArgs: + def __init__(__self__, *, + memberships: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportDeleteGroupMembershipsMembershipArgs']]]] = None): """ - An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type + :param pulumi.Input[Sequence[pulumi.Input['IdentitySourceImportDeleteGroupMembershipsMembershipArgs']]] memberships: Group memberships to delete. (see below) """ - return pulumi.get(self, "event_source_name") - - @event_source_name.setter - def event_source_name(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "event_source_name", value) + if memberships is not None: + pulumi.set(__self__, "memberships", memberships) @_builtins.property @pulumi.getter - def host(self) -> pulumi.Input[Optional[_builtins.str]]: + def memberships(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportDeleteGroupMembershipsMembershipArgs']]]]: """ - The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type + Group memberships to delete. (see below) """ - return pulumi.get(self, "host") + return pulumi.get(self, "memberships") - @host.setter - def host(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "host", value) + @memberships.setter + def memberships(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportDeleteGroupMembershipsMembershipArgs']]]]): + pulumi.set(self, "memberships", value) + + +class IdentitySourceImportDeleteGroupMembershipsMembershipArgsDict(TypedDict): + group_external_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + External ID of the group. + """ + member_external_ids: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]] + """ + External IDs of the group members to remove. + """ + +@pulumi.input_type +class IdentitySourceImportDeleteGroupMembershipsMembershipArgs: + def __init__(__self__, *, + group_external_id: pulumi.Input[Optional[_builtins.str]] = None, + member_external_ids: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[_builtins.str] group_external_id: External ID of the group. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] member_external_ids: External IDs of the group members to remove. + """ + if group_external_id is not None: + pulumi.set(__self__, "group_external_id", group_external_id) + if member_external_ids is not None: + pulumi.set(__self__, "member_external_ids", member_external_ids) @_builtins.property - @pulumi.getter - def region(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="groupExternalId") + def group_external_id(self) -> pulumi.Input[Optional[_builtins.str]]: """ - The destination AWS region where event source is located. Required only for 'aws_eventbridge' type + External ID of the group. """ - return pulumi.get(self, "region") + return pulumi.get(self, "group_external_id") - @region.setter - def region(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "region", value) + @group_external_id.setter + def group_external_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "group_external_id", value) @_builtins.property - @pulumi.getter - def token(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="memberExternalIds") + def member_external_ids(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: """ - The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type + External IDs of the group members to remove. """ - return pulumi.get(self, "token") + return pulumi.get(self, "member_external_ids") - @token.setter - def token(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "token", value) + @member_external_ids.setter + def member_external_ids(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "member_external_ids", value) -class PolicyRuleProfileEnrollmentProfileAttributeArgsDict(TypedDict): - label: pulumi.Input[_builtins.str] +class IdentitySourceImportDeleteGroupsArgsDict(TypedDict): + external_ids: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]] """ - A display-friendly label for this property + External IDs of the groups to delete. """ - name: pulumi.Input[_builtins.str] + +@pulumi.input_type +class IdentitySourceImportDeleteGroupsArgs: + def __init__(__self__, *, + external_ids: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] external_ids: External IDs of the groups to delete. + """ + if external_ids is not None: + pulumi.set(__self__, "external_ids", external_ids) + + @_builtins.property + @pulumi.getter(name="externalIds") + def external_ids(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: + """ + External IDs of the groups to delete. + """ + return pulumi.get(self, "external_ids") + + @external_ids.setter + def external_ids(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "external_ids", value) + + +class IdentitySourceImportDeleteUsersArgsDict(TypedDict): + entity_type: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - The name of a User Profile property + Entity type. Currently only `USERS` is supported. """ - required: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + profiles: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportDeleteUsersProfileArgsDict']]]]] """ - Indicates if this property is required for enrollment + User profiles to delete (by external ID). (see below) """ @pulumi.input_type -class PolicyRuleProfileEnrollmentProfileAttributeArgs: +class IdentitySourceImportDeleteUsersArgs: def __init__(__self__, *, - label: pulumi.Input[_builtins.str], - name: pulumi.Input[_builtins.str], - required: pulumi.Input[Optional[_builtins.bool]] = None): + entity_type: pulumi.Input[Optional[_builtins.str]] = None, + profiles: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportDeleteUsersProfileArgs']]]] = None): """ - :param pulumi.Input[_builtins.str] label: A display-friendly label for this property - :param pulumi.Input[_builtins.str] name: The name of a User Profile property - :param pulumi.Input[_builtins.bool] required: Indicates if this property is required for enrollment + :param pulumi.Input[_builtins.str] entity_type: Entity type. Currently only `USERS` is supported. + :param pulumi.Input[Sequence[pulumi.Input['IdentitySourceImportDeleteUsersProfileArgs']]] profiles: User profiles to delete (by external ID). (see below) """ - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "name", name) - if required is not None: - pulumi.set(__self__, "required", required) + if entity_type is not None: + pulumi.set(__self__, "entity_type", entity_type) + if profiles is not None: + pulumi.set(__self__, "profiles", profiles) @_builtins.property - @pulumi.getter - def label(self) -> pulumi.Input[_builtins.str]: + @pulumi.getter(name="entityType") + def entity_type(self) -> pulumi.Input[Optional[_builtins.str]]: """ - A display-friendly label for this property + Entity type. Currently only `USERS` is supported. """ - return pulumi.get(self, "label") + return pulumi.get(self, "entity_type") - @label.setter - def label(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "label", value) + @entity_type.setter + def entity_type(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "entity_type", value) @_builtins.property @pulumi.getter - def name(self) -> pulumi.Input[_builtins.str]: + def profiles(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportDeleteUsersProfileArgs']]]]: """ - The name of a User Profile property + User profiles to delete (by external ID). (see below) """ - return pulumi.get(self, "name") + return pulumi.get(self, "profiles") - @name.setter - def name(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "name", value) + @profiles.setter + def profiles(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportDeleteUsersProfileArgs']]]]): + pulumi.set(self, "profiles", value) + + +class IdentitySourceImportDeleteUsersProfileArgsDict(TypedDict): + external_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + External ID of the user to delete. + """ + +@pulumi.input_type +class IdentitySourceImportDeleteUsersProfileArgs: + def __init__(__self__, *, + external_id: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] external_id: External ID of the user to delete. + """ + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) @_builtins.property - @pulumi.getter - def required(self) -> pulumi.Input[Optional[_builtins.bool]]: + @pulumi.getter(name="externalId") + def external_id(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Indicates if this property is required for enrollment + External ID of the user to delete. """ - return pulumi.get(self, "required") + return pulumi.get(self, "external_id") - @required.setter - def required(self, value: pulumi.Input[Optional[_builtins.bool]]): - pulumi.set(self, "required", value) + @external_id.setter + def external_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "external_id", value) -class PreviewSigninPageContentSecurityPolicySettingArgsDict(TypedDict): - mode: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class IdentitySourceImportUpsertGroupMembershipsArgsDict(TypedDict): + memberships: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupMembershipsMembershipArgsDict']]]]] """ - enforced or report_only + Group memberships to upsert. (see below) """ - report_uri: NotRequired[pulumi.Input[Optional[_builtins.str]]] - src_lists: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]] @pulumi.input_type -class PreviewSigninPageContentSecurityPolicySettingArgs: +class IdentitySourceImportUpsertGroupMembershipsArgs: def __init__(__self__, *, - mode: pulumi.Input[Optional[_builtins.str]] = None, - report_uri: pulumi.Input[Optional[_builtins.str]] = None, - src_lists: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None): + memberships: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupMembershipsMembershipArgs']]]] = None): """ - :param pulumi.Input[_builtins.str] mode: enforced or report_only + :param pulumi.Input[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupMembershipsMembershipArgs']]] memberships: Group memberships to upsert. (see below) """ - if mode is not None: - pulumi.set(__self__, "mode", mode) - if report_uri is not None: - pulumi.set(__self__, "report_uri", report_uri) - if src_lists is not None: - pulumi.set(__self__, "src_lists", src_lists) + if memberships is not None: + pulumi.set(__self__, "memberships", memberships) @_builtins.property @pulumi.getter - def mode(self) -> pulumi.Input[Optional[_builtins.str]]: + def memberships(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupMembershipsMembershipArgs']]]]: """ - enforced or report_only + Group memberships to upsert. (see below) """ - return pulumi.get(self, "mode") + return pulumi.get(self, "memberships") - @mode.setter - def mode(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "mode", value) + @memberships.setter + def memberships(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupMembershipsMembershipArgs']]]]): + pulumi.set(self, "memberships", value) + + +class IdentitySourceImportUpsertGroupMembershipsMembershipArgsDict(TypedDict): + group_external_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + External ID of the group. + """ + member_external_ids: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]] + """ + External IDs of the group members to add. + """ + +@pulumi.input_type +class IdentitySourceImportUpsertGroupMembershipsMembershipArgs: + def __init__(__self__, *, + group_external_id: pulumi.Input[Optional[_builtins.str]] = None, + member_external_ids: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[_builtins.str] group_external_id: External ID of the group. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] member_external_ids: External IDs of the group members to add. + """ + if group_external_id is not None: + pulumi.set(__self__, "group_external_id", group_external_id) + if member_external_ids is not None: + pulumi.set(__self__, "member_external_ids", member_external_ids) @_builtins.property - @pulumi.getter(name="reportUri") - def report_uri(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "report_uri") + @pulumi.getter(name="groupExternalId") + def group_external_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + External ID of the group. + """ + return pulumi.get(self, "group_external_id") - @report_uri.setter - def report_uri(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "report_uri", value) + @group_external_id.setter + def group_external_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "group_external_id", value) @_builtins.property - @pulumi.getter(name="srcLists") - def src_lists(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: - return pulumi.get(self, "src_lists") + @pulumi.getter(name="memberExternalIds") + def member_external_ids(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: + """ + External IDs of the group members to add. + """ + return pulumi.get(self, "member_external_ids") - @src_lists.setter - def src_lists(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): - pulumi.set(self, "src_lists", value) + @member_external_ids.setter + def member_external_ids(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "member_external_ids", value) -class PreviewSigninPageWidgetCustomizationsArgsDict(TypedDict): - widget_generation: pulumi.Input[_builtins.str] - authenticator_page_custom_link_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - authenticator_page_custom_link_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] - classic_recovery_flow_email_or_username_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - custom_link1_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - custom_link1_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] - custom_link2_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - custom_link2_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] - forgot_password_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - forgot_password_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] - help_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - help_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] - password_info_tip: NotRequired[pulumi.Input[Optional[_builtins.str]]] - password_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - show_password_visibility_toggle: NotRequired[pulumi.Input[Optional[_builtins.bool]]] - show_user_identifier: NotRequired[pulumi.Input[Optional[_builtins.bool]]] - sign_in_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - unlock_account_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - unlock_account_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] - username_info_tip: NotRequired[pulumi.Input[Optional[_builtins.str]]] - username_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class IdentitySourceImportUpsertGroupsArgsDict(TypedDict): + profiles: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupsProfileArgsDict']]]]] + """ + Group profiles to upsert. (see below) + """ @pulumi.input_type -class PreviewSigninPageWidgetCustomizationsArgs: +class IdentitySourceImportUpsertGroupsArgs: def __init__(__self__, *, - widget_generation: pulumi.Input[_builtins.str], - authenticator_page_custom_link_label: pulumi.Input[Optional[_builtins.str]] = None, - authenticator_page_custom_link_url: pulumi.Input[Optional[_builtins.str]] = None, - classic_recovery_flow_email_or_username_label: pulumi.Input[Optional[_builtins.str]] = None, - custom_link1_label: pulumi.Input[Optional[_builtins.str]] = None, - custom_link1_url: pulumi.Input[Optional[_builtins.str]] = None, - custom_link2_label: pulumi.Input[Optional[_builtins.str]] = None, - custom_link2_url: pulumi.Input[Optional[_builtins.str]] = None, - forgot_password_label: pulumi.Input[Optional[_builtins.str]] = None, - forgot_password_url: pulumi.Input[Optional[_builtins.str]] = None, - help_label: pulumi.Input[Optional[_builtins.str]] = None, - help_url: pulumi.Input[Optional[_builtins.str]] = None, - password_info_tip: pulumi.Input[Optional[_builtins.str]] = None, - password_label: pulumi.Input[Optional[_builtins.str]] = None, - show_password_visibility_toggle: pulumi.Input[Optional[_builtins.bool]] = None, - show_user_identifier: pulumi.Input[Optional[_builtins.bool]] = None, - sign_in_label: pulumi.Input[Optional[_builtins.str]] = None, - unlock_account_label: pulumi.Input[Optional[_builtins.str]] = None, - unlock_account_url: pulumi.Input[Optional[_builtins.str]] = None, - username_info_tip: pulumi.Input[Optional[_builtins.str]] = None, - username_label: pulumi.Input[Optional[_builtins.str]] = None): - pulumi.set(__self__, "widget_generation", widget_generation) - if authenticator_page_custom_link_label is not None: - pulumi.set(__self__, "authenticator_page_custom_link_label", authenticator_page_custom_link_label) - if authenticator_page_custom_link_url is not None: - pulumi.set(__self__, "authenticator_page_custom_link_url", authenticator_page_custom_link_url) - if classic_recovery_flow_email_or_username_label is not None: - pulumi.set(__self__, "classic_recovery_flow_email_or_username_label", classic_recovery_flow_email_or_username_label) - if custom_link1_label is not None: - pulumi.set(__self__, "custom_link1_label", custom_link1_label) - if custom_link1_url is not None: - pulumi.set(__self__, "custom_link1_url", custom_link1_url) - if custom_link2_label is not None: - pulumi.set(__self__, "custom_link2_label", custom_link2_label) - if custom_link2_url is not None: - pulumi.set(__self__, "custom_link2_url", custom_link2_url) - if forgot_password_label is not None: - pulumi.set(__self__, "forgot_password_label", forgot_password_label) - if forgot_password_url is not None: - pulumi.set(__self__, "forgot_password_url", forgot_password_url) - if help_label is not None: - pulumi.set(__self__, "help_label", help_label) - if help_url is not None: - pulumi.set(__self__, "help_url", help_url) - if password_info_tip is not None: - pulumi.set(__self__, "password_info_tip", password_info_tip) - if password_label is not None: - pulumi.set(__self__, "password_label", password_label) - if show_password_visibility_toggle is not None: - pulumi.set(__self__, "show_password_visibility_toggle", show_password_visibility_toggle) - if show_user_identifier is not None: - pulumi.set(__self__, "show_user_identifier", show_user_identifier) - if sign_in_label is not None: - pulumi.set(__self__, "sign_in_label", sign_in_label) - if unlock_account_label is not None: - pulumi.set(__self__, "unlock_account_label", unlock_account_label) - if unlock_account_url is not None: - pulumi.set(__self__, "unlock_account_url", unlock_account_url) - if username_info_tip is not None: - pulumi.set(__self__, "username_info_tip", username_info_tip) - if username_label is not None: - pulumi.set(__self__, "username_label", username_label) + profiles: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupsProfileArgs']]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupsProfileArgs']]] profiles: Group profiles to upsert. (see below) + """ + if profiles is not None: + pulumi.set(__self__, "profiles", profiles) @_builtins.property - @pulumi.getter(name="widgetGeneration") - def widget_generation(self) -> pulumi.Input[_builtins.str]: - return pulumi.get(self, "widget_generation") + @pulumi.getter + def profiles(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupsProfileArgs']]]]: + """ + Group profiles to upsert. (see below) + """ + return pulumi.get(self, "profiles") - @widget_generation.setter - def widget_generation(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "widget_generation", value) + @profiles.setter + def profiles(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertGroupsProfileArgs']]]]): + pulumi.set(self, "profiles", value) - @_builtins.property - @pulumi.getter(name="authenticatorPageCustomLinkLabel") - def authenticator_page_custom_link_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "authenticator_page_custom_link_label") - @authenticator_page_custom_link_label.setter - def authenticator_page_custom_link_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "authenticator_page_custom_link_label", value) +class IdentitySourceImportUpsertGroupsProfileArgsDict(TypedDict): + external_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + External ID of the group. + """ + group_profile: NotRequired[pulumi.Input[Optional['IdentitySourceImportUpsertGroupsProfileGroupProfileArgsDict']]] + """ + Group profile attributes. (see below) + """ + +@pulumi.input_type +class IdentitySourceImportUpsertGroupsProfileArgs: + def __init__(__self__, *, + external_id: pulumi.Input[Optional[_builtins.str]] = None, + group_profile: pulumi.Input[Optional['IdentitySourceImportUpsertGroupsProfileGroupProfileArgs']] = None): + """ + :param pulumi.Input[_builtins.str] external_id: External ID of the group. + :param pulumi.Input['IdentitySourceImportUpsertGroupsProfileGroupProfileArgs'] group_profile: Group profile attributes. (see below) + """ + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if group_profile is not None: + pulumi.set(__self__, "group_profile", group_profile) @_builtins.property - @pulumi.getter(name="authenticatorPageCustomLinkUrl") - def authenticator_page_custom_link_url(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "authenticator_page_custom_link_url") + @pulumi.getter(name="externalId") + def external_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + External ID of the group. + """ + return pulumi.get(self, "external_id") - @authenticator_page_custom_link_url.setter - def authenticator_page_custom_link_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "authenticator_page_custom_link_url", value) + @external_id.setter + def external_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "external_id", value) @_builtins.property - @pulumi.getter(name="classicRecoveryFlowEmailOrUsernameLabel") - def classic_recovery_flow_email_or_username_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "classic_recovery_flow_email_or_username_label") + @pulumi.getter(name="groupProfile") + def group_profile(self) -> pulumi.Input[Optional['IdentitySourceImportUpsertGroupsProfileGroupProfileArgs']]: + """ + Group profile attributes. (see below) + """ + return pulumi.get(self, "group_profile") - @classic_recovery_flow_email_or_username_label.setter - def classic_recovery_flow_email_or_username_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "classic_recovery_flow_email_or_username_label", value) + @group_profile.setter + def group_profile(self, value: pulumi.Input[Optional['IdentitySourceImportUpsertGroupsProfileGroupProfileArgs']]): + pulumi.set(self, "group_profile", value) - @_builtins.property - @pulumi.getter(name="customLink1Label") - def custom_link1_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "custom_link1_label") - @custom_link1_label.setter - def custom_link1_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "custom_link1_label", value) +class IdentitySourceImportUpsertGroupsProfileGroupProfileArgsDict(TypedDict): + description: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Description of the group. + """ + display_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Display name of the group. + """ + +@pulumi.input_type +class IdentitySourceImportUpsertGroupsProfileGroupProfileArgs: + def __init__(__self__, *, + description: pulumi.Input[Optional[_builtins.str]] = None, + display_name: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] description: Description of the group. + :param pulumi.Input[_builtins.str] display_name: Display name of the group. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) @_builtins.property - @pulumi.getter(name="customLink1Url") - def custom_link1_url(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "custom_link1_url") + @pulumi.getter + def description(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Description of the group. + """ + return pulumi.get(self, "description") - @custom_link1_url.setter - def custom_link1_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "custom_link1_url", value) + @description.setter + def description(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "description", value) @_builtins.property - @pulumi.getter(name="customLink2Label") - def custom_link2_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "custom_link2_label") + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Display name of the group. + """ + return pulumi.get(self, "display_name") - @custom_link2_label.setter - def custom_link2_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "custom_link2_label", value) + @display_name.setter + def display_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "display_name", value) - @_builtins.property - @pulumi.getter(name="customLink2Url") - def custom_link2_url(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "custom_link2_url") - @custom_link2_url.setter - def custom_link2_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "custom_link2_url", value) +class IdentitySourceImportUpsertUsersArgsDict(TypedDict): + entity_type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Entity type. Currently only `USERS` is supported. + """ + profiles: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertUsersProfileArgsDict']]]]] + """ + User profiles to upsert. (see below) + """ + +@pulumi.input_type +class IdentitySourceImportUpsertUsersArgs: + def __init__(__self__, *, + entity_type: pulumi.Input[Optional[_builtins.str]] = None, + profiles: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertUsersProfileArgs']]]] = None): + """ + :param pulumi.Input[_builtins.str] entity_type: Entity type. Currently only `USERS` is supported. + :param pulumi.Input[Sequence[pulumi.Input['IdentitySourceImportUpsertUsersProfileArgs']]] profiles: User profiles to upsert. (see below) + """ + if entity_type is not None: + pulumi.set(__self__, "entity_type", entity_type) + if profiles is not None: + pulumi.set(__self__, "profiles", profiles) @_builtins.property - @pulumi.getter(name="forgotPasswordLabel") - def forgot_password_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "forgot_password_label") + @pulumi.getter(name="entityType") + def entity_type(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Entity type. Currently only `USERS` is supported. + """ + return pulumi.get(self, "entity_type") - @forgot_password_label.setter - def forgot_password_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "forgot_password_label", value) + @entity_type.setter + def entity_type(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "entity_type", value) @_builtins.property - @pulumi.getter(name="forgotPasswordUrl") - def forgot_password_url(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "forgot_password_url") + @pulumi.getter + def profiles(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertUsersProfileArgs']]]]: + """ + User profiles to upsert. (see below) + """ + return pulumi.get(self, "profiles") - @forgot_password_url.setter - def forgot_password_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "forgot_password_url", value) + @profiles.setter + def profiles(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['IdentitySourceImportUpsertUsersProfileArgs']]]]): + pulumi.set(self, "profiles", value) - @_builtins.property - @pulumi.getter(name="helpLabel") - def help_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "help_label") - @help_label.setter - def help_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "help_label", value) +class IdentitySourceImportUpsertUsersProfileArgsDict(TypedDict): + external_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + External ID of the user. + """ + profile: NotRequired[pulumi.Input[Optional['IdentitySourceImportUpsertUsersProfileProfileArgsDict']]] + """ + User profile attributes. (see below) + """ + +@pulumi.input_type +class IdentitySourceImportUpsertUsersProfileArgs: + def __init__(__self__, *, + external_id: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional['IdentitySourceImportUpsertUsersProfileProfileArgs']] = None): + """ + :param pulumi.Input[_builtins.str] external_id: External ID of the user. + :param pulumi.Input['IdentitySourceImportUpsertUsersProfileProfileArgs'] profile: User profile attributes. (see below) + """ + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if profile is not None: + pulumi.set(__self__, "profile", profile) @_builtins.property - @pulumi.getter(name="helpUrl") - def help_url(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "help_url") + @pulumi.getter(name="externalId") + def external_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + External ID of the user. + """ + return pulumi.get(self, "external_id") - @help_url.setter - def help_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "help_url", value) + @external_id.setter + def external_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "external_id", value) @_builtins.property - @pulumi.getter(name="passwordInfoTip") - def password_info_tip(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "password_info_tip") + @pulumi.getter + def profile(self) -> pulumi.Input[Optional['IdentitySourceImportUpsertUsersProfileProfileArgs']]: + """ + User profile attributes. (see below) + """ + return pulumi.get(self, "profile") - @password_info_tip.setter - def password_info_tip(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "password_info_tip", value) + @profile.setter + def profile(self, value: pulumi.Input[Optional['IdentitySourceImportUpsertUsersProfileProfileArgs']]): + pulumi.set(self, "profile", value) - @_builtins.property - @pulumi.getter(name="passwordLabel") - def password_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "password_label") - @password_label.setter - def password_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "password_label", value) +class IdentitySourceImportUpsertUsersProfileProfileArgsDict(TypedDict): + email: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Email address of the user. + """ + first_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + First name of the user. + """ + home_address: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Home address of the user. + """ + last_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Last name of the user. + """ + mobile_phone: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Mobile phone number of the user. + """ + second_email: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Alternative email address of the user. + """ + user_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Username of the user. + """ + +@pulumi.input_type +class IdentitySourceImportUpsertUsersProfileProfileArgs: + def __init__(__self__, *, + email: pulumi.Input[Optional[_builtins.str]] = None, + first_name: pulumi.Input[Optional[_builtins.str]] = None, + home_address: pulumi.Input[Optional[_builtins.str]] = None, + last_name: pulumi.Input[Optional[_builtins.str]] = None, + mobile_phone: pulumi.Input[Optional[_builtins.str]] = None, + second_email: pulumi.Input[Optional[_builtins.str]] = None, + user_name: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] email: Email address of the user. + :param pulumi.Input[_builtins.str] first_name: First name of the user. + :param pulumi.Input[_builtins.str] home_address: Home address of the user. + :param pulumi.Input[_builtins.str] last_name: Last name of the user. + :param pulumi.Input[_builtins.str] mobile_phone: Mobile phone number of the user. + :param pulumi.Input[_builtins.str] second_email: Alternative email address of the user. + :param pulumi.Input[_builtins.str] user_name: Username of the user. + """ + if email is not None: + pulumi.set(__self__, "email", email) + if first_name is not None: + pulumi.set(__self__, "first_name", first_name) + if home_address is not None: + pulumi.set(__self__, "home_address", home_address) + if last_name is not None: + pulumi.set(__self__, "last_name", last_name) + if mobile_phone is not None: + pulumi.set(__self__, "mobile_phone", mobile_phone) + if second_email is not None: + pulumi.set(__self__, "second_email", second_email) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @_builtins.property - @pulumi.getter(name="showPasswordVisibilityToggle") - def show_password_visibility_toggle(self) -> pulumi.Input[Optional[_builtins.bool]]: - return pulumi.get(self, "show_password_visibility_toggle") + @pulumi.getter + def email(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Email address of the user. + """ + return pulumi.get(self, "email") - @show_password_visibility_toggle.setter - def show_password_visibility_toggle(self, value: pulumi.Input[Optional[_builtins.bool]]): - pulumi.set(self, "show_password_visibility_toggle", value) + @email.setter + def email(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "email", value) @_builtins.property - @pulumi.getter(name="showUserIdentifier") - def show_user_identifier(self) -> pulumi.Input[Optional[_builtins.bool]]: - return pulumi.get(self, "show_user_identifier") + @pulumi.getter(name="firstName") + def first_name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + First name of the user. + """ + return pulumi.get(self, "first_name") - @show_user_identifier.setter - def show_user_identifier(self, value: pulumi.Input[Optional[_builtins.bool]]): - pulumi.set(self, "show_user_identifier", value) + @first_name.setter + def first_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "first_name", value) @_builtins.property - @pulumi.getter(name="signInLabel") - def sign_in_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "sign_in_label") + @pulumi.getter(name="homeAddress") + def home_address(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Home address of the user. + """ + return pulumi.get(self, "home_address") - @sign_in_label.setter - def sign_in_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "sign_in_label", value) + @home_address.setter + def home_address(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "home_address", value) @_builtins.property - @pulumi.getter(name="unlockAccountLabel") - def unlock_account_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "unlock_account_label") + @pulumi.getter(name="lastName") + def last_name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Last name of the user. + """ + return pulumi.get(self, "last_name") - @unlock_account_label.setter - def unlock_account_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "unlock_account_label", value) + @last_name.setter + def last_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "last_name", value) @_builtins.property - @pulumi.getter(name="unlockAccountUrl") - def unlock_account_url(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "unlock_account_url") + @pulumi.getter(name="mobilePhone") + def mobile_phone(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Mobile phone number of the user. + """ + return pulumi.get(self, "mobile_phone") - @unlock_account_url.setter - def unlock_account_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "unlock_account_url", value) + @mobile_phone.setter + def mobile_phone(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "mobile_phone", value) @_builtins.property - @pulumi.getter(name="usernameInfoTip") - def username_info_tip(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "username_info_tip") + @pulumi.getter(name="secondEmail") + def second_email(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Alternative email address of the user. + """ + return pulumi.get(self, "second_email") - @username_info_tip.setter - def username_info_tip(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "username_info_tip", value) + @second_email.setter + def second_email(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "second_email", value) @_builtins.property - @pulumi.getter(name="usernameLabel") - def username_label(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "username_label") - - @username_label.setter - def username_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "username_label", value) + @pulumi.getter(name="userName") + def user_name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Username of the user. + """ + return pulumi.get(self, "user_name") + @user_name.setter + def user_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "user_name", value) -class PushGroupAppConfigArgsDict(TypedDict): - distinguished_name: pulumi.Input[_builtins.str] - group_scope: pulumi.Input[_builtins.str] - group_type: pulumi.Input[_builtins.str] - sam_account_name: pulumi.Input[_builtins.str] -@pulumi.input_type -class PushGroupAppConfigArgs: - def __init__(__self__, *, - distinguished_name: pulumi.Input[_builtins.str], - group_scope: pulumi.Input[_builtins.str], - group_type: pulumi.Input[_builtins.str], - sam_account_name: pulumi.Input[_builtins.str]): - pulumi.set(__self__, "distinguished_name", distinguished_name) - pulumi.set(__self__, "group_scope", group_scope) - pulumi.set(__self__, "group_type", group_type) - pulumi.set(__self__, "sam_account_name", sam_account_name) +class IdentitySourceUserProfileArgsDict(TypedDict): + email: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Email address of the user. + """ + first_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + First name of the user. + """ + home_address: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Home address of the user. + """ + last_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Last name of the user. + """ + mobile_phone: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Mobile phone number of the user. + """ + second_email: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Alternative email address of the user. + """ + user_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Username of the user. + """ + +@pulumi.input_type +class IdentitySourceUserProfileArgs: + def __init__(__self__, *, + email: pulumi.Input[Optional[_builtins.str]] = None, + first_name: pulumi.Input[Optional[_builtins.str]] = None, + home_address: pulumi.Input[Optional[_builtins.str]] = None, + last_name: pulumi.Input[Optional[_builtins.str]] = None, + mobile_phone: pulumi.Input[Optional[_builtins.str]] = None, + second_email: pulumi.Input[Optional[_builtins.str]] = None, + user_name: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] email: Email address of the user. + :param pulumi.Input[_builtins.str] first_name: First name of the user. + :param pulumi.Input[_builtins.str] home_address: Home address of the user. + :param pulumi.Input[_builtins.str] last_name: Last name of the user. + :param pulumi.Input[_builtins.str] mobile_phone: Mobile phone number of the user. + :param pulumi.Input[_builtins.str] second_email: Alternative email address of the user. + :param pulumi.Input[_builtins.str] user_name: Username of the user. + """ + if email is not None: + pulumi.set(__self__, "email", email) + if first_name is not None: + pulumi.set(__self__, "first_name", first_name) + if home_address is not None: + pulumi.set(__self__, "home_address", home_address) + if last_name is not None: + pulumi.set(__self__, "last_name", last_name) + if mobile_phone is not None: + pulumi.set(__self__, "mobile_phone", mobile_phone) + if second_email is not None: + pulumi.set(__self__, "second_email", second_email) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @_builtins.property - @pulumi.getter(name="distinguishedName") - def distinguished_name(self) -> pulumi.Input[_builtins.str]: - return pulumi.get(self, "distinguished_name") + @pulumi.getter + def email(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Email address of the user. + """ + return pulumi.get(self, "email") - @distinguished_name.setter - def distinguished_name(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "distinguished_name", value) + @email.setter + def email(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "email", value) @_builtins.property - @pulumi.getter(name="groupScope") - def group_scope(self) -> pulumi.Input[_builtins.str]: - return pulumi.get(self, "group_scope") + @pulumi.getter(name="firstName") + def first_name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + First name of the user. + """ + return pulumi.get(self, "first_name") - @group_scope.setter - def group_scope(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "group_scope", value) + @first_name.setter + def first_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "first_name", value) @_builtins.property - @pulumi.getter(name="groupType") - def group_type(self) -> pulumi.Input[_builtins.str]: - return pulumi.get(self, "group_type") + @pulumi.getter(name="homeAddress") + def home_address(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Home address of the user. + """ + return pulumi.get(self, "home_address") - @group_type.setter - def group_type(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "group_type", value) + @home_address.setter + def home_address(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "home_address", value) @_builtins.property - @pulumi.getter(name="samAccountName") - def sam_account_name(self) -> pulumi.Input[_builtins.str]: - return pulumi.get(self, "sam_account_name") - - @sam_account_name.setter - def sam_account_name(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "sam_account_name", value) + @pulumi.getter(name="lastName") + def last_name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Last name of the user. + """ + return pulumi.get(self, "last_name") + @last_name.setter + def last_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "last_name", value) -class PushProviderConfigurationArgsDict(TypedDict): - apns_configuration: NotRequired[pulumi.Input[Optional['PushProviderConfigurationApnsConfigurationArgsDict']]] - fcm_configuration: NotRequired[pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationArgsDict']]] + @_builtins.property + @pulumi.getter(name="mobilePhone") + def mobile_phone(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Mobile phone number of the user. + """ + return pulumi.get(self, "mobile_phone") -@pulumi.input_type -class PushProviderConfigurationArgs: - def __init__(__self__, *, - apns_configuration: pulumi.Input[Optional['PushProviderConfigurationApnsConfigurationArgs']] = None, - fcm_configuration: pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationArgs']] = None): - if apns_configuration is not None: - pulumi.set(__self__, "apns_configuration", apns_configuration) - if fcm_configuration is not None: - pulumi.set(__self__, "fcm_configuration", fcm_configuration) + @mobile_phone.setter + def mobile_phone(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "mobile_phone", value) @_builtins.property - @pulumi.getter(name="apnsConfiguration") - def apns_configuration(self) -> pulumi.Input[Optional['PushProviderConfigurationApnsConfigurationArgs']]: - return pulumi.get(self, "apns_configuration") + @pulumi.getter(name="secondEmail") + def second_email(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Alternative email address of the user. + """ + return pulumi.get(self, "second_email") - @apns_configuration.setter - def apns_configuration(self, value: pulumi.Input[Optional['PushProviderConfigurationApnsConfigurationArgs']]): - pulumi.set(self, "apns_configuration", value) + @second_email.setter + def second_email(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "second_email", value) @_builtins.property - @pulumi.getter(name="fcmConfiguration") - def fcm_configuration(self) -> pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationArgs']]: - return pulumi.get(self, "fcm_configuration") + @pulumi.getter(name="userName") + def user_name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Username of the user. + """ + return pulumi.get(self, "user_name") - @fcm_configuration.setter - def fcm_configuration(self, value: pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationArgs']]): - pulumi.set(self, "fcm_configuration", value) + @user_name.setter + def user_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "user_name", value) -class PushProviderConfigurationApnsConfigurationArgsDict(TypedDict): - file_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class LogStreamSettingsArgsDict(TypedDict): + account_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - File name for Admin Console display. + AWS account ID. Required only for 'aws_eventbridge' type """ - key_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + edition: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type """ - team_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + event_source_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - 10-character Team ID used to develop the iOS app. Required for APNS provider type. + An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type """ - token_signing_key: NotRequired[pulumi.Input[Optional[_builtins.str]]] + host: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - APNs private authentication token signing key. Required for APNS provider type. + The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type + """ + region: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The destination AWS region where event source is located. Required only for 'aws_eventbridge' type + """ + token: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type """ @pulumi.input_type -class PushProviderConfigurationApnsConfigurationArgs: +class LogStreamSettingsArgs: def __init__(__self__, *, - file_name: pulumi.Input[Optional[_builtins.str]] = None, - key_id: pulumi.Input[Optional[_builtins.str]] = None, - team_id: pulumi.Input[Optional[_builtins.str]] = None, - token_signing_key: pulumi.Input[Optional[_builtins.str]] = None): + account_id: pulumi.Input[Optional[_builtins.str]] = None, + edition: pulumi.Input[Optional[_builtins.str]] = None, + event_source_name: pulumi.Input[Optional[_builtins.str]] = None, + host: pulumi.Input[Optional[_builtins.str]] = None, + region: pulumi.Input[Optional[_builtins.str]] = None, + token: pulumi.Input[Optional[_builtins.str]] = None): """ - :param pulumi.Input[_builtins.str] file_name: File name for Admin Console display. - :param pulumi.Input[_builtins.str] key_id: 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. - :param pulumi.Input[_builtins.str] team_id: 10-character Team ID used to develop the iOS app. Required for APNS provider type. - :param pulumi.Input[_builtins.str] token_signing_key: APNs private authentication token signing key. Required for APNS provider type. + :param pulumi.Input[_builtins.str] account_id: AWS account ID. Required only for 'aws_eventbridge' type + :param pulumi.Input[_builtins.str] edition: Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type + :param pulumi.Input[_builtins.str] event_source_name: An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type + :param pulumi.Input[_builtins.str] host: The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type + :param pulumi.Input[_builtins.str] region: The destination AWS region where event source is located. Required only for 'aws_eventbridge' type + :param pulumi.Input[_builtins.str] token: The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type """ - if file_name is not None: - pulumi.set(__self__, "file_name", file_name) - if key_id is not None: - pulumi.set(__self__, "key_id", key_id) - if team_id is not None: - pulumi.set(__self__, "team_id", team_id) - if token_signing_key is not None: - pulumi.set(__self__, "token_signing_key", token_signing_key) + if account_id is not None: + pulumi.set(__self__, "account_id", account_id) + if edition is not None: + pulumi.set(__self__, "edition", edition) + if event_source_name is not None: + pulumi.set(__self__, "event_source_name", event_source_name) + if host is not None: + pulumi.set(__self__, "host", host) + if region is not None: + pulumi.set(__self__, "region", region) + if token is not None: + pulumi.set(__self__, "token", token) @_builtins.property - @pulumi.getter(name="fileName") - def file_name(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="accountId") + def account_id(self) -> pulumi.Input[Optional[_builtins.str]]: """ - File name for Admin Console display. + AWS account ID. Required only for 'aws_eventbridge' type """ - return pulumi.get(self, "file_name") + return pulumi.get(self, "account_id") - @file_name.setter - def file_name(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "file_name", value) + @account_id.setter + def account_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "account_id", value) @_builtins.property - @pulumi.getter(name="keyId") - def key_id(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def edition(self) -> pulumi.Input[Optional[_builtins.str]]: """ - 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type """ - return pulumi.get(self, "key_id") + return pulumi.get(self, "edition") - @key_id.setter - def key_id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "key_id", value) + @edition.setter + def edition(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "edition", value) @_builtins.property - @pulumi.getter(name="teamId") - def team_id(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="eventSourceName") + def event_source_name(self) -> pulumi.Input[Optional[_builtins.str]]: """ - 10-character Team ID used to develop the iOS app. Required for APNS provider type. + An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type """ - return pulumi.get(self, "team_id") + return pulumi.get(self, "event_source_name") - @team_id.setter - def team_id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "team_id", value) + @event_source_name.setter + def event_source_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "event_source_name", value) @_builtins.property - @pulumi.getter(name="tokenSigningKey") - def token_signing_key(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def host(self) -> pulumi.Input[Optional[_builtins.str]]: """ - APNs private authentication token signing key. Required for APNS provider type. + The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type """ - return pulumi.get(self, "token_signing_key") - - @token_signing_key.setter - def token_signing_key(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "token_signing_key", value) - + return pulumi.get(self, "host") -class PushProviderConfigurationFcmConfigurationArgsDict(TypedDict): - service_account_json: NotRequired[pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationServiceAccountJsonArgsDict']]] - """ - JSON containing the private service account key and service account details. Required for FCM provider type. - """ + @host.setter + def host(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "host", value) -@pulumi.input_type -class PushProviderConfigurationFcmConfigurationArgs: - def __init__(__self__, *, - service_account_json: pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs']] = None): + @_builtins.property + @pulumi.getter + def region(self) -> pulumi.Input[Optional[_builtins.str]]: """ - :param pulumi.Input['PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs'] service_account_json: JSON containing the private service account key and service account details. Required for FCM provider type. + The destination AWS region where event source is located. Required only for 'aws_eventbridge' type """ - if service_account_json is not None: - pulumi.set(__self__, "service_account_json", service_account_json) + return pulumi.get(self, "region") + + @region.setter + def region(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "region", value) @_builtins.property - @pulumi.getter(name="serviceAccountJson") - def service_account_json(self) -> pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs']]: + @pulumi.getter + def token(self) -> pulumi.Input[Optional[_builtins.str]]: """ - JSON containing the private service account key and service account details. Required for FCM provider type. + The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type """ - return pulumi.get(self, "service_account_json") + return pulumi.get(self, "token") + + @token.setter + def token(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "token", value) + + +class PolicyRuleProfileEnrollmentProfileAttributeArgsDict(TypedDict): + label: pulumi.Input[_builtins.str] + """ + A display-friendly label for this property + """ + name: pulumi.Input[_builtins.str] + """ + The name of a User Profile property + """ + required: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + """ + Indicates if this property is required for enrollment + """ + +@pulumi.input_type +class PolicyRuleProfileEnrollmentProfileAttributeArgs: + def __init__(__self__, *, + label: pulumi.Input[_builtins.str], + name: pulumi.Input[_builtins.str], + required: pulumi.Input[Optional[_builtins.bool]] = None): + """ + :param pulumi.Input[_builtins.str] label: A display-friendly label for this property + :param pulumi.Input[_builtins.str] name: The name of a User Profile property + :param pulumi.Input[_builtins.bool] required: Indicates if this property is required for enrollment + """ + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "name", name) + if required is not None: + pulumi.set(__self__, "required", required) + + @_builtins.property + @pulumi.getter + def label(self) -> pulumi.Input[_builtins.str]: + """ + A display-friendly label for this property + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "label", value) + + @_builtins.property + @pulumi.getter + def name(self) -> pulumi.Input[_builtins.str]: + """ + The name of a User Profile property + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "name", value) + + @_builtins.property + @pulumi.getter + def required(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Indicates if this property is required for enrollment + """ + return pulumi.get(self, "required") + + @required.setter + def required(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "required", value) + + +class PreviewSigninPageContentSecurityPolicySettingArgsDict(TypedDict): + mode: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + enforced or report_only + """ + report_uri: NotRequired[pulumi.Input[Optional[_builtins.str]]] + src_lists: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]] + +@pulumi.input_type +class PreviewSigninPageContentSecurityPolicySettingArgs: + def __init__(__self__, *, + mode: pulumi.Input[Optional[_builtins.str]] = None, + report_uri: pulumi.Input[Optional[_builtins.str]] = None, + src_lists: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None): + """ + :param pulumi.Input[_builtins.str] mode: enforced or report_only + """ + if mode is not None: + pulumi.set(__self__, "mode", mode) + if report_uri is not None: + pulumi.set(__self__, "report_uri", report_uri) + if src_lists is not None: + pulumi.set(__self__, "src_lists", src_lists) + + @_builtins.property + @pulumi.getter + def mode(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + enforced or report_only + """ + return pulumi.get(self, "mode") + + @mode.setter + def mode(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "mode", value) + + @_builtins.property + @pulumi.getter(name="reportUri") + def report_uri(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "report_uri") + + @report_uri.setter + def report_uri(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "report_uri", value) + + @_builtins.property + @pulumi.getter(name="srcLists") + def src_lists(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: + return pulumi.get(self, "src_lists") + + @src_lists.setter + def src_lists(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "src_lists", value) + + +class PreviewSigninPageWidgetCustomizationsArgsDict(TypedDict): + widget_generation: pulumi.Input[_builtins.str] + authenticator_page_custom_link_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + authenticator_page_custom_link_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] + classic_recovery_flow_email_or_username_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + custom_link1_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + custom_link1_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] + custom_link2_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + custom_link2_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] + forgot_password_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + forgot_password_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] + help_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + help_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] + password_info_tip: NotRequired[pulumi.Input[Optional[_builtins.str]]] + password_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + show_password_visibility_toggle: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + show_user_identifier: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + sign_in_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + unlock_account_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + unlock_account_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] + username_info_tip: NotRequired[pulumi.Input[Optional[_builtins.str]]] + username_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + +@pulumi.input_type +class PreviewSigninPageWidgetCustomizationsArgs: + def __init__(__self__, *, + widget_generation: pulumi.Input[_builtins.str], + authenticator_page_custom_link_label: pulumi.Input[Optional[_builtins.str]] = None, + authenticator_page_custom_link_url: pulumi.Input[Optional[_builtins.str]] = None, + classic_recovery_flow_email_or_username_label: pulumi.Input[Optional[_builtins.str]] = None, + custom_link1_label: pulumi.Input[Optional[_builtins.str]] = None, + custom_link1_url: pulumi.Input[Optional[_builtins.str]] = None, + custom_link2_label: pulumi.Input[Optional[_builtins.str]] = None, + custom_link2_url: pulumi.Input[Optional[_builtins.str]] = None, + forgot_password_label: pulumi.Input[Optional[_builtins.str]] = None, + forgot_password_url: pulumi.Input[Optional[_builtins.str]] = None, + help_label: pulumi.Input[Optional[_builtins.str]] = None, + help_url: pulumi.Input[Optional[_builtins.str]] = None, + password_info_tip: pulumi.Input[Optional[_builtins.str]] = None, + password_label: pulumi.Input[Optional[_builtins.str]] = None, + show_password_visibility_toggle: pulumi.Input[Optional[_builtins.bool]] = None, + show_user_identifier: pulumi.Input[Optional[_builtins.bool]] = None, + sign_in_label: pulumi.Input[Optional[_builtins.str]] = None, + unlock_account_label: pulumi.Input[Optional[_builtins.str]] = None, + unlock_account_url: pulumi.Input[Optional[_builtins.str]] = None, + username_info_tip: pulumi.Input[Optional[_builtins.str]] = None, + username_label: pulumi.Input[Optional[_builtins.str]] = None): + pulumi.set(__self__, "widget_generation", widget_generation) + if authenticator_page_custom_link_label is not None: + pulumi.set(__self__, "authenticator_page_custom_link_label", authenticator_page_custom_link_label) + if authenticator_page_custom_link_url is not None: + pulumi.set(__self__, "authenticator_page_custom_link_url", authenticator_page_custom_link_url) + if classic_recovery_flow_email_or_username_label is not None: + pulumi.set(__self__, "classic_recovery_flow_email_or_username_label", classic_recovery_flow_email_or_username_label) + if custom_link1_label is not None: + pulumi.set(__self__, "custom_link1_label", custom_link1_label) + if custom_link1_url is not None: + pulumi.set(__self__, "custom_link1_url", custom_link1_url) + if custom_link2_label is not None: + pulumi.set(__self__, "custom_link2_label", custom_link2_label) + if custom_link2_url is not None: + pulumi.set(__self__, "custom_link2_url", custom_link2_url) + if forgot_password_label is not None: + pulumi.set(__self__, "forgot_password_label", forgot_password_label) + if forgot_password_url is not None: + pulumi.set(__self__, "forgot_password_url", forgot_password_url) + if help_label is not None: + pulumi.set(__self__, "help_label", help_label) + if help_url is not None: + pulumi.set(__self__, "help_url", help_url) + if password_info_tip is not None: + pulumi.set(__self__, "password_info_tip", password_info_tip) + if password_label is not None: + pulumi.set(__self__, "password_label", password_label) + if show_password_visibility_toggle is not None: + pulumi.set(__self__, "show_password_visibility_toggle", show_password_visibility_toggle) + if show_user_identifier is not None: + pulumi.set(__self__, "show_user_identifier", show_user_identifier) + if sign_in_label is not None: + pulumi.set(__self__, "sign_in_label", sign_in_label) + if unlock_account_label is not None: + pulumi.set(__self__, "unlock_account_label", unlock_account_label) + if unlock_account_url is not None: + pulumi.set(__self__, "unlock_account_url", unlock_account_url) + if username_info_tip is not None: + pulumi.set(__self__, "username_info_tip", username_info_tip) + if username_label is not None: + pulumi.set(__self__, "username_label", username_label) + + @_builtins.property + @pulumi.getter(name="widgetGeneration") + def widget_generation(self) -> pulumi.Input[_builtins.str]: + return pulumi.get(self, "widget_generation") + + @widget_generation.setter + def widget_generation(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "widget_generation", value) + + @_builtins.property + @pulumi.getter(name="authenticatorPageCustomLinkLabel") + def authenticator_page_custom_link_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "authenticator_page_custom_link_label") + + @authenticator_page_custom_link_label.setter + def authenticator_page_custom_link_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "authenticator_page_custom_link_label", value) + + @_builtins.property + @pulumi.getter(name="authenticatorPageCustomLinkUrl") + def authenticator_page_custom_link_url(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "authenticator_page_custom_link_url") + + @authenticator_page_custom_link_url.setter + def authenticator_page_custom_link_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "authenticator_page_custom_link_url", value) + + @_builtins.property + @pulumi.getter(name="classicRecoveryFlowEmailOrUsernameLabel") + def classic_recovery_flow_email_or_username_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "classic_recovery_flow_email_or_username_label") + + @classic_recovery_flow_email_or_username_label.setter + def classic_recovery_flow_email_or_username_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "classic_recovery_flow_email_or_username_label", value) + + @_builtins.property + @pulumi.getter(name="customLink1Label") + def custom_link1_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "custom_link1_label") + + @custom_link1_label.setter + def custom_link1_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "custom_link1_label", value) + + @_builtins.property + @pulumi.getter(name="customLink1Url") + def custom_link1_url(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "custom_link1_url") + + @custom_link1_url.setter + def custom_link1_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "custom_link1_url", value) + + @_builtins.property + @pulumi.getter(name="customLink2Label") + def custom_link2_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "custom_link2_label") + + @custom_link2_label.setter + def custom_link2_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "custom_link2_label", value) + + @_builtins.property + @pulumi.getter(name="customLink2Url") + def custom_link2_url(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "custom_link2_url") + + @custom_link2_url.setter + def custom_link2_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "custom_link2_url", value) + + @_builtins.property + @pulumi.getter(name="forgotPasswordLabel") + def forgot_password_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "forgot_password_label") + + @forgot_password_label.setter + def forgot_password_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "forgot_password_label", value) + + @_builtins.property + @pulumi.getter(name="forgotPasswordUrl") + def forgot_password_url(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "forgot_password_url") + + @forgot_password_url.setter + def forgot_password_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "forgot_password_url", value) + + @_builtins.property + @pulumi.getter(name="helpLabel") + def help_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "help_label") + + @help_label.setter + def help_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "help_label", value) + + @_builtins.property + @pulumi.getter(name="helpUrl") + def help_url(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "help_url") + + @help_url.setter + def help_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "help_url", value) + + @_builtins.property + @pulumi.getter(name="passwordInfoTip") + def password_info_tip(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "password_info_tip") + + @password_info_tip.setter + def password_info_tip(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "password_info_tip", value) + + @_builtins.property + @pulumi.getter(name="passwordLabel") + def password_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "password_label") + + @password_label.setter + def password_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "password_label", value) + + @_builtins.property + @pulumi.getter(name="showPasswordVisibilityToggle") + def show_password_visibility_toggle(self) -> pulumi.Input[Optional[_builtins.bool]]: + return pulumi.get(self, "show_password_visibility_toggle") + + @show_password_visibility_toggle.setter + def show_password_visibility_toggle(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "show_password_visibility_toggle", value) + + @_builtins.property + @pulumi.getter(name="showUserIdentifier") + def show_user_identifier(self) -> pulumi.Input[Optional[_builtins.bool]]: + return pulumi.get(self, "show_user_identifier") + + @show_user_identifier.setter + def show_user_identifier(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "show_user_identifier", value) + + @_builtins.property + @pulumi.getter(name="signInLabel") + def sign_in_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "sign_in_label") + + @sign_in_label.setter + def sign_in_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "sign_in_label", value) + + @_builtins.property + @pulumi.getter(name="unlockAccountLabel") + def unlock_account_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "unlock_account_label") + + @unlock_account_label.setter + def unlock_account_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "unlock_account_label", value) + + @_builtins.property + @pulumi.getter(name="unlockAccountUrl") + def unlock_account_url(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "unlock_account_url") + + @unlock_account_url.setter + def unlock_account_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "unlock_account_url", value) + + @_builtins.property + @pulumi.getter(name="usernameInfoTip") + def username_info_tip(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "username_info_tip") + + @username_info_tip.setter + def username_info_tip(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "username_info_tip", value) + + @_builtins.property + @pulumi.getter(name="usernameLabel") + def username_label(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "username_label") + + @username_label.setter + def username_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "username_label", value) + + +class PushGroupAppConfigArgsDict(TypedDict): + distinguished_name: pulumi.Input[_builtins.str] + group_scope: pulumi.Input[_builtins.str] + group_type: pulumi.Input[_builtins.str] + sam_account_name: pulumi.Input[_builtins.str] + type: pulumi.Input[_builtins.str] + +@pulumi.input_type +class PushGroupAppConfigArgs: + def __init__(__self__, *, + distinguished_name: pulumi.Input[_builtins.str], + group_scope: pulumi.Input[_builtins.str], + group_type: pulumi.Input[_builtins.str], + sam_account_name: pulumi.Input[_builtins.str], + type: pulumi.Input[_builtins.str]): + pulumi.set(__self__, "distinguished_name", distinguished_name) + pulumi.set(__self__, "group_scope", group_scope) + pulumi.set(__self__, "group_type", group_type) + pulumi.set(__self__, "sam_account_name", sam_account_name) + pulumi.set(__self__, "type", type) + + @_builtins.property + @pulumi.getter(name="distinguishedName") + def distinguished_name(self) -> pulumi.Input[_builtins.str]: + return pulumi.get(self, "distinguished_name") + + @distinguished_name.setter + def distinguished_name(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "distinguished_name", value) + + @_builtins.property + @pulumi.getter(name="groupScope") + def group_scope(self) -> pulumi.Input[_builtins.str]: + return pulumi.get(self, "group_scope") + + @group_scope.setter + def group_scope(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "group_scope", value) + + @_builtins.property + @pulumi.getter(name="groupType") + def group_type(self) -> pulumi.Input[_builtins.str]: + return pulumi.get(self, "group_type") + + @group_type.setter + def group_type(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "group_type", value) + + @_builtins.property + @pulumi.getter(name="samAccountName") + def sam_account_name(self) -> pulumi.Input[_builtins.str]: + return pulumi.get(self, "sam_account_name") + + @sam_account_name.setter + def sam_account_name(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "sam_account_name", value) + + @_builtins.property + @pulumi.getter + def type(self) -> pulumi.Input[_builtins.str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "type", value) + + +class PushProviderConfigurationArgsDict(TypedDict): + apns_configuration: NotRequired[pulumi.Input[Optional['PushProviderConfigurationApnsConfigurationArgsDict']]] + fcm_configuration: NotRequired[pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationArgsDict']]] + +@pulumi.input_type +class PushProviderConfigurationArgs: + def __init__(__self__, *, + apns_configuration: pulumi.Input[Optional['PushProviderConfigurationApnsConfigurationArgs']] = None, + fcm_configuration: pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationArgs']] = None): + if apns_configuration is not None: + pulumi.set(__self__, "apns_configuration", apns_configuration) + if fcm_configuration is not None: + pulumi.set(__self__, "fcm_configuration", fcm_configuration) + + @_builtins.property + @pulumi.getter(name="apnsConfiguration") + def apns_configuration(self) -> pulumi.Input[Optional['PushProviderConfigurationApnsConfigurationArgs']]: + return pulumi.get(self, "apns_configuration") + + @apns_configuration.setter + def apns_configuration(self, value: pulumi.Input[Optional['PushProviderConfigurationApnsConfigurationArgs']]): + pulumi.set(self, "apns_configuration", value) + + @_builtins.property + @pulumi.getter(name="fcmConfiguration") + def fcm_configuration(self) -> pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationArgs']]: + return pulumi.get(self, "fcm_configuration") + + @fcm_configuration.setter + def fcm_configuration(self, value: pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationArgs']]): + pulumi.set(self, "fcm_configuration", value) + + +class PushProviderConfigurationApnsConfigurationArgsDict(TypedDict): + file_name: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + File name for Admin Console display. + """ + key_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + """ + team_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + 10-character Team ID used to develop the iOS app. Required for APNS provider type. + """ + token_signing_key: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + APNs private authentication token signing key. Required for APNS provider type. + """ + +@pulumi.input_type +class PushProviderConfigurationApnsConfigurationArgs: + def __init__(__self__, *, + file_name: pulumi.Input[Optional[_builtins.str]] = None, + key_id: pulumi.Input[Optional[_builtins.str]] = None, + team_id: pulumi.Input[Optional[_builtins.str]] = None, + token_signing_key: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] file_name: File name for Admin Console display. + :param pulumi.Input[_builtins.str] key_id: 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + :param pulumi.Input[_builtins.str] team_id: 10-character Team ID used to develop the iOS app. Required for APNS provider type. + :param pulumi.Input[_builtins.str] token_signing_key: APNs private authentication token signing key. Required for APNS provider type. + """ + if file_name is not None: + pulumi.set(__self__, "file_name", file_name) + if key_id is not None: + pulumi.set(__self__, "key_id", key_id) + if team_id is not None: + pulumi.set(__self__, "team_id", team_id) + if token_signing_key is not None: + pulumi.set(__self__, "token_signing_key", token_signing_key) + + @_builtins.property + @pulumi.getter(name="fileName") + def file_name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + File name for Admin Console display. + """ + return pulumi.get(self, "file_name") + + @file_name.setter + def file_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "file_name", value) + + @_builtins.property + @pulumi.getter(name="keyId") + def key_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + """ + return pulumi.get(self, "key_id") + + @key_id.setter + def key_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "key_id", value) + + @_builtins.property + @pulumi.getter(name="teamId") + def team_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + 10-character Team ID used to develop the iOS app. Required for APNS provider type. + """ + return pulumi.get(self, "team_id") + + @team_id.setter + def team_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "team_id", value) + + @_builtins.property + @pulumi.getter(name="tokenSigningKey") + def token_signing_key(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + APNs private authentication token signing key. Required for APNS provider type. + """ + return pulumi.get(self, "token_signing_key") + + @token_signing_key.setter + def token_signing_key(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "token_signing_key", value) + + +class PushProviderConfigurationFcmConfigurationArgsDict(TypedDict): + service_account_json: NotRequired[pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationServiceAccountJsonArgsDict']]] + """ + JSON containing the private service account key and service account details. Required for FCM provider type. + """ + +@pulumi.input_type +class PushProviderConfigurationFcmConfigurationArgs: + def __init__(__self__, *, + service_account_json: pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs']] = None): + """ + :param pulumi.Input['PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs'] service_account_json: JSON containing the private service account key and service account details. Required for FCM provider type. + """ + if service_account_json is not None: + pulumi.set(__self__, "service_account_json", service_account_json) + + @_builtins.property + @pulumi.getter(name="serviceAccountJson") + def service_account_json(self) -> pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs']]: + """ + JSON containing the private service account key and service account details. Required for FCM provider type. + """ + return pulumi.get(self, "service_account_json") @service_account_json.setter def service_account_json(self, value: pulumi.Input[Optional['PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs']]): @@ -4258,154 +5530,483 @@ def __init__(__self__, *, :param pulumi.Input[_builtins.str] token_uri: The token URI. :param pulumi.Input[_builtins.str] type: The type of the service account. """ - if auth_provider_x509_cert_url is not None: - pulumi.set(__self__, "auth_provider_x509_cert_url", auth_provider_x509_cert_url) - if auth_uri is not None: - pulumi.set(__self__, "auth_uri", auth_uri) - if client_email is not None: - pulumi.set(__self__, "client_email", client_email) - if client_id is not None: - pulumi.set(__self__, "client_id", client_id) - if client_x509_cert_url is not None: - pulumi.set(__self__, "client_x509_cert_url", client_x509_cert_url) - if file_name is not None: - pulumi.set(__self__, "file_name", file_name) - if private_key is not None: - pulumi.set(__self__, "private_key", private_key) - if private_key_id is not None: - pulumi.set(__self__, "private_key_id", private_key_id) - if project_id is not None: - pulumi.set(__self__, "project_id", project_id) - if token_uri is not None: - pulumi.set(__self__, "token_uri", token_uri) + if auth_provider_x509_cert_url is not None: + pulumi.set(__self__, "auth_provider_x509_cert_url", auth_provider_x509_cert_url) + if auth_uri is not None: + pulumi.set(__self__, "auth_uri", auth_uri) + if client_email is not None: + pulumi.set(__self__, "client_email", client_email) + if client_id is not None: + pulumi.set(__self__, "client_id", client_id) + if client_x509_cert_url is not None: + pulumi.set(__self__, "client_x509_cert_url", client_x509_cert_url) + if file_name is not None: + pulumi.set(__self__, "file_name", file_name) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if private_key_id is not None: + pulumi.set(__self__, "private_key_id", private_key_id) + if project_id is not None: + pulumi.set(__self__, "project_id", project_id) + if token_uri is not None: + pulumi.set(__self__, "token_uri", token_uri) + if type is not None: + pulumi.set(__self__, "type", type) + + @_builtins.property + @pulumi.getter(name="authProviderX509CertUrl") + def auth_provider_x509_cert_url(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The auth provider x509 cert URL. + """ + return pulumi.get(self, "auth_provider_x509_cert_url") + + @auth_provider_x509_cert_url.setter + def auth_provider_x509_cert_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "auth_provider_x509_cert_url", value) + + @_builtins.property + @pulumi.getter(name="authUri") + def auth_uri(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The auth URI. + """ + return pulumi.get(self, "auth_uri") + + @auth_uri.setter + def auth_uri(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "auth_uri", value) + + @_builtins.property + @pulumi.getter(name="clientEmail") + def client_email(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The client email. + """ + return pulumi.get(self, "client_email") + + @client_email.setter + def client_email(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "client_email", value) + + @_builtins.property + @pulumi.getter(name="clientId") + def client_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The client ID. + """ + return pulumi.get(self, "client_id") + + @client_id.setter + def client_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "client_id", value) + + @_builtins.property + @pulumi.getter(name="clientX509CertUrl") + def client_x509_cert_url(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The client x509 cert URL. + """ + return pulumi.get(self, "client_x509_cert_url") + + @client_x509_cert_url.setter + def client_x509_cert_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "client_x509_cert_url", value) + + @_builtins.property + @pulumi.getter(name="fileName") + def file_name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + File name for Admin Console display. + """ + return pulumi.get(self, "file_name") + + @file_name.setter + def file_name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "file_name", value) + + @_builtins.property + @pulumi.getter(name="privateKey") + def private_key(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The private key. + """ + return pulumi.get(self, "private_key") + + @private_key.setter + def private_key(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "private_key", value) + + @_builtins.property + @pulumi.getter(name="privateKeyId") + def private_key_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The private key ID. + """ + return pulumi.get(self, "private_key_id") + + @private_key_id.setter + def private_key_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "private_key_id", value) + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The project ID. + """ + return pulumi.get(self, "project_id") + + @project_id.setter + def project_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "project_id", value) + + @_builtins.property + @pulumi.getter(name="tokenUri") + def token_uri(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The token URI. + """ + return pulumi.get(self, "token_uri") + + @token_uri.setter + def token_uri(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "token_uri", value) + + @_builtins.property + @pulumi.getter + def type(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The type of the service account. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "type", value) + + +class RateLimitingUseCaseModeOverridesArgsDict(TypedDict): + login_page: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + oauth2_authorize: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + oie_app_intent: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + +@pulumi.input_type +class RateLimitingUseCaseModeOverridesArgs: + def __init__(__self__, *, + login_page: pulumi.Input[Optional[_builtins.str]] = None, + oauth2_authorize: pulumi.Input[Optional[_builtins.str]] = None, + oie_app_intent: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] login_page: Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + :param pulumi.Input[_builtins.str] oauth2_authorize: Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + :param pulumi.Input[_builtins.str] oie_app_intent: Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + if login_page is not None: + pulumi.set(__self__, "login_page", login_page) + if oauth2_authorize is not None: + pulumi.set(__self__, "oauth2_authorize", oauth2_authorize) + if oie_app_intent is not None: + pulumi.set(__self__, "oie_app_intent", oie_app_intent) + + @_builtins.property + @pulumi.getter(name="loginPage") + def login_page(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + return pulumi.get(self, "login_page") + + @login_page.setter + def login_page(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "login_page", value) + + @_builtins.property + @pulumi.getter(name="oauth2Authorize") + def oauth2_authorize(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + return pulumi.get(self, "oauth2_authorize") + + @oauth2_authorize.setter + def oauth2_authorize(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "oauth2_authorize", value) + + @_builtins.property + @pulumi.getter(name="oieAppIntent") + def oie_app_intent(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + return pulumi.get(self, "oie_app_intent") + + @oie_app_intent.setter + def oie_app_intent(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "oie_app_intent", value) + + +class RequestConditionAccessDurationSettingsArgsDict(TypedDict): + duration: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The duration set by the admin for access durations. Use ISO8061 notation for duration values. + """ + type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + +@pulumi.input_type +class RequestConditionAccessDurationSettingsArgs: + def __init__(__self__, *, + duration: pulumi.Input[Optional[_builtins.str]] = None, + type: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] duration: The duration set by the admin for access durations. Use ISO8061 notation for duration values. + """ + if duration is not None: + pulumi.set(__self__, "duration", duration) if type is not None: pulumi.set(__self__, "type", type) @_builtins.property - @pulumi.getter(name="authProviderX509CertUrl") - def auth_provider_x509_cert_url(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def duration(self) -> pulumi.Input[Optional[_builtins.str]]: """ - The auth provider x509 cert URL. + The duration set by the admin for access durations. Use ISO8061 notation for duration values. """ - return pulumi.get(self, "auth_provider_x509_cert_url") + return pulumi.get(self, "duration") - @auth_provider_x509_cert_url.setter - def auth_provider_x509_cert_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "auth_provider_x509_cert_url", value) + @duration.setter + def duration(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "duration", value) @_builtins.property - @pulumi.getter(name="authUri") - def auth_uri(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def type(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "type", value) + + +class RequestConditionAccessScopeSettingsArgsDict(TypedDict): + type: pulumi.Input[_builtins.str] + ids: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgsDict']]]]] + """ + Block list of groups/entitlement bundles ids. + """ + +@pulumi.input_type +class RequestConditionAccessScopeSettingsArgs: + def __init__(__self__, *, + type: pulumi.Input[_builtins.str], + ids: pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgs']]]] = None): """ - The auth URI. + :param pulumi.Input[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgs']]] ids: Block list of groups/entitlement bundles ids. """ - return pulumi.get(self, "auth_uri") + pulumi.set(__self__, "type", type) + if ids is not None: + pulumi.set(__self__, "ids", ids) - @auth_uri.setter - def auth_uri(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "auth_uri", value) + @_builtins.property + @pulumi.getter + def type(self) -> pulumi.Input[_builtins.str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "type", value) @_builtins.property - @pulumi.getter(name="clientEmail") - def client_email(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def ids(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgs']]]]: """ - The client email. + Block list of groups/entitlement bundles ids. """ - return pulumi.get(self, "client_email") + return pulumi.get(self, "ids") - @client_email.setter - def client_email(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "client_email", value) + @ids.setter + def ids(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgs']]]]): + pulumi.set(self, "ids", value) + + +class RequestConditionAccessScopeSettingsIdArgsDict(TypedDict): + id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Request condition id. + """ + +@pulumi.input_type +class RequestConditionAccessScopeSettingsIdArgs: + def __init__(__self__, *, + id: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] id: Request condition id. + """ + if id is not None: + pulumi.set(__self__, "id", id) @_builtins.property - @pulumi.getter(name="clientId") - def client_id(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def id(self) -> pulumi.Input[Optional[_builtins.str]]: """ - The client ID. + Request condition id. """ - return pulumi.get(self, "client_id") + return pulumi.get(self, "id") - @client_id.setter - def client_id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "client_id", value) + @id.setter + def id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "id", value) - @_builtins.property - @pulumi.getter(name="clientX509CertUrl") - def client_x509_cert_url(self) -> pulumi.Input[Optional[_builtins.str]]: + +class RequestConditionRequesterSettingsArgsDict(TypedDict): + type: pulumi.Input[_builtins.str] + ids: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgsDict']]]]] + """ + Block list of teams/groups ids. + """ + +@pulumi.input_type +class RequestConditionRequesterSettingsArgs: + def __init__(__self__, *, + type: pulumi.Input[_builtins.str], + ids: pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgs']]]] = None): """ - The client x509 cert URL. + :param pulumi.Input[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgs']]] ids: Block list of teams/groups ids. """ - return pulumi.get(self, "client_x509_cert_url") + pulumi.set(__self__, "type", type) + if ids is not None: + pulumi.set(__self__, "ids", ids) - @client_x509_cert_url.setter - def client_x509_cert_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "client_x509_cert_url", value) + @_builtins.property + @pulumi.getter + def type(self) -> pulumi.Input[_builtins.str]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "type", value) @_builtins.property - @pulumi.getter(name="fileName") - def file_name(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def ids(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgs']]]]: """ - File name for Admin Console display. + Block list of teams/groups ids. """ - return pulumi.get(self, "file_name") + return pulumi.get(self, "ids") - @file_name.setter - def file_name(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "file_name", value) + @ids.setter + def ids(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgs']]]]): + pulumi.set(self, "ids", value) + + +class RequestConditionRequesterSettingsIdArgsDict(TypedDict): + id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Request condition id. + """ + +@pulumi.input_type +class RequestConditionRequesterSettingsIdArgs: + def __init__(__self__, *, + id: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] id: Request condition id. + """ + if id is not None: + pulumi.set(__self__, "id", id) @_builtins.property - @pulumi.getter(name="privateKey") - def private_key(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def id(self) -> pulumi.Input[Optional[_builtins.str]]: """ - The private key. + Request condition id. """ - return pulumi.get(self, "private_key") + return pulumi.get(self, "id") - @private_key.setter - def private_key(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "private_key", value) + @id.setter + def id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "id", value) + + +class RequestSettingResourceRequestOnBehalfOfSettingsArgsDict(TypedDict): + allowed: NotRequired[pulumi.Input[Optional[_builtins.bool]]] + """ + Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. + """ + only_fors: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgsDict']]]]] + """ + Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. + """ + +@pulumi.input_type +class RequestSettingResourceRequestOnBehalfOfSettingsArgs: + def __init__(__self__, *, + allowed: pulumi.Input[Optional[_builtins.bool]] = None, + only_fors: pulumi.Input[Optional[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs']]]] = None): + """ + :param pulumi.Input[_builtins.bool] allowed: Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. + :param pulumi.Input[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs']]] only_fors: Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. + """ + if allowed is not None: + pulumi.set(__self__, "allowed", allowed) + if only_fors is not None: + pulumi.set(__self__, "only_fors", only_fors) @_builtins.property - @pulumi.getter(name="privateKeyId") - def private_key_id(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def allowed(self) -> pulumi.Input[Optional[_builtins.bool]]: """ - The private key ID. + Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. """ - return pulumi.get(self, "private_key_id") + return pulumi.get(self, "allowed") - @private_key_id.setter - def private_key_id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "private_key_id", value) + @allowed.setter + def allowed(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "allowed", value) @_builtins.property - @pulumi.getter(name="projectId") - def project_id(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="onlyFors") + def only_fors(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs']]]]: """ - The project ID. + Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. """ - return pulumi.get(self, "project_id") + return pulumi.get(self, "only_fors") - @project_id.setter - def project_id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "project_id", value) + @only_fors.setter + def only_fors(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs']]]]): + pulumi.set(self, "only_fors", value) + + +class RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgsDict(TypedDict): + type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user + """ - @_builtins.property - @pulumi.getter(name="tokenUri") - def token_uri(self) -> pulumi.Input[Optional[_builtins.str]]: +@pulumi.input_type +class RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs: + def __init__(__self__, *, + type: pulumi.Input[Optional[_builtins.str]] = None): """ - The token URI. + :param pulumi.Input[_builtins.str] type: Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user """ - return pulumi.get(self, "token_uri") - - @token_uri.setter - def token_uri(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "token_uri", value) + if type is not None: + pulumi.set(__self__, "type", type) @_builtins.property @pulumi.getter def type(self) -> pulumi.Input[Optional[_builtins.str]]: """ - The type of the service account. + Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user """ return pulumi.get(self, "type") @@ -4414,89 +6015,128 @@ def type(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "type", value) -class RateLimitingUseCaseModeOverridesArgsDict(TypedDict): - login_page: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class RequestSettingResourceRiskSettingsArgsDict(TypedDict): + default_setting: NotRequired[pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingArgsDict']]] """ - Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. """ - oauth2_authorize: NotRequired[pulumi.Input[Optional[_builtins.str]]] + +@pulumi.input_type +class RequestSettingResourceRiskSettingsArgs: + def __init__(__self__, *, + default_setting: pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingArgs']] = None): + """ + :param pulumi.Input['RequestSettingResourceRiskSettingsDefaultSettingArgs'] default_setting: Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. + """ + if default_setting is not None: + pulumi.set(__self__, "default_setting", default_setting) + + @_builtins.property + @pulumi.getter(name="defaultSetting") + def default_setting(self) -> pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingArgs']]: + """ + Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. + """ + return pulumi.get(self, "default_setting") + + @default_setting.setter + def default_setting(self, value: pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingArgs']]): + pulumi.set(self, "default_setting", value) + + +class RequestSettingResourceRiskSettingsDefaultSettingArgsDict(TypedDict): + access_duration_settings: NotRequired[pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgsDict']]] """ - Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. """ - oie_app_intent: NotRequired[pulumi.Input[Optional[_builtins.str]]] + approval_sequence_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + The ID of the approval sequence. """ + errors: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]] + request_submission_type: NotRequired[pulumi.Input[Optional[_builtins.str]]] @pulumi.input_type -class RateLimitingUseCaseModeOverridesArgs: +class RequestSettingResourceRiskSettingsDefaultSettingArgs: def __init__(__self__, *, - login_page: pulumi.Input[Optional[_builtins.str]] = None, - oauth2_authorize: pulumi.Input[Optional[_builtins.str]] = None, - oie_app_intent: pulumi.Input[Optional[_builtins.str]] = None): + access_duration_settings: pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs']] = None, + approval_sequence_id: pulumi.Input[Optional[_builtins.str]] = None, + errors: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, + request_submission_type: pulumi.Input[Optional[_builtins.str]] = None): """ - :param pulumi.Input[_builtins.str] login_page: Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - :param pulumi.Input[_builtins.str] oauth2_authorize: Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - :param pulumi.Input[_builtins.str] oie_app_intent: Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + :param pulumi.Input['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs'] access_duration_settings: Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. + :param pulumi.Input[_builtins.str] approval_sequence_id: The ID of the approval sequence. """ - if login_page is not None: - pulumi.set(__self__, "login_page", login_page) - if oauth2_authorize is not None: - pulumi.set(__self__, "oauth2_authorize", oauth2_authorize) - if oie_app_intent is not None: - pulumi.set(__self__, "oie_app_intent", oie_app_intent) + if access_duration_settings is not None: + pulumi.set(__self__, "access_duration_settings", access_duration_settings) + if approval_sequence_id is not None: + pulumi.set(__self__, "approval_sequence_id", approval_sequence_id) + if errors is not None: + pulumi.set(__self__, "errors", errors) + if request_submission_type is not None: + pulumi.set(__self__, "request_submission_type", request_submission_type) @_builtins.property - @pulumi.getter(name="loginPage") - def login_page(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="accessDurationSettings") + def access_duration_settings(self) -> pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs']]: """ - Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. """ - return pulumi.get(self, "login_page") + return pulumi.get(self, "access_duration_settings") - @login_page.setter - def login_page(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "login_page", value) + @access_duration_settings.setter + def access_duration_settings(self, value: pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs']]): + pulumi.set(self, "access_duration_settings", value) @_builtins.property - @pulumi.getter(name="oauth2Authorize") - def oauth2_authorize(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="approvalSequenceId") + def approval_sequence_id(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + The ID of the approval sequence. """ - return pulumi.get(self, "oauth2_authorize") + return pulumi.get(self, "approval_sequence_id") - @oauth2_authorize.setter - def oauth2_authorize(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "oauth2_authorize", value) + @approval_sequence_id.setter + def approval_sequence_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "approval_sequence_id", value) @_builtins.property - @pulumi.getter(name="oieAppIntent") - def oie_app_intent(self) -> pulumi.Input[Optional[_builtins.str]]: - """ - Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - """ - return pulumi.get(self, "oie_app_intent") + @pulumi.getter + def errors(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: + return pulumi.get(self, "errors") - @oie_app_intent.setter - def oie_app_intent(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "oie_app_intent", value) + @errors.setter + def errors(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "errors", value) + + @_builtins.property + @pulumi.getter(name="requestSubmissionType") + def request_submission_type(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "request_submission_type") + + @request_submission_type.setter + def request_submission_type(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "request_submission_type", value) -class RequestConditionAccessDurationSettingsArgsDict(TypedDict): +class RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgsDict(TypedDict): duration: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ The duration set by the admin for access durations. Use ISO8061 notation for duration values. """ type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. + """ @pulumi.input_type -class RequestConditionAccessDurationSettingsArgs: +class RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs: def __init__(__self__, *, duration: pulumi.Input[Optional[_builtins.str]] = None, type: pulumi.Input[Optional[_builtins.str]] = None): """ :param pulumi.Input[_builtins.str] duration: The duration set by the admin for access durations. Use ISO8061 notation for duration values. + :param pulumi.Input[_builtins.str] type: Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. """ if duration is not None: pulumi.set(__self__, "duration", duration) @@ -4518,6 +6158,9 @@ def duration(self, value: pulumi.Input[Optional[_builtins.str]]): @_builtins.property @pulumi.getter def type(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. + """ return pulumi.get(self, "type") @type.setter @@ -4525,28 +6168,78 @@ def type(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "type", value) -class RequestConditionAccessScopeSettingsArgsDict(TypedDict): +class RequestV2RequestedArgsDict(TypedDict): + entry_id: pulumi.Input[_builtins.str] + """ + The ID of the resource catalog entry. + """ type: pulumi.Input[_builtins.str] - ids: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgsDict']]]]] """ - Block list of groups/entitlement bundles ids. + The type of the resource. + """ + access_scope_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The ID of the access scope associated with the resource. + """ + access_scope_type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The access scope type. + """ + resource_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The ID of the requested resource. + """ + resource_type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The requested resource type. """ @pulumi.input_type -class RequestConditionAccessScopeSettingsArgs: +class RequestV2RequestedArgs: def __init__(__self__, *, + entry_id: pulumi.Input[_builtins.str], type: pulumi.Input[_builtins.str], - ids: pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgs']]]] = None): + access_scope_id: pulumi.Input[Optional[_builtins.str]] = None, + access_scope_type: pulumi.Input[Optional[_builtins.str]] = None, + resource_id: pulumi.Input[Optional[_builtins.str]] = None, + resource_type: pulumi.Input[Optional[_builtins.str]] = None): """ - :param pulumi.Input[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgs']]] ids: Block list of groups/entitlement bundles ids. + :param pulumi.Input[_builtins.str] entry_id: The ID of the resource catalog entry. + :param pulumi.Input[_builtins.str] type: The type of the resource. + :param pulumi.Input[_builtins.str] access_scope_id: The ID of the access scope associated with the resource. + :param pulumi.Input[_builtins.str] access_scope_type: The access scope type. + :param pulumi.Input[_builtins.str] resource_id: The ID of the requested resource. + :param pulumi.Input[_builtins.str] resource_type: The requested resource type. """ + pulumi.set(__self__, "entry_id", entry_id) pulumi.set(__self__, "type", type) - if ids is not None: - pulumi.set(__self__, "ids", ids) + if access_scope_id is not None: + pulumi.set(__self__, "access_scope_id", access_scope_id) + if access_scope_type is not None: + pulumi.set(__self__, "access_scope_type", access_scope_type) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + if resource_type is not None: + pulumi.set(__self__, "resource_type", resource_type) + + @_builtins.property + @pulumi.getter(name="entryId") + def entry_id(self) -> pulumi.Input[_builtins.str]: + """ + The ID of the resource catalog entry. + """ + return pulumi.get(self, "entry_id") + + @entry_id.setter + def entry_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "entry_id", value) @_builtins.property @pulumi.getter def type(self) -> pulumi.Input[_builtins.str]: + """ + The type of the resource. + """ return pulumi.get(self, "type") @type.setter @@ -4554,103 +6247,148 @@ def type(self, value: pulumi.Input[_builtins.str]): pulumi.set(self, "type", value) @_builtins.property - @pulumi.getter - def ids(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgs']]]]: + @pulumi.getter(name="accessScopeId") + def access_scope_id(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Block list of groups/entitlement bundles ids. + The ID of the access scope associated with the resource. """ - return pulumi.get(self, "ids") + return pulumi.get(self, "access_scope_id") - @ids.setter - def ids(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionAccessScopeSettingsIdArgs']]]]): - pulumi.set(self, "ids", value) + @access_scope_id.setter + def access_scope_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "access_scope_id", value) + @_builtins.property + @pulumi.getter(name="accessScopeType") + def access_scope_type(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The access scope type. + """ + return pulumi.get(self, "access_scope_type") -class RequestConditionAccessScopeSettingsIdArgsDict(TypedDict): - id: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - Request condition id. - """ + @access_scope_type.setter + def access_scope_type(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "access_scope_type", value) -@pulumi.input_type -class RequestConditionAccessScopeSettingsIdArgs: - def __init__(__self__, *, - id: pulumi.Input[Optional[_builtins.str]] = None): + @_builtins.property + @pulumi.getter(name="resourceId") + def resource_id(self) -> pulumi.Input[Optional[_builtins.str]]: """ - :param pulumi.Input[_builtins.str] id: Request condition id. + The ID of the requested resource. """ - if id is not None: - pulumi.set(__self__, "id", id) + return pulumi.get(self, "resource_id") + + @resource_id.setter + def resource_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "resource_id", value) @_builtins.property - @pulumi.getter - def id(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="resourceType") + def resource_type(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Request condition id. + The requested resource type. """ - return pulumi.get(self, "id") + return pulumi.get(self, "resource_type") - @id.setter - def id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "id", value) + @resource_type.setter + def resource_type(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "resource_type", value) -class RequestConditionRequesterSettingsArgsDict(TypedDict): +class RequestV2RequestedForArgsDict(TypedDict): + external_id: pulumi.Input[_builtins.str] + """ + The ID of the Okta user. + """ type: pulumi.Input[_builtins.str] - ids: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgsDict']]]]] """ - Block list of teams/groups ids. + The type of principal. """ @pulumi.input_type -class RequestConditionRequesterSettingsArgs: +class RequestV2RequestedForArgs: def __init__(__self__, *, - type: pulumi.Input[_builtins.str], - ids: pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgs']]]] = None): + external_id: pulumi.Input[_builtins.str], + type: pulumi.Input[_builtins.str]): """ - :param pulumi.Input[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgs']]] ids: Block list of teams/groups ids. + :param pulumi.Input[_builtins.str] external_id: The ID of the Okta user. + :param pulumi.Input[_builtins.str] type: The type of principal. """ + pulumi.set(__self__, "external_id", external_id) pulumi.set(__self__, "type", type) - if ids is not None: - pulumi.set(__self__, "ids", ids) @_builtins.property - @pulumi.getter - def type(self) -> pulumi.Input[_builtins.str]: - return pulumi.get(self, "type") + @pulumi.getter(name="externalId") + def external_id(self) -> pulumi.Input[_builtins.str]: + """ + The ID of the Okta user. + """ + return pulumi.get(self, "external_id") - @type.setter - def type(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "type", value) + @external_id.setter + def external_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "external_id", value) @_builtins.property @pulumi.getter - def ids(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgs']]]]: + def type(self) -> pulumi.Input[_builtins.str]: """ - Block list of teams/groups ids. + The type of principal. """ - return pulumi.get(self, "ids") + return pulumi.get(self, "type") - @ids.setter - def ids(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['RequestConditionRequesterSettingsIdArgs']]]]): - pulumi.set(self, "ids", value) + @type.setter + def type(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "type", value) -class RequestConditionRequesterSettingsIdArgsDict(TypedDict): +class RequestV2RequesterFieldValueArgsDict(TypedDict): id: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ Request condition id. """ + label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + A human-readable description of requester field. + """ + type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Type of value for the requester field. + """ + value: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The value of requester field, which depends on the type of the field. + """ + values: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgsDict']]]]] + """ + The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. + """ @pulumi.input_type -class RequestConditionRequesterSettingsIdArgs: +class RequestV2RequesterFieldValueArgs: def __init__(__self__, *, - id: pulumi.Input[Optional[_builtins.str]] = None): + id: pulumi.Input[Optional[_builtins.str]] = None, + label: pulumi.Input[Optional[_builtins.str]] = None, + type: pulumi.Input[Optional[_builtins.str]] = None, + value: pulumi.Input[Optional[_builtins.str]] = None, + values: pulumi.Input[Optional[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgs']]]] = None): """ :param pulumi.Input[_builtins.str] id: Request condition id. + :param pulumi.Input[_builtins.str] label: A human-readable description of requester field. + :param pulumi.Input[_builtins.str] type: Type of value for the requester field. + :param pulumi.Input[_builtins.str] value: The value of requester field, which depends on the type of the field. + :param pulumi.Input[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgs']]] values: The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. """ if id is not None: pulumi.set(__self__, "id", id) + if label is not None: + pulumi.set(__self__, "label", label) + if type is not None: + pulumi.set(__self__, "type", type) + if value is not None: + pulumi.set(__self__, "value", value) + if values is not None: + pulumi.set(__self__, "values", values) @_builtins.property @pulumi.getter @@ -4664,230 +6402,265 @@ def id(self) -> pulumi.Input[Optional[_builtins.str]]: def id(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "id", value) + @_builtins.property + @pulumi.getter + def label(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + A human-readable description of requester field. + """ + return pulumi.get(self, "label") -class RequestSettingResourceRequestOnBehalfOfSettingsArgsDict(TypedDict): - allowed: NotRequired[pulumi.Input[Optional[_builtins.bool]]] - """ - Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. - """ - only_fors: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgsDict']]]]] - """ - Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. - """ + @label.setter + def label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "label", value) -@pulumi.input_type -class RequestSettingResourceRequestOnBehalfOfSettingsArgs: - def __init__(__self__, *, - allowed: pulumi.Input[Optional[_builtins.bool]] = None, - only_fors: pulumi.Input[Optional[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs']]]] = None): + @_builtins.property + @pulumi.getter + def type(self) -> pulumi.Input[Optional[_builtins.str]]: """ - :param pulumi.Input[_builtins.bool] allowed: Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. - :param pulumi.Input[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs']]] only_fors: Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. + Type of value for the requester field. """ - if allowed is not None: - pulumi.set(__self__, "allowed", allowed) - if only_fors is not None: - pulumi.set(__self__, "only_fors", only_fors) + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "type", value) @_builtins.property @pulumi.getter - def allowed(self) -> pulumi.Input[Optional[_builtins.bool]]: + def value(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. + The value of requester field, which depends on the type of the field. """ - return pulumi.get(self, "allowed") + return pulumi.get(self, "value") - @allowed.setter - def allowed(self, value: pulumi.Input[Optional[_builtins.bool]]): - pulumi.set(self, "allowed", value) + @value.setter + def value(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "value", value) @_builtins.property - @pulumi.getter(name="onlyFors") - def only_fors(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs']]]]: + @pulumi.getter + def values(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgs']]]]: """ - Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. + The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. """ - return pulumi.get(self, "only_fors") + return pulumi.get(self, "values") - @only_fors.setter - def only_fors(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs']]]]): - pulumi.set(self, "only_fors", value) + @values.setter + def values(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgs']]]]): + pulumi.set(self, "values", value) -class RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgsDict(TypedDict): - type: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user - """ +class RequestV2RequesterFieldValueValueArgsDict(TypedDict): + value: NotRequired[pulumi.Input[Optional[_builtins.str]]] @pulumi.input_type -class RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs: +class RequestV2RequesterFieldValueValueArgs: def __init__(__self__, *, - type: pulumi.Input[Optional[_builtins.str]] = None): - """ - :param pulumi.Input[_builtins.str] type: Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user - """ - if type is not None: - pulumi.set(__self__, "type", type) + value: pulumi.Input[Optional[_builtins.str]] = None): + if value is not None: + pulumi.set(__self__, "value", value) @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[Optional[_builtins.str]]: - """ - Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user - """ - return pulumi.get(self, "type") + def value(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "value") - @type.setter - def type(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "type", value) + @value.setter + def value(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "value", value) -class RequestSettingResourceRiskSettingsArgsDict(TypedDict): - default_setting: NotRequired[pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingArgsDict']]] +class SecurityEventsProviderSettingsArgsDict(TypedDict): + issuer: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. + Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. + """ + jwks_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. + """ + well_known_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. """ @pulumi.input_type -class RequestSettingResourceRiskSettingsArgs: +class SecurityEventsProviderSettingsArgs: def __init__(__self__, *, - default_setting: pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingArgs']] = None): + issuer: pulumi.Input[Optional[_builtins.str]] = None, + jwks_url: pulumi.Input[Optional[_builtins.str]] = None, + well_known_url: pulumi.Input[Optional[_builtins.str]] = None): """ - :param pulumi.Input['RequestSettingResourceRiskSettingsDefaultSettingArgs'] default_setting: Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. + :param pulumi.Input[_builtins.str] issuer: Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. + :param pulumi.Input[_builtins.str] jwks_url: The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. + :param pulumi.Input[_builtins.str] well_known_url: The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. """ - if default_setting is not None: - pulumi.set(__self__, "default_setting", default_setting) + if issuer is not None: + pulumi.set(__self__, "issuer", issuer) + if jwks_url is not None: + pulumi.set(__self__, "jwks_url", jwks_url) + if well_known_url is not None: + pulumi.set(__self__, "well_known_url", well_known_url) + + @_builtins.property + @pulumi.getter + def issuer(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. + """ + return pulumi.get(self, "issuer") + + @issuer.setter + def issuer(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "issuer", value) + + @_builtins.property + @pulumi.getter(name="jwksUrl") + def jwks_url(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. + """ + return pulumi.get(self, "jwks_url") + + @jwks_url.setter + def jwks_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "jwks_url", value) @_builtins.property - @pulumi.getter(name="defaultSetting") - def default_setting(self) -> pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingArgs']]: + @pulumi.getter(name="wellKnownUrl") + def well_known_url(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. + The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. """ - return pulumi.get(self, "default_setting") + return pulumi.get(self, "well_known_url") - @default_setting.setter - def default_setting(self, value: pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingArgs']]): - pulumi.set(self, "default_setting", value) + @well_known_url.setter + def well_known_url(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "well_known_url", value) -class RequestSettingResourceRiskSettingsDefaultSettingArgsDict(TypedDict): - access_duration_settings: NotRequired[pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgsDict']]] +class TemplateSmsTranslationArgsDict(TypedDict): + language: pulumi.Input[_builtins.str] """ - Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. + The language to map the template to. """ - approval_sequence_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + template: pulumi.Input[_builtins.str] """ - The ID of the approval sequence. + The SMS message. """ - errors: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]] - request_submission_type: NotRequired[pulumi.Input[Optional[_builtins.str]]] @pulumi.input_type -class RequestSettingResourceRiskSettingsDefaultSettingArgs: +class TemplateSmsTranslationArgs: def __init__(__self__, *, - access_duration_settings: pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs']] = None, - approval_sequence_id: pulumi.Input[Optional[_builtins.str]] = None, - errors: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, - request_submission_type: pulumi.Input[Optional[_builtins.str]] = None): + language: pulumi.Input[_builtins.str], + template: pulumi.Input[_builtins.str]): """ - :param pulumi.Input['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs'] access_duration_settings: Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. - :param pulumi.Input[_builtins.str] approval_sequence_id: The ID of the approval sequence. + :param pulumi.Input[_builtins.str] language: The language to map the template to. + :param pulumi.Input[_builtins.str] template: The SMS message. """ - if access_duration_settings is not None: - pulumi.set(__self__, "access_duration_settings", access_duration_settings) - if approval_sequence_id is not None: - pulumi.set(__self__, "approval_sequence_id", approval_sequence_id) - if errors is not None: - pulumi.set(__self__, "errors", errors) - if request_submission_type is not None: - pulumi.set(__self__, "request_submission_type", request_submission_type) + pulumi.set(__self__, "language", language) + pulumi.set(__self__, "template", template) @_builtins.property - @pulumi.getter(name="accessDurationSettings") - def access_duration_settings(self) -> pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs']]: + @pulumi.getter + def language(self) -> pulumi.Input[_builtins.str]: """ - Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. + The language to map the template to. """ - return pulumi.get(self, "access_duration_settings") + return pulumi.get(self, "language") - @access_duration_settings.setter - def access_duration_settings(self, value: pulumi.Input[Optional['RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs']]): - pulumi.set(self, "access_duration_settings", value) + @language.setter + def language(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "language", value) @_builtins.property - @pulumi.getter(name="approvalSequenceId") - def approval_sequence_id(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def template(self) -> pulumi.Input[_builtins.str]: """ - The ID of the approval sequence. + The SMS message. """ - return pulumi.get(self, "approval_sequence_id") - - @approval_sequence_id.setter - def approval_sequence_id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "approval_sequence_id", value) - - @_builtins.property - @pulumi.getter - def errors(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: - return pulumi.get(self, "errors") - - @errors.setter - def errors(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): - pulumi.set(self, "errors", value) - - @_builtins.property - @pulumi.getter(name="requestSubmissionType") - def request_submission_type(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "request_submission_type") + return pulumi.get(self, "template") - @request_submission_type.setter - def request_submission_type(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "request_submission_type", value) + @template.setter + def template(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "template", value) -class RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgsDict(TypedDict): - duration: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class UiSchemaUiSchemaArgsDict(TypedDict): + button_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - The duration set by the admin for access durations. Use ISO8061 notation for duration values. + Specifies the button label for the Submit button at the bottom of the enrollment form. + """ + elements: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['UiSchemaUiSchemaElementArgsDict']]]]] + label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Specifies the label at the top of the enrollment form under the logo. """ type: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. + Specifies the type of layout. """ @pulumi.input_type -class RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs: +class UiSchemaUiSchemaArgs: def __init__(__self__, *, - duration: pulumi.Input[Optional[_builtins.str]] = None, + button_label: pulumi.Input[Optional[_builtins.str]] = None, + elements: pulumi.Input[Optional[Sequence[pulumi.Input['UiSchemaUiSchemaElementArgs']]]] = None, + label: pulumi.Input[Optional[_builtins.str]] = None, type: pulumi.Input[Optional[_builtins.str]] = None): """ - :param pulumi.Input[_builtins.str] duration: The duration set by the admin for access durations. Use ISO8061 notation for duration values. - :param pulumi.Input[_builtins.str] type: Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. + :param pulumi.Input[_builtins.str] button_label: Specifies the button label for the Submit button at the bottom of the enrollment form. + :param pulumi.Input[_builtins.str] label: Specifies the label at the top of the enrollment form under the logo. + :param pulumi.Input[_builtins.str] type: Specifies the type of layout. """ - if duration is not None: - pulumi.set(__self__, "duration", duration) + if button_label is not None: + pulumi.set(__self__, "button_label", button_label) + if elements is not None: + pulumi.set(__self__, "elements", elements) + if label is not None: + pulumi.set(__self__, "label", label) if type is not None: pulumi.set(__self__, "type", type) + @_builtins.property + @pulumi.getter(name="buttonLabel") + def button_label(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Specifies the button label for the Submit button at the bottom of the enrollment form. + """ + return pulumi.get(self, "button_label") + + @button_label.setter + def button_label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "button_label", value) + @_builtins.property @pulumi.getter - def duration(self) -> pulumi.Input[Optional[_builtins.str]]: + def elements(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['UiSchemaUiSchemaElementArgs']]]]: + return pulumi.get(self, "elements") + + @elements.setter + def elements(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['UiSchemaUiSchemaElementArgs']]]]): + pulumi.set(self, "elements", value) + + @_builtins.property + @pulumi.getter + def label(self) -> pulumi.Input[Optional[_builtins.str]]: """ - The duration set by the admin for access durations. Use ISO8061 notation for duration values. + Specifies the label at the top of the enrollment form under the logo. """ - return pulumi.get(self, "duration") + return pulumi.get(self, "label") - @duration.setter - def duration(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "duration", value) + @label.setter + def label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "label", value) @_builtins.property @pulumi.getter def type(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. + Specifies the type of layout. """ return pulumi.get(self, "type") @@ -4896,1158 +6669,1305 @@ def type(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "type", value) -class RequestV2RequestedArgsDict(TypedDict): - entry_id: pulumi.Input[_builtins.str] - """ - The ID of the resource catalog entry. - """ - type: pulumi.Input[_builtins.str] - """ - The type of the resource. - """ - access_scope_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class UiSchemaUiSchemaElementArgsDict(TypedDict): + scope: pulumi.Input[_builtins.str] """ - The ID of the access scope associated with the resource. + Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. """ - access_scope_type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + label: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - The access scope type. + Label name for the UI element. """ - resource_id: NotRequired[pulumi.Input[Optional[_builtins.str]]] + options: NotRequired[pulumi.Input[Optional['UiSchemaUiSchemaElementOptionsArgsDict']]] """ - The ID of the requested resource. + UI Schema element options object. """ - resource_type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + type: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - The requested resource type. + Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. """ @pulumi.input_type -class RequestV2RequestedArgs: +class UiSchemaUiSchemaElementArgs: def __init__(__self__, *, - entry_id: pulumi.Input[_builtins.str], - type: pulumi.Input[_builtins.str], - access_scope_id: pulumi.Input[Optional[_builtins.str]] = None, - access_scope_type: pulumi.Input[Optional[_builtins.str]] = None, - resource_id: pulumi.Input[Optional[_builtins.str]] = None, - resource_type: pulumi.Input[Optional[_builtins.str]] = None): + scope: pulumi.Input[_builtins.str], + label: pulumi.Input[Optional[_builtins.str]] = None, + options: pulumi.Input[Optional['UiSchemaUiSchemaElementOptionsArgs']] = None, + type: pulumi.Input[Optional[_builtins.str]] = None): """ - :param pulumi.Input[_builtins.str] entry_id: The ID of the resource catalog entry. - :param pulumi.Input[_builtins.str] type: The type of the resource. - :param pulumi.Input[_builtins.str] access_scope_id: The ID of the access scope associated with the resource. - :param pulumi.Input[_builtins.str] access_scope_type: The access scope type. - :param pulumi.Input[_builtins.str] resource_id: The ID of the requested resource. - :param pulumi.Input[_builtins.str] resource_type: The requested resource type. + :param pulumi.Input[_builtins.str] scope: Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. + :param pulumi.Input[_builtins.str] label: Label name for the UI element. + :param pulumi.Input['UiSchemaUiSchemaElementOptionsArgs'] options: UI Schema element options object. + :param pulumi.Input[_builtins.str] type: Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. """ - pulumi.set(__self__, "entry_id", entry_id) - pulumi.set(__self__, "type", type) - if access_scope_id is not None: - pulumi.set(__self__, "access_scope_id", access_scope_id) - if access_scope_type is not None: - pulumi.set(__self__, "access_scope_type", access_scope_type) - if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) - if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + pulumi.set(__self__, "scope", scope) + if label is not None: + pulumi.set(__self__, "label", label) + if options is not None: + pulumi.set(__self__, "options", options) + if type is not None: + pulumi.set(__self__, "type", type) @_builtins.property - @pulumi.getter(name="entryId") - def entry_id(self) -> pulumi.Input[_builtins.str]: + @pulumi.getter + def scope(self) -> pulumi.Input[_builtins.str]: + """ + Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. + """ + return pulumi.get(self, "scope") + + @scope.setter + def scope(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "scope", value) + + @_builtins.property + @pulumi.getter + def label(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Label name for the UI element. + """ + return pulumi.get(self, "label") + + @label.setter + def label(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "label", value) + + @_builtins.property + @pulumi.getter + def options(self) -> pulumi.Input[Optional['UiSchemaUiSchemaElementOptionsArgs']]: """ - The ID of the resource catalog entry. + UI Schema element options object. """ - return pulumi.get(self, "entry_id") + return pulumi.get(self, "options") - @entry_id.setter - def entry_id(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "entry_id", value) + @options.setter + def options(self, value: pulumi.Input[Optional['UiSchemaUiSchemaElementOptionsArgs']]): + pulumi.set(self, "options", value) @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[_builtins.str]: + def type(self) -> pulumi.Input[Optional[_builtins.str]]: """ - The type of the resource. + Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. """ return pulumi.get(self, "type") @type.setter - def type(self, value: pulumi.Input[_builtins.str]): + def type(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "type", value) - @_builtins.property - @pulumi.getter(name="accessScopeId") - def access_scope_id(self) -> pulumi.Input[Optional[_builtins.str]]: + +class UiSchemaUiSchemaElementOptionsArgsDict(TypedDict): + format: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Specifies how the input appears. + """ + +@pulumi.input_type +class UiSchemaUiSchemaElementOptionsArgs: + def __init__(__self__, *, + format: pulumi.Input[Optional[_builtins.str]] = None): """ - The ID of the access scope associated with the resource. + :param pulumi.Input[_builtins.str] format: Specifies how the input appears. """ - return pulumi.get(self, "access_scope_id") - - @access_scope_id.setter - def access_scope_id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "access_scope_id", value) + if format is not None: + pulumi.set(__self__, "format", format) @_builtins.property - @pulumi.getter(name="accessScopeType") - def access_scope_type(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def format(self) -> pulumi.Input[Optional[_builtins.str]]: """ - The access scope type. + Specifies how the input appears. """ - return pulumi.get(self, "access_scope_type") + return pulumi.get(self, "format") - @access_scope_type.setter - def access_scope_type(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "access_scope_type", value) + @format.setter + def format(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "format", value) + + +class UserSchemaPropertyArrayOneOfArgsDict(TypedDict): + const: pulumi.Input[_builtins.str] + """ + Value mapping to member of `array_enum` + """ + title: pulumi.Input[_builtins.str] + """ + Display name for the enum value. + """ + +@pulumi.input_type +class UserSchemaPropertyArrayOneOfArgs: + def __init__(__self__, *, + const: pulumi.Input[_builtins.str], + title: pulumi.Input[_builtins.str]): + """ + :param pulumi.Input[_builtins.str] const: Value mapping to member of `array_enum` + :param pulumi.Input[_builtins.str] title: Display name for the enum value. + """ + pulumi.set(__self__, "const", const) + pulumi.set(__self__, "title", title) @_builtins.property - @pulumi.getter(name="resourceId") - def resource_id(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def const(self) -> pulumi.Input[_builtins.str]: """ - The ID of the requested resource. + Value mapping to member of `array_enum` """ - return pulumi.get(self, "resource_id") + return pulumi.get(self, "const") - @resource_id.setter - def resource_id(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "resource_id", value) + @const.setter + def const(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "const", value) @_builtins.property - @pulumi.getter(name="resourceType") - def resource_type(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def title(self) -> pulumi.Input[_builtins.str]: """ - The requested resource type. + Display name for the enum value. """ - return pulumi.get(self, "resource_type") + return pulumi.get(self, "title") - @resource_type.setter - def resource_type(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "resource_type", value) + @title.setter + def title(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "title", value) -class RequestV2RequestedForArgsDict(TypedDict): - external_id: pulumi.Input[_builtins.str] +class UserSchemaPropertyMasterOverridePriorityArgsDict(TypedDict): + value: pulumi.Input[_builtins.str] + type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + +@pulumi.input_type +class UserSchemaPropertyMasterOverridePriorityArgs: + def __init__(__self__, *, + value: pulumi.Input[_builtins.str], + type: pulumi.Input[Optional[_builtins.str]] = None): + pulumi.set(__self__, "value", value) + if type is not None: + pulumi.set(__self__, "type", type) + + @_builtins.property + @pulumi.getter + def value(self) -> pulumi.Input[_builtins.str]: + return pulumi.get(self, "value") + + @value.setter + def value(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "value", value) + + @_builtins.property + @pulumi.getter + def type(self) -> pulumi.Input[Optional[_builtins.str]]: + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "type", value) + + +class UserSchemaPropertyOneOfArgsDict(TypedDict): + const: pulumi.Input[_builtins.str] """ - The ID of the Okta user. + Enum value """ - type: pulumi.Input[_builtins.str] + title: pulumi.Input[_builtins.str] """ - The type of principal. + Enum title """ @pulumi.input_type -class RequestV2RequestedForArgs: +class UserSchemaPropertyOneOfArgs: def __init__(__self__, *, - external_id: pulumi.Input[_builtins.str], - type: pulumi.Input[_builtins.str]): + const: pulumi.Input[_builtins.str], + title: pulumi.Input[_builtins.str]): """ - :param pulumi.Input[_builtins.str] external_id: The ID of the Okta user. - :param pulumi.Input[_builtins.str] type: The type of principal. + :param pulumi.Input[_builtins.str] const: Enum value + :param pulumi.Input[_builtins.str] title: Enum title """ - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "type", type) + pulumi.set(__self__, "const", const) + pulumi.set(__self__, "title", title) @_builtins.property - @pulumi.getter(name="externalId") - def external_id(self) -> pulumi.Input[_builtins.str]: + @pulumi.getter + def const(self) -> pulumi.Input[_builtins.str]: """ - The ID of the Okta user. + Enum value """ - return pulumi.get(self, "external_id") + return pulumi.get(self, "const") - @external_id.setter - def external_id(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "external_id", value) + @const.setter + def const(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "const", value) @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[_builtins.str]: + def title(self) -> pulumi.Input[_builtins.str]: """ - The type of principal. + Enum title """ - return pulumi.get(self, "type") + return pulumi.get(self, "title") - @type.setter - def type(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "type", value) + @title.setter + def title(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "title", value) -class RequestV2RequesterFieldValueArgsDict(TypedDict): - id: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class GetAgentPoolUpdateAgentArgsDict(TypedDict): + id: _builtins.str """ - Request condition id. + The unique identifier of the agent. """ - label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + is_hidden: _builtins.bool """ - A human-readable description of requester field. + Determines if an agent is hidden from the Admin Console. """ - type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + is_latest_gaed_version: _builtins.bool """ - Type of value for the requester field. + Determines if the agent is on the latest generally available version. """ - value: NotRequired[pulumi.Input[Optional[_builtins.str]]] + last_connection: _builtins.int """ - The value of requester field, which depends on the type of the field. + Timestamp when the agent last connected to Okta. """ - values: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgsDict']]]]] + name: _builtins.str """ - The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. + The name of the agent. + """ + operational_status: _builtins.str + """ + Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). + """ + pool_id: _builtins.str + """ + Pool ID. + """ + type: _builtins.str + """ + Agent types that are being monitored. + """ + update_message: _builtins.str + """ + Status message of the agent. + """ + update_status: _builtins.str + """ + Status for one agent regarding the status to auto-update that agent. + """ + version: _builtins.str + """ + Agent version number. """ @pulumi.input_type -class RequestV2RequesterFieldValueArgs: +class GetAgentPoolUpdateAgentArgs: def __init__(__self__, *, - id: pulumi.Input[Optional[_builtins.str]] = None, - label: pulumi.Input[Optional[_builtins.str]] = None, - type: pulumi.Input[Optional[_builtins.str]] = None, - value: pulumi.Input[Optional[_builtins.str]] = None, - values: pulumi.Input[Optional[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgs']]]] = None): - """ - :param pulumi.Input[_builtins.str] id: Request condition id. - :param pulumi.Input[_builtins.str] label: A human-readable description of requester field. - :param pulumi.Input[_builtins.str] type: Type of value for the requester field. - :param pulumi.Input[_builtins.str] value: The value of requester field, which depends on the type of the field. - :param pulumi.Input[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgs']]] values: The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. + id: _builtins.str, + is_hidden: _builtins.bool, + is_latest_gaed_version: _builtins.bool, + last_connection: _builtins.int, + name: _builtins.str, + operational_status: _builtins.str, + pool_id: _builtins.str, + type: _builtins.str, + update_message: _builtins.str, + update_status: _builtins.str, + version: _builtins.str): """ - if id is not None: - pulumi.set(__self__, "id", id) - if label is not None: - pulumi.set(__self__, "label", label) - if type is not None: - pulumi.set(__self__, "type", type) - if value is not None: - pulumi.set(__self__, "value", value) - if values is not None: - pulumi.set(__self__, "values", values) + :param _builtins.str id: The unique identifier of the agent. + :param _builtins.bool is_hidden: Determines if an agent is hidden from the Admin Console. + :param _builtins.bool is_latest_gaed_version: Determines if the agent is on the latest generally available version. + :param _builtins.int last_connection: Timestamp when the agent last connected to Okta. + :param _builtins.str name: The name of the agent. + :param _builtins.str operational_status: Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). + :param _builtins.str pool_id: Pool ID. + :param _builtins.str type: Agent types that are being monitored. + :param _builtins.str update_message: Status message of the agent. + :param _builtins.str update_status: Status for one agent regarding the status to auto-update that agent. + :param _builtins.str version: Agent version number. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_hidden", is_hidden) + pulumi.set(__self__, "is_latest_gaed_version", is_latest_gaed_version) + pulumi.set(__self__, "last_connection", last_connection) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "operational_status", operational_status) + pulumi.set(__self__, "pool_id", pool_id) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "update_message", update_message) + pulumi.set(__self__, "update_status", update_status) + pulumi.set(__self__, "version", version) @_builtins.property @pulumi.getter - def id(self) -> pulumi.Input[Optional[_builtins.str]]: + def id(self) -> _builtins.str: """ - Request condition id. + The unique identifier of the agent. """ return pulumi.get(self, "id") @id.setter - def id(self, value: pulumi.Input[Optional[_builtins.str]]): + def id(self, value: _builtins.str): pulumi.set(self, "id", value) @_builtins.property - @pulumi.getter - def label(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="isHidden") + def is_hidden(self) -> _builtins.bool: """ - A human-readable description of requester field. + Determines if an agent is hidden from the Admin Console. """ - return pulumi.get(self, "label") + return pulumi.get(self, "is_hidden") - @label.setter - def label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "label", value) + @is_hidden.setter + def is_hidden(self, value: _builtins.bool): + pulumi.set(self, "is_hidden", value) @_builtins.property - @pulumi.getter - def type(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="isLatestGaedVersion") + def is_latest_gaed_version(self) -> _builtins.bool: """ - Type of value for the requester field. + Determines if the agent is on the latest generally available version. """ - return pulumi.get(self, "type") + return pulumi.get(self, "is_latest_gaed_version") - @type.setter - def type(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "type", value) + @is_latest_gaed_version.setter + def is_latest_gaed_version(self, value: _builtins.bool): + pulumi.set(self, "is_latest_gaed_version", value) @_builtins.property - @pulumi.getter - def value(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="lastConnection") + def last_connection(self) -> _builtins.int: """ - The value of requester field, which depends on the type of the field. + Timestamp when the agent last connected to Okta. """ - return pulumi.get(self, "value") + return pulumi.get(self, "last_connection") - @value.setter - def value(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "value", value) + @last_connection.setter + def last_connection(self, value: _builtins.int): + pulumi.set(self, "last_connection", value) @_builtins.property @pulumi.getter - def values(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgs']]]]: + def name(self) -> _builtins.str: """ - The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. + The name of the agent. """ - return pulumi.get(self, "values") - - @values.setter - def values(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['RequestV2RequesterFieldValueValueArgs']]]]): - pulumi.set(self, "values", value) - - -class RequestV2RequesterFieldValueValueArgsDict(TypedDict): - value: NotRequired[pulumi.Input[Optional[_builtins.str]]] + return pulumi.get(self, "name") -@pulumi.input_type -class RequestV2RequesterFieldValueValueArgs: - def __init__(__self__, *, - value: pulumi.Input[Optional[_builtins.str]] = None): - if value is not None: - pulumi.set(__self__, "value", value) + @name.setter + def name(self, value: _builtins.str): + pulumi.set(self, "name", value) @_builtins.property - @pulumi.getter - def value(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "value") - - @value.setter - def value(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "value", value) - - -class SecurityEventsProviderSettingsArgsDict(TypedDict): - issuer: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. - """ - jwks_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. - """ - well_known_url: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. - """ - -@pulumi.input_type -class SecurityEventsProviderSettingsArgs: - def __init__(__self__, *, - issuer: pulumi.Input[Optional[_builtins.str]] = None, - jwks_url: pulumi.Input[Optional[_builtins.str]] = None, - well_known_url: pulumi.Input[Optional[_builtins.str]] = None): + @pulumi.getter(name="operationalStatus") + def operational_status(self) -> _builtins.str: """ - :param pulumi.Input[_builtins.str] issuer: Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. - :param pulumi.Input[_builtins.str] jwks_url: The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. - :param pulumi.Input[_builtins.str] well_known_url: The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. + Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). """ - if issuer is not None: - pulumi.set(__self__, "issuer", issuer) - if jwks_url is not None: - pulumi.set(__self__, "jwks_url", jwks_url) - if well_known_url is not None: - pulumi.set(__self__, "well_known_url", well_known_url) + return pulumi.get(self, "operational_status") + + @operational_status.setter + def operational_status(self, value: _builtins.str): + pulumi.set(self, "operational_status", value) @_builtins.property - @pulumi.getter - def issuer(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="poolId") + def pool_id(self) -> _builtins.str: """ - Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. + Pool ID. """ - return pulumi.get(self, "issuer") + return pulumi.get(self, "pool_id") - @issuer.setter - def issuer(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "issuer", value) + @pool_id.setter + def pool_id(self, value: _builtins.str): + pulumi.set(self, "pool_id", value) @_builtins.property - @pulumi.getter(name="jwksUrl") - def jwks_url(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def type(self) -> _builtins.str: """ - The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. + Agent types that are being monitored. """ - return pulumi.get(self, "jwks_url") + return pulumi.get(self, "type") - @jwks_url.setter - def jwks_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "jwks_url", value) + @type.setter + def type(self, value: _builtins.str): + pulumi.set(self, "type", value) @_builtins.property - @pulumi.getter(name="wellKnownUrl") - def well_known_url(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter(name="updateMessage") + def update_message(self) -> _builtins.str: """ - The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. + Status message of the agent. """ - return pulumi.get(self, "well_known_url") - - @well_known_url.setter - def well_known_url(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "well_known_url", value) - - -class TemplateSmsTranslationArgsDict(TypedDict): - language: pulumi.Input[_builtins.str] - """ - The language to map the template to. - """ - template: pulumi.Input[_builtins.str] - """ - The SMS message. - """ + return pulumi.get(self, "update_message") -@pulumi.input_type -class TemplateSmsTranslationArgs: - def __init__(__self__, *, - language: pulumi.Input[_builtins.str], - template: pulumi.Input[_builtins.str]): - """ - :param pulumi.Input[_builtins.str] language: The language to map the template to. - :param pulumi.Input[_builtins.str] template: The SMS message. - """ - pulumi.set(__self__, "language", language) - pulumi.set(__self__, "template", template) + @update_message.setter + def update_message(self, value: _builtins.str): + pulumi.set(self, "update_message", value) @_builtins.property - @pulumi.getter - def language(self) -> pulumi.Input[_builtins.str]: + @pulumi.getter(name="updateStatus") + def update_status(self) -> _builtins.str: """ - The language to map the template to. + Status for one agent regarding the status to auto-update that agent. """ - return pulumi.get(self, "language") + return pulumi.get(self, "update_status") - @language.setter - def language(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "language", value) + @update_status.setter + def update_status(self, value: _builtins.str): + pulumi.set(self, "update_status", value) @_builtins.property @pulumi.getter - def template(self) -> pulumi.Input[_builtins.str]: + def version(self) -> _builtins.str: """ - The SMS message. + Agent version number. """ - return pulumi.get(self, "template") + return pulumi.get(self, "version") - @template.setter - def template(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "template", value) + @version.setter + def version(self, value: _builtins.str): + pulumi.set(self, "version", value) -class UiSchemaUiSchemaArgsDict(TypedDict): - button_label: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class GetAgentPoolUpdateScheduleArgsDict(TypedDict): + cron: _builtins.str """ - Specifies the button label for the Submit button at the bottom of the enrollment form. + The schedule of the update in cron format. + """ + delay: _builtins.int + """ + Delay in days. + """ + duration: _builtins.int + """ + Duration in minutes. """ - elements: NotRequired[pulumi.Input[Optional[Sequence[pulumi.Input['UiSchemaUiSchemaElementArgsDict']]]]] - label: NotRequired[pulumi.Input[Optional[_builtins.str]]] + last_updated: _builtins.str """ - Specifies the label at the top of the enrollment form under the logo. + Timestamp when the update finished. """ - type: NotRequired[pulumi.Input[Optional[_builtins.str]]] + timezone: _builtins.str """ - Specifies the type of layout. + Timezone of where the scheduled job takes place. """ @pulumi.input_type -class UiSchemaUiSchemaArgs: +class GetAgentPoolUpdateScheduleArgs: def __init__(__self__, *, - button_label: pulumi.Input[Optional[_builtins.str]] = None, - elements: pulumi.Input[Optional[Sequence[pulumi.Input['UiSchemaUiSchemaElementArgs']]]] = None, - label: pulumi.Input[Optional[_builtins.str]] = None, - type: pulumi.Input[Optional[_builtins.str]] = None): + cron: _builtins.str, + delay: _builtins.int, + duration: _builtins.int, + last_updated: _builtins.str, + timezone: _builtins.str): """ - :param pulumi.Input[_builtins.str] button_label: Specifies the button label for the Submit button at the bottom of the enrollment form. - :param pulumi.Input[_builtins.str] label: Specifies the label at the top of the enrollment form under the logo. - :param pulumi.Input[_builtins.str] type: Specifies the type of layout. + :param _builtins.str cron: The schedule of the update in cron format. + :param _builtins.int delay: Delay in days. + :param _builtins.int duration: Duration in minutes. + :param _builtins.str last_updated: Timestamp when the update finished. + :param _builtins.str timezone: Timezone of where the scheduled job takes place. """ - if button_label is not None: - pulumi.set(__self__, "button_label", button_label) - if elements is not None: - pulumi.set(__self__, "elements", elements) - if label is not None: - pulumi.set(__self__, "label", label) - if type is not None: - pulumi.set(__self__, "type", type) + pulumi.set(__self__, "cron", cron) + pulumi.set(__self__, "delay", delay) + pulumi.set(__self__, "duration", duration) + pulumi.set(__self__, "last_updated", last_updated) + pulumi.set(__self__, "timezone", timezone) @_builtins.property - @pulumi.getter(name="buttonLabel") - def button_label(self) -> pulumi.Input[Optional[_builtins.str]]: + @pulumi.getter + def cron(self) -> _builtins.str: """ - Specifies the button label for the Submit button at the bottom of the enrollment form. + The schedule of the update in cron format. """ - return pulumi.get(self, "button_label") + return pulumi.get(self, "cron") - @button_label.setter - def button_label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "button_label", value) + @cron.setter + def cron(self, value: _builtins.str): + pulumi.set(self, "cron", value) @_builtins.property @pulumi.getter - def elements(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['UiSchemaUiSchemaElementArgs']]]]: - return pulumi.get(self, "elements") + def delay(self) -> _builtins.int: + """ + Delay in days. + """ + return pulumi.get(self, "delay") - @elements.setter - def elements(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['UiSchemaUiSchemaElementArgs']]]]): - pulumi.set(self, "elements", value) + @delay.setter + def delay(self, value: _builtins.int): + pulumi.set(self, "delay", value) @_builtins.property @pulumi.getter - def label(self) -> pulumi.Input[Optional[_builtins.str]]: + def duration(self) -> _builtins.int: """ - Specifies the label at the top of the enrollment form under the logo. + Duration in minutes. """ - return pulumi.get(self, "label") + return pulumi.get(self, "duration") - @label.setter - def label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "label", value) + @duration.setter + def duration(self, value: _builtins.int): + pulumi.set(self, "duration", value) + + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> _builtins.str: + """ + Timestamp when the update finished. + """ + return pulumi.get(self, "last_updated") + + @last_updated.setter + def last_updated(self, value: _builtins.str): + pulumi.set(self, "last_updated", value) @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[Optional[_builtins.str]]: + def timezone(self) -> _builtins.str: """ - Specifies the type of layout. + Timezone of where the scheduled job takes place. """ - return pulumi.get(self, "type") + return pulumi.get(self, "timezone") - @type.setter - def type(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "type", value) + @timezone.setter + def timezone(self, value: _builtins.str): + pulumi.set(self, "timezone", value) -class UiSchemaUiSchemaElementArgsDict(TypedDict): - scope: pulumi.Input[_builtins.str] - """ - Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. - """ - label: NotRequired[pulumi.Input[Optional[_builtins.str]]] - """ - Label name for the UI element. - """ - options: NotRequired[pulumi.Input[Optional['UiSchemaUiSchemaElementOptionsArgsDict']]] - """ - UI Schema element options object. - """ - type: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class GetApiServiceIntegrationGrantedScopeArgsDict(TypedDict): + scope: _builtins.str """ - Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. + The scope of the API service integration granted. """ @pulumi.input_type -class UiSchemaUiSchemaElementArgs: +class GetApiServiceIntegrationGrantedScopeArgs: def __init__(__self__, *, - scope: pulumi.Input[_builtins.str], - label: pulumi.Input[Optional[_builtins.str]] = None, - options: pulumi.Input[Optional['UiSchemaUiSchemaElementOptionsArgs']] = None, - type: pulumi.Input[Optional[_builtins.str]] = None): + scope: _builtins.str): """ - :param pulumi.Input[_builtins.str] scope: Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. - :param pulumi.Input[_builtins.str] label: Label name for the UI element. - :param pulumi.Input['UiSchemaUiSchemaElementOptionsArgs'] options: UI Schema element options object. - :param pulumi.Input[_builtins.str] type: Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. + :param _builtins.str scope: The scope of the API service integration granted. """ pulumi.set(__self__, "scope", scope) - if label is not None: - pulumi.set(__self__, "label", label) - if options is not None: - pulumi.set(__self__, "options", options) - if type is not None: - pulumi.set(__self__, "type", type) @_builtins.property @pulumi.getter - def scope(self) -> pulumi.Input[_builtins.str]: + def scope(self) -> _builtins.str: """ - Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. + The scope of the API service integration granted. """ return pulumi.get(self, "scope") @scope.setter - def scope(self, value: pulumi.Input[_builtins.str]): + def scope(self, value: _builtins.str): pulumi.set(self, "scope", value) + +class GetApiTokenNetworkArgsDict(TypedDict): + connection: _builtins.str + """ + The connection type of the Network Condition. + """ + excludes: Sequence[_builtins.str] + """ + The IP address the excluded zone. + """ + includes: Sequence[_builtins.str] + """ + The IP address the included zone. + """ + +@pulumi.input_type +class GetApiTokenNetworkArgs: + def __init__(__self__, *, + connection: _builtins.str, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param _builtins.str connection: The connection type of the Network Condition. + :param Sequence[_builtins.str] excludes: The IP address the excluded zone. + :param Sequence[_builtins.str] includes: The IP address the included zone. + """ + pulumi.set(__self__, "connection", connection) + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + @_builtins.property @pulumi.getter - def label(self) -> pulumi.Input[Optional[_builtins.str]]: + def connection(self) -> _builtins.str: """ - Label name for the UI element. + The connection type of the Network Condition. """ - return pulumi.get(self, "label") + return pulumi.get(self, "connection") - @label.setter - def label(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "label", value) + @connection.setter + def connection(self, value: _builtins.str): + pulumi.set(self, "connection", value) @_builtins.property @pulumi.getter - def options(self) -> pulumi.Input[Optional['UiSchemaUiSchemaElementOptionsArgs']]: + def excludes(self) -> Sequence[_builtins.str]: """ - UI Schema element options object. + The IP address the excluded zone. """ - return pulumi.get(self, "options") + return pulumi.get(self, "excludes") - @options.setter - def options(self, value: pulumi.Input[Optional['UiSchemaUiSchemaElementOptionsArgs']]): - pulumi.set(self, "options", value) + @excludes.setter + def excludes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "excludes", value) @_builtins.property @pulumi.getter - def type(self) -> pulumi.Input[Optional[_builtins.str]]: + def includes(self) -> Sequence[_builtins.str]: """ - Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. + The IP address the included zone. """ - return pulumi.get(self, "type") + return pulumi.get(self, "includes") - @type.setter - def type(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "type", value) + @includes.setter + def includes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "includes", value) -class UiSchemaUiSchemaElementOptionsArgsDict(TypedDict): - format: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class GetAuthenticatorMethodWebauthnAaguidGroupArgsDict(TypedDict): + aaguids: Sequence[_builtins.str] """ - Specifies how the input appears. + List of FIDO2 AAGUIDs in this group. + """ + name: _builtins.str + """ + The name of the AAGUID group. """ @pulumi.input_type -class UiSchemaUiSchemaElementOptionsArgs: +class GetAuthenticatorMethodWebauthnAaguidGroupArgs: def __init__(__self__, *, - format: pulumi.Input[Optional[_builtins.str]] = None): + aaguids: Sequence[_builtins.str], + name: _builtins.str): """ - :param pulumi.Input[_builtins.str] format: Specifies how the input appears. + :param Sequence[_builtins.str] aaguids: List of FIDO2 AAGUIDs in this group. + :param _builtins.str name: The name of the AAGUID group. """ - if format is not None: - pulumi.set(__self__, "format", format) + pulumi.set(__self__, "aaguids", aaguids) + pulumi.set(__self__, "name", name) @_builtins.property @pulumi.getter - def format(self) -> pulumi.Input[Optional[_builtins.str]]: + def aaguids(self) -> Sequence[_builtins.str]: """ - Specifies how the input appears. + List of FIDO2 AAGUIDs in this group. """ - return pulumi.get(self, "format") + return pulumi.get(self, "aaguids") - @format.setter - def format(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "format", value) + @aaguids.setter + def aaguids(self, value: Sequence[_builtins.str]): + pulumi.set(self, "aaguids", value) + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + The name of the AAGUID group. + """ + return pulumi.get(self, "name") -class UserSchemaPropertyArrayOneOfArgsDict(TypedDict): - const: pulumi.Input[_builtins.str] + @name.setter + def name(self, value: _builtins.str): + pulumi.set(self, "name", value) + + +class GetAuthenticatorMethodWebauthnRpIdArgsDict(TypedDict): + enabled: _builtins.bool """ - Value mapping to member of `array_enum` + Whether the RP ID is active and used for WebAuthn operations. """ - title: pulumi.Input[_builtins.str] + domain: NotRequired['GetAuthenticatorMethodWebauthnRpIdDomainArgsDict'] """ - Display name for the enum value. + The RP domain configuration. Contains: """ @pulumi.input_type -class UserSchemaPropertyArrayOneOfArgs: +class GetAuthenticatorMethodWebauthnRpIdArgs: def __init__(__self__, *, - const: pulumi.Input[_builtins.str], - title: pulumi.Input[_builtins.str]): - """ - :param pulumi.Input[_builtins.str] const: Value mapping to member of `array_enum` - :param pulumi.Input[_builtins.str] title: Display name for the enum value. + enabled: _builtins.bool, + domain: Optional['GetAuthenticatorMethodWebauthnRpIdDomainArgs'] = None): """ - pulumi.set(__self__, "const", const) - pulumi.set(__self__, "title", title) + :param _builtins.bool enabled: Whether the RP ID is active and used for WebAuthn operations. + :param 'GetAuthenticatorMethodWebauthnRpIdDomainArgs' domain: The RP domain configuration. Contains: + """ + pulumi.set(__self__, "enabled", enabled) + if domain is not None: + pulumi.set(__self__, "domain", domain) @_builtins.property @pulumi.getter - def const(self) -> pulumi.Input[_builtins.str]: + def enabled(self) -> _builtins.bool: """ - Value mapping to member of `array_enum` + Whether the RP ID is active and used for WebAuthn operations. """ - return pulumi.get(self, "const") + return pulumi.get(self, "enabled") - @const.setter - def const(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "const", value) + @enabled.setter + def enabled(self, value: _builtins.bool): + pulumi.set(self, "enabled", value) @_builtins.property @pulumi.getter - def title(self) -> pulumi.Input[_builtins.str]: + def domain(self) -> Optional['GetAuthenticatorMethodWebauthnRpIdDomainArgs']: """ - Display name for the enum value. + The RP domain configuration. Contains: """ - return pulumi.get(self, "title") + return pulumi.get(self, "domain") - @title.setter - def title(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "title", value) + @domain.setter + def domain(self, value: Optional['GetAuthenticatorMethodWebauthnRpIdDomainArgs']): + pulumi.set(self, "domain", value) -class UserSchemaPropertyMasterOverridePriorityArgsDict(TypedDict): - value: pulumi.Input[_builtins.str] - type: NotRequired[pulumi.Input[Optional[_builtins.str]]] +class GetAuthenticatorMethodWebauthnRpIdDomainArgsDict(TypedDict): + name: _builtins.str + """ + The name of the AAGUID group. + """ + validation_status: _builtins.str + """ + The validation status of the domain. + """ @pulumi.input_type -class UserSchemaPropertyMasterOverridePriorityArgs: +class GetAuthenticatorMethodWebauthnRpIdDomainArgs: def __init__(__self__, *, - value: pulumi.Input[_builtins.str], - type: pulumi.Input[Optional[_builtins.str]] = None): - pulumi.set(__self__, "value", value) - if type is not None: - pulumi.set(__self__, "type", type) + name: _builtins.str, + validation_status: _builtins.str): + """ + :param _builtins.str name: The name of the AAGUID group. + :param _builtins.str validation_status: The validation status of the domain. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "validation_status", validation_status) @_builtins.property @pulumi.getter - def value(self) -> pulumi.Input[_builtins.str]: - return pulumi.get(self, "value") + def name(self) -> _builtins.str: + """ + The name of the AAGUID group. + """ + return pulumi.get(self, "name") - @value.setter - def value(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "value", value) + @name.setter + def name(self, value: _builtins.str): + pulumi.set(self, "name", value) @_builtins.property - @pulumi.getter - def type(self) -> pulumi.Input[Optional[_builtins.str]]: - return pulumi.get(self, "type") + @pulumi.getter(name="validationStatus") + def validation_status(self) -> _builtins.str: + """ + The validation status of the domain. + """ + return pulumi.get(self, "validation_status") - @type.setter - def type(self, value: pulumi.Input[Optional[_builtins.str]]): - pulumi.set(self, "type", value) + @validation_status.setter + def validation_status(self, value: _builtins.str): + pulumi.set(self, "validation_status", value) -class UserSchemaPropertyOneOfArgsDict(TypedDict): - const: pulumi.Input[_builtins.str] +class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgsDict(TypedDict): + aaguid: _builtins.str """ - Enum value + The AAGUID identifier. """ - title: pulumi.Input[_builtins.str] + name: _builtins.str """ - Enum title + The product name associated with the AAGUID. + """ + authenticator_characteristics: NotRequired['GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgsDict'] + """ + Properties of the custom AAGUID authenticator. """ @pulumi.input_type -class UserSchemaPropertyOneOfArgs: +class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs: def __init__(__self__, *, - const: pulumi.Input[_builtins.str], - title: pulumi.Input[_builtins.str]): + aaguid: _builtins.str, + name: _builtins.str, + authenticator_characteristics: Optional['GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs'] = None): """ - :param pulumi.Input[_builtins.str] const: Enum value - :param pulumi.Input[_builtins.str] title: Enum title + :param _builtins.str aaguid: The AAGUID identifier. + :param _builtins.str name: The product name associated with the AAGUID. + :param 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs' authenticator_characteristics: Properties of the custom AAGUID authenticator. """ - pulumi.set(__self__, "const", const) - pulumi.set(__self__, "title", title) + pulumi.set(__self__, "aaguid", aaguid) + pulumi.set(__self__, "name", name) + if authenticator_characteristics is not None: + pulumi.set(__self__, "authenticator_characteristics", authenticator_characteristics) @_builtins.property @pulumi.getter - def const(self) -> pulumi.Input[_builtins.str]: + def aaguid(self) -> _builtins.str: """ - Enum value + The AAGUID identifier. """ - return pulumi.get(self, "const") + return pulumi.get(self, "aaguid") - @const.setter - def const(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "const", value) + @aaguid.setter + def aaguid(self, value: _builtins.str): + pulumi.set(self, "aaguid", value) @_builtins.property @pulumi.getter - def title(self) -> pulumi.Input[_builtins.str]: + def name(self) -> _builtins.str: """ - Enum title + The product name associated with the AAGUID. """ - return pulumi.get(self, "title") + return pulumi.get(self, "name") - @title.setter - def title(self, value: pulumi.Input[_builtins.str]): - pulumi.set(self, "title", value) + @name.setter + def name(self, value: _builtins.str): + pulumi.set(self, "name", value) + @_builtins.property + @pulumi.getter(name="authenticatorCharacteristics") + def authenticator_characteristics(self) -> Optional['GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs']: + """ + Properties of the custom AAGUID authenticator. + """ + return pulumi.get(self, "authenticator_characteristics") -class GetAgentPoolUpdateAgentArgsDict(TypedDict): - id: _builtins.str - """ - The unique identifier of the agent. - """ - is_hidden: _builtins.bool - """ - Determines if an agent is hidden from the Admin Console. - """ - is_latest_gaed_version: _builtins.bool - """ - Determines if the agent is on the latest generally available version. - """ - last_connection: _builtins.int - """ - Timestamp when the agent last connected to Okta. - """ - name: _builtins.str - """ - The name of the agent. - """ - operational_status: _builtins.str - """ - Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). - """ - pool_id: _builtins.str - """ - Pool ID. - """ - type: _builtins.str - """ - Agent types that are being monitored. - """ - update_message: _builtins.str + @authenticator_characteristics.setter + def authenticator_characteristics(self, value: Optional['GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs']): + pulumi.set(self, "authenticator_characteristics", value) + + +class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgsDict(TypedDict): + fips_compliant: _builtins.bool """ - Status message of the agent. + Whether the authenticator meets FIPS compliance requirements. """ - update_status: _builtins.str + hardware_protected: _builtins.bool """ - Status for one agent regarding the status to auto-update that agent. + Whether the authenticator stores the private key on hardware. """ - version: _builtins.str + platform_attached: _builtins.bool """ - Agent version number. + Whether the AAGUID is built into the authenticator or is external. """ @pulumi.input_type -class GetAgentPoolUpdateAgentArgs: +class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs: def __init__(__self__, *, - id: _builtins.str, - is_hidden: _builtins.bool, - is_latest_gaed_version: _builtins.bool, - last_connection: _builtins.int, - name: _builtins.str, - operational_status: _builtins.str, - pool_id: _builtins.str, - type: _builtins.str, - update_message: _builtins.str, - update_status: _builtins.str, - version: _builtins.str): + fips_compliant: _builtins.bool, + hardware_protected: _builtins.bool, + platform_attached: _builtins.bool): """ - :param _builtins.str id: The unique identifier of the agent. - :param _builtins.bool is_hidden: Determines if an agent is hidden from the Admin Console. - :param _builtins.bool is_latest_gaed_version: Determines if the agent is on the latest generally available version. - :param _builtins.int last_connection: Timestamp when the agent last connected to Okta. - :param _builtins.str name: The name of the agent. - :param _builtins.str operational_status: Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). - :param _builtins.str pool_id: Pool ID. - :param _builtins.str type: Agent types that are being monitored. - :param _builtins.str update_message: Status message of the agent. - :param _builtins.str update_status: Status for one agent regarding the status to auto-update that agent. - :param _builtins.str version: Agent version number. + :param _builtins.bool fips_compliant: Whether the authenticator meets FIPS compliance requirements. + :param _builtins.bool hardware_protected: Whether the authenticator stores the private key on hardware. + :param _builtins.bool platform_attached: Whether the AAGUID is built into the authenticator or is external. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_hidden", is_hidden) - pulumi.set(__self__, "is_latest_gaed_version", is_latest_gaed_version) - pulumi.set(__self__, "last_connection", last_connection) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "operational_status", operational_status) - pulumi.set(__self__, "pool_id", pool_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "update_message", update_message) - pulumi.set(__self__, "update_status", update_status) - pulumi.set(__self__, "version", version) + pulumi.set(__self__, "fips_compliant", fips_compliant) + pulumi.set(__self__, "hardware_protected", hardware_protected) + pulumi.set(__self__, "platform_attached", platform_attached) @_builtins.property - @pulumi.getter - def id(self) -> _builtins.str: + @pulumi.getter(name="fipsCompliant") + def fips_compliant(self) -> _builtins.bool: """ - The unique identifier of the agent. + Whether the authenticator meets FIPS compliance requirements. """ - return pulumi.get(self, "id") + return pulumi.get(self, "fips_compliant") - @id.setter - def id(self, value: _builtins.str): - pulumi.set(self, "id", value) + @fips_compliant.setter + def fips_compliant(self, value: _builtins.bool): + pulumi.set(self, "fips_compliant", value) @_builtins.property - @pulumi.getter(name="isHidden") - def is_hidden(self) -> _builtins.bool: + @pulumi.getter(name="hardwareProtected") + def hardware_protected(self) -> _builtins.bool: """ - Determines if an agent is hidden from the Admin Console. + Whether the authenticator stores the private key on hardware. """ - return pulumi.get(self, "is_hidden") + return pulumi.get(self, "hardware_protected") - @is_hidden.setter - def is_hidden(self, value: _builtins.bool): - pulumi.set(self, "is_hidden", value) + @hardware_protected.setter + def hardware_protected(self, value: _builtins.bool): + pulumi.set(self, "hardware_protected", value) @_builtins.property - @pulumi.getter(name="isLatestGaedVersion") - def is_latest_gaed_version(self) -> _builtins.bool: + @pulumi.getter(name="platformAttached") + def platform_attached(self) -> _builtins.bool: """ - Determines if the agent is on the latest generally available version. + Whether the AAGUID is built into the authenticator or is external. """ - return pulumi.get(self, "is_latest_gaed_version") + return pulumi.get(self, "platform_attached") - @is_latest_gaed_version.setter - def is_latest_gaed_version(self, value: _builtins.bool): - pulumi.set(self, "is_latest_gaed_version", value) + @platform_attached.setter + def platform_attached(self, value: _builtins.bool): + pulumi.set(self, "platform_attached", value) - @_builtins.property - @pulumi.getter(name="lastConnection") - def last_connection(self) -> _builtins.int: + +class GetAuthorizationServersPoliciesRuleActionsArgsDict(TypedDict): + token: NotRequired['GetAuthorizationServersPoliciesRuleActionsTokenArgsDict'] + """ + Token + """ + +@pulumi.input_type +class GetAuthorizationServersPoliciesRuleActionsArgs: + def __init__(__self__, *, + token: Optional['GetAuthorizationServersPoliciesRuleActionsTokenArgs'] = None): """ - Timestamp when the agent last connected to Okta. + :param 'GetAuthorizationServersPoliciesRuleActionsTokenArgs' token: Token """ - return pulumi.get(self, "last_connection") - - @last_connection.setter - def last_connection(self, value: _builtins.int): - pulumi.set(self, "last_connection", value) + if token is not None: + pulumi.set(__self__, "token", token) @_builtins.property @pulumi.getter - def name(self) -> _builtins.str: + def token(self) -> Optional['GetAuthorizationServersPoliciesRuleActionsTokenArgs']: """ - The name of the agent. + Token """ - return pulumi.get(self, "name") + return pulumi.get(self, "token") - @name.setter - def name(self, value: _builtins.str): - pulumi.set(self, "name", value) + @token.setter + def token(self, value: Optional['GetAuthorizationServersPoliciesRuleActionsTokenArgs']): + pulumi.set(self, "token", value) + + +class GetAuthorizationServersPoliciesRuleActionsTokenArgsDict(TypedDict): + access_token_lifetime_minutes: _builtins.int + """ + Lifetime of the access token in minutes. + """ + refresh_token_lifetime_minutes: _builtins.int + """ + Lifetime of the refresh token is the minimum access token lifetime. + """ + refresh_token_window_minutes: _builtins.int + """ + Timeframe when the refresh token is valid. + """ + inline_hook: NotRequired['GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgsDict'] + """ + InlineHook + """ + +@pulumi.input_type +class GetAuthorizationServersPoliciesRuleActionsTokenArgs: + def __init__(__self__, *, + access_token_lifetime_minutes: _builtins.int, + refresh_token_lifetime_minutes: _builtins.int, + refresh_token_window_minutes: _builtins.int, + inline_hook: Optional['GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs'] = None): + """ + :param _builtins.int access_token_lifetime_minutes: Lifetime of the access token in minutes. + :param _builtins.int refresh_token_lifetime_minutes: Lifetime of the refresh token is the minimum access token lifetime. + :param _builtins.int refresh_token_window_minutes: Timeframe when the refresh token is valid. + :param 'GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs' inline_hook: InlineHook + """ + pulumi.set(__self__, "access_token_lifetime_minutes", access_token_lifetime_minutes) + pulumi.set(__self__, "refresh_token_lifetime_minutes", refresh_token_lifetime_minutes) + pulumi.set(__self__, "refresh_token_window_minutes", refresh_token_window_minutes) + if inline_hook is not None: + pulumi.set(__self__, "inline_hook", inline_hook) @_builtins.property - @pulumi.getter(name="operationalStatus") - def operational_status(self) -> _builtins.str: + @pulumi.getter(name="accessTokenLifetimeMinutes") + def access_token_lifetime_minutes(self) -> _builtins.int: """ - Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). + Lifetime of the access token in minutes. """ - return pulumi.get(self, "operational_status") + return pulumi.get(self, "access_token_lifetime_minutes") - @operational_status.setter - def operational_status(self, value: _builtins.str): - pulumi.set(self, "operational_status", value) + @access_token_lifetime_minutes.setter + def access_token_lifetime_minutes(self, value: _builtins.int): + pulumi.set(self, "access_token_lifetime_minutes", value) @_builtins.property - @pulumi.getter(name="poolId") - def pool_id(self) -> _builtins.str: + @pulumi.getter(name="refreshTokenLifetimeMinutes") + def refresh_token_lifetime_minutes(self) -> _builtins.int: """ - Pool ID. + Lifetime of the refresh token is the minimum access token lifetime. """ - return pulumi.get(self, "pool_id") + return pulumi.get(self, "refresh_token_lifetime_minutes") - @pool_id.setter - def pool_id(self, value: _builtins.str): - pulumi.set(self, "pool_id", value) + @refresh_token_lifetime_minutes.setter + def refresh_token_lifetime_minutes(self, value: _builtins.int): + pulumi.set(self, "refresh_token_lifetime_minutes", value) @_builtins.property - @pulumi.getter - def type(self) -> _builtins.str: + @pulumi.getter(name="refreshTokenWindowMinutes") + def refresh_token_window_minutes(self) -> _builtins.int: """ - Agent types that are being monitored. + Timeframe when the refresh token is valid. """ - return pulumi.get(self, "type") + return pulumi.get(self, "refresh_token_window_minutes") - @type.setter - def type(self, value: _builtins.str): - pulumi.set(self, "type", value) + @refresh_token_window_minutes.setter + def refresh_token_window_minutes(self, value: _builtins.int): + pulumi.set(self, "refresh_token_window_minutes", value) @_builtins.property - @pulumi.getter(name="updateMessage") - def update_message(self) -> _builtins.str: + @pulumi.getter(name="inlineHook") + def inline_hook(self) -> Optional['GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs']: """ - Status message of the agent. + InlineHook """ - return pulumi.get(self, "update_message") + return pulumi.get(self, "inline_hook") - @update_message.setter - def update_message(self, value: _builtins.str): - pulumi.set(self, "update_message", value) + @inline_hook.setter + def inline_hook(self, value: Optional['GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs']): + pulumi.set(self, "inline_hook", value) + + +class GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgsDict(TypedDict): + id: _builtins.str + """ + Unique identifier of the authorization server policy rule. + """ - @_builtins.property - @pulumi.getter(name="updateStatus") - def update_status(self) -> _builtins.str: +@pulumi.input_type +class GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs: + def __init__(__self__, *, + id: _builtins.str): """ - Status for one agent regarding the status to auto-update that agent. + :param _builtins.str id: Unique identifier of the authorization server policy rule. """ - return pulumi.get(self, "update_status") - - @update_status.setter - def update_status(self, value: _builtins.str): - pulumi.set(self, "update_status", value) + pulumi.set(__self__, "id", id) @_builtins.property @pulumi.getter - def version(self) -> _builtins.str: + def id(self) -> _builtins.str: """ - Agent version number. + Unique identifier of the authorization server policy rule. """ - return pulumi.get(self, "version") + return pulumi.get(self, "id") - @version.setter - def version(self, value: _builtins.str): - pulumi.set(self, "version", value) + @id.setter + def id(self, value: _builtins.str): + pulumi.set(self, "id", value) -class GetAgentPoolUpdateScheduleArgsDict(TypedDict): - cron: _builtins.str - """ - The schedule of the update in cron format. - """ - delay: _builtins.int +class GetAuthorizationServersPoliciesRuleConditionsArgsDict(TypedDict): + grant_types: NotRequired['GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgsDict'] """ - Delay in days. - """ - duration: _builtins.int - """ - Duration in minutes. + Array of grant types that this condition includes. """ - last_updated: _builtins.str + people: NotRequired['GetAuthorizationServersPoliciesRuleConditionsPeopleArgsDict'] """ - Timestamp when the update finished. + Identifies Users and Groups that are used together """ - timezone: _builtins.str + scopes: NotRequired['GetAuthorizationServersPoliciesRuleConditionsScopesArgsDict'] """ - Timezone of where the scheduled job takes place. + Array of scopes that the condition includes """ @pulumi.input_type -class GetAgentPoolUpdateScheduleArgs: +class GetAuthorizationServersPoliciesRuleConditionsArgs: def __init__(__self__, *, - cron: _builtins.str, - delay: _builtins.int, - duration: _builtins.int, - last_updated: _builtins.str, - timezone: _builtins.str): + grant_types: Optional['GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs'] = None, + people: Optional['GetAuthorizationServersPoliciesRuleConditionsPeopleArgs'] = None, + scopes: Optional['GetAuthorizationServersPoliciesRuleConditionsScopesArgs'] = None): """ - :param _builtins.str cron: The schedule of the update in cron format. - :param _builtins.int delay: Delay in days. - :param _builtins.int duration: Duration in minutes. - :param _builtins.str last_updated: Timestamp when the update finished. - :param _builtins.str timezone: Timezone of where the scheduled job takes place. + :param 'GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs' grant_types: Array of grant types that this condition includes. + :param 'GetAuthorizationServersPoliciesRuleConditionsPeopleArgs' people: Identifies Users and Groups that are used together + :param 'GetAuthorizationServersPoliciesRuleConditionsScopesArgs' scopes: Array of scopes that the condition includes """ - pulumi.set(__self__, "cron", cron) - pulumi.set(__self__, "delay", delay) - pulumi.set(__self__, "duration", duration) - pulumi.set(__self__, "last_updated", last_updated) - pulumi.set(__self__, "timezone", timezone) + if grant_types is not None: + pulumi.set(__self__, "grant_types", grant_types) + if people is not None: + pulumi.set(__self__, "people", people) + if scopes is not None: + pulumi.set(__self__, "scopes", scopes) @_builtins.property - @pulumi.getter - def cron(self) -> _builtins.str: + @pulumi.getter(name="grantTypes") + def grant_types(self) -> Optional['GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs']: """ - The schedule of the update in cron format. + Array of grant types that this condition includes. """ - return pulumi.get(self, "cron") + return pulumi.get(self, "grant_types") - @cron.setter - def cron(self, value: _builtins.str): - pulumi.set(self, "cron", value) + @grant_types.setter + def grant_types(self, value: Optional['GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs']): + pulumi.set(self, "grant_types", value) @_builtins.property @pulumi.getter - def delay(self) -> _builtins.int: + def people(self) -> Optional['GetAuthorizationServersPoliciesRuleConditionsPeopleArgs']: """ - Delay in days. + Identifies Users and Groups that are used together """ - return pulumi.get(self, "delay") + return pulumi.get(self, "people") - @delay.setter - def delay(self, value: _builtins.int): - pulumi.set(self, "delay", value) + @people.setter + def people(self, value: Optional['GetAuthorizationServersPoliciesRuleConditionsPeopleArgs']): + pulumi.set(self, "people", value) @_builtins.property @pulumi.getter - def duration(self) -> _builtins.int: + def scopes(self) -> Optional['GetAuthorizationServersPoliciesRuleConditionsScopesArgs']: """ - Duration in minutes. + Array of scopes that the condition includes """ - return pulumi.get(self, "duration") + return pulumi.get(self, "scopes") - @duration.setter - def duration(self, value: _builtins.int): - pulumi.set(self, "duration", value) + @scopes.setter + def scopes(self, value: Optional['GetAuthorizationServersPoliciesRuleConditionsScopesArgs']): + pulumi.set(self, "scopes", value) - @_builtins.property - @pulumi.getter(name="lastUpdated") - def last_updated(self) -> _builtins.str: + +class GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgsDict(TypedDict): + includes: Sequence[_builtins.str] + """ + Array of grant types that this condition includes. + """ + +@pulumi.input_type +class GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs: + def __init__(__self__, *, + includes: Sequence[_builtins.str]): """ - Timestamp when the update finished. + :param Sequence[_builtins.str] includes: Array of grant types that this condition includes. """ - return pulumi.get(self, "last_updated") - - @last_updated.setter - def last_updated(self, value: _builtins.str): - pulumi.set(self, "last_updated", value) + pulumi.set(__self__, "includes", includes) @_builtins.property @pulumi.getter - def timezone(self) -> _builtins.str: + def includes(self) -> Sequence[_builtins.str]: """ - Timezone of where the scheduled job takes place. + Array of grant types that this condition includes. """ - return pulumi.get(self, "timezone") + return pulumi.get(self, "includes") - @timezone.setter - def timezone(self, value: _builtins.str): - pulumi.set(self, "timezone", value) + @includes.setter + def includes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "includes", value) -class GetApiServiceIntegrationGrantedScopeArgsDict(TypedDict): - scope: _builtins.str +class GetAuthorizationServersPoliciesRuleConditionsPeopleArgsDict(TypedDict): + groups: NotRequired['GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgsDict'] """ - The scope of the API service integration granted. + Specifies a set of Groups whose Users are to be included + """ + users: NotRequired['GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgsDict'] + """ + Specifies a set of Users to be included """ @pulumi.input_type -class GetApiServiceIntegrationGrantedScopeArgs: +class GetAuthorizationServersPoliciesRuleConditionsPeopleArgs: def __init__(__self__, *, - scope: _builtins.str): + groups: Optional['GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs'] = None, + users: Optional['GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs'] = None): """ - :param _builtins.str scope: The scope of the API service integration granted. + :param 'GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs' groups: Specifies a set of Groups whose Users are to be included + :param 'GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs' users: Specifies a set of Users to be included """ - pulumi.set(__self__, "scope", scope) + if groups is not None: + pulumi.set(__self__, "groups", groups) + if users is not None: + pulumi.set(__self__, "users", users) @_builtins.property @pulumi.getter - def scope(self) -> _builtins.str: + def groups(self) -> Optional['GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs']: """ - The scope of the API service integration granted. + Specifies a set of Groups whose Users are to be included """ - return pulumi.get(self, "scope") + return pulumi.get(self, "groups") - @scope.setter - def scope(self, value: _builtins.str): - pulumi.set(self, "scope", value) + @groups.setter + def groups(self, value: Optional['GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs']): + pulumi.set(self, "groups", value) + @_builtins.property + @pulumi.getter + def users(self) -> Optional['GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs']: + """ + Specifies a set of Users to be included + """ + return pulumi.get(self, "users") -class GetApiTokenNetworkArgsDict(TypedDict): - connection: _builtins.str - """ - The connection type of the Network Condition. - """ - excludes: Sequence[_builtins.str] - """ - The IP address the excluded zone. - """ + @users.setter + def users(self, value: Optional['GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs']): + pulumi.set(self, "users", value) + + +class GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgsDict(TypedDict): includes: Sequence[_builtins.str] """ - The IP address the included zone. + Groups to be included """ @pulumi.input_type -class GetApiTokenNetworkArgs: +class GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs: def __init__(__self__, *, - connection: _builtins.str, - excludes: Sequence[_builtins.str], includes: Sequence[_builtins.str]): """ - :param _builtins.str connection: The connection type of the Network Condition. - :param Sequence[_builtins.str] excludes: The IP address the excluded zone. - :param Sequence[_builtins.str] includes: The IP address the included zone. + :param Sequence[_builtins.str] includes: Groups to be included """ - pulumi.set(__self__, "connection", connection) - pulumi.set(__self__, "excludes", excludes) pulumi.set(__self__, "includes", includes) @_builtins.property @pulumi.getter - def connection(self) -> _builtins.str: + def includes(self) -> Sequence[_builtins.str]: """ - The connection type of the Network Condition. + Groups to be included """ - return pulumi.get(self, "connection") + return pulumi.get(self, "includes") - @connection.setter - def connection(self, value: _builtins.str): - pulumi.set(self, "connection", value) + @includes.setter + def includes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "includes", value) + + +class GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgsDict(TypedDict): + includes: Sequence[_builtins.str] + """ + Users to be included + """ + +@pulumi.input_type +class GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs: + def __init__(__self__, *, + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] includes: Users to be included + """ + pulumi.set(__self__, "includes", includes) @_builtins.property @pulumi.getter - def excludes(self) -> Sequence[_builtins.str]: + def includes(self) -> Sequence[_builtins.str]: """ - The IP address the excluded zone. + Users to be included """ - return pulumi.get(self, "excludes") + return pulumi.get(self, "includes") - @excludes.setter - def excludes(self, value: Sequence[_builtins.str]): - pulumi.set(self, "excludes", value) + @includes.setter + def includes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "includes", value) + + +class GetAuthorizationServersPoliciesRuleConditionsScopesArgsDict(TypedDict): + includes: Sequence[_builtins.str] + """ + Include + """ + +@pulumi.input_type +class GetAuthorizationServersPoliciesRuleConditionsScopesArgs: + def __init__(__self__, *, + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] includes: Include + """ + pulumi.set(__self__, "includes", includes) @_builtins.property @pulumi.getter def includes(self) -> Sequence[_builtins.str]: """ - The IP address the included zone. + Include """ return pulumi.get(self, "includes") @@ -9372,6 +11292,93 @@ def name(self, value: _builtins.str): pulumi.set(self, "name", value) +class GetIamAssigneesUserItemArgsDict(TypedDict): + id: _builtins.str + orn: _builtins.str + """ + ORN representing the assignee + """ + +@pulumi.input_type +class GetIamAssigneesUserItemArgs: + def __init__(__self__, *, + id: _builtins.str, + orn: _builtins.str): + """ + :param _builtins.str orn: ORN representing the assignee + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "orn", orn) + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @id.setter + def id(self, value: _builtins.str): + pulumi.set(self, "id", value) + + @_builtins.property + @pulumi.getter + def orn(self) -> _builtins.str: + """ + ORN representing the assignee + """ + return pulumi.get(self, "orn") + + @orn.setter + def orn(self, value: _builtins.str): + pulumi.set(self, "orn", value) + + +class GetIdentitySourceGroupsProfileArgsDict(TypedDict): + description: _builtins.str + """ + Description of the group. + """ + display_name: _builtins.str + """ + Display name of the group. + """ + +@pulumi.input_type +class GetIdentitySourceGroupsProfileArgs: + def __init__(__self__, *, + description: _builtins.str, + display_name: _builtins.str): + """ + :param _builtins.str description: Description of the group. + :param _builtins.str display_name: Display name of the group. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + + @_builtins.property + @pulumi.getter + def description(self) -> _builtins.str: + """ + Description of the group. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: _builtins.str): + pulumi.set(self, "description", value) + + @_builtins.property + @pulumi.getter(name="displayName") + def display_name(self) -> _builtins.str: + """ + Display name of the group. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: _builtins.str): + pulumi.set(self, "display_name", value) + + class GetLogStreamSettingsArgsDict(TypedDict): account_id: _builtins.str """ diff --git a/sdk/python/pulumi_okta/app/__init__.py b/sdk/python/pulumi_okta/app/__init__.py index 2c9971734..c08b45581 100644 --- a/sdk/python/pulumi_okta/app/__init__.py +++ b/sdk/python/pulumi_okta/app/__init__.py @@ -20,6 +20,7 @@ from .get_metadata_saml import * from .get_oauth import * from .get_saml import * +from .get_sign_on_policy_rule import * from .get_token import * from .group_assignment import * from .o_auth import * diff --git a/sdk/python/pulumi_okta/app/_inputs.py b/sdk/python/pulumi_okta/app/_inputs.py index 925843c17..6be8dc631 100644 --- a/sdk/python/pulumi_okta/app/_inputs.py +++ b/sdk/python/pulumi_okta/app/_inputs.py @@ -63,6 +63,8 @@ 'SamlKeyArgsDict', 'SignonPolicyRulesRuleArgs', 'SignonPolicyRulesRuleArgsDict', + 'SignonPolicyRulesRuleKeepMeSignedInArgs', + 'SignonPolicyRulesRuleKeepMeSignedInArgsDict', 'SignonPolicyRulesRulePlatformIncludeArgs', 'SignonPolicyRulesRulePlatformIncludeArgsDict', 'GetConnectionProfileArgs', @@ -95,6 +97,48 @@ 'GetFeaturesCapabilitiesUpdatePasswordArgsDict', 'GetFeaturesCapabilitiesUpdateProfileArgs', 'GetFeaturesCapabilitiesUpdateProfileArgsDict', + 'GetSignOnPolicyRuleActionsArgs', + 'GetSignOnPolicyRuleActionsArgsDict', + 'GetSignOnPolicyRuleActionsAppSignOnArgs', + 'GetSignOnPolicyRuleActionsAppSignOnArgsDict', + 'GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs', + 'GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgsDict', + 'GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs', + 'GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgsDict', + 'GetSignOnPolicyRuleConditionsArgs', + 'GetSignOnPolicyRuleConditionsArgsDict', + 'GetSignOnPolicyRuleConditionsDeviceArgs', + 'GetSignOnPolicyRuleConditionsDeviceArgsDict', + 'GetSignOnPolicyRuleConditionsDeviceAssuranceArgs', + 'GetSignOnPolicyRuleConditionsDeviceAssuranceArgsDict', + 'GetSignOnPolicyRuleConditionsElConditionArgs', + 'GetSignOnPolicyRuleConditionsElConditionArgsDict', + 'GetSignOnPolicyRuleConditionsNetworkArgs', + 'GetSignOnPolicyRuleConditionsNetworkArgsDict', + 'GetSignOnPolicyRuleConditionsPeopleArgs', + 'GetSignOnPolicyRuleConditionsPeopleArgsDict', + 'GetSignOnPolicyRuleConditionsPeopleGroupsArgs', + 'GetSignOnPolicyRuleConditionsPeopleGroupsArgsDict', + 'GetSignOnPolicyRuleConditionsPeopleUsersArgs', + 'GetSignOnPolicyRuleConditionsPeopleUsersArgsDict', + 'GetSignOnPolicyRuleConditionsPlatformArgs', + 'GetSignOnPolicyRuleConditionsPlatformArgsDict', + 'GetSignOnPolicyRuleConditionsPlatformExcludeArgs', + 'GetSignOnPolicyRuleConditionsPlatformExcludeArgsDict', + 'GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs', + 'GetSignOnPolicyRuleConditionsPlatformExcludeOsArgsDict', + 'GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs', + 'GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgsDict', + 'GetSignOnPolicyRuleConditionsPlatformIncludeArgs', + 'GetSignOnPolicyRuleConditionsPlatformIncludeArgsDict', + 'GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs', + 'GetSignOnPolicyRuleConditionsPlatformIncludeOsArgsDict', + 'GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs', + 'GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgsDict', + 'GetSignOnPolicyRuleConditionsRiskScoreArgs', + 'GetSignOnPolicyRuleConditionsRiskScoreArgsDict', + 'GetSignOnPolicyRuleConditionsUserTypeArgs', + 'GetSignOnPolicyRuleConditionsUserTypeArgsDict', ] class ConnectionProfileArgsDict(TypedDict): @@ -1764,6 +1808,10 @@ class SignonPolicyRulesRuleArgsDict(TypedDict): """ Inactivity period before re-authentication in ISO 8601 duration format. """ + keep_me_signed_in: NotRequired[pulumi.Input[Optional['SignonPolicyRulesRuleKeepMeSignedInArgsDict']]] + """ + Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + """ network_connection: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK. @@ -1790,7 +1838,7 @@ class SignonPolicyRulesRuleArgsDict(TypedDict): """ risk_score: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ - Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. """ status: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ @@ -1837,6 +1885,7 @@ def __init__(__self__, *, groups_includeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, id: pulumi.Input[Optional[_builtins.str]] = None, inactivity_period: pulumi.Input[Optional[_builtins.str]] = None, + keep_me_signed_in: pulumi.Input[Optional['SignonPolicyRulesRuleKeepMeSignedInArgs']] = None, network_connection: pulumi.Input[Optional[_builtins.str]] = None, network_excludes: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, network_includes: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, @@ -1865,13 +1914,14 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] groups_includeds: Set of group IDs to include in this rule. :param pulumi.Input[_builtins.str] id: (String) - The ID of this resource (same as `policy_id`). :param pulumi.Input[_builtins.str] inactivity_period: Inactivity period before re-authentication in ISO 8601 duration format. + :param pulumi.Input['SignonPolicyRulesRuleKeepMeSignedInArgs'] keep_me_signed_in: Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. :param pulumi.Input[_builtins.str] network_connection: Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK. :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_excludes: List of network zone IDs to exclude. :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_includes: List of network zone IDs to include. :param pulumi.Input[Sequence[pulumi.Input['SignonPolicyRulesRulePlatformIncludeArgs']]] platform_includes: Platform conditions to include. :param pulumi.Input[_builtins.int] priority: Priority of the rule. Lower numbers are evaluated first. :param pulumi.Input[_builtins.str] re_authentication_frequency: Re-authentication frequency in ISO 8601 duration format (e.g., PT2H for 2 hours). When using authentication chains with reauthenticateIn, this value is computed by the API based on the chain configuration. - :param pulumi.Input[_builtins.str] risk_score: Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + :param pulumi.Input[_builtins.str] risk_score: Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. :param pulumi.Input[_builtins.str] status: Status of the rule: ACTIVE or INACTIVE. :param pulumi.Input[_builtins.bool] system: Whether this is a system rule (e.g., Catch-all Rule). System rules cannot be modified. :param pulumi.Input[_builtins.str] type: Verification method type. @@ -1905,6 +1955,8 @@ def __init__(__self__, *, pulumi.set(__self__, "id", id) if inactivity_period is not None: pulumi.set(__self__, "inactivity_period", inactivity_period) + if keep_me_signed_in is not None: + pulumi.set(__self__, "keep_me_signed_in", keep_me_signed_in) if network_connection is not None: pulumi.set(__self__, "network_connection", network_connection) if network_excludes is not None: @@ -2090,6 +2142,18 @@ def inactivity_period(self) -> pulumi.Input[Optional[_builtins.str]]: def inactivity_period(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "inactivity_period", value) + @_builtins.property + @pulumi.getter(name="keepMeSignedIn") + def keep_me_signed_in(self) -> pulumi.Input[Optional['SignonPolicyRulesRuleKeepMeSignedInArgs']]: + """ + Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + """ + return pulumi.get(self, "keep_me_signed_in") + + @keep_me_signed_in.setter + def keep_me_signed_in(self, value: pulumi.Input[Optional['SignonPolicyRulesRuleKeepMeSignedInArgs']]): + pulumi.set(self, "keep_me_signed_in", value) + @_builtins.property @pulumi.getter(name="networkConnection") def network_connection(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -2166,7 +2230,7 @@ def re_authentication_frequency(self, value: pulumi.Input[Optional[_builtins.str @pulumi.getter(name="riskScore") def risk_score(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. """ return pulumi.get(self, "risk_score") @@ -2259,6 +2323,55 @@ def users_includeds(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_bu pulumi.set(self, "users_includeds", value) +class SignonPolicyRulesRuleKeepMeSignedInArgsDict(TypedDict): + post_auth: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + """ + post_auth_prompt_frequency: NotRequired[pulumi.Input[Optional[_builtins.str]]] + """ + How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + +@pulumi.input_type +class SignonPolicyRulesRuleKeepMeSignedInArgs: + def __init__(__self__, *, + post_auth: pulumi.Input[Optional[_builtins.str]] = None, + post_auth_prompt_frequency: pulumi.Input[Optional[_builtins.str]] = None): + """ + :param pulumi.Input[_builtins.str] post_auth: Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + :param pulumi.Input[_builtins.str] post_auth_prompt_frequency: How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + if post_auth is not None: + pulumi.set(__self__, "post_auth", post_auth) + if post_auth_prompt_frequency is not None: + pulumi.set(__self__, "post_auth_prompt_frequency", post_auth_prompt_frequency) + + @_builtins.property + @pulumi.getter(name="postAuth") + def post_auth(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + """ + return pulumi.get(self, "post_auth") + + @post_auth.setter + def post_auth(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "post_auth", value) + + @_builtins.property + @pulumi.getter(name="postAuthPromptFrequency") + def post_auth_prompt_frequency(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + return pulumi.get(self, "post_auth_prompt_frequency") + + @post_auth_prompt_frequency.setter + def post_auth_prompt_frequency(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "post_auth_prompt_frequency", value) + + class SignonPolicyRulesRulePlatformIncludeArgsDict(TypedDict): os_expression: NotRequired[pulumi.Input[Optional[_builtins.str]]] """ @@ -3103,3 +3216,1123 @@ def status(self, value: _builtins.str): pulumi.set(self, "status", value) +class GetSignOnPolicyRuleActionsArgsDict(TypedDict): + app_sign_on: NotRequired['GetSignOnPolicyRuleActionsAppSignOnArgsDict'] + """ + Specifies the results when a user attempts to sign in + """ + +@pulumi.input_type +class GetSignOnPolicyRuleActionsArgs: + def __init__(__self__, *, + app_sign_on: Optional['GetSignOnPolicyRuleActionsAppSignOnArgs'] = None): + """ + :param 'GetSignOnPolicyRuleActionsAppSignOnArgs' app_sign_on: Specifies the results when a user attempts to sign in + """ + if app_sign_on is not None: + pulumi.set(__self__, "app_sign_on", app_sign_on) + + @_builtins.property + @pulumi.getter(name="appSignOn") + def app_sign_on(self) -> Optional['GetSignOnPolicyRuleActionsAppSignOnArgs']: + """ + Specifies the results when a user attempts to sign in + """ + return pulumi.get(self, "app_sign_on") + + @app_sign_on.setter + def app_sign_on(self, value: Optional['GetSignOnPolicyRuleActionsAppSignOnArgs']): + pulumi.set(self, "app_sign_on", value) + + +class GetSignOnPolicyRuleActionsAppSignOnArgsDict(TypedDict): + access: _builtins.str + """ + Access + """ + keep_me_signed_in: NotRequired['GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgsDict'] + """ + Controls how often the post-authentication prompt is presented to users + """ + verification_method: NotRequired['GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgsDict'] + """ + The method used to verify a user + """ + +@pulumi.input_type +class GetSignOnPolicyRuleActionsAppSignOnArgs: + def __init__(__self__, *, + access: _builtins.str, + keep_me_signed_in: Optional['GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs'] = None, + verification_method: Optional['GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs'] = None): + """ + :param _builtins.str access: Access + :param 'GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs' keep_me_signed_in: Controls how often the post-authentication prompt is presented to users + :param 'GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs' verification_method: The method used to verify a user + """ + pulumi.set(__self__, "access", access) + if keep_me_signed_in is not None: + pulumi.set(__self__, "keep_me_signed_in", keep_me_signed_in) + if verification_method is not None: + pulumi.set(__self__, "verification_method", verification_method) + + @_builtins.property + @pulumi.getter + def access(self) -> _builtins.str: + """ + Access + """ + return pulumi.get(self, "access") + + @access.setter + def access(self, value: _builtins.str): + pulumi.set(self, "access", value) + + @_builtins.property + @pulumi.getter(name="keepMeSignedIn") + def keep_me_signed_in(self) -> Optional['GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs']: + """ + Controls how often the post-authentication prompt is presented to users + """ + return pulumi.get(self, "keep_me_signed_in") + + @keep_me_signed_in.setter + def keep_me_signed_in(self, value: Optional['GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs']): + pulumi.set(self, "keep_me_signed_in", value) + + @_builtins.property + @pulumi.getter(name="verificationMethod") + def verification_method(self) -> Optional['GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs']: + """ + The method used to verify a user + """ + return pulumi.get(self, "verification_method") + + @verification_method.setter + def verification_method(self, value: Optional['GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs']): + pulumi.set(self, "verification_method", value) + + +class GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgsDict(TypedDict): + post_auth: _builtins.str + """ + Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + """ + post_auth_prompt_frequency: _builtins.str + """ + A time duration specified as an ISO 8601 duration + """ + +@pulumi.input_type +class GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs: + def __init__(__self__, *, + post_auth: _builtins.str, + post_auth_prompt_frequency: _builtins.str): + """ + :param _builtins.str post_auth: Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + :param _builtins.str post_auth_prompt_frequency: A time duration specified as an ISO 8601 duration + """ + pulumi.set(__self__, "post_auth", post_auth) + pulumi.set(__self__, "post_auth_prompt_frequency", post_auth_prompt_frequency) + + @_builtins.property + @pulumi.getter(name="postAuth") + def post_auth(self) -> _builtins.str: + """ + Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + """ + return pulumi.get(self, "post_auth") + + @post_auth.setter + def post_auth(self, value: _builtins.str): + pulumi.set(self, "post_auth", value) + + @_builtins.property + @pulumi.getter(name="postAuthPromptFrequency") + def post_auth_prompt_frequency(self) -> _builtins.str: + """ + A time duration specified as an ISO 8601 duration + """ + return pulumi.get(self, "post_auth_prompt_frequency") + + @post_auth_prompt_frequency.setter + def post_auth_prompt_frequency(self, value: _builtins.str): + pulumi.set(self, "post_auth_prompt_frequency", value) + + +class GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgsDict(TypedDict): + type: _builtins.str + """ + Verification method type + """ + +@pulumi.input_type +class GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs: + def __init__(__self__, *, + type: _builtins.str): + """ + :param _builtins.str type: Verification method type + """ + pulumi.set(__self__, "type", type) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + Verification method type + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: _builtins.str): + pulumi.set(self, "type", value) + + +class GetSignOnPolicyRuleConditionsArgsDict(TypedDict): + device: NotRequired['GetSignOnPolicyRuleConditionsDeviceArgsDict'] + """ + Specifies the device condition to match on + """ + el_condition: NotRequired['GetSignOnPolicyRuleConditionsElConditionArgsDict'] + """ + Specifies Okta Expression Language expressions + """ + network: NotRequired['GetSignOnPolicyRuleConditionsNetworkArgsDict'] + """ + Specifies a network selection mode and a set of network zones to be included or excluded. + """ + people: NotRequired['GetSignOnPolicyRuleConditionsPeopleArgsDict'] + """ + Specifies the users and groups that are included or excluded by the policy rule + """ + platform: NotRequired['GetSignOnPolicyRuleConditionsPlatformArgsDict'] + """ + Specifies a particular platform or device to match on + """ + risk_score: NotRequired['GetSignOnPolicyRuleConditionsRiskScoreArgsDict'] + """ + Specifies a particular level of risk to match on + """ + user_type: NotRequired['GetSignOnPolicyRuleConditionsUserTypeArgsDict'] + """ + Specifies which user types to include and/or exclude + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsArgs: + def __init__(__self__, *, + device: Optional['GetSignOnPolicyRuleConditionsDeviceArgs'] = None, + el_condition: Optional['GetSignOnPolicyRuleConditionsElConditionArgs'] = None, + network: Optional['GetSignOnPolicyRuleConditionsNetworkArgs'] = None, + people: Optional['GetSignOnPolicyRuleConditionsPeopleArgs'] = None, + platform: Optional['GetSignOnPolicyRuleConditionsPlatformArgs'] = None, + risk_score: Optional['GetSignOnPolicyRuleConditionsRiskScoreArgs'] = None, + user_type: Optional['GetSignOnPolicyRuleConditionsUserTypeArgs'] = None): + """ + :param 'GetSignOnPolicyRuleConditionsDeviceArgs' device: Specifies the device condition to match on + :param 'GetSignOnPolicyRuleConditionsElConditionArgs' el_condition: Specifies Okta Expression Language expressions + :param 'GetSignOnPolicyRuleConditionsNetworkArgs' network: Specifies a network selection mode and a set of network zones to be included or excluded. + :param 'GetSignOnPolicyRuleConditionsPeopleArgs' people: Specifies the users and groups that are included or excluded by the policy rule + :param 'GetSignOnPolicyRuleConditionsPlatformArgs' platform: Specifies a particular platform or device to match on + :param 'GetSignOnPolicyRuleConditionsRiskScoreArgs' risk_score: Specifies a particular level of risk to match on + :param 'GetSignOnPolicyRuleConditionsUserTypeArgs' user_type: Specifies which user types to include and/or exclude + """ + if device is not None: + pulumi.set(__self__, "device", device) + if el_condition is not None: + pulumi.set(__self__, "el_condition", el_condition) + if network is not None: + pulumi.set(__self__, "network", network) + if people is not None: + pulumi.set(__self__, "people", people) + if platform is not None: + pulumi.set(__self__, "platform", platform) + if risk_score is not None: + pulumi.set(__self__, "risk_score", risk_score) + if user_type is not None: + pulumi.set(__self__, "user_type", user_type) + + @_builtins.property + @pulumi.getter + def device(self) -> Optional['GetSignOnPolicyRuleConditionsDeviceArgs']: + """ + Specifies the device condition to match on + """ + return pulumi.get(self, "device") + + @device.setter + def device(self, value: Optional['GetSignOnPolicyRuleConditionsDeviceArgs']): + pulumi.set(self, "device", value) + + @_builtins.property + @pulumi.getter(name="elCondition") + def el_condition(self) -> Optional['GetSignOnPolicyRuleConditionsElConditionArgs']: + """ + Specifies Okta Expression Language expressions + """ + return pulumi.get(self, "el_condition") + + @el_condition.setter + def el_condition(self, value: Optional['GetSignOnPolicyRuleConditionsElConditionArgs']): + pulumi.set(self, "el_condition", value) + + @_builtins.property + @pulumi.getter + def network(self) -> Optional['GetSignOnPolicyRuleConditionsNetworkArgs']: + """ + Specifies a network selection mode and a set of network zones to be included or excluded. + """ + return pulumi.get(self, "network") + + @network.setter + def network(self, value: Optional['GetSignOnPolicyRuleConditionsNetworkArgs']): + pulumi.set(self, "network", value) + + @_builtins.property + @pulumi.getter + def people(self) -> Optional['GetSignOnPolicyRuleConditionsPeopleArgs']: + """ + Specifies the users and groups that are included or excluded by the policy rule + """ + return pulumi.get(self, "people") + + @people.setter + def people(self, value: Optional['GetSignOnPolicyRuleConditionsPeopleArgs']): + pulumi.set(self, "people", value) + + @_builtins.property + @pulumi.getter + def platform(self) -> Optional['GetSignOnPolicyRuleConditionsPlatformArgs']: + """ + Specifies a particular platform or device to match on + """ + return pulumi.get(self, "platform") + + @platform.setter + def platform(self, value: Optional['GetSignOnPolicyRuleConditionsPlatformArgs']): + pulumi.set(self, "platform", value) + + @_builtins.property + @pulumi.getter(name="riskScore") + def risk_score(self) -> Optional['GetSignOnPolicyRuleConditionsRiskScoreArgs']: + """ + Specifies a particular level of risk to match on + """ + return pulumi.get(self, "risk_score") + + @risk_score.setter + def risk_score(self, value: Optional['GetSignOnPolicyRuleConditionsRiskScoreArgs']): + pulumi.set(self, "risk_score", value) + + @_builtins.property + @pulumi.getter(name="userType") + def user_type(self) -> Optional['GetSignOnPolicyRuleConditionsUserTypeArgs']: + """ + Specifies which user types to include and/or exclude + """ + return pulumi.get(self, "user_type") + + @user_type.setter + def user_type(self, value: Optional['GetSignOnPolicyRuleConditionsUserTypeArgs']): + pulumi.set(self, "user_type", value) + + +class GetSignOnPolicyRuleConditionsDeviceArgsDict(TypedDict): + managed: _builtins.bool + """ + Indicates if the device is managed. + """ + registered: _builtins.bool + """ + Indicates if the device is registered. + """ + assurance: NotRequired['GetSignOnPolicyRuleConditionsDeviceAssuranceArgsDict'] + """ + Specifies device assurance policies in the policy rule. + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsDeviceArgs: + def __init__(__self__, *, + managed: _builtins.bool, + registered: _builtins.bool, + assurance: Optional['GetSignOnPolicyRuleConditionsDeviceAssuranceArgs'] = None): + """ + :param _builtins.bool managed: Indicates if the device is managed. + :param _builtins.bool registered: Indicates if the device is registered. + :param 'GetSignOnPolicyRuleConditionsDeviceAssuranceArgs' assurance: Specifies device assurance policies in the policy rule. + """ + pulumi.set(__self__, "managed", managed) + pulumi.set(__self__, "registered", registered) + if assurance is not None: + pulumi.set(__self__, "assurance", assurance) + + @_builtins.property + @pulumi.getter + def managed(self) -> _builtins.bool: + """ + Indicates if the device is managed. + """ + return pulumi.get(self, "managed") + + @managed.setter + def managed(self, value: _builtins.bool): + pulumi.set(self, "managed", value) + + @_builtins.property + @pulumi.getter + def registered(self) -> _builtins.bool: + """ + Indicates if the device is registered. + """ + return pulumi.get(self, "registered") + + @registered.setter + def registered(self, value: _builtins.bool): + pulumi.set(self, "registered", value) + + @_builtins.property + @pulumi.getter + def assurance(self) -> Optional['GetSignOnPolicyRuleConditionsDeviceAssuranceArgs']: + """ + Specifies device assurance policies in the policy rule. + """ + return pulumi.get(self, "assurance") + + @assurance.setter + def assurance(self, value: Optional['GetSignOnPolicyRuleConditionsDeviceAssuranceArgs']): + pulumi.set(self, "assurance", value) + + +class GetSignOnPolicyRuleConditionsDeviceAssuranceArgsDict(TypedDict): + includes: Sequence[_builtins.str] + """ + Specifies the device assurance policy ID + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsDeviceAssuranceArgs: + def __init__(__self__, *, + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] includes: Specifies the device assurance policy ID + """ + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + Specifies the device assurance policy ID + """ + return pulumi.get(self, "includes") + + @includes.setter + def includes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "includes", value) + + +class GetSignOnPolicyRuleConditionsElConditionArgsDict(TypedDict): + condition: _builtins.str + """ + expression to match + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsElConditionArgs: + def __init__(__self__, *, + condition: _builtins.str): + """ + :param _builtins.str condition: expression to match + """ + pulumi.set(__self__, "condition", condition) + + @_builtins.property + @pulumi.getter + def condition(self) -> _builtins.str: + """ + expression to match + """ + return pulumi.get(self, "condition") + + @condition.setter + def condition(self, value: _builtins.str): + pulumi.set(self, "condition", value) + + +class GetSignOnPolicyRuleConditionsNetworkArgsDict(TypedDict): + connection: _builtins.str + """ + Network selection mode + """ + excludes: Sequence[_builtins.str] + """ + The zones to exclude. + """ + includes: Sequence[_builtins.str] + """ + The zones to include. + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsNetworkArgs: + def __init__(__self__, *, + connection: _builtins.str, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param _builtins.str connection: Network selection mode + :param Sequence[_builtins.str] excludes: The zones to exclude. + :param Sequence[_builtins.str] includes: The zones to include. + """ + pulumi.set(__self__, "connection", connection) + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def connection(self) -> _builtins.str: + """ + Network selection mode + """ + return pulumi.get(self, "connection") + + @connection.setter + def connection(self, value: _builtins.str): + pulumi.set(self, "connection", value) + + @_builtins.property + @pulumi.getter + def excludes(self) -> Sequence[_builtins.str]: + """ + The zones to exclude. + """ + return pulumi.get(self, "excludes") + + @excludes.setter + def excludes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "excludes", value) + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + The zones to include. + """ + return pulumi.get(self, "includes") + + @includes.setter + def includes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "includes", value) + + +class GetSignOnPolicyRuleConditionsPeopleArgsDict(TypedDict): + groups: NotRequired['GetSignOnPolicyRuleConditionsPeopleGroupsArgsDict'] + """ + Specifies a set of groups whose users are to be included or excluded + """ + users: NotRequired['GetSignOnPolicyRuleConditionsPeopleUsersArgsDict'] + """ + Specifies a set of users to be included or excluded + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPeopleArgs: + def __init__(__self__, *, + groups: Optional['GetSignOnPolicyRuleConditionsPeopleGroupsArgs'] = None, + users: Optional['GetSignOnPolicyRuleConditionsPeopleUsersArgs'] = None): + """ + :param 'GetSignOnPolicyRuleConditionsPeopleGroupsArgs' groups: Specifies a set of groups whose users are to be included or excluded + :param 'GetSignOnPolicyRuleConditionsPeopleUsersArgs' users: Specifies a set of users to be included or excluded + """ + if groups is not None: + pulumi.set(__self__, "groups", groups) + if users is not None: + pulumi.set(__self__, "users", users) + + @_builtins.property + @pulumi.getter + def groups(self) -> Optional['GetSignOnPolicyRuleConditionsPeopleGroupsArgs']: + """ + Specifies a set of groups whose users are to be included or excluded + """ + return pulumi.get(self, "groups") + + @groups.setter + def groups(self, value: Optional['GetSignOnPolicyRuleConditionsPeopleGroupsArgs']): + pulumi.set(self, "groups", value) + + @_builtins.property + @pulumi.getter + def users(self) -> Optional['GetSignOnPolicyRuleConditionsPeopleUsersArgs']: + """ + Specifies a set of users to be included or excluded + """ + return pulumi.get(self, "users") + + @users.setter + def users(self, value: Optional['GetSignOnPolicyRuleConditionsPeopleUsersArgs']): + pulumi.set(self, "users", value) + + +class GetSignOnPolicyRuleConditionsPeopleGroupsArgsDict(TypedDict): + excludes: Sequence[_builtins.str] + """ + Groups to be excluded + """ + includes: Sequence[_builtins.str] + """ + Groups to be included + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPeopleGroupsArgs: + def __init__(__self__, *, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] excludes: Groups to be excluded + :param Sequence[_builtins.str] includes: Groups to be included + """ + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def excludes(self) -> Sequence[_builtins.str]: + """ + Groups to be excluded + """ + return pulumi.get(self, "excludes") + + @excludes.setter + def excludes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "excludes", value) + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + Groups to be included + """ + return pulumi.get(self, "includes") + + @includes.setter + def includes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "includes", value) + + +class GetSignOnPolicyRuleConditionsPeopleUsersArgsDict(TypedDict): + excludes: Sequence[_builtins.str] + """ + Users to be excluded + """ + includes: Sequence[_builtins.str] + """ + Users to be included + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPeopleUsersArgs: + def __init__(__self__, *, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] excludes: Users to be excluded + :param Sequence[_builtins.str] includes: Users to be included + """ + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def excludes(self) -> Sequence[_builtins.str]: + """ + Users to be excluded + """ + return pulumi.get(self, "excludes") + + @excludes.setter + def excludes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "excludes", value) + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + Users to be included + """ + return pulumi.get(self, "includes") + + @includes.setter + def includes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "includes", value) + + +class GetSignOnPolicyRuleConditionsPlatformArgsDict(TypedDict): + excludes: NotRequired[Sequence['GetSignOnPolicyRuleConditionsPlatformExcludeArgsDict']] + """ + Exclude + """ + includes: NotRequired[Sequence['GetSignOnPolicyRuleConditionsPlatformIncludeArgsDict']] + """ + Include + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPlatformArgs: + def __init__(__self__, *, + excludes: Optional[Sequence['GetSignOnPolicyRuleConditionsPlatformExcludeArgs']] = None, + includes: Optional[Sequence['GetSignOnPolicyRuleConditionsPlatformIncludeArgs']] = None): + """ + :param Sequence['GetSignOnPolicyRuleConditionsPlatformExcludeArgs'] excludes: Exclude + :param Sequence['GetSignOnPolicyRuleConditionsPlatformIncludeArgs'] includes: Include + """ + if excludes is not None: + pulumi.set(__self__, "excludes", excludes) + if includes is not None: + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def excludes(self) -> Optional[Sequence['GetSignOnPolicyRuleConditionsPlatformExcludeArgs']]: + """ + Exclude + """ + return pulumi.get(self, "excludes") + + @excludes.setter + def excludes(self, value: Optional[Sequence['GetSignOnPolicyRuleConditionsPlatformExcludeArgs']]): + pulumi.set(self, "excludes", value) + + @_builtins.property + @pulumi.getter + def includes(self) -> Optional[Sequence['GetSignOnPolicyRuleConditionsPlatformIncludeArgs']]: + """ + Include + """ + return pulumi.get(self, "includes") + + @includes.setter + def includes(self, value: Optional[Sequence['GetSignOnPolicyRuleConditionsPlatformIncludeArgs']]): + pulumi.set(self, "includes", value) + + +class GetSignOnPolicyRuleConditionsPlatformExcludeArgsDict(TypedDict): + type: _builtins.str + """ + The type of platform + """ + os: NotRequired['GetSignOnPolicyRuleConditionsPlatformExcludeOsArgsDict'] + """ + Os + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPlatformExcludeArgs: + def __init__(__self__, *, + type: _builtins.str, + os: Optional['GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs'] = None): + """ + :param _builtins.str type: The type of platform + :param 'GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs' os: Os + """ + pulumi.set(__self__, "type", type) + if os is not None: + pulumi.set(__self__, "os", os) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + The type of platform + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: _builtins.str): + pulumi.set(self, "type", value) + + @_builtins.property + @pulumi.getter + def os(self) -> Optional['GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs']: + """ + Os + """ + return pulumi.get(self, "os") + + @os.setter + def os(self, value: Optional['GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs']): + pulumi.set(self, "os", value) + + +class GetSignOnPolicyRuleConditionsPlatformExcludeOsArgsDict(TypedDict): + expression: _builtins.str + """ + Expression + """ + type: _builtins.str + """ + The type of operating system + """ + version: NotRequired['GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgsDict'] + """ + Version + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs: + def __init__(__self__, *, + expression: _builtins.str, + type: _builtins.str, + version: Optional['GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs'] = None): + """ + :param _builtins.str expression: Expression + :param _builtins.str type: The type of operating system + :param 'GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs' version: Version + """ + pulumi.set(__self__, "expression", expression) + pulumi.set(__self__, "type", type) + if version is not None: + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def expression(self) -> _builtins.str: + """ + Expression + """ + return pulumi.get(self, "expression") + + @expression.setter + def expression(self, value: _builtins.str): + pulumi.set(self, "expression", value) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + The type of operating system + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: _builtins.str): + pulumi.set(self, "type", value) + + @_builtins.property + @pulumi.getter + def version(self) -> Optional['GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs']: + """ + Version + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional['GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs']): + pulumi.set(self, "version", value) + + +class GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgsDict(TypedDict): + match_type: _builtins.str + """ + MatchType + """ + value: _builtins.str + """ + Value + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs: + def __init__(__self__, *, + match_type: _builtins.str, + value: _builtins.str): + """ + :param _builtins.str match_type: MatchType + :param _builtins.str value: Value + """ + pulumi.set(__self__, "match_type", match_type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter(name="matchType") + def match_type(self) -> _builtins.str: + """ + MatchType + """ + return pulumi.get(self, "match_type") + + @match_type.setter + def match_type(self, value: _builtins.str): + pulumi.set(self, "match_type", value) + + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + """ + Value + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: _builtins.str): + pulumi.set(self, "value", value) + + +class GetSignOnPolicyRuleConditionsPlatformIncludeArgsDict(TypedDict): + type: _builtins.str + """ + The type of platform + """ + os: NotRequired['GetSignOnPolicyRuleConditionsPlatformIncludeOsArgsDict'] + """ + Os + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPlatformIncludeArgs: + def __init__(__self__, *, + type: _builtins.str, + os: Optional['GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs'] = None): + """ + :param _builtins.str type: The type of platform + :param 'GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs' os: Os + """ + pulumi.set(__self__, "type", type) + if os is not None: + pulumi.set(__self__, "os", os) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + The type of platform + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: _builtins.str): + pulumi.set(self, "type", value) + + @_builtins.property + @pulumi.getter + def os(self) -> Optional['GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs']: + """ + Os + """ + return pulumi.get(self, "os") + + @os.setter + def os(self, value: Optional['GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs']): + pulumi.set(self, "os", value) + + +class GetSignOnPolicyRuleConditionsPlatformIncludeOsArgsDict(TypedDict): + expression: _builtins.str + """ + Expression + """ + type: _builtins.str + """ + The type of operating system + """ + version: NotRequired['GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgsDict'] + """ + Version + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs: + def __init__(__self__, *, + expression: _builtins.str, + type: _builtins.str, + version: Optional['GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs'] = None): + """ + :param _builtins.str expression: Expression + :param _builtins.str type: The type of operating system + :param 'GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs' version: Version + """ + pulumi.set(__self__, "expression", expression) + pulumi.set(__self__, "type", type) + if version is not None: + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def expression(self) -> _builtins.str: + """ + Expression + """ + return pulumi.get(self, "expression") + + @expression.setter + def expression(self, value: _builtins.str): + pulumi.set(self, "expression", value) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + The type of operating system + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: _builtins.str): + pulumi.set(self, "type", value) + + @_builtins.property + @pulumi.getter + def version(self) -> Optional['GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs']: + """ + Version + """ + return pulumi.get(self, "version") + + @version.setter + def version(self, value: Optional['GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs']): + pulumi.set(self, "version", value) + + +class GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgsDict(TypedDict): + match_type: _builtins.str + """ + MatchType + """ + value: _builtins.str + """ + Value + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs: + def __init__(__self__, *, + match_type: _builtins.str, + value: _builtins.str): + """ + :param _builtins.str match_type: MatchType + :param _builtins.str value: Value + """ + pulumi.set(__self__, "match_type", match_type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter(name="matchType") + def match_type(self) -> _builtins.str: + """ + MatchType + """ + return pulumi.get(self, "match_type") + + @match_type.setter + def match_type(self, value: _builtins.str): + pulumi.set(self, "match_type", value) + + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + """ + Value + """ + return pulumi.get(self, "value") + + @value.setter + def value(self, value: _builtins.str): + pulumi.set(self, "value", value) + + +class GetSignOnPolicyRuleConditionsRiskScoreArgsDict(TypedDict): + level: _builtins.str + """ + The level to match + """ + min_risk_level: _builtins.str + """ + The minimum risk level to match. + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsRiskScoreArgs: + def __init__(__self__, *, + level: _builtins.str, + min_risk_level: _builtins.str): + """ + :param _builtins.str level: The level to match + :param _builtins.str min_risk_level: The minimum risk level to match. + """ + pulumi.set(__self__, "level", level) + pulumi.set(__self__, "min_risk_level", min_risk_level) + + @_builtins.property + @pulumi.getter + def level(self) -> _builtins.str: + """ + The level to match + """ + return pulumi.get(self, "level") + + @level.setter + def level(self, value: _builtins.str): + pulumi.set(self, "level", value) + + @_builtins.property + @pulumi.getter(name="minRiskLevel") + def min_risk_level(self) -> _builtins.str: + """ + The minimum risk level to match. + """ + return pulumi.get(self, "min_risk_level") + + @min_risk_level.setter + def min_risk_level(self, value: _builtins.str): + pulumi.set(self, "min_risk_level", value) + + +class GetSignOnPolicyRuleConditionsUserTypeArgsDict(TypedDict): + excludes: Sequence[_builtins.str] + """ + The user types to exclude + """ + includes: Sequence[_builtins.str] + """ + The user types to include + """ + +@pulumi.input_type +class GetSignOnPolicyRuleConditionsUserTypeArgs: + def __init__(__self__, *, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] excludes: The user types to exclude + :param Sequence[_builtins.str] includes: The user types to include + """ + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def excludes(self) -> Sequence[_builtins.str]: + """ + The user types to exclude + """ + return pulumi.get(self, "excludes") + + @excludes.setter + def excludes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "excludes", value) + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + The user types to include + """ + return pulumi.get(self, "includes") + + @includes.setter + def includes(self, value: Sequence[_builtins.str]): + pulumi.set(self, "includes", value) + + diff --git a/sdk/python/pulumi_okta/app/get_sign_on_policy_rule.py b/sdk/python/pulumi_okta/app/get_sign_on_policy_rule.py new file mode 100644 index 000000000..b1ca4711c --- /dev/null +++ b/sdk/python/pulumi_okta/app/get_sign_on_policy_rule.py @@ -0,0 +1,254 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetSignOnPolicyRuleResult', + 'AwaitableGetSignOnPolicyRuleResult', + 'get_sign_on_policy_rule', + 'get_sign_on_policy_rule_output', +] + +@pulumi.output_type +class GetSignOnPolicyRuleResult: + """ + A collection of values returned by getSignOnPolicyRule. + """ + def __init__(__self__, actions=None, conditions=None, created=None, id=None, last_updated=None, name=None, policy_id=None, priority=None, status=None, system=None): + if actions and not isinstance(actions, dict): + raise TypeError("Expected argument 'actions' to be a dict") + pulumi.set(__self__, "actions", actions) + if conditions and not isinstance(conditions, dict): + raise TypeError("Expected argument 'conditions' to be a dict") + pulumi.set(__self__, "conditions", conditions) + if created and not isinstance(created, str): + raise TypeError("Expected argument 'created' to be a str") + pulumi.set(__self__, "created", created) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if last_updated and not isinstance(last_updated, str): + raise TypeError("Expected argument 'last_updated' to be a str") + pulumi.set(__self__, "last_updated", last_updated) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if policy_id and not isinstance(policy_id, str): + raise TypeError("Expected argument 'policy_id' to be a str") + pulumi.set(__self__, "policy_id", policy_id) + if priority and not isinstance(priority, int): + raise TypeError("Expected argument 'priority' to be a int") + pulumi.set(__self__, "priority", priority) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if system and not isinstance(system, bool): + raise TypeError("Expected argument 'system' to be a bool") + pulumi.set(__self__, "system", system) + + @_builtins.property + @pulumi.getter + def actions(self) -> Optional['outputs.GetSignOnPolicyRuleActionsResult']: + return pulumi.get(self, "actions") + + @_builtins.property + @pulumi.getter + def conditions(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsResult']: + return pulumi.get(self, "conditions") + + @_builtins.property + @pulumi.getter + def created(self) -> _builtins.str: + """ + Timestamp when the rule was created + """ + return pulumi.get(self, "created") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + """ + Unique identifier of the access policy rule. + """ + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> _builtins.str: + """ + Timestamp when the rule was last modified + """ + return pulumi.get(self, "last_updated") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + Name of the rule + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="policyId") + def policy_id(self) -> _builtins.str: + """ + `id` of the policy + """ + return pulumi.get(self, "policy_id") + + @_builtins.property + @pulumi.getter + def priority(self) -> _builtins.int: + """ + Priority of the rule + """ + return pulumi.get(self, "priority") + + @_builtins.property + @pulumi.getter + def status(self) -> _builtins.str: + """ + Whether or not the rule is active. + """ + return pulumi.get(self, "status") + + @_builtins.property + @pulumi.getter + def system(self) -> _builtins.bool: + """ + Specifies whether Okta created the policy rule (`system=true`). + """ + return pulumi.get(self, "system") + + +class AwaitableGetSignOnPolicyRuleResult(GetSignOnPolicyRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetSignOnPolicyRuleResult( + actions=self.actions, + conditions=self.conditions, + created=self.created, + id=self.id, + last_updated=self.last_updated, + name=self.name, + policy_id=self.policy_id, + priority=self.priority, + status=self.status, + system=self.system) + + +def get_sign_on_policy_rule(actions: Optional[Union['GetSignOnPolicyRuleActionsArgs', 'GetSignOnPolicyRuleActionsArgsDict']] = None, + conditions: Optional[Union['GetSignOnPolicyRuleConditionsArgs', 'GetSignOnPolicyRuleConditionsArgsDict']] = None, + id: Optional[_builtins.str] = None, + policy_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSignOnPolicyRuleResult: + """ + Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + + > **WARNING:** This feature is only available as a part of the + Identity Engine. Contact support + for further information. + + > Inside the product a sign-on policy rule is referenced as an _authentication + policy rule_, in the public API the parent policy is of type + [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_app_signon_policy(app_id="") + example_get_sign_on_policy_rule = okta.app.get_sign_on_policy_rule(id="", + policy_id=example.id) + ``` + + + :param _builtins.str id: Unique identifier of the access policy rule. + :param _builtins.str policy_id: `id` of the policy + """ + __args__ = dict() + __args__['actions'] = actions + __args__['conditions'] = conditions + __args__['id'] = id + __args__['policyId'] = policy_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('okta:app/getSignOnPolicyRule:getSignOnPolicyRule', __args__, opts=opts, typ=GetSignOnPolicyRuleResult).value + + return AwaitableGetSignOnPolicyRuleResult( + actions=pulumi.get(__ret__, 'actions'), + conditions=pulumi.get(__ret__, 'conditions'), + created=pulumi.get(__ret__, 'created'), + id=pulumi.get(__ret__, 'id'), + last_updated=pulumi.get(__ret__, 'last_updated'), + name=pulumi.get(__ret__, 'name'), + policy_id=pulumi.get(__ret__, 'policy_id'), + priority=pulumi.get(__ret__, 'priority'), + status=pulumi.get(__ret__, 'status'), + system=pulumi.get(__ret__, 'system')) +def get_sign_on_policy_rule_output(actions: pulumi.Input[Optional[Optional[Union['GetSignOnPolicyRuleActionsArgs', 'GetSignOnPolicyRuleActionsArgsDict']]]] = None, + conditions: pulumi.Input[Optional[Optional[Union['GetSignOnPolicyRuleConditionsArgs', 'GetSignOnPolicyRuleConditionsArgsDict']]]] = None, + id: pulumi.Input[Optional[_builtins.str]] = None, + policy_id: pulumi.Input[Optional[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSignOnPolicyRuleResult]: + """ + Retrieves an app sign-on (access) policy rule by `ruleId` from Okta. + + > **WARNING:** This feature is only available as a part of the + Identity Engine. Contact support + for further information. + + > Inside the product a sign-on policy rule is referenced as an _authentication + policy rule_, in the public API the parent policy is of type + [`ACCESS_POLICY`](https://developer.okta.com/docs/reference/api/policy/#policy-object). + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_app_signon_policy(app_id="") + example_get_sign_on_policy_rule = okta.app.get_sign_on_policy_rule(id="", + policy_id=example.id) + ``` + + + :param _builtins.str id: Unique identifier of the access policy rule. + :param _builtins.str policy_id: `id` of the policy + """ + __args__ = dict() + __args__['actions'] = actions + __args__['conditions'] = conditions + __args__['id'] = id + __args__['policyId'] = policy_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('okta:app/getSignOnPolicyRule:getSignOnPolicyRule', __args__, opts=opts, typ=GetSignOnPolicyRuleResult) + return __ret__.apply(lambda __response__: GetSignOnPolicyRuleResult( + actions=pulumi.get(__response__, 'actions'), + conditions=pulumi.get(__response__, 'conditions'), + created=pulumi.get(__response__, 'created'), + id=pulumi.get(__response__, 'id'), + last_updated=pulumi.get(__response__, 'last_updated'), + name=pulumi.get(__response__, 'name'), + policy_id=pulumi.get(__response__, 'policy_id'), + priority=pulumi.get(__response__, 'priority'), + status=pulumi.get(__response__, 'status'), + system=pulumi.get(__response__, 'system'))) diff --git a/sdk/python/pulumi_okta/app/o_auth.py b/sdk/python/pulumi_okta/app/o_auth.py index 50ce072d1..1b56e8e41 100644 --- a/sdk/python/pulumi_okta/app/o_auth.py +++ b/sdk/python/pulumi_okta/app/o_auth.py @@ -32,6 +32,7 @@ def __init__(__self__, *, authentication_policy: pulumi.Input[Optional[_builtins.str]] = None, auto_key_rotation: pulumi.Input[Optional[_builtins.bool]] = None, auto_submit_toolbar: pulumi.Input[Optional[_builtins.bool]] = None, + backchannel_custom_authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo_version: pulumi.Input[Optional[_builtins.int]] = None, @@ -93,6 +94,7 @@ def __init__(__self__, *, UI. See: https://developer.okta.com/docs/reference/api/apps/#oauth-credential-object" :param pulumi.Input[_builtins.bool] auto_submit_toolbar: Display auto submit toolbar + :param pulumi.Input[_builtins.str] backchannel_custom_authenticator_id: The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. :param pulumi.Input[_builtins.str] client_basic_secret: The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `client_basic_secret_wo` instead to avoid persisting secrets in state. Either `client_basic_secret` or `client_basic_secret_wo` can be specified, but not both. :param pulumi.Input[_builtins.str] client_basic_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. The user provided write-only OAuth client secret key value for Terraform 1.11+. Unlike `client_basic_secret`, this secret will not be persisted in the Terraform state file, providing improved security. Only use this attribute with Terraform 1.11 or higher. Either `client_basic_secret` or `client_basic_secret_wo` can be specified, but not both. @@ -158,6 +160,8 @@ def __init__(__self__, *, pulumi.set(__self__, "auto_key_rotation", auto_key_rotation) if auto_submit_toolbar is not None: pulumi.set(__self__, "auto_submit_toolbar", auto_submit_toolbar) + if backchannel_custom_authenticator_id is not None: + pulumi.set(__self__, "backchannel_custom_authenticator_id", backchannel_custom_authenticator_id) if client_basic_secret is not None: pulumi.set(__self__, "client_basic_secret", client_basic_secret) if client_basic_secret_wo is not None: @@ -384,6 +388,18 @@ def auto_submit_toolbar(self) -> pulumi.Input[Optional[_builtins.bool]]: def auto_submit_toolbar(self, value: pulumi.Input[Optional[_builtins.bool]]): pulumi.set(self, "auto_submit_toolbar", value) + @_builtins.property + @pulumi.getter(name="backchannelCustomAuthenticatorId") + def backchannel_custom_authenticator_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + """ + return pulumi.get(self, "backchannel_custom_authenticator_id") + + @backchannel_custom_authenticator_id.setter + def backchannel_custom_authenticator_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "backchannel_custom_authenticator_id", value) + @_builtins.property @pulumi.getter(name="clientBasicSecret") def client_basic_secret(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -915,6 +931,7 @@ def __init__(__self__, *, authentication_policy: pulumi.Input[Optional[_builtins.str]] = None, auto_key_rotation: pulumi.Input[Optional[_builtins.bool]] = None, auto_submit_toolbar: pulumi.Input[Optional[_builtins.bool]] = None, + backchannel_custom_authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo_version: pulumi.Input[Optional[_builtins.int]] = None, @@ -980,6 +997,7 @@ def __init__(__self__, *, UI. See: https://developer.okta.com/docs/reference/api/apps/#oauth-credential-object" :param pulumi.Input[_builtins.bool] auto_submit_toolbar: Display auto submit toolbar + :param pulumi.Input[_builtins.str] backchannel_custom_authenticator_id: The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. :param pulumi.Input[_builtins.str] client_basic_secret: The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `client_basic_secret_wo` instead to avoid persisting secrets in state. Either `client_basic_secret` or `client_basic_secret_wo` can be specified, but not both. :param pulumi.Input[_builtins.str] client_basic_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. The user provided write-only OAuth client secret key value for Terraform 1.11+. Unlike `client_basic_secret`, this secret will not be persisted in the Terraform state file, providing improved security. Only use this attribute with Terraform 1.11 or higher. Either `client_basic_secret` or `client_basic_secret_wo` can be specified, but not both. @@ -1049,6 +1067,8 @@ def __init__(__self__, *, pulumi.set(__self__, "auto_key_rotation", auto_key_rotation) if auto_submit_toolbar is not None: pulumi.set(__self__, "auto_submit_toolbar", auto_submit_toolbar) + if backchannel_custom_authenticator_id is not None: + pulumi.set(__self__, "backchannel_custom_authenticator_id", backchannel_custom_authenticator_id) if client_basic_secret is not None: pulumi.set(__self__, "client_basic_secret", client_basic_secret) if client_basic_secret_wo is not None: @@ -1263,6 +1283,18 @@ def auto_submit_toolbar(self) -> pulumi.Input[Optional[_builtins.bool]]: def auto_submit_toolbar(self, value: pulumi.Input[Optional[_builtins.bool]]): pulumi.set(self, "auto_submit_toolbar", value) + @_builtins.property + @pulumi.getter(name="backchannelCustomAuthenticatorId") + def backchannel_custom_authenticator_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + """ + return pulumi.get(self, "backchannel_custom_authenticator_id") + + @backchannel_custom_authenticator_id.setter + def backchannel_custom_authenticator_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "backchannel_custom_authenticator_id", value) + @_builtins.property @pulumi.getter(name="clientBasicSecret") def client_basic_secret(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -1869,6 +1901,7 @@ def __init__(__self__, authentication_policy: pulumi.Input[Optional[_builtins.str]] = None, auto_key_rotation: pulumi.Input[Optional[_builtins.bool]] = None, auto_submit_toolbar: pulumi.Input[Optional[_builtins.bool]] = None, + backchannel_custom_authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo_version: pulumi.Input[Optional[_builtins.int]] = None, @@ -2008,6 +2041,7 @@ def __init__(__self__, UI. See: https://developer.okta.com/docs/reference/api/apps/#oauth-credential-object" :param pulumi.Input[_builtins.bool] auto_submit_toolbar: Display auto submit toolbar + :param pulumi.Input[_builtins.str] backchannel_custom_authenticator_id: The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. :param pulumi.Input[_builtins.str] client_basic_secret: The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `client_basic_secret_wo` instead to avoid persisting secrets in state. Either `client_basic_secret` or `client_basic_secret_wo` can be specified, but not both. :param pulumi.Input[_builtins.str] client_basic_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. The user provided write-only OAuth client secret key value for Terraform 1.11+. Unlike `client_basic_secret`, this secret will not be persisted in the Terraform state file, providing improved security. Only use this attribute with Terraform 1.11 or higher. Either `client_basic_secret` or `client_basic_secret_wo` can be specified, but not both. @@ -2163,6 +2197,7 @@ def _internal_init(__self__, authentication_policy: pulumi.Input[Optional[_builtins.str]] = None, auto_key_rotation: pulumi.Input[Optional[_builtins.bool]] = None, auto_submit_toolbar: pulumi.Input[Optional[_builtins.bool]] = None, + backchannel_custom_authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo_version: pulumi.Input[Optional[_builtins.int]] = None, @@ -2226,6 +2261,7 @@ def _internal_init(__self__, __props__.__dict__["authentication_policy"] = authentication_policy __props__.__dict__["auto_key_rotation"] = auto_key_rotation __props__.__dict__["auto_submit_toolbar"] = auto_submit_toolbar + __props__.__dict__["backchannel_custom_authenticator_id"] = backchannel_custom_authenticator_id __props__.__dict__["client_basic_secret"] = None if client_basic_secret is None else pulumi.Output.secret(client_basic_secret) __props__.__dict__["client_basic_secret_wo"] = None if client_basic_secret_wo is None else pulumi.Output.secret(client_basic_secret_wo) __props__.__dict__["client_basic_secret_wo_version"] = client_basic_secret_wo_version @@ -2300,6 +2336,7 @@ def get(resource_name: str, authentication_policy: pulumi.Input[Optional[_builtins.str]] = None, auto_key_rotation: pulumi.Input[Optional[_builtins.bool]] = None, auto_submit_toolbar: pulumi.Input[Optional[_builtins.bool]] = None, + backchannel_custom_authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo: pulumi.Input[Optional[_builtins.str]] = None, client_basic_secret_wo_version: pulumi.Input[Optional[_builtins.int]] = None, @@ -2369,6 +2406,7 @@ def get(resource_name: str, UI. See: https://developer.okta.com/docs/reference/api/apps/#oauth-credential-object" :param pulumi.Input[_builtins.bool] auto_submit_toolbar: Display auto submit toolbar + :param pulumi.Input[_builtins.str] backchannel_custom_authenticator_id: The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. :param pulumi.Input[_builtins.str] client_basic_secret: The user provided OAuth client secret key value. When set, this secret will be stored in the Terraform state file. For Terraform 1.11+, consider using `client_basic_secret_wo` instead to avoid persisting secrets in state. Either `client_basic_secret` or `client_basic_secret_wo` can be specified, but not both. :param pulumi.Input[_builtins.str] client_basic_secret_wo: **NOTE:** This field is write-only and its value will not be updated in state as part of read operations. The user provided write-only OAuth client secret key value for Terraform 1.11+. Unlike `client_basic_secret`, this secret will not be persisted in the Terraform state file, providing improved security. Only use this attribute with Terraform 1.11 or higher. Either `client_basic_secret` or `client_basic_secret_wo` can be specified, but not both. @@ -2433,6 +2471,7 @@ def get(resource_name: str, __props__.__dict__["authentication_policy"] = authentication_policy __props__.__dict__["auto_key_rotation"] = auto_key_rotation __props__.__dict__["auto_submit_toolbar"] = auto_submit_toolbar + __props__.__dict__["backchannel_custom_authenticator_id"] = backchannel_custom_authenticator_id __props__.__dict__["client_basic_secret"] = client_basic_secret __props__.__dict__["client_basic_secret_wo"] = client_basic_secret_wo __props__.__dict__["client_basic_secret_wo_version"] = client_basic_secret_wo_version @@ -2560,6 +2599,14 @@ def auto_submit_toolbar(self) -> pulumi.Output[Optional[_builtins.bool]]: """ return pulumi.get(self, "auto_submit_toolbar") + @_builtins.property + @pulumi.getter(name="backchannelCustomAuthenticatorId") + def backchannel_custom_authenticator_id(self) -> pulumi.Output[Optional[_builtins.str]]: + """ + The ID of the custom authenticator that authenticates the user. Applies when 'urn:openid:params:grant-type:ciba' is one of the configured grant_types. + """ + return pulumi.get(self, "backchannel_custom_authenticator_id") + @_builtins.property @pulumi.getter(name="clientBasicSecret") def client_basic_secret(self) -> pulumi.Output[Optional[_builtins.str]]: diff --git a/sdk/python/pulumi_okta/app/outputs.py b/sdk/python/pulumi_okta/app/outputs.py index d05cff68c..bd3c823b8 100644 --- a/sdk/python/pulumi_okta/app/outputs.py +++ b/sdk/python/pulumi_okta/app/outputs.py @@ -40,6 +40,7 @@ 'SamlAttributeStatement', 'SamlKey', 'SignonPolicyRulesRule', + 'SignonPolicyRulesRuleKeepMeSignedIn', 'SignonPolicyRulesRulePlatformInclude', 'GetConnectionProfileResult', 'GetFeaturesCapabilitiesResult', @@ -58,6 +59,27 @@ 'GetFeaturesCapabilitiesUpdateProfileResult', 'GetOauthNetworkResult', 'GetSamlAttributeStatementResult', + 'GetSignOnPolicyRuleActionsResult', + 'GetSignOnPolicyRuleActionsAppSignOnResult', + 'GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult', + 'GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult', + 'GetSignOnPolicyRuleConditionsResult', + 'GetSignOnPolicyRuleConditionsDeviceResult', + 'GetSignOnPolicyRuleConditionsDeviceAssuranceResult', + 'GetSignOnPolicyRuleConditionsElConditionResult', + 'GetSignOnPolicyRuleConditionsNetworkResult', + 'GetSignOnPolicyRuleConditionsPeopleResult', + 'GetSignOnPolicyRuleConditionsPeopleGroupsResult', + 'GetSignOnPolicyRuleConditionsPeopleUsersResult', + 'GetSignOnPolicyRuleConditionsPlatformResult', + 'GetSignOnPolicyRuleConditionsPlatformExcludeResult', + 'GetSignOnPolicyRuleConditionsPlatformExcludeOsResult', + 'GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult', + 'GetSignOnPolicyRuleConditionsPlatformIncludeResult', + 'GetSignOnPolicyRuleConditionsPlatformIncludeOsResult', + 'GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult', + 'GetSignOnPolicyRuleConditionsRiskScoreResult', + 'GetSignOnPolicyRuleConditionsUserTypeResult', ] @pulumi.output_type @@ -1331,6 +1353,8 @@ def __key_warning(key: str): suggest = "groups_includeds" elif key == "inactivityPeriod": suggest = "inactivity_period" + elif key == "keepMeSignedIn": + suggest = "keep_me_signed_in" elif key == "networkConnection": suggest = "network_connection" elif key == "networkExcludes": @@ -1377,6 +1401,7 @@ def __init__(__self__, *, groups_includeds: Optional[Sequence[_builtins.str]] = None, id: Optional[_builtins.str] = None, inactivity_period: Optional[_builtins.str] = None, + keep_me_signed_in: Optional['outputs.SignonPolicyRulesRuleKeepMeSignedIn'] = None, network_connection: Optional[_builtins.str] = None, network_excludes: Optional[Sequence[_builtins.str]] = None, network_includes: Optional[Sequence[_builtins.str]] = None, @@ -1405,13 +1430,14 @@ def __init__(__self__, *, :param Sequence[_builtins.str] groups_includeds: Set of group IDs to include in this rule. :param _builtins.str id: (String) - The ID of this resource (same as `policy_id`). :param _builtins.str inactivity_period: Inactivity period before re-authentication in ISO 8601 duration format. + :param 'SignonPolicyRulesRuleKeepMeSignedInArgs' keep_me_signed_in: Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. :param _builtins.str network_connection: Network selection mode: ANYWHERE, ZONE, ON_NETWORK, or OFF_NETWORK. :param Sequence[_builtins.str] network_excludes: List of network zone IDs to exclude. :param Sequence[_builtins.str] network_includes: List of network zone IDs to include. :param Sequence['SignonPolicyRulesRulePlatformIncludeArgs'] platform_includes: Platform conditions to include. :param _builtins.int priority: Priority of the rule. Lower numbers are evaluated first. :param _builtins.str re_authentication_frequency: Re-authentication frequency in ISO 8601 duration format (e.g., PT2H for 2 hours). When using authentication chains with reauthenticateIn, this value is computed by the API based on the chain configuration. - :param _builtins.str risk_score: Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + :param _builtins.str risk_score: Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. :param _builtins.str status: Status of the rule: ACTIVE or INACTIVE. :param _builtins.bool system: Whether this is a system rule (e.g., Catch-all Rule). System rules cannot be modified. :param _builtins.str type: Verification method type. @@ -1445,6 +1471,8 @@ def __init__(__self__, *, pulumi.set(__self__, "id", id) if inactivity_period is not None: pulumi.set(__self__, "inactivity_period", inactivity_period) + if keep_me_signed_in is not None: + pulumi.set(__self__, "keep_me_signed_in", keep_me_signed_in) if network_connection is not None: pulumi.set(__self__, "network_connection", network_connection) if network_excludes is not None: @@ -1578,6 +1606,14 @@ def inactivity_period(self) -> Optional[_builtins.str]: """ return pulumi.get(self, "inactivity_period") + @_builtins.property + @pulumi.getter(name="keepMeSignedIn") + def keep_me_signed_in(self) -> Optional['outputs.SignonPolicyRulesRuleKeepMeSignedIn']: + """ + Controls the post-authentication Keep Me Signed In (KMSI) prompt, also known as the "Option to stay signed in". Requires the KMSI feature to be enabled on the Okta org. + """ + return pulumi.get(self, "keep_me_signed_in") + @_builtins.property @pulumi.getter(name="networkConnection") def network_connection(self) -> Optional[_builtins.str]: @@ -1630,7 +1666,7 @@ def re_authentication_frequency(self) -> Optional[_builtins.str]: @pulumi.getter(name="riskScore") def risk_score(self) -> Optional[_builtins.str]: """ - Risk score level to match: ANY, LOW, MEDIUM, or HIGH. + Risk score level to match: ANY, LOW, MEDIUM, or HIGH. Only sent to the API when explicitly configured; omit on orgs without the risk scoring feature. """ return pulumi.get(self, "risk_score") @@ -1691,6 +1727,56 @@ def users_includeds(self) -> Optional[Sequence[_builtins.str]]: return pulumi.get(self, "users_includeds") +@pulumi.output_type +class SignonPolicyRulesRuleKeepMeSignedIn(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "postAuth": + suggest = "post_auth" + elif key == "postAuthPromptFrequency": + suggest = "post_auth_prompt_frequency" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in SignonPolicyRulesRuleKeepMeSignedIn. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + SignonPolicyRulesRuleKeepMeSignedIn.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + SignonPolicyRulesRuleKeepMeSignedIn.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + post_auth: Optional[_builtins.str] = None, + post_auth_prompt_frequency: Optional[_builtins.str] = None): + """ + :param _builtins.str post_auth: Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + :param _builtins.str post_auth_prompt_frequency: How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + if post_auth is not None: + pulumi.set(__self__, "post_auth", post_auth) + if post_auth_prompt_frequency is not None: + pulumi.set(__self__, "post_auth_prompt_frequency", post_auth_prompt_frequency) + + @_builtins.property + @pulumi.getter(name="postAuth") + def post_auth(self) -> Optional[_builtins.str]: + """ + Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + """ + return pulumi.get(self, "post_auth") + + @_builtins.property + @pulumi.getter(name="postAuthPromptFrequency") + def post_auth_prompt_frequency(self) -> Optional[_builtins.str]: + """ + How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + return pulumi.get(self, "post_auth_prompt_frequency") + + @pulumi.output_type class SignonPolicyRulesRulePlatformInclude(dict): @staticmethod @@ -2343,3 +2429,697 @@ def values(self) -> Sequence[_builtins.str]: return pulumi.get(self, "values") +@pulumi.output_type +class GetSignOnPolicyRuleActionsResult(dict): + def __init__(__self__, *, + app_sign_on: Optional['outputs.GetSignOnPolicyRuleActionsAppSignOnResult'] = None): + """ + :param 'GetSignOnPolicyRuleActionsAppSignOnArgs' app_sign_on: Specifies the results when a user attempts to sign in + """ + if app_sign_on is not None: + pulumi.set(__self__, "app_sign_on", app_sign_on) + + @_builtins.property + @pulumi.getter(name="appSignOn") + def app_sign_on(self) -> Optional['outputs.GetSignOnPolicyRuleActionsAppSignOnResult']: + """ + Specifies the results when a user attempts to sign in + """ + return pulumi.get(self, "app_sign_on") + + +@pulumi.output_type +class GetSignOnPolicyRuleActionsAppSignOnResult(dict): + def __init__(__self__, *, + access: _builtins.str, + keep_me_signed_in: Optional['outputs.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult'] = None, + verification_method: Optional['outputs.GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult'] = None): + """ + :param _builtins.str access: Access + :param 'GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInArgs' keep_me_signed_in: Controls how often the post-authentication prompt is presented to users + :param 'GetSignOnPolicyRuleActionsAppSignOnVerificationMethodArgs' verification_method: The method used to verify a user + """ + pulumi.set(__self__, "access", access) + if keep_me_signed_in is not None: + pulumi.set(__self__, "keep_me_signed_in", keep_me_signed_in) + if verification_method is not None: + pulumi.set(__self__, "verification_method", verification_method) + + @_builtins.property + @pulumi.getter + def access(self) -> _builtins.str: + """ + Access + """ + return pulumi.get(self, "access") + + @_builtins.property + @pulumi.getter(name="keepMeSignedIn") + def keep_me_signed_in(self) -> Optional['outputs.GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult']: + """ + Controls how often the post-authentication prompt is presented to users + """ + return pulumi.get(self, "keep_me_signed_in") + + @_builtins.property + @pulumi.getter(name="verificationMethod") + def verification_method(self) -> Optional['outputs.GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult']: + """ + The method used to verify a user + """ + return pulumi.get(self, "verification_method") + + +@pulumi.output_type +class GetSignOnPolicyRuleActionsAppSignOnKeepMeSignedInResult(dict): + def __init__(__self__, *, + post_auth: _builtins.str, + post_auth_prompt_frequency: _builtins.str): + """ + :param _builtins.str post_auth: Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + :param _builtins.str post_auth_prompt_frequency: A time duration specified as an ISO 8601 duration + """ + pulumi.set(__self__, "post_auth", post_auth) + pulumi.set(__self__, "post_auth_prompt_frequency", post_auth_prompt_frequency) + + @_builtins.property + @pulumi.getter(name="postAuth") + def post_auth(self) -> _builtins.str: + """ + Whether the post-authentication Keep Me Signed In (KMSI) flow is allowed. + """ + return pulumi.get(self, "post_auth") + + @_builtins.property + @pulumi.getter(name="postAuthPromptFrequency") + def post_auth_prompt_frequency(self) -> _builtins.str: + """ + A time duration specified as an ISO 8601 duration + """ + return pulumi.get(self, "post_auth_prompt_frequency") + + +@pulumi.output_type +class GetSignOnPolicyRuleActionsAppSignOnVerificationMethodResult(dict): + def __init__(__self__, *, + type: _builtins.str): + """ + :param _builtins.str type: Verification method type + """ + pulumi.set(__self__, "type", type) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + Verification method type + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsResult(dict): + def __init__(__self__, *, + device: Optional['outputs.GetSignOnPolicyRuleConditionsDeviceResult'] = None, + el_condition: Optional['outputs.GetSignOnPolicyRuleConditionsElConditionResult'] = None, + network: Optional['outputs.GetSignOnPolicyRuleConditionsNetworkResult'] = None, + people: Optional['outputs.GetSignOnPolicyRuleConditionsPeopleResult'] = None, + platform: Optional['outputs.GetSignOnPolicyRuleConditionsPlatformResult'] = None, + risk_score: Optional['outputs.GetSignOnPolicyRuleConditionsRiskScoreResult'] = None, + user_type: Optional['outputs.GetSignOnPolicyRuleConditionsUserTypeResult'] = None): + """ + :param 'GetSignOnPolicyRuleConditionsDeviceArgs' device: Specifies the device condition to match on + :param 'GetSignOnPolicyRuleConditionsElConditionArgs' el_condition: Specifies Okta Expression Language expressions + :param 'GetSignOnPolicyRuleConditionsNetworkArgs' network: Specifies a network selection mode and a set of network zones to be included or excluded. + :param 'GetSignOnPolicyRuleConditionsPeopleArgs' people: Specifies the users and groups that are included or excluded by the policy rule + :param 'GetSignOnPolicyRuleConditionsPlatformArgs' platform: Specifies a particular platform or device to match on + :param 'GetSignOnPolicyRuleConditionsRiskScoreArgs' risk_score: Specifies a particular level of risk to match on + :param 'GetSignOnPolicyRuleConditionsUserTypeArgs' user_type: Specifies which user types to include and/or exclude + """ + if device is not None: + pulumi.set(__self__, "device", device) + if el_condition is not None: + pulumi.set(__self__, "el_condition", el_condition) + if network is not None: + pulumi.set(__self__, "network", network) + if people is not None: + pulumi.set(__self__, "people", people) + if platform is not None: + pulumi.set(__self__, "platform", platform) + if risk_score is not None: + pulumi.set(__self__, "risk_score", risk_score) + if user_type is not None: + pulumi.set(__self__, "user_type", user_type) + + @_builtins.property + @pulumi.getter + def device(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsDeviceResult']: + """ + Specifies the device condition to match on + """ + return pulumi.get(self, "device") + + @_builtins.property + @pulumi.getter(name="elCondition") + def el_condition(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsElConditionResult']: + """ + Specifies Okta Expression Language expressions + """ + return pulumi.get(self, "el_condition") + + @_builtins.property + @pulumi.getter + def network(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsNetworkResult']: + """ + Specifies a network selection mode and a set of network zones to be included or excluded. + """ + return pulumi.get(self, "network") + + @_builtins.property + @pulumi.getter + def people(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsPeopleResult']: + """ + Specifies the users and groups that are included or excluded by the policy rule + """ + return pulumi.get(self, "people") + + @_builtins.property + @pulumi.getter + def platform(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsPlatformResult']: + """ + Specifies a particular platform or device to match on + """ + return pulumi.get(self, "platform") + + @_builtins.property + @pulumi.getter(name="riskScore") + def risk_score(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsRiskScoreResult']: + """ + Specifies a particular level of risk to match on + """ + return pulumi.get(self, "risk_score") + + @_builtins.property + @pulumi.getter(name="userType") + def user_type(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsUserTypeResult']: + """ + Specifies which user types to include and/or exclude + """ + return pulumi.get(self, "user_type") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsDeviceResult(dict): + def __init__(__self__, *, + managed: _builtins.bool, + registered: _builtins.bool, + assurance: Optional['outputs.GetSignOnPolicyRuleConditionsDeviceAssuranceResult'] = None): + """ + :param _builtins.bool managed: Indicates if the device is managed. + :param _builtins.bool registered: Indicates if the device is registered. + :param 'GetSignOnPolicyRuleConditionsDeviceAssuranceArgs' assurance: Specifies device assurance policies in the policy rule. + """ + pulumi.set(__self__, "managed", managed) + pulumi.set(__self__, "registered", registered) + if assurance is not None: + pulumi.set(__self__, "assurance", assurance) + + @_builtins.property + @pulumi.getter + def managed(self) -> _builtins.bool: + """ + Indicates if the device is managed. + """ + return pulumi.get(self, "managed") + + @_builtins.property + @pulumi.getter + def registered(self) -> _builtins.bool: + """ + Indicates if the device is registered. + """ + return pulumi.get(self, "registered") + + @_builtins.property + @pulumi.getter + def assurance(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsDeviceAssuranceResult']: + """ + Specifies device assurance policies in the policy rule. + """ + return pulumi.get(self, "assurance") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsDeviceAssuranceResult(dict): + def __init__(__self__, *, + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] includes: Specifies the device assurance policy ID + """ + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + Specifies the device assurance policy ID + """ + return pulumi.get(self, "includes") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsElConditionResult(dict): + def __init__(__self__, *, + condition: _builtins.str): + """ + :param _builtins.str condition: expression to match + """ + pulumi.set(__self__, "condition", condition) + + @_builtins.property + @pulumi.getter + def condition(self) -> _builtins.str: + """ + expression to match + """ + return pulumi.get(self, "condition") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsNetworkResult(dict): + def __init__(__self__, *, + connection: _builtins.str, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param _builtins.str connection: Network selection mode + :param Sequence[_builtins.str] excludes: The zones to exclude. + :param Sequence[_builtins.str] includes: The zones to include. + """ + pulumi.set(__self__, "connection", connection) + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def connection(self) -> _builtins.str: + """ + Network selection mode + """ + return pulumi.get(self, "connection") + + @_builtins.property + @pulumi.getter + def excludes(self) -> Sequence[_builtins.str]: + """ + The zones to exclude. + """ + return pulumi.get(self, "excludes") + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + The zones to include. + """ + return pulumi.get(self, "includes") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPeopleResult(dict): + def __init__(__self__, *, + groups: Optional['outputs.GetSignOnPolicyRuleConditionsPeopleGroupsResult'] = None, + users: Optional['outputs.GetSignOnPolicyRuleConditionsPeopleUsersResult'] = None): + """ + :param 'GetSignOnPolicyRuleConditionsPeopleGroupsArgs' groups: Specifies a set of groups whose users are to be included or excluded + :param 'GetSignOnPolicyRuleConditionsPeopleUsersArgs' users: Specifies a set of users to be included or excluded + """ + if groups is not None: + pulumi.set(__self__, "groups", groups) + if users is not None: + pulumi.set(__self__, "users", users) + + @_builtins.property + @pulumi.getter + def groups(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsPeopleGroupsResult']: + """ + Specifies a set of groups whose users are to be included or excluded + """ + return pulumi.get(self, "groups") + + @_builtins.property + @pulumi.getter + def users(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsPeopleUsersResult']: + """ + Specifies a set of users to be included or excluded + """ + return pulumi.get(self, "users") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPeopleGroupsResult(dict): + def __init__(__self__, *, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] excludes: Groups to be excluded + :param Sequence[_builtins.str] includes: Groups to be included + """ + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def excludes(self) -> Sequence[_builtins.str]: + """ + Groups to be excluded + """ + return pulumi.get(self, "excludes") + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + Groups to be included + """ + return pulumi.get(self, "includes") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPeopleUsersResult(dict): + def __init__(__self__, *, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] excludes: Users to be excluded + :param Sequence[_builtins.str] includes: Users to be included + """ + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def excludes(self) -> Sequence[_builtins.str]: + """ + Users to be excluded + """ + return pulumi.get(self, "excludes") + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + Users to be included + """ + return pulumi.get(self, "includes") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPlatformResult(dict): + def __init__(__self__, *, + excludes: Optional[Sequence['outputs.GetSignOnPolicyRuleConditionsPlatformExcludeResult']] = None, + includes: Optional[Sequence['outputs.GetSignOnPolicyRuleConditionsPlatformIncludeResult']] = None): + """ + :param Sequence['GetSignOnPolicyRuleConditionsPlatformExcludeArgs'] excludes: Exclude + :param Sequence['GetSignOnPolicyRuleConditionsPlatformIncludeArgs'] includes: Include + """ + if excludes is not None: + pulumi.set(__self__, "excludes", excludes) + if includes is not None: + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def excludes(self) -> Optional[Sequence['outputs.GetSignOnPolicyRuleConditionsPlatformExcludeResult']]: + """ + Exclude + """ + return pulumi.get(self, "excludes") + + @_builtins.property + @pulumi.getter + def includes(self) -> Optional[Sequence['outputs.GetSignOnPolicyRuleConditionsPlatformIncludeResult']]: + """ + Include + """ + return pulumi.get(self, "includes") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPlatformExcludeResult(dict): + def __init__(__self__, *, + type: _builtins.str, + os: Optional['outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsResult'] = None): + """ + :param _builtins.str type: The type of platform + :param 'GetSignOnPolicyRuleConditionsPlatformExcludeOsArgs' os: Os + """ + pulumi.set(__self__, "type", type) + if os is not None: + pulumi.set(__self__, "os", os) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + The type of platform + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def os(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsResult']: + """ + Os + """ + return pulumi.get(self, "os") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPlatformExcludeOsResult(dict): + def __init__(__self__, *, + expression: _builtins.str, + type: _builtins.str, + version: Optional['outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult'] = None): + """ + :param _builtins.str expression: Expression + :param _builtins.str type: The type of operating system + :param 'GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionArgs' version: Version + """ + pulumi.set(__self__, "expression", expression) + pulumi.set(__self__, "type", type) + if version is not None: + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def expression(self) -> _builtins.str: + """ + Expression + """ + return pulumi.get(self, "expression") + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + The type of operating system + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def version(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult']: + """ + Version + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPlatformExcludeOsVersionResult(dict): + def __init__(__self__, *, + match_type: _builtins.str, + value: _builtins.str): + """ + :param _builtins.str match_type: MatchType + :param _builtins.str value: Value + """ + pulumi.set(__self__, "match_type", match_type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter(name="matchType") + def match_type(self) -> _builtins.str: + """ + MatchType + """ + return pulumi.get(self, "match_type") + + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + """ + Value + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPlatformIncludeResult(dict): + def __init__(__self__, *, + type: _builtins.str, + os: Optional['outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsResult'] = None): + """ + :param _builtins.str type: The type of platform + :param 'GetSignOnPolicyRuleConditionsPlatformIncludeOsArgs' os: Os + """ + pulumi.set(__self__, "type", type) + if os is not None: + pulumi.set(__self__, "os", os) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + The type of platform + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def os(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsResult']: + """ + Os + """ + return pulumi.get(self, "os") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPlatformIncludeOsResult(dict): + def __init__(__self__, *, + expression: _builtins.str, + type: _builtins.str, + version: Optional['outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult'] = None): + """ + :param _builtins.str expression: Expression + :param _builtins.str type: The type of operating system + :param 'GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionArgs' version: Version + """ + pulumi.set(__self__, "expression", expression) + pulumi.set(__self__, "type", type) + if version is not None: + pulumi.set(__self__, "version", version) + + @_builtins.property + @pulumi.getter + def expression(self) -> _builtins.str: + """ + Expression + """ + return pulumi.get(self, "expression") + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + The type of operating system + """ + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def version(self) -> Optional['outputs.GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult']: + """ + Version + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsPlatformIncludeOsVersionResult(dict): + def __init__(__self__, *, + match_type: _builtins.str, + value: _builtins.str): + """ + :param _builtins.str match_type: MatchType + :param _builtins.str value: Value + """ + pulumi.set(__self__, "match_type", match_type) + pulumi.set(__self__, "value", value) + + @_builtins.property + @pulumi.getter(name="matchType") + def match_type(self) -> _builtins.str: + """ + MatchType + """ + return pulumi.get(self, "match_type") + + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + """ + Value + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsRiskScoreResult(dict): + def __init__(__self__, *, + level: _builtins.str, + min_risk_level: _builtins.str): + """ + :param _builtins.str level: The level to match + :param _builtins.str min_risk_level: The minimum risk level to match. + """ + pulumi.set(__self__, "level", level) + pulumi.set(__self__, "min_risk_level", min_risk_level) + + @_builtins.property + @pulumi.getter + def level(self) -> _builtins.str: + """ + The level to match + """ + return pulumi.get(self, "level") + + @_builtins.property + @pulumi.getter(name="minRiskLevel") + def min_risk_level(self) -> _builtins.str: + """ + The minimum risk level to match. + """ + return pulumi.get(self, "min_risk_level") + + +@pulumi.output_type +class GetSignOnPolicyRuleConditionsUserTypeResult(dict): + def __init__(__self__, *, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] excludes: The user types to exclude + :param Sequence[_builtins.str] includes: The user types to include + """ + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + + @_builtins.property + @pulumi.getter + def excludes(self) -> Sequence[_builtins.str]: + """ + The user types to exclude + """ + return pulumi.get(self, "excludes") + + @_builtins.property + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: + """ + The user types to include + """ + return pulumi.get(self, "includes") + + diff --git a/sdk/python/pulumi_okta/app/signon_policy_rules.py b/sdk/python/pulumi_okta/app/signon_policy_rules.py index 9259a01d3..9991f4fc8 100644 --- a/sdk/python/pulumi_okta/app/signon_policy_rules.py +++ b/sdk/python/pulumi_okta/app/signon_policy_rules.py @@ -145,6 +145,16 @@ def __init__(__self__, "access": "DENY", "status": "ACTIVE", }, + { + "name": "KMSI Rule", + "priority": 4, + "access": "ALLOW", + "status": "ACTIVE", + "keep_me_signed_in": { + "post_auth": "ALLOWED", + "post_auth_prompt_frequency": "PT168H", + }, + }, ]) ``` @@ -336,6 +346,16 @@ def __init__(__self__, "access": "DENY", "status": "ACTIVE", }, + { + "name": "KMSI Rule", + "priority": 4, + "access": "ALLOW", + "status": "ACTIVE", + "keep_me_signed_in": { + "post_auth": "ALLOWED", + "post_auth_prompt_frequency": "PT168H", + }, + }, ]) ``` diff --git a/sdk/python/pulumi_okta/app_signon_policy_rule.py b/sdk/python/pulumi_okta/app_signon_policy_rule.py index 019152dce..09994f42e 100644 --- a/sdk/python/pulumi_okta/app_signon_policy_rule.py +++ b/sdk/python/pulumi_okta/app_signon_policy_rule.py @@ -33,6 +33,7 @@ def __init__(__self__, *, groups_excludeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, groups_includeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, inactivity_period: pulumi.Input[Optional[_builtins.str]] = None, + keep_me_signed_in: pulumi.Input[Optional['AppSignonPolicyRuleKeepMeSignedInArgs']] = None, name: pulumi.Input[Optional[_builtins.str]] = None, network_connection: pulumi.Input[Optional[_builtins.str]] = None, network_excludes: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, @@ -62,6 +63,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] groups_excludeds: List of group IDs to exclude :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] groups_includeds: List of group IDs to include :param pulumi.Input[_builtins.str] inactivity_period: The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. + :param pulumi.Input['AppSignonPolicyRuleKeepMeSignedInArgs'] keep_me_signed_in: Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. :param pulumi.Input[_builtins.str] name: Policy Rule Name :param pulumi.Input[_builtins.str] network_connection: Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK. :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_excludes: The zones to exclude @@ -99,6 +101,8 @@ def __init__(__self__, *, pulumi.set(__self__, "groups_includeds", groups_includeds) if inactivity_period is not None: pulumi.set(__self__, "inactivity_period", inactivity_period) + if keep_me_signed_in is not None: + pulumi.set(__self__, "keep_me_signed_in", keep_me_signed_in) if name is not None: pulumi.set(__self__, "name", name) if network_connection is not None: @@ -272,6 +276,18 @@ def inactivity_period(self) -> pulumi.Input[Optional[_builtins.str]]: def inactivity_period(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "inactivity_period", value) + @_builtins.property + @pulumi.getter(name="keepMeSignedIn") + def keep_me_signed_in(self) -> pulumi.Input[Optional['AppSignonPolicyRuleKeepMeSignedInArgs']]: + """ + Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + """ + return pulumi.get(self, "keep_me_signed_in") + + @keep_me_signed_in.setter + def keep_me_signed_in(self, value: pulumi.Input[Optional['AppSignonPolicyRuleKeepMeSignedInArgs']]): + pulumi.set(self, "keep_me_signed_in", value) + @_builtins.property @pulumi.getter def name(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -452,6 +468,7 @@ def __init__(__self__, *, groups_excludeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, groups_includeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, inactivity_period: pulumi.Input[Optional[_builtins.str]] = None, + keep_me_signed_in: pulumi.Input[Optional['AppSignonPolicyRuleKeepMeSignedInArgs']] = None, name: pulumi.Input[Optional[_builtins.str]] = None, network_connection: pulumi.Input[Optional[_builtins.str]] = None, network_excludes: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, @@ -482,6 +499,7 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] groups_excludeds: List of group IDs to exclude :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] groups_includeds: List of group IDs to include :param pulumi.Input[_builtins.str] inactivity_period: The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. + :param pulumi.Input['AppSignonPolicyRuleKeepMeSignedInArgs'] keep_me_signed_in: Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. :param pulumi.Input[_builtins.str] name: Policy Rule Name :param pulumi.Input[_builtins.str] network_connection: Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK. :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_excludes: The zones to exclude @@ -520,6 +538,8 @@ def __init__(__self__, *, pulumi.set(__self__, "groups_includeds", groups_includeds) if inactivity_period is not None: pulumi.set(__self__, "inactivity_period", inactivity_period) + if keep_me_signed_in is not None: + pulumi.set(__self__, "keep_me_signed_in", keep_me_signed_in) if name is not None: pulumi.set(__self__, "name", name) if network_connection is not None: @@ -685,6 +705,18 @@ def inactivity_period(self) -> pulumi.Input[Optional[_builtins.str]]: def inactivity_period(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "inactivity_period", value) + @_builtins.property + @pulumi.getter(name="keepMeSignedIn") + def keep_me_signed_in(self) -> pulumi.Input[Optional['AppSignonPolicyRuleKeepMeSignedInArgs']]: + """ + Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + """ + return pulumi.get(self, "keep_me_signed_in") + + @keep_me_signed_in.setter + def keep_me_signed_in(self, value: pulumi.Input[Optional['AppSignonPolicyRuleKeepMeSignedInArgs']]): + pulumi.set(self, "keep_me_signed_in", value) + @_builtins.property @pulumi.getter def name(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -892,6 +924,7 @@ def __init__(__self__, groups_excludeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, groups_includeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, inactivity_period: pulumi.Input[Optional[_builtins.str]] = None, + keep_me_signed_in: pulumi.Input[Optional[Union['AppSignonPolicyRuleKeepMeSignedInArgs', 'AppSignonPolicyRuleKeepMeSignedInArgsDict']]] = None, name: pulumi.Input[Optional[_builtins.str]] = None, network_connection: pulumi.Input[Optional[_builtins.str]] = None, network_excludes: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, @@ -941,6 +974,7 @@ def __init__(__self__, :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] groups_excludeds: List of group IDs to exclude :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] groups_includeds: List of group IDs to include :param pulumi.Input[_builtins.str] inactivity_period: The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. + :param pulumi.Input[Union['AppSignonPolicyRuleKeepMeSignedInArgs', 'AppSignonPolicyRuleKeepMeSignedInArgsDict']] keep_me_signed_in: Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. :param pulumi.Input[_builtins.str] name: Policy Rule Name :param pulumi.Input[_builtins.str] network_connection: Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK. :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_excludes: The zones to exclude @@ -1008,6 +1042,7 @@ def _internal_init(__self__, groups_excludeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, groups_includeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, inactivity_period: pulumi.Input[Optional[_builtins.str]] = None, + keep_me_signed_in: pulumi.Input[Optional[Union['AppSignonPolicyRuleKeepMeSignedInArgs', 'AppSignonPolicyRuleKeepMeSignedInArgsDict']]] = None, name: pulumi.Input[Optional[_builtins.str]] = None, network_connection: pulumi.Input[Optional[_builtins.str]] = None, network_excludes: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, @@ -1043,6 +1078,7 @@ def _internal_init(__self__, __props__.__dict__["groups_excludeds"] = groups_excludeds __props__.__dict__["groups_includeds"] = groups_includeds __props__.__dict__["inactivity_period"] = inactivity_period + __props__.__dict__["keep_me_signed_in"] = keep_me_signed_in __props__.__dict__["name"] = name __props__.__dict__["network_connection"] = network_connection __props__.__dict__["network_excludes"] = network_excludes @@ -1082,6 +1118,7 @@ def get(resource_name: str, groups_excludeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, groups_includeds: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, inactivity_period: pulumi.Input[Optional[_builtins.str]] = None, + keep_me_signed_in: pulumi.Input[Optional[Union['AppSignonPolicyRuleKeepMeSignedInArgs', 'AppSignonPolicyRuleKeepMeSignedInArgsDict']]] = None, name: pulumi.Input[Optional[_builtins.str]] = None, network_connection: pulumi.Input[Optional[_builtins.str]] = None, network_excludes: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, @@ -1116,6 +1153,7 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] groups_excludeds: List of group IDs to exclude :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] groups_includeds: List of group IDs to include :param pulumi.Input[_builtins.str] inactivity_period: The inactivity duration after which the end user must re-authenticate. Use the ISO 8601 Period format for recurring time intervals. + :param pulumi.Input[Union['AppSignonPolicyRuleKeepMeSignedInArgs', 'AppSignonPolicyRuleKeepMeSignedInArgsDict']] keep_me_signed_in: Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. :param pulumi.Input[_builtins.str] name: Policy Rule Name :param pulumi.Input[_builtins.str] network_connection: Network selection mode: ANYWHERE, ZONE, ON*NETWORK, or OFF*NETWORK. :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] network_excludes: The zones to exclude @@ -1147,6 +1185,7 @@ def get(resource_name: str, __props__.__dict__["groups_excludeds"] = groups_excludeds __props__.__dict__["groups_includeds"] = groups_includeds __props__.__dict__["inactivity_period"] = inactivity_period + __props__.__dict__["keep_me_signed_in"] = keep_me_signed_in __props__.__dict__["name"] = name __props__.__dict__["network_connection"] = network_connection __props__.__dict__["network_excludes"] = network_excludes @@ -1253,6 +1292,14 @@ def inactivity_period(self) -> pulumi.Output[Optional[_builtins.str]]: """ return pulumi.get(self, "inactivity_period") + @_builtins.property + @pulumi.getter(name="keepMeSignedIn") + def keep_me_signed_in(self) -> pulumi.Output['outputs.AppSignonPolicyRuleKeepMeSignedIn']: + """ + Controls the post-authentication Keep Me Signed In (KMSI) prompt. Requires the KMSI feature to be enabled on the Okta org. + """ + return pulumi.get(self, "keep_me_signed_in") + @_builtins.property @pulumi.getter def name(self) -> pulumi.Output[_builtins.str]: diff --git a/sdk/python/pulumi_okta/authenticator_method_webauthn.py b/sdk/python/pulumi_okta/authenticator_method_webauthn.py new file mode 100644 index 000000000..5b8b8aded --- /dev/null +++ b/sdk/python/pulumi_okta/authenticator_method_webauthn.py @@ -0,0 +1,810 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['AuthenticatorMethodWebauthnArgs', 'AuthenticatorMethodWebauthn'] + +@pulumi.input_type +class AuthenticatorMethodWebauthnArgs: + def __init__(__self__, *, + authenticator_id: pulumi.Input[_builtins.str], + aaguid_groups: pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorMethodWebauthnAaguidGroupArgs']]]] = None, + allow_syncable_passkeys: pulumi.Input[Optional[_builtins.bool]] = None, + attachment: pulumi.Input[Optional[_builtins.str]] = None, + cert_based_attestation_validation: pulumi.Input[Optional[_builtins.bool]] = None, + enable_autofill_ui: pulumi.Input[Optional[_builtins.bool]] = None, + fips_compliant: pulumi.Input[Optional[_builtins.bool]] = None, + hardware_protected: pulumi.Input[Optional[_builtins.bool]] = None, + resident_key_requirement: pulumi.Input[Optional[_builtins.str]] = None, + rp_id: pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdArgs']] = None, + show_sign_in_with_a_passkey_button: pulumi.Input[Optional[_builtins.bool]] = None, + user_verification: pulumi.Input[Optional[_builtins.str]] = None, + user_verification_for_verify: pulumi.Input[Optional[_builtins.str]] = None): + """ + The set of arguments for constructing a AuthenticatorMethodWebauthn resource. + + :param pulumi.Input[_builtins.str] authenticator_id: The ID of the WebAuthn authenticator. + :param pulumi.Input[Sequence[pulumi.Input['AuthenticatorMethodWebauthnAaguidGroupArgs']]] aaguid_groups: List of AAGUID group configurations. + :param pulumi.Input[_builtins.bool] allow_syncable_passkeys: Whether syncable passkeys are allowed. + :param pulumi.Input[_builtins.str] attachment: Method attachment setting. + :param pulumi.Input[_builtins.bool] cert_based_attestation_validation: Whether certificate-based attestation validation is enabled. + :param pulumi.Input[_builtins.bool] enable_autofill_ui: Enables the passkeys autofill UI for WebAuthn discoverable credentials. + :param pulumi.Input[_builtins.bool] fips_compliant: Whether the authenticator must be FIPS compliant. + :param pulumi.Input[_builtins.bool] hardware_protected: Whether the authenticator must store the private key on hardware. + :param pulumi.Input[_builtins.str] resident_key_requirement: Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + :param pulumi.Input['AuthenticatorMethodWebauthnRpIdArgs'] rp_id: The Relying Party (RP) ID configuration for WebAuthn. Contains: + :param pulumi.Input[_builtins.bool] show_sign_in_with_a_passkey_button: Whether to show the "Sign in with a Passkey" button. + :param pulumi.Input[_builtins.str] user_verification: User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + :param pulumi.Input[_builtins.str] user_verification_for_verify: User verification setting for authentication (verification). + """ + pulumi.set(__self__, "authenticator_id", authenticator_id) + if aaguid_groups is not None: + pulumi.set(__self__, "aaguid_groups", aaguid_groups) + if allow_syncable_passkeys is not None: + pulumi.set(__self__, "allow_syncable_passkeys", allow_syncable_passkeys) + if attachment is not None: + pulumi.set(__self__, "attachment", attachment) + if cert_based_attestation_validation is not None: + pulumi.set(__self__, "cert_based_attestation_validation", cert_based_attestation_validation) + if enable_autofill_ui is not None: + pulumi.set(__self__, "enable_autofill_ui", enable_autofill_ui) + if fips_compliant is not None: + pulumi.set(__self__, "fips_compliant", fips_compliant) + if hardware_protected is not None: + pulumi.set(__self__, "hardware_protected", hardware_protected) + if resident_key_requirement is not None: + pulumi.set(__self__, "resident_key_requirement", resident_key_requirement) + if rp_id is not None: + pulumi.set(__self__, "rp_id", rp_id) + if show_sign_in_with_a_passkey_button is not None: + pulumi.set(__self__, "show_sign_in_with_a_passkey_button", show_sign_in_with_a_passkey_button) + if user_verification is not None: + pulumi.set(__self__, "user_verification", user_verification) + if user_verification_for_verify is not None: + pulumi.set(__self__, "user_verification_for_verify", user_verification_for_verify) + + @_builtins.property + @pulumi.getter(name="authenticatorId") + def authenticator_id(self) -> pulumi.Input[_builtins.str]: + """ + The ID of the WebAuthn authenticator. + """ + return pulumi.get(self, "authenticator_id") + + @authenticator_id.setter + def authenticator_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "authenticator_id", value) + + @_builtins.property + @pulumi.getter(name="aaguidGroups") + def aaguid_groups(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorMethodWebauthnAaguidGroupArgs']]]]: + """ + List of AAGUID group configurations. + """ + return pulumi.get(self, "aaguid_groups") + + @aaguid_groups.setter + def aaguid_groups(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorMethodWebauthnAaguidGroupArgs']]]]): + pulumi.set(self, "aaguid_groups", value) + + @_builtins.property + @pulumi.getter(name="allowSyncablePasskeys") + def allow_syncable_passkeys(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether syncable passkeys are allowed. + """ + return pulumi.get(self, "allow_syncable_passkeys") + + @allow_syncable_passkeys.setter + def allow_syncable_passkeys(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "allow_syncable_passkeys", value) + + @_builtins.property + @pulumi.getter + def attachment(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Method attachment setting. + """ + return pulumi.get(self, "attachment") + + @attachment.setter + def attachment(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "attachment", value) + + @_builtins.property + @pulumi.getter(name="certBasedAttestationValidation") + def cert_based_attestation_validation(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether certificate-based attestation validation is enabled. + """ + return pulumi.get(self, "cert_based_attestation_validation") + + @cert_based_attestation_validation.setter + def cert_based_attestation_validation(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "cert_based_attestation_validation", value) + + @_builtins.property + @pulumi.getter(name="enableAutofillUi") + def enable_autofill_ui(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Enables the passkeys autofill UI for WebAuthn discoverable credentials. + """ + return pulumi.get(self, "enable_autofill_ui") + + @enable_autofill_ui.setter + def enable_autofill_ui(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "enable_autofill_ui", value) + + @_builtins.property + @pulumi.getter(name="fipsCompliant") + def fips_compliant(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether the authenticator must be FIPS compliant. + """ + return pulumi.get(self, "fips_compliant") + + @fips_compliant.setter + def fips_compliant(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "fips_compliant", value) + + @_builtins.property + @pulumi.getter(name="hardwareProtected") + def hardware_protected(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether the authenticator must store the private key on hardware. + """ + return pulumi.get(self, "hardware_protected") + + @hardware_protected.setter + def hardware_protected(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "hardware_protected", value) + + @_builtins.property + @pulumi.getter(name="residentKeyRequirement") + def resident_key_requirement(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + """ + return pulumi.get(self, "resident_key_requirement") + + @resident_key_requirement.setter + def resident_key_requirement(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "resident_key_requirement", value) + + @_builtins.property + @pulumi.getter(name="rpId") + def rp_id(self) -> pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdArgs']]: + """ + The Relying Party (RP) ID configuration for WebAuthn. Contains: + """ + return pulumi.get(self, "rp_id") + + @rp_id.setter + def rp_id(self, value: pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdArgs']]): + pulumi.set(self, "rp_id", value) + + @_builtins.property + @pulumi.getter(name="showSignInWithAPasskeyButton") + def show_sign_in_with_a_passkey_button(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether to show the "Sign in with a Passkey" button. + """ + return pulumi.get(self, "show_sign_in_with_a_passkey_button") + + @show_sign_in_with_a_passkey_button.setter + def show_sign_in_with_a_passkey_button(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "show_sign_in_with_a_passkey_button", value) + + @_builtins.property + @pulumi.getter(name="userVerification") + def user_verification(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + """ + return pulumi.get(self, "user_verification") + + @user_verification.setter + def user_verification(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "user_verification", value) + + @_builtins.property + @pulumi.getter(name="userVerificationForVerify") + def user_verification_for_verify(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + User verification setting for authentication (verification). + """ + return pulumi.get(self, "user_verification_for_verify") + + @user_verification_for_verify.setter + def user_verification_for_verify(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "user_verification_for_verify", value) + + +@pulumi.input_type +class _AuthenticatorMethodWebauthnState: + def __init__(__self__, *, + aaguid_groups: pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorMethodWebauthnAaguidGroupArgs']]]] = None, + allow_syncable_passkeys: pulumi.Input[Optional[_builtins.bool]] = None, + attachment: pulumi.Input[Optional[_builtins.str]] = None, + authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + cert_based_attestation_validation: pulumi.Input[Optional[_builtins.bool]] = None, + enable_autofill_ui: pulumi.Input[Optional[_builtins.bool]] = None, + fips_compliant: pulumi.Input[Optional[_builtins.bool]] = None, + hardware_protected: pulumi.Input[Optional[_builtins.bool]] = None, + resident_key_requirement: pulumi.Input[Optional[_builtins.str]] = None, + rp_id: pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdArgs']] = None, + show_sign_in_with_a_passkey_button: pulumi.Input[Optional[_builtins.bool]] = None, + status: pulumi.Input[Optional[_builtins.str]] = None, + user_verification: pulumi.Input[Optional[_builtins.str]] = None, + user_verification_for_verify: pulumi.Input[Optional[_builtins.str]] = None): + """ + Input properties used for looking up and filtering AuthenticatorMethodWebauthn resources. + + :param pulumi.Input[Sequence[pulumi.Input['AuthenticatorMethodWebauthnAaguidGroupArgs']]] aaguid_groups: List of AAGUID group configurations. + :param pulumi.Input[_builtins.bool] allow_syncable_passkeys: Whether syncable passkeys are allowed. + :param pulumi.Input[_builtins.str] attachment: Method attachment setting. + :param pulumi.Input[_builtins.str] authenticator_id: The ID of the WebAuthn authenticator. + :param pulumi.Input[_builtins.bool] cert_based_attestation_validation: Whether certificate-based attestation validation is enabled. + :param pulumi.Input[_builtins.bool] enable_autofill_ui: Enables the passkeys autofill UI for WebAuthn discoverable credentials. + :param pulumi.Input[_builtins.bool] fips_compliant: Whether the authenticator must be FIPS compliant. + :param pulumi.Input[_builtins.bool] hardware_protected: Whether the authenticator must store the private key on hardware. + :param pulumi.Input[_builtins.str] resident_key_requirement: Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + :param pulumi.Input['AuthenticatorMethodWebauthnRpIdArgs'] rp_id: The Relying Party (RP) ID configuration for WebAuthn. Contains: + :param pulumi.Input[_builtins.bool] show_sign_in_with_a_passkey_button: Whether to show the "Sign in with a Passkey" button. + :param pulumi.Input[_builtins.str] status: The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + :param pulumi.Input[_builtins.str] user_verification: User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + :param pulumi.Input[_builtins.str] user_verification_for_verify: User verification setting for authentication (verification). + """ + if aaguid_groups is not None: + pulumi.set(__self__, "aaguid_groups", aaguid_groups) + if allow_syncable_passkeys is not None: + pulumi.set(__self__, "allow_syncable_passkeys", allow_syncable_passkeys) + if attachment is not None: + pulumi.set(__self__, "attachment", attachment) + if authenticator_id is not None: + pulumi.set(__self__, "authenticator_id", authenticator_id) + if cert_based_attestation_validation is not None: + pulumi.set(__self__, "cert_based_attestation_validation", cert_based_attestation_validation) + if enable_autofill_ui is not None: + pulumi.set(__self__, "enable_autofill_ui", enable_autofill_ui) + if fips_compliant is not None: + pulumi.set(__self__, "fips_compliant", fips_compliant) + if hardware_protected is not None: + pulumi.set(__self__, "hardware_protected", hardware_protected) + if resident_key_requirement is not None: + pulumi.set(__self__, "resident_key_requirement", resident_key_requirement) + if rp_id is not None: + pulumi.set(__self__, "rp_id", rp_id) + if show_sign_in_with_a_passkey_button is not None: + pulumi.set(__self__, "show_sign_in_with_a_passkey_button", show_sign_in_with_a_passkey_button) + if status is not None: + pulumi.set(__self__, "status", status) + if user_verification is not None: + pulumi.set(__self__, "user_verification", user_verification) + if user_verification_for_verify is not None: + pulumi.set(__self__, "user_verification_for_verify", user_verification_for_verify) + + @_builtins.property + @pulumi.getter(name="aaguidGroups") + def aaguid_groups(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorMethodWebauthnAaguidGroupArgs']]]]: + """ + List of AAGUID group configurations. + """ + return pulumi.get(self, "aaguid_groups") + + @aaguid_groups.setter + def aaguid_groups(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorMethodWebauthnAaguidGroupArgs']]]]): + pulumi.set(self, "aaguid_groups", value) + + @_builtins.property + @pulumi.getter(name="allowSyncablePasskeys") + def allow_syncable_passkeys(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether syncable passkeys are allowed. + """ + return pulumi.get(self, "allow_syncable_passkeys") + + @allow_syncable_passkeys.setter + def allow_syncable_passkeys(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "allow_syncable_passkeys", value) + + @_builtins.property + @pulumi.getter + def attachment(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Method attachment setting. + """ + return pulumi.get(self, "attachment") + + @attachment.setter + def attachment(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "attachment", value) + + @_builtins.property + @pulumi.getter(name="authenticatorId") + def authenticator_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The ID of the WebAuthn authenticator. + """ + return pulumi.get(self, "authenticator_id") + + @authenticator_id.setter + def authenticator_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "authenticator_id", value) + + @_builtins.property + @pulumi.getter(name="certBasedAttestationValidation") + def cert_based_attestation_validation(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether certificate-based attestation validation is enabled. + """ + return pulumi.get(self, "cert_based_attestation_validation") + + @cert_based_attestation_validation.setter + def cert_based_attestation_validation(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "cert_based_attestation_validation", value) + + @_builtins.property + @pulumi.getter(name="enableAutofillUi") + def enable_autofill_ui(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Enables the passkeys autofill UI for WebAuthn discoverable credentials. + """ + return pulumi.get(self, "enable_autofill_ui") + + @enable_autofill_ui.setter + def enable_autofill_ui(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "enable_autofill_ui", value) + + @_builtins.property + @pulumi.getter(name="fipsCompliant") + def fips_compliant(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether the authenticator must be FIPS compliant. + """ + return pulumi.get(self, "fips_compliant") + + @fips_compliant.setter + def fips_compliant(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "fips_compliant", value) + + @_builtins.property + @pulumi.getter(name="hardwareProtected") + def hardware_protected(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether the authenticator must store the private key on hardware. + """ + return pulumi.get(self, "hardware_protected") + + @hardware_protected.setter + def hardware_protected(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "hardware_protected", value) + + @_builtins.property + @pulumi.getter(name="residentKeyRequirement") + def resident_key_requirement(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + """ + return pulumi.get(self, "resident_key_requirement") + + @resident_key_requirement.setter + def resident_key_requirement(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "resident_key_requirement", value) + + @_builtins.property + @pulumi.getter(name="rpId") + def rp_id(self) -> pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdArgs']]: + """ + The Relying Party (RP) ID configuration for WebAuthn. Contains: + """ + return pulumi.get(self, "rp_id") + + @rp_id.setter + def rp_id(self, value: pulumi.Input[Optional['AuthenticatorMethodWebauthnRpIdArgs']]): + pulumi.set(self, "rp_id", value) + + @_builtins.property + @pulumi.getter(name="showSignInWithAPasskeyButton") + def show_sign_in_with_a_passkey_button(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + Whether to show the "Sign in with a Passkey" button. + """ + return pulumi.get(self, "show_sign_in_with_a_passkey_button") + + @show_sign_in_with_a_passkey_button.setter + def show_sign_in_with_a_passkey_button(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "show_sign_in_with_a_passkey_button", value) + + @_builtins.property + @pulumi.getter + def status(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + """ + return pulumi.get(self, "status") + + @status.setter + def status(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "status", value) + + @_builtins.property + @pulumi.getter(name="userVerification") + def user_verification(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + """ + return pulumi.get(self, "user_verification") + + @user_verification.setter + def user_verification(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "user_verification", value) + + @_builtins.property + @pulumi.getter(name="userVerificationForVerify") + def user_verification_for_verify(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + User verification setting for authentication (verification). + """ + return pulumi.get(self, "user_verification_for_verify") + + @user_verification_for_verify.setter + def user_verification_for_verify(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "user_verification_for_verify", value) + + +@pulumi.type_token("okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn") +class AuthenticatorMethodWebauthn(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aaguid_groups: pulumi.Input[Optional[Sequence[pulumi.Input[Union['AuthenticatorMethodWebauthnAaguidGroupArgs', 'AuthenticatorMethodWebauthnAaguidGroupArgsDict']]]]] = None, + allow_syncable_passkeys: pulumi.Input[Optional[_builtins.bool]] = None, + attachment: pulumi.Input[Optional[_builtins.str]] = None, + authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + cert_based_attestation_validation: pulumi.Input[Optional[_builtins.bool]] = None, + enable_autofill_ui: pulumi.Input[Optional[_builtins.bool]] = None, + fips_compliant: pulumi.Input[Optional[_builtins.bool]] = None, + hardware_protected: pulumi.Input[Optional[_builtins.bool]] = None, + resident_key_requirement: pulumi.Input[Optional[_builtins.str]] = None, + rp_id: pulumi.Input[Optional[Union['AuthenticatorMethodWebauthnRpIdArgs', 'AuthenticatorMethodWebauthnRpIdArgsDict']]] = None, + show_sign_in_with_a_passkey_button: pulumi.Input[Optional[_builtins.bool]] = None, + user_verification: pulumi.Input[Optional[_builtins.str]] = None, + user_verification_for_verify: pulumi.Input[Optional[_builtins.str]] = None, + __props__=None): + """ + > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + + Manages the WebAuthn authenticator method settings, including AAGUID group allowlists, user verification preferences, and passkey configuration. + + > **Note:** This resource manages the settings of an existing WebAuthn authenticator method. The method itself cannot be created or deleted — it exists as part of the authenticator. On destroy, settings are reset to defaults. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + example = okta.AuthenticatorMethodWebauthn("example", + authenticator_id=webauthn.id, + user_verification="PREFERRED", + attachment="ANY", + allow_syncable_passkeys=True, + aaguid_groups=[{ + "name": "YubiKeys", + "aaguids": ["cb69481e-8ff7-4039-93ec-0a2729a154a8"], + }]) + ``` + + ## Import + + The WebAuthn method can be imported using the authenticator ID: + + ```sh + $ pulumi import okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn example aut1234567890 + ``` + + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['AuthenticatorMethodWebauthnAaguidGroupArgs', 'AuthenticatorMethodWebauthnAaguidGroupArgsDict']]]] aaguid_groups: List of AAGUID group configurations. + :param pulumi.Input[_builtins.bool] allow_syncable_passkeys: Whether syncable passkeys are allowed. + :param pulumi.Input[_builtins.str] attachment: Method attachment setting. + :param pulumi.Input[_builtins.str] authenticator_id: The ID of the WebAuthn authenticator. + :param pulumi.Input[_builtins.bool] cert_based_attestation_validation: Whether certificate-based attestation validation is enabled. + :param pulumi.Input[_builtins.bool] enable_autofill_ui: Enables the passkeys autofill UI for WebAuthn discoverable credentials. + :param pulumi.Input[_builtins.bool] fips_compliant: Whether the authenticator must be FIPS compliant. + :param pulumi.Input[_builtins.bool] hardware_protected: Whether the authenticator must store the private key on hardware. + :param pulumi.Input[_builtins.str] resident_key_requirement: Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + :param pulumi.Input[Union['AuthenticatorMethodWebauthnRpIdArgs', 'AuthenticatorMethodWebauthnRpIdArgsDict']] rp_id: The Relying Party (RP) ID configuration for WebAuthn. Contains: + :param pulumi.Input[_builtins.bool] show_sign_in_with_a_passkey_button: Whether to show the "Sign in with a Passkey" button. + :param pulumi.Input[_builtins.str] user_verification: User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + :param pulumi.Input[_builtins.str] user_verification_for_verify: User verification setting for authentication (verification). + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AuthenticatorMethodWebauthnArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + + Manages the WebAuthn authenticator method settings, including AAGUID group allowlists, user verification preferences, and passkey configuration. + + > **Note:** This resource manages the settings of an existing WebAuthn authenticator method. The method itself cannot be created or deleted — it exists as part of the authenticator. On destroy, settings are reset to defaults. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + example = okta.AuthenticatorMethodWebauthn("example", + authenticator_id=webauthn.id, + user_verification="PREFERRED", + attachment="ANY", + allow_syncable_passkeys=True, + aaguid_groups=[{ + "name": "YubiKeys", + "aaguids": ["cb69481e-8ff7-4039-93ec-0a2729a154a8"], + }]) + ``` + + ## Import + + The WebAuthn method can be imported using the authenticator ID: + + ```sh + $ pulumi import okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn example aut1234567890 + ``` + + + :param str resource_name: The name of the resource. + :param AuthenticatorMethodWebauthnArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(AuthenticatorMethodWebauthnArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aaguid_groups: pulumi.Input[Optional[Sequence[pulumi.Input[Union['AuthenticatorMethodWebauthnAaguidGroupArgs', 'AuthenticatorMethodWebauthnAaguidGroupArgsDict']]]]] = None, + allow_syncable_passkeys: pulumi.Input[Optional[_builtins.bool]] = None, + attachment: pulumi.Input[Optional[_builtins.str]] = None, + authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + cert_based_attestation_validation: pulumi.Input[Optional[_builtins.bool]] = None, + enable_autofill_ui: pulumi.Input[Optional[_builtins.bool]] = None, + fips_compliant: pulumi.Input[Optional[_builtins.bool]] = None, + hardware_protected: pulumi.Input[Optional[_builtins.bool]] = None, + resident_key_requirement: pulumi.Input[Optional[_builtins.str]] = None, + rp_id: pulumi.Input[Optional[Union['AuthenticatorMethodWebauthnRpIdArgs', 'AuthenticatorMethodWebauthnRpIdArgsDict']]] = None, + show_sign_in_with_a_passkey_button: pulumi.Input[Optional[_builtins.bool]] = None, + user_verification: pulumi.Input[Optional[_builtins.str]] = None, + user_verification_for_verify: pulumi.Input[Optional[_builtins.str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AuthenticatorMethodWebauthnArgs.__new__(AuthenticatorMethodWebauthnArgs) + + __props__.__dict__["aaguid_groups"] = aaguid_groups + __props__.__dict__["allow_syncable_passkeys"] = allow_syncable_passkeys + __props__.__dict__["attachment"] = attachment + if authenticator_id is None and not opts.urn: + raise TypeError("Missing required property 'authenticator_id'") + __props__.__dict__["authenticator_id"] = authenticator_id + __props__.__dict__["cert_based_attestation_validation"] = cert_based_attestation_validation + __props__.__dict__["enable_autofill_ui"] = enable_autofill_ui + __props__.__dict__["fips_compliant"] = fips_compliant + __props__.__dict__["hardware_protected"] = hardware_protected + __props__.__dict__["resident_key_requirement"] = resident_key_requirement + __props__.__dict__["rp_id"] = rp_id + __props__.__dict__["show_sign_in_with_a_passkey_button"] = show_sign_in_with_a_passkey_button + __props__.__dict__["user_verification"] = user_verification + __props__.__dict__["user_verification_for_verify"] = user_verification_for_verify + __props__.__dict__["status"] = None + super(AuthenticatorMethodWebauthn, __self__).__init__( + 'okta:index/authenticatorMethodWebauthn:AuthenticatorMethodWebauthn', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + aaguid_groups: pulumi.Input[Optional[Sequence[pulumi.Input[Union['AuthenticatorMethodWebauthnAaguidGroupArgs', 'AuthenticatorMethodWebauthnAaguidGroupArgsDict']]]]] = None, + allow_syncable_passkeys: pulumi.Input[Optional[_builtins.bool]] = None, + attachment: pulumi.Input[Optional[_builtins.str]] = None, + authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + cert_based_attestation_validation: pulumi.Input[Optional[_builtins.bool]] = None, + enable_autofill_ui: pulumi.Input[Optional[_builtins.bool]] = None, + fips_compliant: pulumi.Input[Optional[_builtins.bool]] = None, + hardware_protected: pulumi.Input[Optional[_builtins.bool]] = None, + resident_key_requirement: pulumi.Input[Optional[_builtins.str]] = None, + rp_id: pulumi.Input[Optional[Union['AuthenticatorMethodWebauthnRpIdArgs', 'AuthenticatorMethodWebauthnRpIdArgsDict']]] = None, + show_sign_in_with_a_passkey_button: pulumi.Input[Optional[_builtins.bool]] = None, + status: pulumi.Input[Optional[_builtins.str]] = None, + user_verification: pulumi.Input[Optional[_builtins.str]] = None, + user_verification_for_verify: pulumi.Input[Optional[_builtins.str]] = None) -> 'AuthenticatorMethodWebauthn': + """ + Get an existing AuthenticatorMethodWebauthn resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[Union['AuthenticatorMethodWebauthnAaguidGroupArgs', 'AuthenticatorMethodWebauthnAaguidGroupArgsDict']]]] aaguid_groups: List of AAGUID group configurations. + :param pulumi.Input[_builtins.bool] allow_syncable_passkeys: Whether syncable passkeys are allowed. + :param pulumi.Input[_builtins.str] attachment: Method attachment setting. + :param pulumi.Input[_builtins.str] authenticator_id: The ID of the WebAuthn authenticator. + :param pulumi.Input[_builtins.bool] cert_based_attestation_validation: Whether certificate-based attestation validation is enabled. + :param pulumi.Input[_builtins.bool] enable_autofill_ui: Enables the passkeys autofill UI for WebAuthn discoverable credentials. + :param pulumi.Input[_builtins.bool] fips_compliant: Whether the authenticator must be FIPS compliant. + :param pulumi.Input[_builtins.bool] hardware_protected: Whether the authenticator must store the private key on hardware. + :param pulumi.Input[_builtins.str] resident_key_requirement: Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + :param pulumi.Input[Union['AuthenticatorMethodWebauthnRpIdArgs', 'AuthenticatorMethodWebauthnRpIdArgsDict']] rp_id: The Relying Party (RP) ID configuration for WebAuthn. Contains: + :param pulumi.Input[_builtins.bool] show_sign_in_with_a_passkey_button: Whether to show the "Sign in with a Passkey" button. + :param pulumi.Input[_builtins.str] status: The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + :param pulumi.Input[_builtins.str] user_verification: User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + :param pulumi.Input[_builtins.str] user_verification_for_verify: User verification setting for authentication (verification). + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _AuthenticatorMethodWebauthnState.__new__(_AuthenticatorMethodWebauthnState) + + __props__.__dict__["aaguid_groups"] = aaguid_groups + __props__.__dict__["allow_syncable_passkeys"] = allow_syncable_passkeys + __props__.__dict__["attachment"] = attachment + __props__.__dict__["authenticator_id"] = authenticator_id + __props__.__dict__["cert_based_attestation_validation"] = cert_based_attestation_validation + __props__.__dict__["enable_autofill_ui"] = enable_autofill_ui + __props__.__dict__["fips_compliant"] = fips_compliant + __props__.__dict__["hardware_protected"] = hardware_protected + __props__.__dict__["resident_key_requirement"] = resident_key_requirement + __props__.__dict__["rp_id"] = rp_id + __props__.__dict__["show_sign_in_with_a_passkey_button"] = show_sign_in_with_a_passkey_button + __props__.__dict__["status"] = status + __props__.__dict__["user_verification"] = user_verification + __props__.__dict__["user_verification_for_verify"] = user_verification_for_verify + return AuthenticatorMethodWebauthn(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter(name="aaguidGroups") + def aaguid_groups(self) -> pulumi.Output[Optional[Sequence['outputs.AuthenticatorMethodWebauthnAaguidGroup']]]: + """ + List of AAGUID group configurations. + """ + return pulumi.get(self, "aaguid_groups") + + @_builtins.property + @pulumi.getter(name="allowSyncablePasskeys") + def allow_syncable_passkeys(self) -> pulumi.Output[_builtins.bool]: + """ + Whether syncable passkeys are allowed. + """ + return pulumi.get(self, "allow_syncable_passkeys") + + @_builtins.property + @pulumi.getter + def attachment(self) -> pulumi.Output[_builtins.str]: + """ + Method attachment setting. + """ + return pulumi.get(self, "attachment") + + @_builtins.property + @pulumi.getter(name="authenticatorId") + def authenticator_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the WebAuthn authenticator. + """ + return pulumi.get(self, "authenticator_id") + + @_builtins.property + @pulumi.getter(name="certBasedAttestationValidation") + def cert_based_attestation_validation(self) -> pulumi.Output[_builtins.bool]: + """ + Whether certificate-based attestation validation is enabled. + """ + return pulumi.get(self, "cert_based_attestation_validation") + + @_builtins.property + @pulumi.getter(name="enableAutofillUi") + def enable_autofill_ui(self) -> pulumi.Output[_builtins.bool]: + """ + Enables the passkeys autofill UI for WebAuthn discoverable credentials. + """ + return pulumi.get(self, "enable_autofill_ui") + + @_builtins.property + @pulumi.getter(name="fipsCompliant") + def fips_compliant(self) -> pulumi.Output[_builtins.bool]: + """ + Whether the authenticator must be FIPS compliant. + """ + return pulumi.get(self, "fips_compliant") + + @_builtins.property + @pulumi.getter(name="hardwareProtected") + def hardware_protected(self) -> pulumi.Output[_builtins.bool]: + """ + Whether the authenticator must store the private key on hardware. + """ + return pulumi.get(self, "hardware_protected") + + @_builtins.property + @pulumi.getter(name="residentKeyRequirement") + def resident_key_requirement(self) -> pulumi.Output[_builtins.str]: + """ + Resident key requirement. Values: `REQUIRED`, `DISCOURAGED`, `PREFERRED`. + """ + return pulumi.get(self, "resident_key_requirement") + + @_builtins.property + @pulumi.getter(name="rpId") + def rp_id(self) -> pulumi.Output[Optional['outputs.AuthenticatorMethodWebauthnRpId']]: + """ + The Relying Party (RP) ID configuration for WebAuthn. Contains: + """ + return pulumi.get(self, "rp_id") + + @_builtins.property + @pulumi.getter(name="showSignInWithAPasskeyButton") + def show_sign_in_with_a_passkey_button(self) -> pulumi.Output[_builtins.bool]: + """ + Whether to show the "Sign in with a Passkey" button. + """ + return pulumi.get(self, "show_sign_in_with_a_passkey_button") + + @_builtins.property + @pulumi.getter + def status(self) -> pulumi.Output[_builtins.str]: + """ + The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + """ + return pulumi.get(self, "status") + + @_builtins.property + @pulumi.getter(name="userVerification") + def user_verification(self) -> pulumi.Output[_builtins.str]: + """ + User verification setting for enrollment. Values: `DISCOURAGED`, `PREFERRED`, `REQUIRED`. + """ + return pulumi.get(self, "user_verification") + + @_builtins.property + @pulumi.getter(name="userVerificationForVerify") + def user_verification_for_verify(self) -> pulumi.Output[_builtins.str]: + """ + User verification setting for authentication (verification). + """ + return pulumi.get(self, "user_verification_for_verify") + diff --git a/sdk/python/pulumi_okta/authenticator_webauthn_custom_aaguid.py b/sdk/python/pulumi_okta/authenticator_webauthn_custom_aaguid.py new file mode 100644 index 000000000..29c5fda89 --- /dev/null +++ b/sdk/python/pulumi_okta/authenticator_webauthn_custom_aaguid.py @@ -0,0 +1,451 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['AuthenticatorWebauthnCustomAaguidArgs', 'AuthenticatorWebauthnCustomAaguid'] + +@pulumi.input_type +class AuthenticatorWebauthnCustomAaguidArgs: + def __init__(__self__, *, + aaguid: pulumi.Input[_builtins.str], + authenticator_id: pulumi.Input[_builtins.str], + attestation_root_certificates: pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs']]]] = None, + authenticator_characteristics: pulumi.Input[Optional['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs']] = None, + name: pulumi.Input[Optional[_builtins.str]] = None): + """ + The set of arguments for constructing a AuthenticatorWebauthnCustomAaguid resource. + + :param pulumi.Input[_builtins.str] aaguid: The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + :param pulumi.Input[_builtins.str] authenticator_id: The ID of the WebAuthn authenticator. + :param pulumi.Input[Sequence[pulumi.Input['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs']]] attestation_root_certificates: List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + :param pulumi.Input['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs'] authenticator_characteristics: Properties of the custom AAGUID authenticator. + :param pulumi.Input[_builtins.str] name: The product name associated with this AAGUID. + """ + pulumi.set(__self__, "aaguid", aaguid) + pulumi.set(__self__, "authenticator_id", authenticator_id) + if attestation_root_certificates is not None: + pulumi.set(__self__, "attestation_root_certificates", attestation_root_certificates) + if authenticator_characteristics is not None: + pulumi.set(__self__, "authenticator_characteristics", authenticator_characteristics) + if name is not None: + pulumi.set(__self__, "name", name) + + @_builtins.property + @pulumi.getter + def aaguid(self) -> pulumi.Input[_builtins.str]: + """ + The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + """ + return pulumi.get(self, "aaguid") + + @aaguid.setter + def aaguid(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "aaguid", value) + + @_builtins.property + @pulumi.getter(name="authenticatorId") + def authenticator_id(self) -> pulumi.Input[_builtins.str]: + """ + The ID of the WebAuthn authenticator. + """ + return pulumi.get(self, "authenticator_id") + + @authenticator_id.setter + def authenticator_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "authenticator_id", value) + + @_builtins.property + @pulumi.getter(name="attestationRootCertificates") + def attestation_root_certificates(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs']]]]: + """ + List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + """ + return pulumi.get(self, "attestation_root_certificates") + + @attestation_root_certificates.setter + def attestation_root_certificates(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs']]]]): + pulumi.set(self, "attestation_root_certificates", value) + + @_builtins.property + @pulumi.getter(name="authenticatorCharacteristics") + def authenticator_characteristics(self) -> pulumi.Input[Optional['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs']]: + """ + Properties of the custom AAGUID authenticator. + """ + return pulumi.get(self, "authenticator_characteristics") + + @authenticator_characteristics.setter + def authenticator_characteristics(self, value: pulumi.Input[Optional['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs']]): + pulumi.set(self, "authenticator_characteristics", value) + + @_builtins.property + @pulumi.getter + def name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The product name associated with this AAGUID. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "name", value) + + +@pulumi.input_type +class _AuthenticatorWebauthnCustomAaguidState: + def __init__(__self__, *, + aaguid: pulumi.Input[Optional[_builtins.str]] = None, + attestation_root_certificates: pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs']]]] = None, + authenticator_characteristics: pulumi.Input[Optional['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs']] = None, + authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + name: pulumi.Input[Optional[_builtins.str]] = None): + """ + Input properties used for looking up and filtering AuthenticatorWebauthnCustomAaguid resources. + + :param pulumi.Input[_builtins.str] aaguid: The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + :param pulumi.Input[Sequence[pulumi.Input['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs']]] attestation_root_certificates: List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + :param pulumi.Input['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs'] authenticator_characteristics: Properties of the custom AAGUID authenticator. + :param pulumi.Input[_builtins.str] authenticator_id: The ID of the WebAuthn authenticator. + :param pulumi.Input[_builtins.str] name: The product name associated with this AAGUID. + """ + if aaguid is not None: + pulumi.set(__self__, "aaguid", aaguid) + if attestation_root_certificates is not None: + pulumi.set(__self__, "attestation_root_certificates", attestation_root_certificates) + if authenticator_characteristics is not None: + pulumi.set(__self__, "authenticator_characteristics", authenticator_characteristics) + if authenticator_id is not None: + pulumi.set(__self__, "authenticator_id", authenticator_id) + if name is not None: + pulumi.set(__self__, "name", name) + + @_builtins.property + @pulumi.getter + def aaguid(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + """ + return pulumi.get(self, "aaguid") + + @aaguid.setter + def aaguid(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "aaguid", value) + + @_builtins.property + @pulumi.getter(name="attestationRootCertificates") + def attestation_root_certificates(self) -> pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs']]]]: + """ + List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + """ + return pulumi.get(self, "attestation_root_certificates") + + @attestation_root_certificates.setter + def attestation_root_certificates(self, value: pulumi.Input[Optional[Sequence[pulumi.Input['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs']]]]): + pulumi.set(self, "attestation_root_certificates", value) + + @_builtins.property + @pulumi.getter(name="authenticatorCharacteristics") + def authenticator_characteristics(self) -> pulumi.Input[Optional['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs']]: + """ + Properties of the custom AAGUID authenticator. + """ + return pulumi.get(self, "authenticator_characteristics") + + @authenticator_characteristics.setter + def authenticator_characteristics(self, value: pulumi.Input[Optional['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs']]): + pulumi.set(self, "authenticator_characteristics", value) + + @_builtins.property + @pulumi.getter(name="authenticatorId") + def authenticator_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The ID of the WebAuthn authenticator. + """ + return pulumi.get(self, "authenticator_id") + + @authenticator_id.setter + def authenticator_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "authenticator_id", value) + + @_builtins.property + @pulumi.getter + def name(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The product name associated with this AAGUID. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "name", value) + + +@pulumi.type_token("okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid") +class AuthenticatorWebauthnCustomAaguid(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aaguid: pulumi.Input[Optional[_builtins.str]] = None, + attestation_root_certificates: pulumi.Input[Optional[Sequence[pulumi.Input[Union['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs', 'AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgsDict']]]]] = None, + authenticator_characteristics: pulumi.Input[Optional[Union['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs', 'AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgsDict']]] = None, + authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + name: pulumi.Input[Optional[_builtins.str]] = None, + __props__=None): + """ + > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + + Manages a custom AAGUID (Authenticator Attestation Globally Unique Identifier) for a WebAuthn authenticator. Custom AAGUIDs allow administrators to register specific hardware security key models with the organization. + + > **NOTE:** AAGUIDs that are registered in the [FIDO Metadata Service (MDS)](https://fidoalliance.org/metadata/) with attestation certificates **require** the `attestation_root_certificate` block(s) to be provided. If omitted for an MDS-registered AAGUID, the API will return a validation error. AAGUIDs not present in the MDS do not require certificates. + + ## Example Usage + + ### Basic (custom/non-MDS AAGUID) + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + custom_key = okta.AuthenticatorWebauthnCustomAaguid("custom_key", + authenticator_id=webauthn.id, + aaguid="00000000-0000-0000-0000-000000000001", + name="Custom Security Key", + authenticator_characteristics={ + "hardware_protected": True, + "platform_attached": False, + }) + ``` + + ### With attestation certificates (MDS-registered AAGUID) + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + yubikey5 = okta.AuthenticatorWebauthnCustomAaguid("yubikey5", + authenticator_id=webauthn.id, + aaguid="cb69481e-8ff7-4039-93ec-0a2729a154a8", + name="YubiKey 5 Series", + authenticator_characteristics={ + "fips_compliant": True, + "hardware_protected": True, + "platform_attached": False, + }, + attestation_root_certificates=[{ + "x5c": "", + }]) + ``` + + ## Import + + A custom AAGUID can be imported using the format `authenticator_id/aaguid`: + + ```sh + $ pulumi import okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid example aut1234567890/cb69481e-8ff7-4039-93ec-0a2729a154a8 + ``` + + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] aaguid: The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + :param pulumi.Input[Sequence[pulumi.Input[Union['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs', 'AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgsDict']]]] attestation_root_certificates: List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + :param pulumi.Input[Union['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs', 'AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgsDict']] authenticator_characteristics: Properties of the custom AAGUID authenticator. + :param pulumi.Input[_builtins.str] authenticator_id: The ID of the WebAuthn authenticator. + :param pulumi.Input[_builtins.str] name: The product name associated with this AAGUID. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AuthenticatorWebauthnCustomAaguidArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + + Manages a custom AAGUID (Authenticator Attestation Globally Unique Identifier) for a WebAuthn authenticator. Custom AAGUIDs allow administrators to register specific hardware security key models with the organization. + + > **NOTE:** AAGUIDs that are registered in the [FIDO Metadata Service (MDS)](https://fidoalliance.org/metadata/) with attestation certificates **require** the `attestation_root_certificate` block(s) to be provided. If omitted for an MDS-registered AAGUID, the API will return a validation error. AAGUIDs not present in the MDS do not require certificates. + + ## Example Usage + + ### Basic (custom/non-MDS AAGUID) + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + custom_key = okta.AuthenticatorWebauthnCustomAaguid("custom_key", + authenticator_id=webauthn.id, + aaguid="00000000-0000-0000-0000-000000000001", + name="Custom Security Key", + authenticator_characteristics={ + "hardware_protected": True, + "platform_attached": False, + }) + ``` + + ### With attestation certificates (MDS-registered AAGUID) + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + yubikey5 = okta.AuthenticatorWebauthnCustomAaguid("yubikey5", + authenticator_id=webauthn.id, + aaguid="cb69481e-8ff7-4039-93ec-0a2729a154a8", + name="YubiKey 5 Series", + authenticator_characteristics={ + "fips_compliant": True, + "hardware_protected": True, + "platform_attached": False, + }, + attestation_root_certificates=[{ + "x5c": "", + }]) + ``` + + ## Import + + A custom AAGUID can be imported using the format `authenticator_id/aaguid`: + + ```sh + $ pulumi import okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid example aut1234567890/cb69481e-8ff7-4039-93ec-0a2729a154a8 + ``` + + + :param str resource_name: The name of the resource. + :param AuthenticatorWebauthnCustomAaguidArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(AuthenticatorWebauthnCustomAaguidArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + aaguid: pulumi.Input[Optional[_builtins.str]] = None, + attestation_root_certificates: pulumi.Input[Optional[Sequence[pulumi.Input[Union['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs', 'AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgsDict']]]]] = None, + authenticator_characteristics: pulumi.Input[Optional[Union['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs', 'AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgsDict']]] = None, + authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + name: pulumi.Input[Optional[_builtins.str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AuthenticatorWebauthnCustomAaguidArgs.__new__(AuthenticatorWebauthnCustomAaguidArgs) + + if aaguid is None and not opts.urn: + raise TypeError("Missing required property 'aaguid'") + __props__.__dict__["aaguid"] = aaguid + __props__.__dict__["attestation_root_certificates"] = attestation_root_certificates + __props__.__dict__["authenticator_characteristics"] = authenticator_characteristics + if authenticator_id is None and not opts.urn: + raise TypeError("Missing required property 'authenticator_id'") + __props__.__dict__["authenticator_id"] = authenticator_id + __props__.__dict__["name"] = name + super(AuthenticatorWebauthnCustomAaguid, __self__).__init__( + 'okta:index/authenticatorWebauthnCustomAaguid:AuthenticatorWebauthnCustomAaguid', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + aaguid: pulumi.Input[Optional[_builtins.str]] = None, + attestation_root_certificates: pulumi.Input[Optional[Sequence[pulumi.Input[Union['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs', 'AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgsDict']]]]] = None, + authenticator_characteristics: pulumi.Input[Optional[Union['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs', 'AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgsDict']]] = None, + authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + name: pulumi.Input[Optional[_builtins.str]] = None) -> 'AuthenticatorWebauthnCustomAaguid': + """ + Get an existing AuthenticatorWebauthnCustomAaguid resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] aaguid: The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + :param pulumi.Input[Sequence[pulumi.Input[Union['AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgs', 'AuthenticatorWebauthnCustomAaguidAttestationRootCertificateArgsDict']]]] attestation_root_certificates: List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + :param pulumi.Input[Union['AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgs', 'AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristicsArgsDict']] authenticator_characteristics: Properties of the custom AAGUID authenticator. + :param pulumi.Input[_builtins.str] authenticator_id: The ID of the WebAuthn authenticator. + :param pulumi.Input[_builtins.str] name: The product name associated with this AAGUID. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _AuthenticatorWebauthnCustomAaguidState.__new__(_AuthenticatorWebauthnCustomAaguidState) + + __props__.__dict__["aaguid"] = aaguid + __props__.__dict__["attestation_root_certificates"] = attestation_root_certificates + __props__.__dict__["authenticator_characteristics"] = authenticator_characteristics + __props__.__dict__["authenticator_id"] = authenticator_id + __props__.__dict__["name"] = name + return AuthenticatorWebauthnCustomAaguid(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter + def aaguid(self) -> pulumi.Output[_builtins.str]: + """ + The Authenticator Attestation Globally Unique Identifier (AAGUID). A 128-bit identifier indicating the authenticator model. + """ + return pulumi.get(self, "aaguid") + + @_builtins.property + @pulumi.getter(name="attestationRootCertificates") + def attestation_root_certificates(self) -> pulumi.Output[Optional[Sequence['outputs.AuthenticatorWebauthnCustomAaguidAttestationRootCertificate']]]: + """ + List of attestation root certificates. **Required** for AAGUIDs that exist in the FIDO Metadata Service (MDS) with certificates. + """ + return pulumi.get(self, "attestation_root_certificates") + + @_builtins.property + @pulumi.getter(name="authenticatorCharacteristics") + def authenticator_characteristics(self) -> pulumi.Output[Optional['outputs.AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics']]: + """ + Properties of the custom AAGUID authenticator. + """ + return pulumi.get(self, "authenticator_characteristics") + + @_builtins.property + @pulumi.getter(name="authenticatorId") + def authenticator_id(self) -> pulumi.Output[_builtins.str]: + """ + The ID of the WebAuthn authenticator. + """ + return pulumi.get(self, "authenticator_id") + + @_builtins.property + @pulumi.getter + def name(self) -> pulumi.Output[_builtins.str]: + """ + The product name associated with this AAGUID. + """ + return pulumi.get(self, "name") + diff --git a/sdk/python/pulumi_okta/get_authenticator_method_webauthn.py b/sdk/python/pulumi_okta/get_authenticator_method_webauthn.py new file mode 100644 index 000000000..e5658eff7 --- /dev/null +++ b/sdk/python/pulumi_okta/get_authenticator_method_webauthn.py @@ -0,0 +1,308 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetAuthenticatorMethodWebauthnResult', + 'AwaitableGetAuthenticatorMethodWebauthnResult', + 'get_authenticator_method_webauthn', + 'get_authenticator_method_webauthn_output', +] + +@pulumi.output_type +class GetAuthenticatorMethodWebauthnResult: + """ + A collection of values returned by getAuthenticatorMethodWebauthn. + """ + def __init__(__self__, aaguid_groups=None, allow_syncable_passkeys=None, attachment=None, authenticator_id=None, cert_based_attestation_validation=None, enable_autofill_ui=None, fips_compliant=None, hardware_protected=None, id=None, resident_key_requirement=None, rp_id=None, show_sign_in_with_a_passkey_button=None, status=None, user_verification=None, user_verification_for_verify=None): + if aaguid_groups and not isinstance(aaguid_groups, list): + raise TypeError("Expected argument 'aaguid_groups' to be a list") + pulumi.set(__self__, "aaguid_groups", aaguid_groups) + if allow_syncable_passkeys and not isinstance(allow_syncable_passkeys, bool): + raise TypeError("Expected argument 'allow_syncable_passkeys' to be a bool") + pulumi.set(__self__, "allow_syncable_passkeys", allow_syncable_passkeys) + if attachment and not isinstance(attachment, str): + raise TypeError("Expected argument 'attachment' to be a str") + pulumi.set(__self__, "attachment", attachment) + if authenticator_id and not isinstance(authenticator_id, str): + raise TypeError("Expected argument 'authenticator_id' to be a str") + pulumi.set(__self__, "authenticator_id", authenticator_id) + if cert_based_attestation_validation and not isinstance(cert_based_attestation_validation, bool): + raise TypeError("Expected argument 'cert_based_attestation_validation' to be a bool") + pulumi.set(__self__, "cert_based_attestation_validation", cert_based_attestation_validation) + if enable_autofill_ui and not isinstance(enable_autofill_ui, bool): + raise TypeError("Expected argument 'enable_autofill_ui' to be a bool") + pulumi.set(__self__, "enable_autofill_ui", enable_autofill_ui) + if fips_compliant and not isinstance(fips_compliant, bool): + raise TypeError("Expected argument 'fips_compliant' to be a bool") + pulumi.set(__self__, "fips_compliant", fips_compliant) + if hardware_protected and not isinstance(hardware_protected, bool): + raise TypeError("Expected argument 'hardware_protected' to be a bool") + pulumi.set(__self__, "hardware_protected", hardware_protected) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if resident_key_requirement and not isinstance(resident_key_requirement, str): + raise TypeError("Expected argument 'resident_key_requirement' to be a str") + pulumi.set(__self__, "resident_key_requirement", resident_key_requirement) + if rp_id and not isinstance(rp_id, dict): + raise TypeError("Expected argument 'rp_id' to be a dict") + pulumi.set(__self__, "rp_id", rp_id) + if show_sign_in_with_a_passkey_button and not isinstance(show_sign_in_with_a_passkey_button, bool): + raise TypeError("Expected argument 'show_sign_in_with_a_passkey_button' to be a bool") + pulumi.set(__self__, "show_sign_in_with_a_passkey_button", show_sign_in_with_a_passkey_button) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if user_verification and not isinstance(user_verification, str): + raise TypeError("Expected argument 'user_verification' to be a str") + pulumi.set(__self__, "user_verification", user_verification) + if user_verification_for_verify and not isinstance(user_verification_for_verify, str): + raise TypeError("Expected argument 'user_verification_for_verify' to be a str") + pulumi.set(__self__, "user_verification_for_verify", user_verification_for_verify) + + @_builtins.property + @pulumi.getter(name="aaguidGroups") + def aaguid_groups(self) -> Optional[Sequence['outputs.GetAuthenticatorMethodWebauthnAaguidGroupResult']]: + """ + The FIDO2 AAGUID groups. Each element contains: + """ + return pulumi.get(self, "aaguid_groups") + + @_builtins.property + @pulumi.getter(name="allowSyncablePasskeys") + def allow_syncable_passkeys(self) -> _builtins.bool: + """ + Whether syncable passkeys are allowed. + """ + return pulumi.get(self, "allow_syncable_passkeys") + + @_builtins.property + @pulumi.getter + def attachment(self) -> _builtins.str: + """ + Method attachment setting. + """ + return pulumi.get(self, "attachment") + + @_builtins.property + @pulumi.getter(name="authenticatorId") + def authenticator_id(self) -> _builtins.str: + return pulumi.get(self, "authenticator_id") + + @_builtins.property + @pulumi.getter(name="certBasedAttestationValidation") + def cert_based_attestation_validation(self) -> _builtins.bool: + """ + Whether certificate-based attestation validation is enabled. + """ + return pulumi.get(self, "cert_based_attestation_validation") + + @_builtins.property + @pulumi.getter(name="enableAutofillUi") + def enable_autofill_ui(self) -> _builtins.bool: + """ + Whether the passkeys autofill UI is enabled. + """ + return pulumi.get(self, "enable_autofill_ui") + + @_builtins.property + @pulumi.getter(name="fipsCompliant") + def fips_compliant(self) -> _builtins.bool: + """ + Whether the authenticator must be FIPS compliant. + """ + return pulumi.get(self, "fips_compliant") + + @_builtins.property + @pulumi.getter(name="hardwareProtected") + def hardware_protected(self) -> _builtins.bool: + """ + Whether the authenticator must store the private key on hardware. + """ + return pulumi.get(self, "hardware_protected") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="residentKeyRequirement") + def resident_key_requirement(self) -> _builtins.str: + """ + Resident key requirement setting. + """ + return pulumi.get(self, "resident_key_requirement") + + @_builtins.property + @pulumi.getter(name="rpId") + def rp_id(self) -> Optional['outputs.GetAuthenticatorMethodWebauthnRpIdResult']: + """ + The Relying Party (RP) ID configuration for WebAuthn. Contains: + """ + return pulumi.get(self, "rp_id") + + @_builtins.property + @pulumi.getter(name="showSignInWithAPasskeyButton") + def show_sign_in_with_a_passkey_button(self) -> _builtins.bool: + """ + Whether the "Sign in with a Passkey" button is shown. + """ + return pulumi.get(self, "show_sign_in_with_a_passkey_button") + + @_builtins.property + @pulumi.getter + def status(self) -> _builtins.str: + """ + The status of the WebAuthn method (`ACTIVE` or `INACTIVE`). + """ + return pulumi.get(self, "status") + + @_builtins.property + @pulumi.getter(name="userVerification") + def user_verification(self) -> _builtins.str: + """ + User verification setting for enrollment. + """ + return pulumi.get(self, "user_verification") + + @_builtins.property + @pulumi.getter(name="userVerificationForVerify") + def user_verification_for_verify(self) -> _builtins.str: + """ + User verification setting for authentication. + """ + return pulumi.get(self, "user_verification_for_verify") + + +class AwaitableGetAuthenticatorMethodWebauthnResult(GetAuthenticatorMethodWebauthnResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAuthenticatorMethodWebauthnResult( + aaguid_groups=self.aaguid_groups, + allow_syncable_passkeys=self.allow_syncable_passkeys, + attachment=self.attachment, + authenticator_id=self.authenticator_id, + cert_based_attestation_validation=self.cert_based_attestation_validation, + enable_autofill_ui=self.enable_autofill_ui, + fips_compliant=self.fips_compliant, + hardware_protected=self.hardware_protected, + id=self.id, + resident_key_requirement=self.resident_key_requirement, + rp_id=self.rp_id, + show_sign_in_with_a_passkey_button=self.show_sign_in_with_a_passkey_button, + status=self.status, + user_verification=self.user_verification, + user_verification_for_verify=self.user_verification_for_verify) + + +def get_authenticator_method_webauthn(aaguid_groups: Optional[Sequence[Union['GetAuthenticatorMethodWebauthnAaguidGroupArgs', 'GetAuthenticatorMethodWebauthnAaguidGroupArgsDict']]] = None, + authenticator_id: Optional[_builtins.str] = None, + rp_id: Optional[Union['GetAuthenticatorMethodWebauthnRpIdArgs', 'GetAuthenticatorMethodWebauthnRpIdArgsDict']] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthenticatorMethodWebauthnResult: + """ + > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + + Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + example = okta.get_authenticator_method_webauthn(authenticator_id=webauthn.id) + ``` + + + :param Sequence[Union['GetAuthenticatorMethodWebauthnAaguidGroupArgs', 'GetAuthenticatorMethodWebauthnAaguidGroupArgsDict']] aaguid_groups: The FIDO2 AAGUID groups. Each element contains: + :param _builtins.str authenticator_id: The ID of the WebAuthn authenticator. + :param Union['GetAuthenticatorMethodWebauthnRpIdArgs', 'GetAuthenticatorMethodWebauthnRpIdArgsDict'] rp_id: The Relying Party (RP) ID configuration for WebAuthn. Contains: + """ + __args__ = dict() + __args__['aaguidGroups'] = aaguid_groups + __args__['authenticatorId'] = authenticator_id + __args__['rpId'] = rp_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn', __args__, opts=opts, typ=GetAuthenticatorMethodWebauthnResult).value + + return AwaitableGetAuthenticatorMethodWebauthnResult( + aaguid_groups=pulumi.get(__ret__, 'aaguid_groups'), + allow_syncable_passkeys=pulumi.get(__ret__, 'allow_syncable_passkeys'), + attachment=pulumi.get(__ret__, 'attachment'), + authenticator_id=pulumi.get(__ret__, 'authenticator_id'), + cert_based_attestation_validation=pulumi.get(__ret__, 'cert_based_attestation_validation'), + enable_autofill_ui=pulumi.get(__ret__, 'enable_autofill_ui'), + fips_compliant=pulumi.get(__ret__, 'fips_compliant'), + hardware_protected=pulumi.get(__ret__, 'hardware_protected'), + id=pulumi.get(__ret__, 'id'), + resident_key_requirement=pulumi.get(__ret__, 'resident_key_requirement'), + rp_id=pulumi.get(__ret__, 'rp_id'), + show_sign_in_with_a_passkey_button=pulumi.get(__ret__, 'show_sign_in_with_a_passkey_button'), + status=pulumi.get(__ret__, 'status'), + user_verification=pulumi.get(__ret__, 'user_verification'), + user_verification_for_verify=pulumi.get(__ret__, 'user_verification_for_verify')) +def get_authenticator_method_webauthn_output(aaguid_groups: pulumi.Input[Optional[Optional[Sequence[Union['GetAuthenticatorMethodWebauthnAaguidGroupArgs', 'GetAuthenticatorMethodWebauthnAaguidGroupArgsDict']]]]] = None, + authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + rp_id: pulumi.Input[Optional[Optional[Union['GetAuthenticatorMethodWebauthnRpIdArgs', 'GetAuthenticatorMethodWebauthnRpIdArgsDict']]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthenticatorMethodWebauthnResult]: + """ + > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + + Reads the WebAuthn authenticator method settings, including AAGUID groups, user verification preferences, and passkey configuration. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + example = okta.get_authenticator_method_webauthn(authenticator_id=webauthn.id) + ``` + + + :param Sequence[Union['GetAuthenticatorMethodWebauthnAaguidGroupArgs', 'GetAuthenticatorMethodWebauthnAaguidGroupArgsDict']] aaguid_groups: The FIDO2 AAGUID groups. Each element contains: + :param _builtins.str authenticator_id: The ID of the WebAuthn authenticator. + :param Union['GetAuthenticatorMethodWebauthnRpIdArgs', 'GetAuthenticatorMethodWebauthnRpIdArgsDict'] rp_id: The Relying Party (RP) ID configuration for WebAuthn. Contains: + """ + __args__ = dict() + __args__['aaguidGroups'] = aaguid_groups + __args__['authenticatorId'] = authenticator_id + __args__['rpId'] = rp_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('okta:index/getAuthenticatorMethodWebauthn:getAuthenticatorMethodWebauthn', __args__, opts=opts, typ=GetAuthenticatorMethodWebauthnResult) + return __ret__.apply(lambda __response__: GetAuthenticatorMethodWebauthnResult( + aaguid_groups=pulumi.get(__response__, 'aaguid_groups'), + allow_syncable_passkeys=pulumi.get(__response__, 'allow_syncable_passkeys'), + attachment=pulumi.get(__response__, 'attachment'), + authenticator_id=pulumi.get(__response__, 'authenticator_id'), + cert_based_attestation_validation=pulumi.get(__response__, 'cert_based_attestation_validation'), + enable_autofill_ui=pulumi.get(__response__, 'enable_autofill_ui'), + fips_compliant=pulumi.get(__response__, 'fips_compliant'), + hardware_protected=pulumi.get(__response__, 'hardware_protected'), + id=pulumi.get(__response__, 'id'), + resident_key_requirement=pulumi.get(__response__, 'resident_key_requirement'), + rp_id=pulumi.get(__response__, 'rp_id'), + show_sign_in_with_a_passkey_button=pulumi.get(__response__, 'show_sign_in_with_a_passkey_button'), + status=pulumi.get(__response__, 'status'), + user_verification=pulumi.get(__response__, 'user_verification'), + user_verification_for_verify=pulumi.get(__response__, 'user_verification_for_verify'))) diff --git a/sdk/python/pulumi_okta/get_authenticator_webauthn_custom_aaguids.py b/sdk/python/pulumi_okta/get_authenticator_webauthn_custom_aaguids.py new file mode 100644 index 000000000..9621e31af --- /dev/null +++ b/sdk/python/pulumi_okta/get_authenticator_webauthn_custom_aaguids.py @@ -0,0 +1,134 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetAuthenticatorWebauthnCustomAaguidsResult', + 'AwaitableGetAuthenticatorWebauthnCustomAaguidsResult', + 'get_authenticator_webauthn_custom_aaguids', + 'get_authenticator_webauthn_custom_aaguids_output', +] + +@pulumi.output_type +class GetAuthenticatorWebauthnCustomAaguidsResult: + """ + A collection of values returned by getAuthenticatorWebauthnCustomAaguids. + """ + def __init__(__self__, authenticator_id=None, custom_aaguids=None, id=None): + if authenticator_id and not isinstance(authenticator_id, str): + raise TypeError("Expected argument 'authenticator_id' to be a str") + pulumi.set(__self__, "authenticator_id", authenticator_id) + if custom_aaguids and not isinstance(custom_aaguids, list): + raise TypeError("Expected argument 'custom_aaguids' to be a list") + pulumi.set(__self__, "custom_aaguids", custom_aaguids) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + + @_builtins.property + @pulumi.getter(name="authenticatorId") + def authenticator_id(self) -> _builtins.str: + return pulumi.get(self, "authenticator_id") + + @_builtins.property + @pulumi.getter(name="customAaguids") + def custom_aaguids(self) -> Optional[Sequence['outputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidResult']]: + """ + List of custom AAGUIDs configured for this authenticator. Each element contains: + """ + return pulumi.get(self, "custom_aaguids") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + +class AwaitableGetAuthenticatorWebauthnCustomAaguidsResult(GetAuthenticatorWebauthnCustomAaguidsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAuthenticatorWebauthnCustomAaguidsResult( + authenticator_id=self.authenticator_id, + custom_aaguids=self.custom_aaguids, + id=self.id) + + +def get_authenticator_webauthn_custom_aaguids(authenticator_id: Optional[_builtins.str] = None, + custom_aaguids: Optional[Sequence[Union['GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs', 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthenticatorWebauthnCustomAaguidsResult: + """ + > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + + Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + all = okta.get_authenticator_webauthn_custom_aaguids(authenticator_id=webauthn.id) + ``` + + + :param _builtins.str authenticator_id: The ID of the WebAuthn authenticator. + :param Sequence[Union['GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs', 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgsDict']] custom_aaguids: List of custom AAGUIDs configured for this authenticator. Each element contains: + """ + __args__ = dict() + __args__['authenticatorId'] = authenticator_id + __args__['customAaguids'] = custom_aaguids + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids', __args__, opts=opts, typ=GetAuthenticatorWebauthnCustomAaguidsResult).value + + return AwaitableGetAuthenticatorWebauthnCustomAaguidsResult( + authenticator_id=pulumi.get(__ret__, 'authenticator_id'), + custom_aaguids=pulumi.get(__ret__, 'custom_aaguids'), + id=pulumi.get(__ret__, 'id')) +def get_authenticator_webauthn_custom_aaguids_output(authenticator_id: pulumi.Input[Optional[_builtins.str]] = None, + custom_aaguids: pulumi.Input[Optional[Optional[Sequence[Union['GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs', 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgsDict']]]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthenticatorWebauthnCustomAaguidsResult]: + """ + > **WARNING:** This feature is only available as a part of the Identity Engine. Contact support for further information. + + Lists all custom AAGUIDs (Authenticator Attestation Globally Unique Identifiers) configured for a WebAuthn authenticator. Only custom AAGUIDs that an admin has created are returned. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + webauthn = okta.get_authenticator(key="webauthn") + all = okta.get_authenticator_webauthn_custom_aaguids(authenticator_id=webauthn.id) + ``` + + + :param _builtins.str authenticator_id: The ID of the WebAuthn authenticator. + :param Sequence[Union['GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgs', 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidArgsDict']] custom_aaguids: List of custom AAGUIDs configured for this authenticator. Each element contains: + """ + __args__ = dict() + __args__['authenticatorId'] = authenticator_id + __args__['customAaguids'] = custom_aaguids + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('okta:index/getAuthenticatorWebauthnCustomAaguids:getAuthenticatorWebauthnCustomAaguids', __args__, opts=opts, typ=GetAuthenticatorWebauthnCustomAaguidsResult) + return __ret__.apply(lambda __response__: GetAuthenticatorWebauthnCustomAaguidsResult( + authenticator_id=pulumi.get(__response__, 'authenticator_id'), + custom_aaguids=pulumi.get(__response__, 'custom_aaguids'), + id=pulumi.get(__response__, 'id'))) diff --git a/sdk/python/pulumi_okta/get_authorization_servers_policies_rule.py b/sdk/python/pulumi_okta/get_authorization_servers_policies_rule.py new file mode 100644 index 000000000..49a5c4640 --- /dev/null +++ b/sdk/python/pulumi_okta/get_authorization_servers_policies_rule.py @@ -0,0 +1,272 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetAuthorizationServersPoliciesRuleResult', + 'AwaitableGetAuthorizationServersPoliciesRuleResult', + 'get_authorization_servers_policies_rule', + 'get_authorization_servers_policies_rule_output', +] + +@pulumi.output_type +class GetAuthorizationServersPoliciesRuleResult: + """ + A collection of values returned by getAuthorizationServersPoliciesRule. + """ + def __init__(__self__, actions=None, auth_server_id=None, conditions=None, created=None, id=None, last_updated=None, name=None, policy_id=None, priority=None, status=None, system=None, type=None): + if actions and not isinstance(actions, dict): + raise TypeError("Expected argument 'actions' to be a dict") + pulumi.set(__self__, "actions", actions) + if auth_server_id and not isinstance(auth_server_id, str): + raise TypeError("Expected argument 'auth_server_id' to be a str") + pulumi.set(__self__, "auth_server_id", auth_server_id) + if conditions and not isinstance(conditions, dict): + raise TypeError("Expected argument 'conditions' to be a dict") + pulumi.set(__self__, "conditions", conditions) + if created and not isinstance(created, str): + raise TypeError("Expected argument 'created' to be a str") + pulumi.set(__self__, "created", created) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if last_updated and not isinstance(last_updated, str): + raise TypeError("Expected argument 'last_updated' to be a str") + pulumi.set(__self__, "last_updated", last_updated) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if policy_id and not isinstance(policy_id, str): + raise TypeError("Expected argument 'policy_id' to be a str") + pulumi.set(__self__, "policy_id", policy_id) + if priority and not isinstance(priority, int): + raise TypeError("Expected argument 'priority' to be a int") + pulumi.set(__self__, "priority", priority) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + if system and not isinstance(system, bool): + raise TypeError("Expected argument 'system' to be a bool") + pulumi.set(__self__, "system", system) + if type and not isinstance(type, str): + raise TypeError("Expected argument 'type' to be a str") + pulumi.set(__self__, "type", type) + + @_builtins.property + @pulumi.getter + def actions(self) -> Optional['outputs.GetAuthorizationServersPoliciesRuleActionsResult']: + return pulumi.get(self, "actions") + + @_builtins.property + @pulumi.getter(name="authServerId") + def auth_server_id(self) -> _builtins.str: + """ + `id` of the Authorization Server + """ + return pulumi.get(self, "auth_server_id") + + @_builtins.property + @pulumi.getter + def conditions(self) -> Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsResult']: + return pulumi.get(self, "conditions") + + @_builtins.property + @pulumi.getter + def created(self) -> _builtins.str: + """ + Timestamp when the rule was created + """ + return pulumi.get(self, "created") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + """ + Unique identifier of the authorization server policy rule. + """ + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> _builtins.str: + """ + Timestamp when the rule was last modified + """ + return pulumi.get(self, "last_updated") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + Name of the rule + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="policyId") + def policy_id(self) -> _builtins.str: + """ + `id` of the policy + """ + return pulumi.get(self, "policy_id") + + @_builtins.property + @pulumi.getter + def priority(self) -> _builtins.int: + """ + Priority of the rule + """ + return pulumi.get(self, "priority") + + @_builtins.property + @pulumi.getter + def status(self) -> _builtins.str: + """ + Status of the rule + """ + return pulumi.get(self, "status") + + @_builtins.property + @pulumi.getter + def system(self) -> _builtins.bool: + """ + Set to `true` for system rules. + """ + return pulumi.get(self, "system") + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + """ + Rule type + """ + return pulumi.get(self, "type") + + +class AwaitableGetAuthorizationServersPoliciesRuleResult(GetAuthorizationServersPoliciesRuleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAuthorizationServersPoliciesRuleResult( + actions=self.actions, + auth_server_id=self.auth_server_id, + conditions=self.conditions, + created=self.created, + id=self.id, + last_updated=self.last_updated, + name=self.name, + policy_id=self.policy_id, + priority=self.priority, + status=self.status, + system=self.system, + type=self.type) + + +def get_authorization_servers_policies_rule(actions: Optional[Union['GetAuthorizationServersPoliciesRuleActionsArgs', 'GetAuthorizationServersPoliciesRuleActionsArgsDict']] = None, + auth_server_id: Optional[_builtins.str] = None, + conditions: Optional[Union['GetAuthorizationServersPoliciesRuleConditionsArgs', 'GetAuthorizationServersPoliciesRuleConditionsArgsDict']] = None, + id: Optional[_builtins.str] = None, + policy_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAuthorizationServersPoliciesRuleResult: + """ + Retrieves an authorization server policy rule by `ruleId` from Okta. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_authorization_servers_policies_rule(id="", + auth_server_id="", + policy_id="") + ``` + + + :param _builtins.str auth_server_id: `id` of the Authorization Server + :param _builtins.str id: Unique identifier of the authorization server policy rule. + :param _builtins.str policy_id: `id` of the policy + """ + __args__ = dict() + __args__['actions'] = actions + __args__['authServerId'] = auth_server_id + __args__['conditions'] = conditions + __args__['id'] = id + __args__['policyId'] = policy_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule', __args__, opts=opts, typ=GetAuthorizationServersPoliciesRuleResult).value + + return AwaitableGetAuthorizationServersPoliciesRuleResult( + actions=pulumi.get(__ret__, 'actions'), + auth_server_id=pulumi.get(__ret__, 'auth_server_id'), + conditions=pulumi.get(__ret__, 'conditions'), + created=pulumi.get(__ret__, 'created'), + id=pulumi.get(__ret__, 'id'), + last_updated=pulumi.get(__ret__, 'last_updated'), + name=pulumi.get(__ret__, 'name'), + policy_id=pulumi.get(__ret__, 'policy_id'), + priority=pulumi.get(__ret__, 'priority'), + status=pulumi.get(__ret__, 'status'), + system=pulumi.get(__ret__, 'system'), + type=pulumi.get(__ret__, 'type')) +def get_authorization_servers_policies_rule_output(actions: pulumi.Input[Optional[Optional[Union['GetAuthorizationServersPoliciesRuleActionsArgs', 'GetAuthorizationServersPoliciesRuleActionsArgsDict']]]] = None, + auth_server_id: pulumi.Input[Optional[_builtins.str]] = None, + conditions: pulumi.Input[Optional[Optional[Union['GetAuthorizationServersPoliciesRuleConditionsArgs', 'GetAuthorizationServersPoliciesRuleConditionsArgsDict']]]] = None, + id: pulumi.Input[Optional[_builtins.str]] = None, + policy_id: pulumi.Input[Optional[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAuthorizationServersPoliciesRuleResult]: + """ + Retrieves an authorization server policy rule by `ruleId` from Okta. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_authorization_servers_policies_rule(id="", + auth_server_id="", + policy_id="") + ``` + + + :param _builtins.str auth_server_id: `id` of the Authorization Server + :param _builtins.str id: Unique identifier of the authorization server policy rule. + :param _builtins.str policy_id: `id` of the policy + """ + __args__ = dict() + __args__['actions'] = actions + __args__['authServerId'] = auth_server_id + __args__['conditions'] = conditions + __args__['id'] = id + __args__['policyId'] = policy_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('okta:index/getAuthorizationServersPoliciesRule:getAuthorizationServersPoliciesRule', __args__, opts=opts, typ=GetAuthorizationServersPoliciesRuleResult) + return __ret__.apply(lambda __response__: GetAuthorizationServersPoliciesRuleResult( + actions=pulumi.get(__response__, 'actions'), + auth_server_id=pulumi.get(__response__, 'auth_server_id'), + conditions=pulumi.get(__response__, 'conditions'), + created=pulumi.get(__response__, 'created'), + id=pulumi.get(__response__, 'id'), + last_updated=pulumi.get(__response__, 'last_updated'), + name=pulumi.get(__response__, 'name'), + policy_id=pulumi.get(__response__, 'policy_id'), + priority=pulumi.get(__response__, 'priority'), + status=pulumi.get(__response__, 'status'), + system=pulumi.get(__response__, 'system'), + type=pulumi.get(__response__, 'type'))) diff --git a/sdk/python/pulumi_okta/get_iam_assignees_user.py b/sdk/python/pulumi_okta/get_iam_assignees_user.py new file mode 100644 index 000000000..ec0874493 --- /dev/null +++ b/sdk/python/pulumi_okta/get_iam_assignees_user.py @@ -0,0 +1,106 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetIamAssigneesUserResult', + 'AwaitableGetIamAssigneesUserResult', + 'get_iam_assignees_user', + 'get_iam_assignees_user_output', +] + +@pulumi.output_type +class GetIamAssigneesUserResult: + """ + A collection of values returned by getIamAssigneesUser. + """ + def __init__(__self__, id=None, items=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if items and not isinstance(items, list): + raise TypeError("Expected argument 'items' to be a list") + pulumi.set(__self__, "items", items) + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter + def items(self) -> Optional[Sequence['outputs.GetIamAssigneesUserItemResult']]: + return pulumi.get(self, "items") + + +class AwaitableGetIamAssigneesUserResult(GetIamAssigneesUserResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIamAssigneesUserResult( + id=self.id, + items=self.items) + + +def get_iam_assignees_user(id: Optional[_builtins.str] = None, + items: Optional[Sequence[Union['GetIamAssigneesUserItemArgs', 'GetIamAssigneesUserItemArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIamAssigneesUserResult: + """ + Use this data source to list all Okta users that have IAM role assignments. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_iam_assignees_user() + ``` + """ + __args__ = dict() + __args__['id'] = id + __args__['items'] = items + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('okta:index/getIamAssigneesUser:getIamAssigneesUser', __args__, opts=opts, typ=GetIamAssigneesUserResult).value + + return AwaitableGetIamAssigneesUserResult( + id=pulumi.get(__ret__, 'id'), + items=pulumi.get(__ret__, 'items')) +def get_iam_assignees_user_output(id: pulumi.Input[Optional[Optional[_builtins.str]]] = None, + items: pulumi.Input[Optional[Optional[Sequence[Union['GetIamAssigneesUserItemArgs', 'GetIamAssigneesUserItemArgsDict']]]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIamAssigneesUserResult]: + """ + Use this data source to list all Okta users that have IAM role assignments. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_iam_assignees_user() + ``` + """ + __args__ = dict() + __args__['id'] = id + __args__['items'] = items + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('okta:index/getIamAssigneesUser:getIamAssigneesUser', __args__, opts=opts, typ=GetIamAssigneesUserResult) + return __ret__.apply(lambda __response__: GetIamAssigneesUserResult( + id=pulumi.get(__response__, 'id'), + items=pulumi.get(__response__, 'items'))) diff --git a/sdk/python/pulumi_okta/get_identity_source_group_memberships.py b/sdk/python/pulumi_okta/get_identity_source_group_memberships.py new file mode 100644 index 000000000..53c2bfc52 --- /dev/null +++ b/sdk/python/pulumi_okta/get_identity_source_group_memberships.py @@ -0,0 +1,150 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetIdentitySourceGroupMembershipsResult', + 'AwaitableGetIdentitySourceGroupMembershipsResult', + 'get_identity_source_group_memberships', + 'get_identity_source_group_memberships_output', +] + +@pulumi.output_type +class GetIdentitySourceGroupMembershipsResult: + """ + A collection of values returned by getIdentitySourceGroupMemberships. + """ + def __init__(__self__, group_external_id=None, id=None, identity_source_id=None, member_external_ids=None): + if group_external_id and not isinstance(group_external_id, str): + raise TypeError("Expected argument 'group_external_id' to be a str") + pulumi.set(__self__, "group_external_id", group_external_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity_source_id and not isinstance(identity_source_id, str): + raise TypeError("Expected argument 'identity_source_id' to be a str") + pulumi.set(__self__, "identity_source_id", identity_source_id) + if member_external_ids and not isinstance(member_external_ids, list): + raise TypeError("Expected argument 'member_external_ids' to be a list") + pulumi.set(__self__, "member_external_ids", member_external_ids) + + @_builtins.property + @pulumi.getter(name="groupExternalId") + def group_external_id(self) -> _builtins.str: + """ + The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + """ + return pulumi.get(self, "group_external_id") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + """ + Composite identifier (`{identity_source_id}/{group_external_id}`). + """ + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> _builtins.str: + """ + ID of the identity source. + """ + return pulumi.get(self, "identity_source_id") + + @_builtins.property + @pulumi.getter(name="memberExternalIds") + def member_external_ids(self) -> Sequence[_builtins.str]: + """ + External IDs of members belonging to the group in the identity source. + """ + return pulumi.get(self, "member_external_ids") + + +class AwaitableGetIdentitySourceGroupMembershipsResult(GetIdentitySourceGroupMembershipsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIdentitySourceGroupMembershipsResult( + group_external_id=self.group_external_id, + id=self.id, + identity_source_id=self.identity_source_id, + member_external_ids=self.member_external_ids) + + +def get_identity_source_group_memberships(group_external_id: Optional[_builtins.str] = None, + identity_source_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIdentitySourceGroupMembershipsResult: + """ + Retrieves the list of member external IDs for a group in an Okta Identity Source. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_identity_source_group_memberships(identity_source_id="", + group_external_id="GROUPEXT123456EXAMPLE") + pulumi.export("memberIds", example.member_external_ids) + ``` + + + :param _builtins.str group_external_id: The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + :param _builtins.str identity_source_id: ID of the identity source. + """ + __args__ = dict() + __args__['groupExternalId'] = group_external_id + __args__['identitySourceId'] = identity_source_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships', __args__, opts=opts, typ=GetIdentitySourceGroupMembershipsResult).value + + return AwaitableGetIdentitySourceGroupMembershipsResult( + group_external_id=pulumi.get(__ret__, 'group_external_id'), + id=pulumi.get(__ret__, 'id'), + identity_source_id=pulumi.get(__ret__, 'identity_source_id'), + member_external_ids=pulumi.get(__ret__, 'member_external_ids')) +def get_identity_source_group_memberships_output(group_external_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIdentitySourceGroupMembershipsResult]: + """ + Retrieves the list of member external IDs for a group in an Okta Identity Source. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_identity_source_group_memberships(identity_source_id="", + group_external_id="GROUPEXT123456EXAMPLE") + pulumi.export("memberIds", example.member_external_ids) + ``` + + + :param _builtins.str group_external_id: The external ID (or Okta-assigned ID) of the group whose memberships to retrieve. + :param _builtins.str identity_source_id: ID of the identity source. + """ + __args__ = dict() + __args__['groupExternalId'] = group_external_id + __args__['identitySourceId'] = identity_source_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('okta:index/getIdentitySourceGroupMemberships:getIdentitySourceGroupMemberships', __args__, opts=opts, typ=GetIdentitySourceGroupMembershipsResult) + return __ret__.apply(lambda __response__: GetIdentitySourceGroupMembershipsResult( + group_external_id=pulumi.get(__response__, 'group_external_id'), + id=pulumi.get(__response__, 'id'), + identity_source_id=pulumi.get(__response__, 'identity_source_id'), + member_external_ids=pulumi.get(__response__, 'member_external_ids'))) diff --git a/sdk/python/pulumi_okta/get_identity_source_groups.py b/sdk/python/pulumi_okta/get_identity_source_groups.py new file mode 100644 index 000000000..06aedb6c0 --- /dev/null +++ b/sdk/python/pulumi_okta/get_identity_source_groups.py @@ -0,0 +1,161 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetIdentitySourceGroupsResult', + 'AwaitableGetIdentitySourceGroupsResult', + 'get_identity_source_groups', + 'get_identity_source_groups_output', +] + +@pulumi.output_type +class GetIdentitySourceGroupsResult: + """ + A collection of values returned by getIdentitySourceGroups. + """ + def __init__(__self__, external_id=None, id=None, identity_source_id=None, profile=None): + if external_id and not isinstance(external_id, str): + raise TypeError("Expected argument 'external_id' to be a str") + pulumi.set(__self__, "external_id", external_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity_source_id and not isinstance(identity_source_id, str): + raise TypeError("Expected argument 'identity_source_id' to be a str") + pulumi.set(__self__, "identity_source_id", identity_source_id) + if profile and not isinstance(profile, dict): + raise TypeError("Expected argument 'profile' to be a dict") + pulumi.set(__self__, "profile", profile) + + @_builtins.property + @pulumi.getter(name="externalId") + def external_id(self) -> _builtins.str: + """ + The external ID of the group in the identity source. + """ + return pulumi.get(self, "external_id") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + """ + Okta-assigned ID of the group (populated after read). + """ + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> _builtins.str: + """ + ID of the identity source. + """ + return pulumi.get(self, "identity_source_id") + + @_builtins.property + @pulumi.getter + def profile(self) -> Optional['outputs.GetIdentitySourceGroupsProfileResult']: + return pulumi.get(self, "profile") + + +class AwaitableGetIdentitySourceGroupsResult(GetIdentitySourceGroupsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIdentitySourceGroupsResult( + external_id=self.external_id, + id=self.id, + identity_source_id=self.identity_source_id, + profile=self.profile) + + +def get_identity_source_groups(external_id: Optional[_builtins.str] = None, + id: Optional[_builtins.str] = None, + identity_source_id: Optional[_builtins.str] = None, + profile: Optional[Union['GetIdentitySourceGroupsProfileArgs', 'GetIdentitySourceGroupsProfileArgsDict']] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIdentitySourceGroupsResult: + """ + Retrieves a group record from an Okta Identity Source by external ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_identity_source_groups(identity_source_id="", + external_id="GROUPEXT123456EXAMPLE") + pulumi.export("groupOktaId", example.id) + pulumi.export("groupDisplayName", example.profile.display_name) + ``` + + + :param _builtins.str external_id: The external ID of the group in the identity source. + :param _builtins.str id: Okta-assigned ID of the group (populated after read). + :param _builtins.str identity_source_id: ID of the identity source. + """ + __args__ = dict() + __args__['externalId'] = external_id + __args__['id'] = id + __args__['identitySourceId'] = identity_source_id + __args__['profile'] = profile + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('okta:index/getIdentitySourceGroups:getIdentitySourceGroups', __args__, opts=opts, typ=GetIdentitySourceGroupsResult).value + + return AwaitableGetIdentitySourceGroupsResult( + external_id=pulumi.get(__ret__, 'external_id'), + id=pulumi.get(__ret__, 'id'), + identity_source_id=pulumi.get(__ret__, 'identity_source_id'), + profile=pulumi.get(__ret__, 'profile')) +def get_identity_source_groups_output(external_id: pulumi.Input[Optional[_builtins.str]] = None, + id: pulumi.Input[Optional[Optional[_builtins.str]]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional[Optional[Union['GetIdentitySourceGroupsProfileArgs', 'GetIdentitySourceGroupsProfileArgsDict']]]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIdentitySourceGroupsResult]: + """ + Retrieves a group record from an Okta Identity Source by external ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_identity_source_groups(identity_source_id="", + external_id="GROUPEXT123456EXAMPLE") + pulumi.export("groupOktaId", example.id) + pulumi.export("groupDisplayName", example.profile.display_name) + ``` + + + :param _builtins.str external_id: The external ID of the group in the identity source. + :param _builtins.str id: Okta-assigned ID of the group (populated after read). + :param _builtins.str identity_source_id: ID of the identity source. + """ + __args__ = dict() + __args__['externalId'] = external_id + __args__['id'] = id + __args__['identitySourceId'] = identity_source_id + __args__['profile'] = profile + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('okta:index/getIdentitySourceGroups:getIdentitySourceGroups', __args__, opts=opts, typ=GetIdentitySourceGroupsResult) + return __ret__.apply(lambda __response__: GetIdentitySourceGroupsResult( + external_id=pulumi.get(__response__, 'external_id'), + id=pulumi.get(__response__, 'id'), + identity_source_id=pulumi.get(__response__, 'identity_source_id'), + profile=pulumi.get(__response__, 'profile'))) diff --git a/sdk/python/pulumi_okta/get_identity_source_sessions.py b/sdk/python/pulumi_okta/get_identity_source_sessions.py new file mode 100644 index 000000000..57d6b22ac --- /dev/null +++ b/sdk/python/pulumi_okta/get_identity_source_sessions.py @@ -0,0 +1,169 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = [ + 'GetIdentitySourceSessionsResult', + 'AwaitableGetIdentitySourceSessionsResult', + 'get_identity_source_sessions', + 'get_identity_source_sessions_output', +] + +@pulumi.output_type +class GetIdentitySourceSessionsResult: + """ + A collection of values returned by getIdentitySourceSessions. + """ + def __init__(__self__, created=None, id=None, identity_source_id=None, import_type=None, last_updated=None, session_id=None, status=None): + if created and not isinstance(created, str): + raise TypeError("Expected argument 'created' to be a str") + pulumi.set(__self__, "created", created) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity_source_id and not isinstance(identity_source_id, str): + raise TypeError("Expected argument 'identity_source_id' to be a str") + pulumi.set(__self__, "identity_source_id", identity_source_id) + if import_type and not isinstance(import_type, str): + raise TypeError("Expected argument 'import_type' to be a str") + pulumi.set(__self__, "import_type", import_type) + if last_updated and not isinstance(last_updated, str): + raise TypeError("Expected argument 'last_updated' to be a str") + pulumi.set(__self__, "last_updated", last_updated) + if session_id and not isinstance(session_id, str): + raise TypeError("Expected argument 'session_id' to be a str") + pulumi.set(__self__, "session_id", session_id) + if status and not isinstance(status, str): + raise TypeError("Expected argument 'status' to be a str") + pulumi.set(__self__, "status", status) + + @_builtins.property + @pulumi.getter + def created(self) -> _builtins.str: + """ + Timestamp when the session was created (RFC3339). + """ + return pulumi.get(self, "created") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + """ + Unique identifier of the identity source session to look up. If omitted, the most recently created session is returned. + """ + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> _builtins.str: + """ + ID of the identity source. + """ + return pulumi.get(self, "identity_source_id") + + @_builtins.property + @pulumi.getter(name="importType") + def import_type(self) -> _builtins.str: + """ + The type of import. All imports are `INCREMENTAL`. + """ + return pulumi.get(self, "import_type") + + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> _builtins.str: + """ + The timestamp when the identity source session was created (RFC3339). + """ + return pulumi.get(self, "last_updated") + + @_builtins.property + @pulumi.getter(name="sessionId") + def session_id(self) -> _builtins.str: + return pulumi.get(self, "session_id") + + @_builtins.property + @pulumi.getter + def status(self) -> _builtins.str: + """ + The current status of the identity source session. + """ + return pulumi.get(self, "status") + + +class AwaitableGetIdentitySourceSessionsResult(GetIdentitySourceSessionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIdentitySourceSessionsResult( + created=self.created, + id=self.id, + identity_source_id=self.identity_source_id, + import_type=self.import_type, + last_updated=self.last_updated, + session_id=self.session_id, + status=self.status) + + +def get_identity_source_sessions(identity_source_id: Optional[_builtins.str] = None, + session_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIdentitySourceSessionsResult: + """ + Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. + + ## Example Usage + + + :param _builtins.str identity_source_id: ID of the identity source. + """ + __args__ = dict() + __args__['identitySourceId'] = identity_source_id + __args__['sessionId'] = session_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('okta:index/getIdentitySourceSessions:getIdentitySourceSessions', __args__, opts=opts, typ=GetIdentitySourceSessionsResult).value + + return AwaitableGetIdentitySourceSessionsResult( + created=pulumi.get(__ret__, 'created'), + id=pulumi.get(__ret__, 'id'), + identity_source_id=pulumi.get(__ret__, 'identity_source_id'), + import_type=pulumi.get(__ret__, 'import_type'), + last_updated=pulumi.get(__ret__, 'last_updated'), + session_id=pulumi.get(__ret__, 'session_id'), + status=pulumi.get(__ret__, 'status')) +def get_identity_source_sessions_output(identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + session_id: pulumi.Input[Optional[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIdentitySourceSessionsResult]: + """ + Retrieves an identity source session by ID, or the most recently created session for the given identity source if no `id` is specified. + + ## Example Usage + + + :param _builtins.str identity_source_id: ID of the identity source. + """ + __args__ = dict() + __args__['identitySourceId'] = identity_source_id + __args__['sessionId'] = session_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('okta:index/getIdentitySourceSessions:getIdentitySourceSessions', __args__, opts=opts, typ=GetIdentitySourceSessionsResult) + return __ret__.apply(lambda __response__: GetIdentitySourceSessionsResult( + created=pulumi.get(__response__, 'created'), + id=pulumi.get(__response__, 'id'), + identity_source_id=pulumi.get(__response__, 'identity_source_id'), + import_type=pulumi.get(__response__, 'import_type'), + last_updated=pulumi.get(__response__, 'last_updated'), + session_id=pulumi.get(__response__, 'session_id'), + status=pulumi.get(__response__, 'status'))) diff --git a/sdk/python/pulumi_okta/get_identity_source_users.py b/sdk/python/pulumi_okta/get_identity_source_users.py new file mode 100644 index 000000000..d97151a93 --- /dev/null +++ b/sdk/python/pulumi_okta/get_identity_source_users.py @@ -0,0 +1,157 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs + +__all__ = [ + 'GetIdentitySourceUsersResult', + 'AwaitableGetIdentitySourceUsersResult', + 'get_identity_source_users', + 'get_identity_source_users_output', +] + +@pulumi.output_type +class GetIdentitySourceUsersResult: + """ + A collection of values returned by getIdentitySourceUsers. + """ + def __init__(__self__, created=None, external_id=None, id=None, identity_source_id=None, last_updated=None, profile=None): + if created and not isinstance(created, str): + raise TypeError("Expected argument 'created' to be a str") + pulumi.set(__self__, "created", created) + if external_id and not isinstance(external_id, str): + raise TypeError("Expected argument 'external_id' to be a str") + pulumi.set(__self__, "external_id", external_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if identity_source_id and not isinstance(identity_source_id, str): + raise TypeError("Expected argument 'identity_source_id' to be a str") + pulumi.set(__self__, "identity_source_id", identity_source_id) + if last_updated and not isinstance(last_updated, str): + raise TypeError("Expected argument 'last_updated' to be a str") + pulumi.set(__self__, "last_updated", last_updated) + if profile and not isinstance(profile, dict): + raise TypeError("Expected argument 'profile' to be a dict") + pulumi.set(__self__, "profile", profile) + + @_builtins.property + @pulumi.getter + def created(self) -> _builtins.str: + return pulumi.get(self, "created") + + @_builtins.property + @pulumi.getter(name="externalId") + def external_id(self) -> _builtins.str: + return pulumi.get(self, "external_id") + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> _builtins.str: + return pulumi.get(self, "identity_source_id") + + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> _builtins.str: + return pulumi.get(self, "last_updated") + + @_builtins.property + @pulumi.getter + def profile(self) -> 'outputs.GetIdentitySourceUsersProfileResult': + return pulumi.get(self, "profile") + + +class AwaitableGetIdentitySourceUsersResult(GetIdentitySourceUsersResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetIdentitySourceUsersResult( + created=self.created, + external_id=self.external_id, + id=self.id, + identity_source_id=self.identity_source_id, + last_updated=self.last_updated, + profile=self.profile) + + +def get_identity_source_users(external_id: Optional[_builtins.str] = None, + id: Optional[_builtins.str] = None, + identity_source_id: Optional[_builtins.str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetIdentitySourceUsersResult: + """ + Retrieves a user record from an Okta Identity Source by external ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_identity_source_users(identity_source_id="", + external_id="USEREXT123456EXAMPLE") + pulumi.export("userEmail", example.profile.email) + ``` + """ + __args__ = dict() + __args__['externalId'] = external_id + __args__['id'] = id + __args__['identitySourceId'] = identity_source_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('okta:index/getIdentitySourceUsers:getIdentitySourceUsers', __args__, opts=opts, typ=GetIdentitySourceUsersResult).value + + return AwaitableGetIdentitySourceUsersResult( + created=pulumi.get(__ret__, 'created'), + external_id=pulumi.get(__ret__, 'external_id'), + id=pulumi.get(__ret__, 'id'), + identity_source_id=pulumi.get(__ret__, 'identity_source_id'), + last_updated=pulumi.get(__ret__, 'last_updated'), + profile=pulumi.get(__ret__, 'profile')) +def get_identity_source_users_output(external_id: pulumi.Input[Optional[_builtins.str]] = None, + id: pulumi.Input[Optional[Optional[_builtins.str]]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetIdentitySourceUsersResult]: + """ + Retrieves a user record from an Okta Identity Source by external ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.get_identity_source_users(identity_source_id="", + external_id="USEREXT123456EXAMPLE") + pulumi.export("userEmail", example.profile.email) + ``` + """ + __args__ = dict() + __args__['externalId'] = external_id + __args__['id'] = id + __args__['identitySourceId'] = identity_source_id + opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke_output('okta:index/getIdentitySourceUsers:getIdentitySourceUsers', __args__, opts=opts, typ=GetIdentitySourceUsersResult) + return __ret__.apply(lambda __response__: GetIdentitySourceUsersResult( + created=pulumi.get(__response__, 'created'), + external_id=pulumi.get(__response__, 'external_id'), + id=pulumi.get(__response__, 'id'), + identity_source_id=pulumi.get(__response__, 'identity_source_id'), + last_updated=pulumi.get(__response__, 'last_updated'), + profile=pulumi.get(__response__, 'profile'))) diff --git a/sdk/python/pulumi_okta/get_request_setting_resource.py b/sdk/python/pulumi_okta/get_request_setting_resource.py index d9cb4da11..95cbc5ffc 100644 --- a/sdk/python/pulumi_okta/get_request_setting_resource.py +++ b/sdk/python/pulumi_okta/get_request_setting_resource.py @@ -123,6 +123,13 @@ def get_request_setting_resource(id: Optional[_builtins.str] = None, ## Example Usage + ```python + import pulumi + import pulumi_okta as okta + + test = okta.get_request_setting_resource(id="") + ``` + :param _builtins.str id: The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta. :param Union['GetRequestSettingResourceRequestOnBehalfOfSettingsArgs', 'GetRequestSettingResourceRequestOnBehalfOfSettingsArgsDict'] request_on_behalf_of_settings: Risk settings for the resource. @@ -160,6 +167,13 @@ def get_request_setting_resource_output(id: pulumi.Input[Optional[_builtins.str] ## Example Usage + ```python + import pulumi + import pulumi_okta as okta + + test = okta.get_request_setting_resource(id="") + ``` + :param _builtins.str id: The resource ID of the request settings to retrieve. This is the unique identifier for the resource in Okta. :param Union['GetRequestSettingResourceRequestOnBehalfOfSettingsArgs', 'GetRequestSettingResourceRequestOnBehalfOfSettingsArgsDict'] request_on_behalf_of_settings: Risk settings for the resource. diff --git a/sdk/python/pulumi_okta/identity_source_group.py b/sdk/python/pulumi_okta/identity_source_group.py new file mode 100644 index 000000000..db57b5774 --- /dev/null +++ b/sdk/python/pulumi_okta/identity_source_group.py @@ -0,0 +1,299 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['IdentitySourceGroupArgs', 'IdentitySourceGroup'] + +@pulumi.input_type +class IdentitySourceGroupArgs: + def __init__(__self__, *, + external_id: pulumi.Input[_builtins.str], + identity_source_id: pulumi.Input[_builtins.str], + profile: pulumi.Input[Optional['IdentitySourceGroupProfileArgs']] = None): + """ + The set of arguments for constructing a IdentitySourceGroup resource. + + :param pulumi.Input[_builtins.str] external_id: The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input['IdentitySourceGroupProfileArgs'] profile: Display attributes for the group. + """ + pulumi.set(__self__, "external_id", external_id) + pulumi.set(__self__, "identity_source_id", identity_source_id) + if profile is not None: + pulumi.set(__self__, "profile", profile) + + @_builtins.property + @pulumi.getter(name="externalId") + def external_id(self) -> pulumi.Input[_builtins.str]: + """ + The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + """ + return pulumi.get(self, "external_id") + + @external_id.setter + def external_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "external_id", value) + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Input[_builtins.str]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @identity_source_id.setter + def identity_source_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "identity_source_id", value) + + @_builtins.property + @pulumi.getter + def profile(self) -> pulumi.Input[Optional['IdentitySourceGroupProfileArgs']]: + """ + Display attributes for the group. + """ + return pulumi.get(self, "profile") + + @profile.setter + def profile(self, value: pulumi.Input[Optional['IdentitySourceGroupProfileArgs']]): + pulumi.set(self, "profile", value) + + +@pulumi.input_type +class _IdentitySourceGroupState: + def __init__(__self__, *, + external_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional['IdentitySourceGroupProfileArgs']] = None): + """ + Input properties used for looking up and filtering IdentitySourceGroup resources. + + :param pulumi.Input[_builtins.str] external_id: The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input['IdentitySourceGroupProfileArgs'] profile: Display attributes for the group. + """ + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if identity_source_id is not None: + pulumi.set(__self__, "identity_source_id", identity_source_id) + if profile is not None: + pulumi.set(__self__, "profile", profile) + + @_builtins.property + @pulumi.getter(name="externalId") + def external_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + """ + return pulumi.get(self, "external_id") + + @external_id.setter + def external_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "external_id", value) + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @identity_source_id.setter + def identity_source_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "identity_source_id", value) + + @_builtins.property + @pulumi.getter + def profile(self) -> pulumi.Input[Optional['IdentitySourceGroupProfileArgs']]: + """ + Display attributes for the group. + """ + return pulumi.get(self, "profile") + + @profile.setter + def profile(self, value: pulumi.Input[Optional['IdentitySourceGroupProfileArgs']]): + pulumi.set(self, "profile", value) + + +@pulumi.type_token("okta:index/identitySourceGroup:IdentitySourceGroup") +class IdentitySourceGroup(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + external_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional[Union['IdentitySourceGroupProfileArgs', 'IdentitySourceGroupProfileArgsDict']]] = None, + __props__=None): + """ + Manages a group within an Okta Identity Source. Groups created here are staged for import via a session; use `IdentitySourceImport` to trigger the actual sync into Okta. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceGroup("example", + identity_source_id="", + external_id="GRPEXT123456EXAMPLE", + profile={ + "display_name": "Engineering", + "description": "Engineering team group", + }) + ``` + + ## Import + + Import using `{identity_source_id}/{id}`: + + ```sh + $ pulumi import okta:index/identitySourceGroup:IdentitySourceGroup example / + ``` + + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] external_id: The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[Union['IdentitySourceGroupProfileArgs', 'IdentitySourceGroupProfileArgsDict']] profile: Display attributes for the group. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IdentitySourceGroupArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Manages a group within an Okta Identity Source. Groups created here are staged for import via a session; use `IdentitySourceImport` to trigger the actual sync into Okta. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceGroup("example", + identity_source_id="", + external_id="GRPEXT123456EXAMPLE", + profile={ + "display_name": "Engineering", + "description": "Engineering team group", + }) + ``` + + ## Import + + Import using `{identity_source_id}/{id}`: + + ```sh + $ pulumi import okta:index/identitySourceGroup:IdentitySourceGroup example / + ``` + + + :param str resource_name: The name of the resource. + :param IdentitySourceGroupArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(IdentitySourceGroupArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + external_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional[Union['IdentitySourceGroupProfileArgs', 'IdentitySourceGroupProfileArgsDict']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IdentitySourceGroupArgs.__new__(IdentitySourceGroupArgs) + + if external_id is None and not opts.urn: + raise TypeError("Missing required property 'external_id'") + __props__.__dict__["external_id"] = external_id + if identity_source_id is None and not opts.urn: + raise TypeError("Missing required property 'identity_source_id'") + __props__.__dict__["identity_source_id"] = identity_source_id + __props__.__dict__["profile"] = profile + super(IdentitySourceGroup, __self__).__init__( + 'okta:index/identitySourceGroup:IdentitySourceGroup', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + external_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional[Union['IdentitySourceGroupProfileArgs', 'IdentitySourceGroupProfileArgsDict']]] = None) -> 'IdentitySourceGroup': + """ + Get an existing IdentitySourceGroup resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] external_id: The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[Union['IdentitySourceGroupProfileArgs', 'IdentitySourceGroupProfileArgsDict']] profile: Display attributes for the group. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _IdentitySourceGroupState.__new__(_IdentitySourceGroupState) + + __props__.__dict__["external_id"] = external_id + __props__.__dict__["identity_source_id"] = identity_source_id + __props__.__dict__["profile"] = profile + return IdentitySourceGroup(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter(name="externalId") + def external_id(self) -> pulumi.Output[_builtins.str]: + """ + The external ID of the group in the upstream identity provider. Acts as the natural key for this resource. Forces replacement when changed. + """ + return pulumi.get(self, "external_id") + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Output[_builtins.str]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @_builtins.property + @pulumi.getter + def profile(self) -> pulumi.Output[Optional['outputs.IdentitySourceGroupProfile']]: + """ + Display attributes for the group. + """ + return pulumi.get(self, "profile") + diff --git a/sdk/python/pulumi_okta/identity_source_group_membership.py b/sdk/python/pulumi_okta/identity_source_group_membership.py new file mode 100644 index 000000000..984e190f4 --- /dev/null +++ b/sdk/python/pulumi_okta/identity_source_group_membership.py @@ -0,0 +1,320 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities + +__all__ = ['IdentitySourceGroupMembershipArgs', 'IdentitySourceGroupMembership'] + +@pulumi.input_type +class IdentitySourceGroupMembershipArgs: + def __init__(__self__, *, + group_or_external_id: pulumi.Input[_builtins.str], + identity_source_id: pulumi.Input[_builtins.str], + member_external_id: pulumi.Input[_builtins.str]): + """ + The set of arguments for constructing a IdentitySourceGroupMembership resource. + + :param pulumi.Input[_builtins.str] group_or_external_id: External ID of the identity source group. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] member_external_id: The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + """ + pulumi.set(__self__, "group_or_external_id", group_or_external_id) + pulumi.set(__self__, "identity_source_id", identity_source_id) + pulumi.set(__self__, "member_external_id", member_external_id) + + @_builtins.property + @pulumi.getter(name="groupOrExternalId") + def group_or_external_id(self) -> pulumi.Input[_builtins.str]: + """ + External ID of the identity source group. Forces replacement when changed. + """ + return pulumi.get(self, "group_or_external_id") + + @group_or_external_id.setter + def group_or_external_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "group_or_external_id", value) + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Input[_builtins.str]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @identity_source_id.setter + def identity_source_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "identity_source_id", value) + + @_builtins.property + @pulumi.getter(name="memberExternalId") + def member_external_id(self) -> pulumi.Input[_builtins.str]: + """ + The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + """ + return pulumi.get(self, "member_external_id") + + @member_external_id.setter + def member_external_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "member_external_id", value) + + +@pulumi.input_type +class _IdentitySourceGroupMembershipState: + def __init__(__self__, *, + group_or_external_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + member_external_id: pulumi.Input[Optional[_builtins.str]] = None, + member_external_ids: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None): + """ + Input properties used for looking up and filtering IdentitySourceGroupMembership resources. + + :param pulumi.Input[_builtins.str] group_or_external_id: External ID of the identity source group. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] member_external_id: The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] member_external_ids: A list of all member external IDs currently in the group (populated after creation). + """ + if group_or_external_id is not None: + pulumi.set(__self__, "group_or_external_id", group_or_external_id) + if identity_source_id is not None: + pulumi.set(__self__, "identity_source_id", identity_source_id) + if member_external_id is not None: + pulumi.set(__self__, "member_external_id", member_external_id) + if member_external_ids is not None: + pulumi.set(__self__, "member_external_ids", member_external_ids) + + @_builtins.property + @pulumi.getter(name="groupOrExternalId") + def group_or_external_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + External ID of the identity source group. Forces replacement when changed. + """ + return pulumi.get(self, "group_or_external_id") + + @group_or_external_id.setter + def group_or_external_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "group_or_external_id", value) + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @identity_source_id.setter + def identity_source_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "identity_source_id", value) + + @_builtins.property + @pulumi.getter(name="memberExternalId") + def member_external_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + """ + return pulumi.get(self, "member_external_id") + + @member_external_id.setter + def member_external_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "member_external_id", value) + + @_builtins.property + @pulumi.getter(name="memberExternalIds") + def member_external_ids(self) -> pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]: + """ + A list of all member external IDs currently in the group (populated after creation). + """ + return pulumi.get(self, "member_external_ids") + + @member_external_ids.setter + def member_external_ids(self, value: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]]): + pulumi.set(self, "member_external_ids", value) + + +@pulumi.type_token("okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership") +class IdentitySourceGroupMembership(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + group_or_external_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + member_external_id: pulumi.Input[Optional[_builtins.str]] = None, + __props__=None): + """ + Manages a single member association between a user and a group in an Okta Identity Source. Each resource instance adds one user (identified by `member_external_id`) to the specified identity source group. All three key attributes force resource replacement when changed. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceGroupMembership("example", + identity_source_id="", + group_or_external_id="GRPEXT123456EXAMPLE", + member_external_id="USEREXT123456EXAMPLE") + ``` + + ## Import + + Import using `{identity_source_id}/{group_or_external_id}/{id}`: + + ```sh + $ pulumi import okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership example // + ``` + + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] group_or_external_id: External ID of the identity source group. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] member_external_id: The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IdentitySourceGroupMembershipArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Manages a single member association between a user and a group in an Okta Identity Source. Each resource instance adds one user (identified by `member_external_id`) to the specified identity source group. All three key attributes force resource replacement when changed. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceGroupMembership("example", + identity_source_id="", + group_or_external_id="GRPEXT123456EXAMPLE", + member_external_id="USEREXT123456EXAMPLE") + ``` + + ## Import + + Import using `{identity_source_id}/{group_or_external_id}/{id}`: + + ```sh + $ pulumi import okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership example // + ``` + + + :param str resource_name: The name of the resource. + :param IdentitySourceGroupMembershipArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(IdentitySourceGroupMembershipArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + group_or_external_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + member_external_id: pulumi.Input[Optional[_builtins.str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IdentitySourceGroupMembershipArgs.__new__(IdentitySourceGroupMembershipArgs) + + if group_or_external_id is None and not opts.urn: + raise TypeError("Missing required property 'group_or_external_id'") + __props__.__dict__["group_or_external_id"] = group_or_external_id + if identity_source_id is None and not opts.urn: + raise TypeError("Missing required property 'identity_source_id'") + __props__.__dict__["identity_source_id"] = identity_source_id + if member_external_id is None and not opts.urn: + raise TypeError("Missing required property 'member_external_id'") + __props__.__dict__["member_external_id"] = member_external_id + __props__.__dict__["member_external_ids"] = None + super(IdentitySourceGroupMembership, __self__).__init__( + 'okta:index/identitySourceGroupMembership:IdentitySourceGroupMembership', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + group_or_external_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + member_external_id: pulumi.Input[Optional[_builtins.str]] = None, + member_external_ids: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None) -> 'IdentitySourceGroupMembership': + """ + Get an existing IdentitySourceGroupMembership resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] group_or_external_id: External ID of the identity source group. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] member_external_id: The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] member_external_ids: A list of all member external IDs currently in the group (populated after creation). + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _IdentitySourceGroupMembershipState.__new__(_IdentitySourceGroupMembershipState) + + __props__.__dict__["group_or_external_id"] = group_or_external_id + __props__.__dict__["identity_source_id"] = identity_source_id + __props__.__dict__["member_external_id"] = member_external_id + __props__.__dict__["member_external_ids"] = member_external_ids + return IdentitySourceGroupMembership(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter(name="groupOrExternalId") + def group_or_external_id(self) -> pulumi.Output[_builtins.str]: + """ + External ID of the identity source group. Forces replacement when changed. + """ + return pulumi.get(self, "group_or_external_id") + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Output[_builtins.str]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @_builtins.property + @pulumi.getter(name="memberExternalId") + def member_external_id(self) -> pulumi.Output[_builtins.str]: + """ + The external ID of the user to be added as a member of the group in Okta. Forces replacement when changed. + """ + return pulumi.get(self, "member_external_id") + + @_builtins.property + @pulumi.getter(name="memberExternalIds") + def member_external_ids(self) -> pulumi.Output[Sequence[_builtins.str]]: + """ + A list of all member external IDs currently in the group (populated after creation). + """ + return pulumi.get(self, "member_external_ids") + diff --git a/sdk/python/pulumi_okta/identity_source_import.py b/sdk/python/pulumi_okta/identity_source_import.py new file mode 100644 index 000000000..6ab538219 --- /dev/null +++ b/sdk/python/pulumi_okta/identity_source_import.py @@ -0,0 +1,652 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['IdentitySourceImportArgs', 'IdentitySourceImport'] + +@pulumi.input_type +class IdentitySourceImportArgs: + def __init__(__self__, *, + identity_source_id: pulumi.Input[_builtins.str], + delete_group_memberships: pulumi.Input[Optional['IdentitySourceImportDeleteGroupMembershipsArgs']] = None, + delete_groups: pulumi.Input[Optional['IdentitySourceImportDeleteGroupsArgs']] = None, + delete_users: pulumi.Input[Optional['IdentitySourceImportDeleteUsersArgs']] = None, + upsert_group_memberships: pulumi.Input[Optional['IdentitySourceImportUpsertGroupMembershipsArgs']] = None, + upsert_groups: pulumi.Input[Optional['IdentitySourceImportUpsertGroupsArgs']] = None, + upsert_users: pulumi.Input[Optional['IdentitySourceImportUpsertUsersArgs']] = None): + """ + The set of arguments for constructing a IdentitySourceImport resource. + + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input['IdentitySourceImportDeleteGroupMembershipsArgs'] delete_group_memberships: Group memberships to delete in Okta. + :param pulumi.Input['IdentitySourceImportDeleteGroupsArgs'] delete_groups: Groups to delete from Okta. + :param pulumi.Input['IdentitySourceImportDeleteUsersArgs'] delete_users: Users to delete from Okta. + :param pulumi.Input['IdentitySourceImportUpsertGroupMembershipsArgs'] upsert_group_memberships: Group memberships to create or update in Okta. + :param pulumi.Input['IdentitySourceImportUpsertGroupsArgs'] upsert_groups: Groups to create or update in Okta. + :param pulumi.Input['IdentitySourceImportUpsertUsersArgs'] upsert_users: Users to create or update in Okta. + """ + pulumi.set(__self__, "identity_source_id", identity_source_id) + if delete_group_memberships is not None: + pulumi.set(__self__, "delete_group_memberships", delete_group_memberships) + if delete_groups is not None: + pulumi.set(__self__, "delete_groups", delete_groups) + if delete_users is not None: + pulumi.set(__self__, "delete_users", delete_users) + if upsert_group_memberships is not None: + pulumi.set(__self__, "upsert_group_memberships", upsert_group_memberships) + if upsert_groups is not None: + pulumi.set(__self__, "upsert_groups", upsert_groups) + if upsert_users is not None: + pulumi.set(__self__, "upsert_users", upsert_users) + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Input[_builtins.str]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @identity_source_id.setter + def identity_source_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "identity_source_id", value) + + @_builtins.property + @pulumi.getter(name="deleteGroupMemberships") + def delete_group_memberships(self) -> pulumi.Input[Optional['IdentitySourceImportDeleteGroupMembershipsArgs']]: + """ + Group memberships to delete in Okta. + """ + return pulumi.get(self, "delete_group_memberships") + + @delete_group_memberships.setter + def delete_group_memberships(self, value: pulumi.Input[Optional['IdentitySourceImportDeleteGroupMembershipsArgs']]): + pulumi.set(self, "delete_group_memberships", value) + + @_builtins.property + @pulumi.getter(name="deleteGroups") + def delete_groups(self) -> pulumi.Input[Optional['IdentitySourceImportDeleteGroupsArgs']]: + """ + Groups to delete from Okta. + """ + return pulumi.get(self, "delete_groups") + + @delete_groups.setter + def delete_groups(self, value: pulumi.Input[Optional['IdentitySourceImportDeleteGroupsArgs']]): + pulumi.set(self, "delete_groups", value) + + @_builtins.property + @pulumi.getter(name="deleteUsers") + def delete_users(self) -> pulumi.Input[Optional['IdentitySourceImportDeleteUsersArgs']]: + """ + Users to delete from Okta. + """ + return pulumi.get(self, "delete_users") + + @delete_users.setter + def delete_users(self, value: pulumi.Input[Optional['IdentitySourceImportDeleteUsersArgs']]): + pulumi.set(self, "delete_users", value) + + @_builtins.property + @pulumi.getter(name="upsertGroupMemberships") + def upsert_group_memberships(self) -> pulumi.Input[Optional['IdentitySourceImportUpsertGroupMembershipsArgs']]: + """ + Group memberships to create or update in Okta. + """ + return pulumi.get(self, "upsert_group_memberships") + + @upsert_group_memberships.setter + def upsert_group_memberships(self, value: pulumi.Input[Optional['IdentitySourceImportUpsertGroupMembershipsArgs']]): + pulumi.set(self, "upsert_group_memberships", value) + + @_builtins.property + @pulumi.getter(name="upsertGroups") + def upsert_groups(self) -> pulumi.Input[Optional['IdentitySourceImportUpsertGroupsArgs']]: + """ + Groups to create or update in Okta. + """ + return pulumi.get(self, "upsert_groups") + + @upsert_groups.setter + def upsert_groups(self, value: pulumi.Input[Optional['IdentitySourceImportUpsertGroupsArgs']]): + pulumi.set(self, "upsert_groups", value) + + @_builtins.property + @pulumi.getter(name="upsertUsers") + def upsert_users(self) -> pulumi.Input[Optional['IdentitySourceImportUpsertUsersArgs']]: + """ + Users to create or update in Okta. + """ + return pulumi.get(self, "upsert_users") + + @upsert_users.setter + def upsert_users(self, value: pulumi.Input[Optional['IdentitySourceImportUpsertUsersArgs']]): + pulumi.set(self, "upsert_users", value) + + +@pulumi.input_type +class _IdentitySourceImportState: + def __init__(__self__, *, + delete_group_memberships: pulumi.Input[Optional['IdentitySourceImportDeleteGroupMembershipsArgs']] = None, + delete_groups: pulumi.Input[Optional['IdentitySourceImportDeleteGroupsArgs']] = None, + delete_users: pulumi.Input[Optional['IdentitySourceImportDeleteUsersArgs']] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + session_id: pulumi.Input[Optional[_builtins.str]] = None, + session_status: pulumi.Input[Optional[_builtins.str]] = None, + upsert_group_memberships: pulumi.Input[Optional['IdentitySourceImportUpsertGroupMembershipsArgs']] = None, + upsert_groups: pulumi.Input[Optional['IdentitySourceImportUpsertGroupsArgs']] = None, + upsert_users: pulumi.Input[Optional['IdentitySourceImportUpsertUsersArgs']] = None): + """ + Input properties used for looking up and filtering IdentitySourceImport resources. + + :param pulumi.Input['IdentitySourceImportDeleteGroupMembershipsArgs'] delete_group_memberships: Group memberships to delete in Okta. + :param pulumi.Input['IdentitySourceImportDeleteGroupsArgs'] delete_groups: Groups to delete from Okta. + :param pulumi.Input['IdentitySourceImportDeleteUsersArgs'] delete_users: Users to delete from Okta. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] session_id: Session ID created for this import job. + :param pulumi.Input[_builtins.str] session_status: Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + :param pulumi.Input['IdentitySourceImportUpsertGroupMembershipsArgs'] upsert_group_memberships: Group memberships to create or update in Okta. + :param pulumi.Input['IdentitySourceImportUpsertGroupsArgs'] upsert_groups: Groups to create or update in Okta. + :param pulumi.Input['IdentitySourceImportUpsertUsersArgs'] upsert_users: Users to create or update in Okta. + """ + if delete_group_memberships is not None: + pulumi.set(__self__, "delete_group_memberships", delete_group_memberships) + if delete_groups is not None: + pulumi.set(__self__, "delete_groups", delete_groups) + if delete_users is not None: + pulumi.set(__self__, "delete_users", delete_users) + if identity_source_id is not None: + pulumi.set(__self__, "identity_source_id", identity_source_id) + if session_id is not None: + pulumi.set(__self__, "session_id", session_id) + if session_status is not None: + pulumi.set(__self__, "session_status", session_status) + if upsert_group_memberships is not None: + pulumi.set(__self__, "upsert_group_memberships", upsert_group_memberships) + if upsert_groups is not None: + pulumi.set(__self__, "upsert_groups", upsert_groups) + if upsert_users is not None: + pulumi.set(__self__, "upsert_users", upsert_users) + + @_builtins.property + @pulumi.getter(name="deleteGroupMemberships") + def delete_group_memberships(self) -> pulumi.Input[Optional['IdentitySourceImportDeleteGroupMembershipsArgs']]: + """ + Group memberships to delete in Okta. + """ + return pulumi.get(self, "delete_group_memberships") + + @delete_group_memberships.setter + def delete_group_memberships(self, value: pulumi.Input[Optional['IdentitySourceImportDeleteGroupMembershipsArgs']]): + pulumi.set(self, "delete_group_memberships", value) + + @_builtins.property + @pulumi.getter(name="deleteGroups") + def delete_groups(self) -> pulumi.Input[Optional['IdentitySourceImportDeleteGroupsArgs']]: + """ + Groups to delete from Okta. + """ + return pulumi.get(self, "delete_groups") + + @delete_groups.setter + def delete_groups(self, value: pulumi.Input[Optional['IdentitySourceImportDeleteGroupsArgs']]): + pulumi.set(self, "delete_groups", value) + + @_builtins.property + @pulumi.getter(name="deleteUsers") + def delete_users(self) -> pulumi.Input[Optional['IdentitySourceImportDeleteUsersArgs']]: + """ + Users to delete from Okta. + """ + return pulumi.get(self, "delete_users") + + @delete_users.setter + def delete_users(self, value: pulumi.Input[Optional['IdentitySourceImportDeleteUsersArgs']]): + pulumi.set(self, "delete_users", value) + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @identity_source_id.setter + def identity_source_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "identity_source_id", value) + + @_builtins.property + @pulumi.getter(name="sessionId") + def session_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Session ID created for this import job. + """ + return pulumi.get(self, "session_id") + + @session_id.setter + def session_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "session_id", value) + + @_builtins.property + @pulumi.getter(name="sessionStatus") + def session_status(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + """ + return pulumi.get(self, "session_status") + + @session_status.setter + def session_status(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "session_status", value) + + @_builtins.property + @pulumi.getter(name="upsertGroupMemberships") + def upsert_group_memberships(self) -> pulumi.Input[Optional['IdentitySourceImportUpsertGroupMembershipsArgs']]: + """ + Group memberships to create or update in Okta. + """ + return pulumi.get(self, "upsert_group_memberships") + + @upsert_group_memberships.setter + def upsert_group_memberships(self, value: pulumi.Input[Optional['IdentitySourceImportUpsertGroupMembershipsArgs']]): + pulumi.set(self, "upsert_group_memberships", value) + + @_builtins.property + @pulumi.getter(name="upsertGroups") + def upsert_groups(self) -> pulumi.Input[Optional['IdentitySourceImportUpsertGroupsArgs']]: + """ + Groups to create or update in Okta. + """ + return pulumi.get(self, "upsert_groups") + + @upsert_groups.setter + def upsert_groups(self, value: pulumi.Input[Optional['IdentitySourceImportUpsertGroupsArgs']]): + pulumi.set(self, "upsert_groups", value) + + @_builtins.property + @pulumi.getter(name="upsertUsers") + def upsert_users(self) -> pulumi.Input[Optional['IdentitySourceImportUpsertUsersArgs']]: + """ + Users to create or update in Okta. + """ + return pulumi.get(self, "upsert_users") + + @upsert_users.setter + def upsert_users(self, value: pulumi.Input[Optional['IdentitySourceImportUpsertUsersArgs']]): + pulumi.set(self, "upsert_users", value) + + +@pulumi.type_token("okta:index/identitySourceImport:IdentitySourceImport") +class IdentitySourceImport(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + delete_group_memberships: pulumi.Input[Optional[Union['IdentitySourceImportDeleteGroupMembershipsArgs', 'IdentitySourceImportDeleteGroupMembershipsArgsDict']]] = None, + delete_groups: pulumi.Input[Optional[Union['IdentitySourceImportDeleteGroupsArgs', 'IdentitySourceImportDeleteGroupsArgsDict']]] = None, + delete_users: pulumi.Input[Optional[Union['IdentitySourceImportDeleteUsersArgs', 'IdentitySourceImportDeleteUsersArgsDict']]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + upsert_group_memberships: pulumi.Input[Optional[Union['IdentitySourceImportUpsertGroupMembershipsArgs', 'IdentitySourceImportUpsertGroupMembershipsArgsDict']]] = None, + upsert_groups: pulumi.Input[Optional[Union['IdentitySourceImportUpsertGroupsArgs', 'IdentitySourceImportUpsertGroupsArgsDict']]] = None, + upsert_users: pulumi.Input[Optional[Union['IdentitySourceImportUpsertUsersArgs', 'IdentitySourceImportUpsertUsersArgsDict']]] = None, + __props__=None): + """ + Orchestrates a full Okta Identity Source import job in one resource. On each apply it: + + 1. Creates a new import session. + 2. Uploads any combination of staged data (upsert/delete for users, groups, and group memberships). + 3. Triggers the import via `startImportFromIdentitySource`. + + If any upload step fails the session is automatically deleted so a corrected re-apply is not blocked by Okta's rate limit (*"Only one active import session per identity source is allowed to be created every 5 minutes"*). + + > **Note:** This resource does not support deletion. Removing it from configuration will emit a warning but does not undo the import in Okta. To re-run the import, change at least one attribute so Terraform creates a new resource. + + ## Example Usage + + ### Upsert users and group memberships + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceImport("example", + identity_source_id="", + upsert_users={ + "entity_type": "USERS", + "profiles": [{ + "external_id": "USEREXT001", + "profile": { + "user_name": "jdoe@example.com", + "email": "jdoe@example.com", + "first_name": "Jane", + "last_name": "Doe", + }, + }], + }, + upsert_group_memberships={ + "memberships": [{ + "group_external_id": "GROUPEXT001", + "member_external_ids": ["USEREXT001"], + }], + }) + ``` + + ### Upsert and delete in the same job + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceImport("example", + identity_source_id="", + upsert_users={ + "entity_type": "USERS", + "profiles": [{ + "external_id": "USEREXT_NEW", + "profile": { + "user_name": "new.user@example.com", + "email": "new.user@example.com", + "first_name": "New", + "last_name": "User", + }, + }], + }, + delete_users={ + "entity_type": "USERS", + "profiles": [{ + "external_id": "USEREXT_OLD", + }], + }, + upsert_groups={ + "profiles": [{ + "external_id": "GROUPEXT001", + "group_profile": { + "display_name": "Engineering", + "description": "Engineering team", + }, + }], + }, + delete_groups={ + "external_ids": ["GROUPEXT_DEPRECATED"], + }) + ``` + + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['IdentitySourceImportDeleteGroupMembershipsArgs', 'IdentitySourceImportDeleteGroupMembershipsArgsDict']] delete_group_memberships: Group memberships to delete in Okta. + :param pulumi.Input[Union['IdentitySourceImportDeleteGroupsArgs', 'IdentitySourceImportDeleteGroupsArgsDict']] delete_groups: Groups to delete from Okta. + :param pulumi.Input[Union['IdentitySourceImportDeleteUsersArgs', 'IdentitySourceImportDeleteUsersArgsDict']] delete_users: Users to delete from Okta. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[Union['IdentitySourceImportUpsertGroupMembershipsArgs', 'IdentitySourceImportUpsertGroupMembershipsArgsDict']] upsert_group_memberships: Group memberships to create or update in Okta. + :param pulumi.Input[Union['IdentitySourceImportUpsertGroupsArgs', 'IdentitySourceImportUpsertGroupsArgsDict']] upsert_groups: Groups to create or update in Okta. + :param pulumi.Input[Union['IdentitySourceImportUpsertUsersArgs', 'IdentitySourceImportUpsertUsersArgsDict']] upsert_users: Users to create or update in Okta. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IdentitySourceImportArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Orchestrates a full Okta Identity Source import job in one resource. On each apply it: + + 1. Creates a new import session. + 2. Uploads any combination of staged data (upsert/delete for users, groups, and group memberships). + 3. Triggers the import via `startImportFromIdentitySource`. + + If any upload step fails the session is automatically deleted so a corrected re-apply is not blocked by Okta's rate limit (*"Only one active import session per identity source is allowed to be created every 5 minutes"*). + + > **Note:** This resource does not support deletion. Removing it from configuration will emit a warning but does not undo the import in Okta. To re-run the import, change at least one attribute so Terraform creates a new resource. + + ## Example Usage + + ### Upsert users and group memberships + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceImport("example", + identity_source_id="", + upsert_users={ + "entity_type": "USERS", + "profiles": [{ + "external_id": "USEREXT001", + "profile": { + "user_name": "jdoe@example.com", + "email": "jdoe@example.com", + "first_name": "Jane", + "last_name": "Doe", + }, + }], + }, + upsert_group_memberships={ + "memberships": [{ + "group_external_id": "GROUPEXT001", + "member_external_ids": ["USEREXT001"], + }], + }) + ``` + + ### Upsert and delete in the same job + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceImport("example", + identity_source_id="", + upsert_users={ + "entity_type": "USERS", + "profiles": [{ + "external_id": "USEREXT_NEW", + "profile": { + "user_name": "new.user@example.com", + "email": "new.user@example.com", + "first_name": "New", + "last_name": "User", + }, + }], + }, + delete_users={ + "entity_type": "USERS", + "profiles": [{ + "external_id": "USEREXT_OLD", + }], + }, + upsert_groups={ + "profiles": [{ + "external_id": "GROUPEXT001", + "group_profile": { + "display_name": "Engineering", + "description": "Engineering team", + }, + }], + }, + delete_groups={ + "external_ids": ["GROUPEXT_DEPRECATED"], + }) + ``` + + + :param str resource_name: The name of the resource. + :param IdentitySourceImportArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(IdentitySourceImportArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + delete_group_memberships: pulumi.Input[Optional[Union['IdentitySourceImportDeleteGroupMembershipsArgs', 'IdentitySourceImportDeleteGroupMembershipsArgsDict']]] = None, + delete_groups: pulumi.Input[Optional[Union['IdentitySourceImportDeleteGroupsArgs', 'IdentitySourceImportDeleteGroupsArgsDict']]] = None, + delete_users: pulumi.Input[Optional[Union['IdentitySourceImportDeleteUsersArgs', 'IdentitySourceImportDeleteUsersArgsDict']]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + upsert_group_memberships: pulumi.Input[Optional[Union['IdentitySourceImportUpsertGroupMembershipsArgs', 'IdentitySourceImportUpsertGroupMembershipsArgsDict']]] = None, + upsert_groups: pulumi.Input[Optional[Union['IdentitySourceImportUpsertGroupsArgs', 'IdentitySourceImportUpsertGroupsArgsDict']]] = None, + upsert_users: pulumi.Input[Optional[Union['IdentitySourceImportUpsertUsersArgs', 'IdentitySourceImportUpsertUsersArgsDict']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IdentitySourceImportArgs.__new__(IdentitySourceImportArgs) + + __props__.__dict__["delete_group_memberships"] = delete_group_memberships + __props__.__dict__["delete_groups"] = delete_groups + __props__.__dict__["delete_users"] = delete_users + if identity_source_id is None and not opts.urn: + raise TypeError("Missing required property 'identity_source_id'") + __props__.__dict__["identity_source_id"] = identity_source_id + __props__.__dict__["upsert_group_memberships"] = upsert_group_memberships + __props__.__dict__["upsert_groups"] = upsert_groups + __props__.__dict__["upsert_users"] = upsert_users + __props__.__dict__["session_id"] = None + __props__.__dict__["session_status"] = None + super(IdentitySourceImport, __self__).__init__( + 'okta:index/identitySourceImport:IdentitySourceImport', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + delete_group_memberships: pulumi.Input[Optional[Union['IdentitySourceImportDeleteGroupMembershipsArgs', 'IdentitySourceImportDeleteGroupMembershipsArgsDict']]] = None, + delete_groups: pulumi.Input[Optional[Union['IdentitySourceImportDeleteGroupsArgs', 'IdentitySourceImportDeleteGroupsArgsDict']]] = None, + delete_users: pulumi.Input[Optional[Union['IdentitySourceImportDeleteUsersArgs', 'IdentitySourceImportDeleteUsersArgsDict']]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + session_id: pulumi.Input[Optional[_builtins.str]] = None, + session_status: pulumi.Input[Optional[_builtins.str]] = None, + upsert_group_memberships: pulumi.Input[Optional[Union['IdentitySourceImportUpsertGroupMembershipsArgs', 'IdentitySourceImportUpsertGroupMembershipsArgsDict']]] = None, + upsert_groups: pulumi.Input[Optional[Union['IdentitySourceImportUpsertGroupsArgs', 'IdentitySourceImportUpsertGroupsArgsDict']]] = None, + upsert_users: pulumi.Input[Optional[Union['IdentitySourceImportUpsertUsersArgs', 'IdentitySourceImportUpsertUsersArgsDict']]] = None) -> 'IdentitySourceImport': + """ + Get an existing IdentitySourceImport resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Union['IdentitySourceImportDeleteGroupMembershipsArgs', 'IdentitySourceImportDeleteGroupMembershipsArgsDict']] delete_group_memberships: Group memberships to delete in Okta. + :param pulumi.Input[Union['IdentitySourceImportDeleteGroupsArgs', 'IdentitySourceImportDeleteGroupsArgsDict']] delete_groups: Groups to delete from Okta. + :param pulumi.Input[Union['IdentitySourceImportDeleteUsersArgs', 'IdentitySourceImportDeleteUsersArgsDict']] delete_users: Users to delete from Okta. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] session_id: Session ID created for this import job. + :param pulumi.Input[_builtins.str] session_status: Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + :param pulumi.Input[Union['IdentitySourceImportUpsertGroupMembershipsArgs', 'IdentitySourceImportUpsertGroupMembershipsArgsDict']] upsert_group_memberships: Group memberships to create or update in Okta. + :param pulumi.Input[Union['IdentitySourceImportUpsertGroupsArgs', 'IdentitySourceImportUpsertGroupsArgsDict']] upsert_groups: Groups to create or update in Okta. + :param pulumi.Input[Union['IdentitySourceImportUpsertUsersArgs', 'IdentitySourceImportUpsertUsersArgsDict']] upsert_users: Users to create or update in Okta. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _IdentitySourceImportState.__new__(_IdentitySourceImportState) + + __props__.__dict__["delete_group_memberships"] = delete_group_memberships + __props__.__dict__["delete_groups"] = delete_groups + __props__.__dict__["delete_users"] = delete_users + __props__.__dict__["identity_source_id"] = identity_source_id + __props__.__dict__["session_id"] = session_id + __props__.__dict__["session_status"] = session_status + __props__.__dict__["upsert_group_memberships"] = upsert_group_memberships + __props__.__dict__["upsert_groups"] = upsert_groups + __props__.__dict__["upsert_users"] = upsert_users + return IdentitySourceImport(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter(name="deleteGroupMemberships") + def delete_group_memberships(self) -> pulumi.Output[Optional['outputs.IdentitySourceImportDeleteGroupMemberships']]: + """ + Group memberships to delete in Okta. + """ + return pulumi.get(self, "delete_group_memberships") + + @_builtins.property + @pulumi.getter(name="deleteGroups") + def delete_groups(self) -> pulumi.Output[Optional['outputs.IdentitySourceImportDeleteGroups']]: + """ + Groups to delete from Okta. + """ + return pulumi.get(self, "delete_groups") + + @_builtins.property + @pulumi.getter(name="deleteUsers") + def delete_users(self) -> pulumi.Output[Optional['outputs.IdentitySourceImportDeleteUsers']]: + """ + Users to delete from Okta. + """ + return pulumi.get(self, "delete_users") + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Output[_builtins.str]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @_builtins.property + @pulumi.getter(name="sessionId") + def session_id(self) -> pulumi.Output[_builtins.str]: + """ + Session ID created for this import job. + """ + return pulumi.get(self, "session_id") + + @_builtins.property + @pulumi.getter(name="sessionStatus") + def session_status(self) -> pulumi.Output[_builtins.str]: + """ + Status of the import session after triggering (e.g. `IN_PROGRESS`, `COMPLETED`). + """ + return pulumi.get(self, "session_status") + + @_builtins.property + @pulumi.getter(name="upsertGroupMemberships") + def upsert_group_memberships(self) -> pulumi.Output[Optional['outputs.IdentitySourceImportUpsertGroupMemberships']]: + """ + Group memberships to create or update in Okta. + """ + return pulumi.get(self, "upsert_group_memberships") + + @_builtins.property + @pulumi.getter(name="upsertGroups") + def upsert_groups(self) -> pulumi.Output[Optional['outputs.IdentitySourceImportUpsertGroups']]: + """ + Groups to create or update in Okta. + """ + return pulumi.get(self, "upsert_groups") + + @_builtins.property + @pulumi.getter(name="upsertUsers") + def upsert_users(self) -> pulumi.Output[Optional['outputs.IdentitySourceImportUpsertUsers']]: + """ + Users to create or update in Okta. + """ + return pulumi.get(self, "upsert_users") + diff --git a/sdk/python/pulumi_okta/identity_source_user.py b/sdk/python/pulumi_okta/identity_source_user.py new file mode 100644 index 000000000..0af89845d --- /dev/null +++ b/sdk/python/pulumi_okta/identity_source_user.py @@ -0,0 +1,359 @@ +# coding=utf-8 +# *** WARNING: this file was generated by pulumi-language-python. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import builtins as _builtins +import warnings +import sys +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +if sys.version_info >= (3, 11): + from typing import NotRequired, TypedDict, TypeAlias +else: + from typing_extensions import NotRequired, TypedDict, TypeAlias +from . import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['IdentitySourceUserArgs', 'IdentitySourceUser'] + +@pulumi.input_type +class IdentitySourceUserArgs: + def __init__(__self__, *, + identity_source_id: pulumi.Input[_builtins.str], + identity_source_user_id: pulumi.Input[_builtins.str], + profile: pulumi.Input[Optional['IdentitySourceUserProfileArgs']] = None): + """ + The set of arguments for constructing a IdentitySourceUser resource. + + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_user_id: The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + :param pulumi.Input['IdentitySourceUserProfileArgs'] profile: User profile attributes. + """ + pulumi.set(__self__, "identity_source_id", identity_source_id) + pulumi.set(__self__, "identity_source_user_id", identity_source_user_id) + if profile is not None: + pulumi.set(__self__, "profile", profile) + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Input[_builtins.str]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @identity_source_id.setter + def identity_source_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "identity_source_id", value) + + @_builtins.property + @pulumi.getter(name="identitySourceUserId") + def identity_source_user_id(self) -> pulumi.Input[_builtins.str]: + """ + The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_user_id") + + @identity_source_user_id.setter + def identity_source_user_id(self, value: pulumi.Input[_builtins.str]): + pulumi.set(self, "identity_source_user_id", value) + + @_builtins.property + @pulumi.getter + def profile(self) -> pulumi.Input[Optional['IdentitySourceUserProfileArgs']]: + """ + User profile attributes. + """ + return pulumi.get(self, "profile") + + @profile.setter + def profile(self, value: pulumi.Input[Optional['IdentitySourceUserProfileArgs']]): + pulumi.set(self, "profile", value) + + +@pulumi.input_type +class _IdentitySourceUserState: + def __init__(__self__, *, + created: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_user_id: pulumi.Input[Optional[_builtins.str]] = None, + last_updated: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional['IdentitySourceUserProfileArgs']] = None): + """ + Input properties used for looking up and filtering IdentitySourceUser resources. + + :param pulumi.Input[_builtins.str] created: Timestamp when the user was created in the identity source (RFC3339). + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_user_id: The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + :param pulumi.Input[_builtins.str] last_updated: Timestamp when the user was last updated in the identity source (RFC3339). + :param pulumi.Input['IdentitySourceUserProfileArgs'] profile: User profile attributes. + """ + if created is not None: + pulumi.set(__self__, "created", created) + if identity_source_id is not None: + pulumi.set(__self__, "identity_source_id", identity_source_id) + if identity_source_user_id is not None: + pulumi.set(__self__, "identity_source_user_id", identity_source_user_id) + if last_updated is not None: + pulumi.set(__self__, "last_updated", last_updated) + if profile is not None: + pulumi.set(__self__, "profile", profile) + + @_builtins.property + @pulumi.getter + def created(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Timestamp when the user was created in the identity source (RFC3339). + """ + return pulumi.get(self, "created") + + @created.setter + def created(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "created", value) + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @identity_source_id.setter + def identity_source_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "identity_source_id", value) + + @_builtins.property + @pulumi.getter(name="identitySourceUserId") + def identity_source_user_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_user_id") + + @identity_source_user_id.setter + def identity_source_user_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "identity_source_user_id", value) + + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + Timestamp when the user was last updated in the identity source (RFC3339). + """ + return pulumi.get(self, "last_updated") + + @last_updated.setter + def last_updated(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "last_updated", value) + + @_builtins.property + @pulumi.getter + def profile(self) -> pulumi.Input[Optional['IdentitySourceUserProfileArgs']]: + """ + User profile attributes. + """ + return pulumi.get(self, "profile") + + @profile.setter + def profile(self, value: pulumi.Input[Optional['IdentitySourceUserProfileArgs']]): + pulumi.set(self, "profile", value) + + +@pulumi.type_token("okta:index/identitySourceUser:IdentitySourceUser") +class IdentitySourceUser(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_user_id: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional[Union['IdentitySourceUserProfileArgs', 'IdentitySourceUserProfileArgsDict']]] = None, + __props__=None): + """ + Manages an individual user in an Okta Identity Source. This resource creates or updates a single user record directly in the identity source (without requiring a session), using the external ID as the unique key. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceUser("example", + identity_source_id="", + identity_source_user_id="USEREXT123456EXAMPLE", + profile={ + "user_name": "jdoe@example.com", + "email": "jdoe@example.com", + "first_name": "Jane", + "last_name": "Doe", + }) + ``` + + ## Import + + Import using `{identity_source_id}/{id}`: + + ```sh + $ pulumi import okta:index/identitySourceUser:IdentitySourceUser example / + ``` + + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_user_id: The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + :param pulumi.Input[Union['IdentitySourceUserProfileArgs', 'IdentitySourceUserProfileArgsDict']] profile: User profile attributes. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: IdentitySourceUserArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + Manages an individual user in an Okta Identity Source. This resource creates or updates a single user record directly in the identity source (without requiring a session), using the external ID as the unique key. + + ## Example Usage + + ```python + import pulumi + import pulumi_okta as okta + + example = okta.IdentitySourceUser("example", + identity_source_id="", + identity_source_user_id="USEREXT123456EXAMPLE", + profile={ + "user_name": "jdoe@example.com", + "email": "jdoe@example.com", + "first_name": "Jane", + "last_name": "Doe", + }) + ``` + + ## Import + + Import using `{identity_source_id}/{id}`: + + ```sh + $ pulumi import okta:index/identitySourceUser:IdentitySourceUser example / + ``` + + + :param str resource_name: The name of the resource. + :param IdentitySourceUserArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(IdentitySourceUserArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_user_id: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional[Union['IdentitySourceUserProfileArgs', 'IdentitySourceUserProfileArgsDict']]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = IdentitySourceUserArgs.__new__(IdentitySourceUserArgs) + + if identity_source_id is None and not opts.urn: + raise TypeError("Missing required property 'identity_source_id'") + __props__.__dict__["identity_source_id"] = identity_source_id + if identity_source_user_id is None and not opts.urn: + raise TypeError("Missing required property 'identity_source_user_id'") + __props__.__dict__["identity_source_user_id"] = identity_source_user_id + __props__.__dict__["profile"] = profile + __props__.__dict__["created"] = None + __props__.__dict__["last_updated"] = None + super(IdentitySourceUser, __self__).__init__( + 'okta:index/identitySourceUser:IdentitySourceUser', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + created: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_id: pulumi.Input[Optional[_builtins.str]] = None, + identity_source_user_id: pulumi.Input[Optional[_builtins.str]] = None, + last_updated: pulumi.Input[Optional[_builtins.str]] = None, + profile: pulumi.Input[Optional[Union['IdentitySourceUserProfileArgs', 'IdentitySourceUserProfileArgsDict']]] = None) -> 'IdentitySourceUser': + """ + Get an existing IdentitySourceUser resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] created: Timestamp when the user was created in the identity source (RFC3339). + :param pulumi.Input[_builtins.str] identity_source_id: ID of the identity source. Forces replacement when changed. + :param pulumi.Input[_builtins.str] identity_source_user_id: The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + :param pulumi.Input[_builtins.str] last_updated: Timestamp when the user was last updated in the identity source (RFC3339). + :param pulumi.Input[Union['IdentitySourceUserProfileArgs', 'IdentitySourceUserProfileArgsDict']] profile: User profile attributes. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _IdentitySourceUserState.__new__(_IdentitySourceUserState) + + __props__.__dict__["created"] = created + __props__.__dict__["identity_source_id"] = identity_source_id + __props__.__dict__["identity_source_user_id"] = identity_source_user_id + __props__.__dict__["last_updated"] = last_updated + __props__.__dict__["profile"] = profile + return IdentitySourceUser(resource_name, opts=opts, __props__=__props__) + + @_builtins.property + @pulumi.getter + def created(self) -> pulumi.Output[_builtins.str]: + """ + Timestamp when the user was created in the identity source (RFC3339). + """ + return pulumi.get(self, "created") + + @_builtins.property + @pulumi.getter(name="identitySourceId") + def identity_source_id(self) -> pulumi.Output[_builtins.str]: + """ + ID of the identity source. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_id") + + @_builtins.property + @pulumi.getter(name="identitySourceUserId") + def identity_source_user_id(self) -> pulumi.Output[_builtins.str]: + """ + The external ID of the user in the identity source. Used as the resource identifier. Forces replacement when changed. + """ + return pulumi.get(self, "identity_source_user_id") + + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> pulumi.Output[_builtins.str]: + """ + Timestamp when the user was last updated in the identity source (RFC3339). + """ + return pulumi.get(self, "last_updated") + + @_builtins.property + @pulumi.getter + def profile(self) -> pulumi.Output[Optional['outputs.IdentitySourceUserProfile']]: + """ + User profile attributes. + """ + return pulumi.get(self, "profile") + diff --git a/sdk/python/pulumi_okta/outputs.py b/sdk/python/pulumi_okta/outputs.py index 41a3a5702..7d6290105 100644 --- a/sdk/python/pulumi_okta/outputs.py +++ b/sdk/python/pulumi_okta/outputs.py @@ -21,9 +21,15 @@ 'ApiServiceIntegrationGrantedScope', 'ApiTokenNetwork', 'AppGroupAssignmentsGroup', + 'AppSignonPolicyRuleKeepMeSignedIn', 'AppSignonPolicyRulePlatformInclude', 'AppUserSchemaPropertyArrayOneOf', 'AppUserSchemaPropertyOneOf', + 'AuthenticatorMethodWebauthnAaguidGroup', + 'AuthenticatorMethodWebauthnRpId', + 'AuthenticatorMethodWebauthnRpIdDomain', + 'AuthenticatorWebauthnCustomAaguidAttestationRootCertificate', + 'AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics', 'CampaignNotificationSettings', 'CampaignPrincipalScopeSettings', 'CampaignPrincipalScopeSettingsPredefinedInactiveUsersScope', @@ -57,6 +63,21 @@ 'GroupSchemaPropertyArrayOneOf', 'GroupSchemaPropertyMasterOverridePriority', 'GroupSchemaPropertyOneOf', + 'IdentitySourceGroupProfile', + 'IdentitySourceImportDeleteGroupMemberships', + 'IdentitySourceImportDeleteGroupMembershipsMembership', + 'IdentitySourceImportDeleteGroups', + 'IdentitySourceImportDeleteUsers', + 'IdentitySourceImportDeleteUsersProfile', + 'IdentitySourceImportUpsertGroupMemberships', + 'IdentitySourceImportUpsertGroupMembershipsMembership', + 'IdentitySourceImportUpsertGroups', + 'IdentitySourceImportUpsertGroupsProfile', + 'IdentitySourceImportUpsertGroupsProfileGroupProfile', + 'IdentitySourceImportUpsertUsers', + 'IdentitySourceImportUpsertUsersProfile', + 'IdentitySourceImportUpsertUsersProfileProfile', + 'IdentitySourceUserProfile', 'LogStreamSettings', 'PolicyRuleProfileEnrollmentProfileAttribute', 'PreviewSigninPageContentSecurityPolicySetting', @@ -97,6 +118,20 @@ 'GetAppsAppVisibilityResult', 'GetAppsAppVisibilityHideResult', 'GetAuthServerClaimsClaimResult', + 'GetAuthenticatorMethodWebauthnAaguidGroupResult', + 'GetAuthenticatorMethodWebauthnRpIdResult', + 'GetAuthenticatorMethodWebauthnRpIdDomainResult', + 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidResult', + 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult', + 'GetAuthorizationServersPoliciesRuleActionsResult', + 'GetAuthorizationServersPoliciesRuleActionsTokenResult', + 'GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult', + 'GetAuthorizationServersPoliciesRuleConditionsResult', + 'GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult', + 'GetAuthorizationServersPoliciesRuleConditionsPeopleResult', + 'GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult', + 'GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult', + 'GetAuthorizationServersPoliciesRuleConditionsScopesResult', 'GetBehavioursBehaviorResult', 'GetBrandsBrandResult', 'GetCampaignNotificationSettingsResult', @@ -152,6 +187,9 @@ 'GetFeaturesFeatureResult', 'GetFeaturesFeatureStageResult', 'GetGroupsGroupResult', + 'GetIamAssigneesUserItemResult', + 'GetIdentitySourceGroupsProfileResult', + 'GetIdentitySourceUsersProfileResult', 'GetLogStreamSettingsResult', 'GetOrgMetadataDomainsResult', 'GetOrgMetadataSettingsResult', @@ -436,6 +474,56 @@ def priority(self) -> Optional[_builtins.int]: return pulumi.get(self, "priority") +@pulumi.output_type +class AppSignonPolicyRuleKeepMeSignedIn(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "postAuth": + suggest = "post_auth" + elif key == "postAuthPromptFrequency": + suggest = "post_auth_prompt_frequency" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AppSignonPolicyRuleKeepMeSignedIn. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AppSignonPolicyRuleKeepMeSignedIn.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AppSignonPolicyRuleKeepMeSignedIn.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + post_auth: Optional[_builtins.str] = None, + post_auth_prompt_frequency: Optional[_builtins.str] = None): + """ + :param _builtins.str post_auth: Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + :param _builtins.str post_auth_prompt_frequency: How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + if post_auth is not None: + pulumi.set(__self__, "post_auth", post_auth) + if post_auth_prompt_frequency is not None: + pulumi.set(__self__, "post_auth_prompt_frequency", post_auth_prompt_frequency) + + @_builtins.property + @pulumi.getter(name="postAuth") + def post_auth(self) -> Optional[_builtins.str]: + """ + Whether the post-authentication KMSI flow is allowed. Valid values: `ALLOWED`, `NOT_ALLOWED`. + """ + return pulumi.get(self, "post_auth") + + @_builtins.property + @pulumi.getter(name="postAuthPromptFrequency") + def post_auth_prompt_frequency(self) -> Optional[_builtins.str]: + """ + How often the post-auth prompt is presented, as an ISO-8601 duration (e.g. `PT168H`). + """ + return pulumi.get(self, "post_auth_prompt_frequency") + + @pulumi.output_type class AppSignonPolicyRulePlatformInclude(dict): @staticmethod @@ -548,6 +636,249 @@ def title(self) -> _builtins.str: return pulumi.get(self, "title") +@pulumi.output_type +class AuthenticatorMethodWebauthnAaguidGroup(dict): + def __init__(__self__, *, + aaguids: Sequence[_builtins.str], + name: _builtins.str): + """ + :param Sequence[_builtins.str] aaguids: A list of FIDO2 AAGUIDs in this group. + :param _builtins.str name: A name to identify the group of FIDO2 AAGUIDs. + """ + pulumi.set(__self__, "aaguids", aaguids) + pulumi.set(__self__, "name", name) + + @_builtins.property + @pulumi.getter + def aaguids(self) -> Sequence[_builtins.str]: + """ + A list of FIDO2 AAGUIDs in this group. + """ + return pulumi.get(self, "aaguids") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + A name to identify the group of FIDO2 AAGUIDs. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class AuthenticatorMethodWebauthnRpId(dict): + def __init__(__self__, *, + domain: Optional['outputs.AuthenticatorMethodWebauthnRpIdDomain'] = None, + enabled: Optional[_builtins.bool] = None): + """ + :param 'AuthenticatorMethodWebauthnRpIdDomainArgs' domain: The RP domain configuration. Contains: + :param _builtins.bool enabled: Whether the RP ID is active and used for WebAuthn operations. + """ + if domain is not None: + pulumi.set(__self__, "domain", domain) + if enabled is not None: + pulumi.set(__self__, "enabled", enabled) + + @_builtins.property + @pulumi.getter + def domain(self) -> Optional['outputs.AuthenticatorMethodWebauthnRpIdDomain']: + """ + The RP domain configuration. Contains: + """ + return pulumi.get(self, "domain") + + @_builtins.property + @pulumi.getter + def enabled(self) -> Optional[_builtins.bool]: + """ + Whether the RP ID is active and used for WebAuthn operations. + """ + return pulumi.get(self, "enabled") + + +@pulumi.output_type +class AuthenticatorMethodWebauthnRpIdDomain(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "validationStatus": + suggest = "validation_status" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AuthenticatorMethodWebauthnRpIdDomain. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AuthenticatorMethodWebauthnRpIdDomain.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AuthenticatorMethodWebauthnRpIdDomain.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + name: Optional[_builtins.str] = None, + validation_status: Optional[_builtins.str] = None): + """ + :param _builtins.str name: The RP ID domain value used for WebAuthn operations. + :param _builtins.str validation_status: The validation status of the domain. + """ + if name is not None: + pulumi.set(__self__, "name", name) + if validation_status is not None: + pulumi.set(__self__, "validation_status", validation_status) + + @_builtins.property + @pulumi.getter + def name(self) -> Optional[_builtins.str]: + """ + The RP ID domain value used for WebAuthn operations. + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="validationStatus") + def validation_status(self) -> Optional[_builtins.str]: + """ + The validation status of the domain. + """ + return pulumi.get(self, "validation_status") + + +@pulumi.output_type +class AuthenticatorWebauthnCustomAaguidAttestationRootCertificate(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "x5tS256": + suggest = "x5t_s256" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AuthenticatorWebauthnCustomAaguidAttestationRootCertificate. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AuthenticatorWebauthnCustomAaguidAttestationRootCertificate.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + x5c: _builtins.str, + expiry: Optional[_builtins.str] = None, + issuer: Optional[_builtins.str] = None, + x5t_s256: Optional[_builtins.str] = None): + """ + :param _builtins.str x5c: X.509 certificate chain (base64-encoded). + :param _builtins.str expiry: Expiry date of the certificate. + :param _builtins.str issuer: Issuer of the certificate. + :param _builtins.str x5t_s256: SHA-256 hash (thumbprint) of the X.509 certificate. + """ + pulumi.set(__self__, "x5c", x5c) + if expiry is not None: + pulumi.set(__self__, "expiry", expiry) + if issuer is not None: + pulumi.set(__self__, "issuer", issuer) + if x5t_s256 is not None: + pulumi.set(__self__, "x5t_s256", x5t_s256) + + @_builtins.property + @pulumi.getter + def x5c(self) -> _builtins.str: + """ + X.509 certificate chain (base64-encoded). + """ + return pulumi.get(self, "x5c") + + @_builtins.property + @pulumi.getter + def expiry(self) -> Optional[_builtins.str]: + """ + Expiry date of the certificate. + """ + return pulumi.get(self, "expiry") + + @_builtins.property + @pulumi.getter + def issuer(self) -> Optional[_builtins.str]: + """ + Issuer of the certificate. + """ + return pulumi.get(self, "issuer") + + @_builtins.property + @pulumi.getter(name="x5tS256") + def x5t_s256(self) -> Optional[_builtins.str]: + """ + SHA-256 hash (thumbprint) of the X.509 certificate. + """ + return pulumi.get(self, "x5t_s256") + + +@pulumi.output_type +class AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "fipsCompliant": + suggest = "fips_compliant" + elif key == "hardwareProtected": + suggest = "hardware_protected" + elif key == "platformAttached": + suggest = "platform_attached" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AuthenticatorWebauthnCustomAaguidAuthenticatorCharacteristics.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + fips_compliant: Optional[_builtins.bool] = None, + hardware_protected: Optional[_builtins.bool] = None, + platform_attached: Optional[_builtins.bool] = None): + """ + :param _builtins.bool fips_compliant: Indicates whether the authenticator meets FIPS compliance requirements. + :param _builtins.bool hardware_protected: Indicates whether the authenticator stores the private key on a hardware component. + :param _builtins.bool platform_attached: Indicates whether the custom AAGUID is built into the authenticator or is external. + """ + if fips_compliant is not None: + pulumi.set(__self__, "fips_compliant", fips_compliant) + if hardware_protected is not None: + pulumi.set(__self__, "hardware_protected", hardware_protected) + if platform_attached is not None: + pulumi.set(__self__, "platform_attached", platform_attached) + + @_builtins.property + @pulumi.getter(name="fipsCompliant") + def fips_compliant(self) -> Optional[_builtins.bool]: + """ + Indicates whether the authenticator meets FIPS compliance requirements. + """ + return pulumi.get(self, "fips_compliant") + + @_builtins.property + @pulumi.getter(name="hardwareProtected") + def hardware_protected(self) -> Optional[_builtins.bool]: + """ + Indicates whether the authenticator stores the private key on a hardware component. + """ + return pulumi.get(self, "hardware_protected") + + @_builtins.property + @pulumi.getter(name="platformAttached") + def platform_attached(self) -> Optional[_builtins.bool]: + """ + Indicates whether the custom AAGUID is built into the authenticator or is external. + """ + return pulumi.get(self, "platform_attached") + + @pulumi.output_type class CampaignNotificationSettings(dict): @staticmethod @@ -2689,635 +3020,1397 @@ def title(self) -> _builtins.str: @pulumi.output_type -class LogStreamSettings(dict): +class IdentitySourceGroupProfile(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "accountId": - suggest = "account_id" - elif key == "eventSourceName": - suggest = "event_source_name" + if key == "displayName": + suggest = "display_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in LogStreamSettings. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceGroupProfile. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - LogStreamSettings.__key_warning(key) + IdentitySourceGroupProfile.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - LogStreamSettings.__key_warning(key) + IdentitySourceGroupProfile.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - account_id: Optional[_builtins.str] = None, - edition: Optional[_builtins.str] = None, - event_source_name: Optional[_builtins.str] = None, - host: Optional[_builtins.str] = None, - region: Optional[_builtins.str] = None, - token: Optional[_builtins.str] = None): + description: Optional[_builtins.str] = None, + display_name: Optional[_builtins.str] = None): """ - :param _builtins.str account_id: AWS account ID. Required only for 'aws_eventbridge' type - :param _builtins.str edition: Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type - :param _builtins.str event_source_name: An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type - :param _builtins.str host: The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type - :param _builtins.str region: The destination AWS region where event source is located. Required only for 'aws_eventbridge' type - :param _builtins.str token: The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type + :param _builtins.str description: Description of the group. + :param _builtins.str display_name: Name of the group. """ - if account_id is not None: - pulumi.set(__self__, "account_id", account_id) - if edition is not None: - pulumi.set(__self__, "edition", edition) - if event_source_name is not None: - pulumi.set(__self__, "event_source_name", event_source_name) - if host is not None: - pulumi.set(__self__, "host", host) - if region is not None: - pulumi.set(__self__, "region", region) - if token is not None: - pulumi.set(__self__, "token", token) + if description is not None: + pulumi.set(__self__, "description", description) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) @_builtins.property - @pulumi.getter(name="accountId") - def account_id(self) -> Optional[_builtins.str]: + @pulumi.getter + def description(self) -> Optional[_builtins.str]: """ - AWS account ID. Required only for 'aws_eventbridge' type + Description of the group. """ - return pulumi.get(self, "account_id") + return pulumi.get(self, "description") @_builtins.property - @pulumi.getter - def edition(self) -> Optional[_builtins.str]: + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[_builtins.str]: """ - Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type + Name of the group. """ - return pulumi.get(self, "edition") + return pulumi.get(self, "display_name") - @_builtins.property - @pulumi.getter(name="eventSourceName") - def event_source_name(self) -> Optional[_builtins.str]: + +@pulumi.output_type +class IdentitySourceImportDeleteGroupMemberships(dict): + def __init__(__self__, *, + memberships: Optional[Sequence['outputs.IdentitySourceImportDeleteGroupMembershipsMembership']] = None): """ - An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type + :param Sequence['IdentitySourceImportDeleteGroupMembershipsMembershipArgs'] memberships: Group memberships to delete. (see below) """ - return pulumi.get(self, "event_source_name") + if memberships is not None: + pulumi.set(__self__, "memberships", memberships) @_builtins.property @pulumi.getter - def host(self) -> Optional[_builtins.str]: + def memberships(self) -> Optional[Sequence['outputs.IdentitySourceImportDeleteGroupMembershipsMembership']]: """ - The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type + Group memberships to delete. (see below) """ - return pulumi.get(self, "host") + return pulumi.get(self, "memberships") + + +@pulumi.output_type +class IdentitySourceImportDeleteGroupMembershipsMembership(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "groupExternalId": + suggest = "group_external_id" + elif key == "memberExternalIds": + suggest = "member_external_ids" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportDeleteGroupMembershipsMembership. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentitySourceImportDeleteGroupMembershipsMembership.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentitySourceImportDeleteGroupMembershipsMembership.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + group_external_id: Optional[_builtins.str] = None, + member_external_ids: Optional[Sequence[_builtins.str]] = None): + """ + :param _builtins.str group_external_id: External ID of the group. + :param Sequence[_builtins.str] member_external_ids: External IDs of the group members to remove. + """ + if group_external_id is not None: + pulumi.set(__self__, "group_external_id", group_external_id) + if member_external_ids is not None: + pulumi.set(__self__, "member_external_ids", member_external_ids) @_builtins.property - @pulumi.getter - def region(self) -> Optional[_builtins.str]: + @pulumi.getter(name="groupExternalId") + def group_external_id(self) -> Optional[_builtins.str]: """ - The destination AWS region where event source is located. Required only for 'aws_eventbridge' type + External ID of the group. """ - return pulumi.get(self, "region") + return pulumi.get(self, "group_external_id") @_builtins.property - @pulumi.getter - def token(self) -> Optional[_builtins.str]: + @pulumi.getter(name="memberExternalIds") + def member_external_ids(self) -> Optional[Sequence[_builtins.str]]: """ - The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type + External IDs of the group members to remove. """ - return pulumi.get(self, "token") + return pulumi.get(self, "member_external_ids") @pulumi.output_type -class PolicyRuleProfileEnrollmentProfileAttribute(dict): - def __init__(__self__, *, - label: _builtins.str, - name: _builtins.str, - required: Optional[_builtins.bool] = None): +class IdentitySourceImportDeleteGroups(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalIds": + suggest = "external_ids" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportDeleteGroups. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentitySourceImportDeleteGroups.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentitySourceImportDeleteGroups.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + external_ids: Optional[Sequence[_builtins.str]] = None): """ - :param _builtins.str label: A display-friendly label for this property - :param _builtins.str name: The name of a User Profile property - :param _builtins.bool required: Indicates if this property is required for enrollment + :param Sequence[_builtins.str] external_ids: External IDs of the groups to delete. """ - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "name", name) - if required is not None: - pulumi.set(__self__, "required", required) + if external_ids is not None: + pulumi.set(__self__, "external_ids", external_ids) @_builtins.property - @pulumi.getter - def label(self) -> _builtins.str: + @pulumi.getter(name="externalIds") + def external_ids(self) -> Optional[Sequence[_builtins.str]]: """ - A display-friendly label for this property + External IDs of the groups to delete. """ - return pulumi.get(self, "label") + return pulumi.get(self, "external_ids") + + +@pulumi.output_type +class IdentitySourceImportDeleteUsers(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "entityType": + suggest = "entity_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportDeleteUsers. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + IdentitySourceImportDeleteUsers.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + IdentitySourceImportDeleteUsers.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + entity_type: Optional[_builtins.str] = None, + profiles: Optional[Sequence['outputs.IdentitySourceImportDeleteUsersProfile']] = None): + """ + :param _builtins.str entity_type: Entity type. Currently only `USERS` is supported. + :param Sequence['IdentitySourceImportDeleteUsersProfileArgs'] profiles: User profiles to delete (by external ID). (see below) + """ + if entity_type is not None: + pulumi.set(__self__, "entity_type", entity_type) + if profiles is not None: + pulumi.set(__self__, "profiles", profiles) @_builtins.property - @pulumi.getter - def name(self) -> _builtins.str: + @pulumi.getter(name="entityType") + def entity_type(self) -> Optional[_builtins.str]: """ - The name of a User Profile property + Entity type. Currently only `USERS` is supported. """ - return pulumi.get(self, "name") + return pulumi.get(self, "entity_type") @_builtins.property @pulumi.getter - def required(self) -> Optional[_builtins.bool]: + def profiles(self) -> Optional[Sequence['outputs.IdentitySourceImportDeleteUsersProfile']]: """ - Indicates if this property is required for enrollment + User profiles to delete (by external ID). (see below) """ - return pulumi.get(self, "required") + return pulumi.get(self, "profiles") @pulumi.output_type -class PreviewSigninPageContentSecurityPolicySetting(dict): +class IdentitySourceImportDeleteUsersProfile(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "reportUri": - suggest = "report_uri" - elif key == "srcLists": - suggest = "src_lists" + if key == "externalId": + suggest = "external_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in PreviewSigninPageContentSecurityPolicySetting. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportDeleteUsersProfile. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - PreviewSigninPageContentSecurityPolicySetting.__key_warning(key) + IdentitySourceImportDeleteUsersProfile.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - PreviewSigninPageContentSecurityPolicySetting.__key_warning(key) + IdentitySourceImportDeleteUsersProfile.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - mode: Optional[_builtins.str] = None, - report_uri: Optional[_builtins.str] = None, - src_lists: Optional[Sequence[_builtins.str]] = None): + external_id: Optional[_builtins.str] = None): """ - :param _builtins.str mode: enforced or report_only + :param _builtins.str external_id: External ID of the user to delete. """ - if mode is not None: - pulumi.set(__self__, "mode", mode) - if report_uri is not None: - pulumi.set(__self__, "report_uri", report_uri) - if src_lists is not None: - pulumi.set(__self__, "src_lists", src_lists) + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) @_builtins.property - @pulumi.getter - def mode(self) -> Optional[_builtins.str]: + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[_builtins.str]: """ - enforced or report_only + External ID of the user to delete. """ - return pulumi.get(self, "mode") + return pulumi.get(self, "external_id") - @_builtins.property - @pulumi.getter(name="reportUri") - def report_uri(self) -> Optional[_builtins.str]: - return pulumi.get(self, "report_uri") + +@pulumi.output_type +class IdentitySourceImportUpsertGroupMemberships(dict): + def __init__(__self__, *, + memberships: Optional[Sequence['outputs.IdentitySourceImportUpsertGroupMembershipsMembership']] = None): + """ + :param Sequence['IdentitySourceImportUpsertGroupMembershipsMembershipArgs'] memberships: Group memberships to upsert. (see below) + """ + if memberships is not None: + pulumi.set(__self__, "memberships", memberships) @_builtins.property - @pulumi.getter(name="srcLists") - def src_lists(self) -> Optional[Sequence[_builtins.str]]: - return pulumi.get(self, "src_lists") + @pulumi.getter + def memberships(self) -> Optional[Sequence['outputs.IdentitySourceImportUpsertGroupMembershipsMembership']]: + """ + Group memberships to upsert. (see below) + """ + return pulumi.get(self, "memberships") @pulumi.output_type -class PreviewSigninPageWidgetCustomizations(dict): +class IdentitySourceImportUpsertGroupMembershipsMembership(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "widgetGeneration": - suggest = "widget_generation" - elif key == "authenticatorPageCustomLinkLabel": - suggest = "authenticator_page_custom_link_label" - elif key == "authenticatorPageCustomLinkUrl": - suggest = "authenticator_page_custom_link_url" - elif key == "classicRecoveryFlowEmailOrUsernameLabel": - suggest = "classic_recovery_flow_email_or_username_label" - elif key == "customLink1Label": - suggest = "custom_link1_label" - elif key == "customLink1Url": - suggest = "custom_link1_url" - elif key == "customLink2Label": - suggest = "custom_link2_label" - elif key == "customLink2Url": - suggest = "custom_link2_url" - elif key == "forgotPasswordLabel": - suggest = "forgot_password_label" - elif key == "forgotPasswordUrl": - suggest = "forgot_password_url" - elif key == "helpLabel": - suggest = "help_label" - elif key == "helpUrl": - suggest = "help_url" - elif key == "passwordInfoTip": - suggest = "password_info_tip" - elif key == "passwordLabel": - suggest = "password_label" - elif key == "showPasswordVisibilityToggle": - suggest = "show_password_visibility_toggle" - elif key == "showUserIdentifier": - suggest = "show_user_identifier" - elif key == "signInLabel": - suggest = "sign_in_label" - elif key == "unlockAccountLabel": - suggest = "unlock_account_label" - elif key == "unlockAccountUrl": - suggest = "unlock_account_url" - elif key == "usernameInfoTip": - suggest = "username_info_tip" - elif key == "usernameLabel": - suggest = "username_label" + if key == "groupExternalId": + suggest = "group_external_id" + elif key == "memberExternalIds": + suggest = "member_external_ids" if suggest: - pulumi.log.warn(f"Key '{key}' not found in PreviewSigninPageWidgetCustomizations. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportUpsertGroupMembershipsMembership. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - PreviewSigninPageWidgetCustomizations.__key_warning(key) + IdentitySourceImportUpsertGroupMembershipsMembership.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - PreviewSigninPageWidgetCustomizations.__key_warning(key) + IdentitySourceImportUpsertGroupMembershipsMembership.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - widget_generation: _builtins.str, - authenticator_page_custom_link_label: Optional[_builtins.str] = None, - authenticator_page_custom_link_url: Optional[_builtins.str] = None, - classic_recovery_flow_email_or_username_label: Optional[_builtins.str] = None, - custom_link1_label: Optional[_builtins.str] = None, - custom_link1_url: Optional[_builtins.str] = None, - custom_link2_label: Optional[_builtins.str] = None, - custom_link2_url: Optional[_builtins.str] = None, - forgot_password_label: Optional[_builtins.str] = None, - forgot_password_url: Optional[_builtins.str] = None, - help_label: Optional[_builtins.str] = None, - help_url: Optional[_builtins.str] = None, - password_info_tip: Optional[_builtins.str] = None, - password_label: Optional[_builtins.str] = None, - show_password_visibility_toggle: Optional[_builtins.bool] = None, - show_user_identifier: Optional[_builtins.bool] = None, - sign_in_label: Optional[_builtins.str] = None, - unlock_account_label: Optional[_builtins.str] = None, - unlock_account_url: Optional[_builtins.str] = None, - username_info_tip: Optional[_builtins.str] = None, - username_label: Optional[_builtins.str] = None): - pulumi.set(__self__, "widget_generation", widget_generation) - if authenticator_page_custom_link_label is not None: - pulumi.set(__self__, "authenticator_page_custom_link_label", authenticator_page_custom_link_label) - if authenticator_page_custom_link_url is not None: - pulumi.set(__self__, "authenticator_page_custom_link_url", authenticator_page_custom_link_url) - if classic_recovery_flow_email_or_username_label is not None: - pulumi.set(__self__, "classic_recovery_flow_email_or_username_label", classic_recovery_flow_email_or_username_label) - if custom_link1_label is not None: - pulumi.set(__self__, "custom_link1_label", custom_link1_label) - if custom_link1_url is not None: - pulumi.set(__self__, "custom_link1_url", custom_link1_url) - if custom_link2_label is not None: - pulumi.set(__self__, "custom_link2_label", custom_link2_label) - if custom_link2_url is not None: - pulumi.set(__self__, "custom_link2_url", custom_link2_url) - if forgot_password_label is not None: - pulumi.set(__self__, "forgot_password_label", forgot_password_label) - if forgot_password_url is not None: - pulumi.set(__self__, "forgot_password_url", forgot_password_url) - if help_label is not None: - pulumi.set(__self__, "help_label", help_label) - if help_url is not None: - pulumi.set(__self__, "help_url", help_url) - if password_info_tip is not None: - pulumi.set(__self__, "password_info_tip", password_info_tip) - if password_label is not None: - pulumi.set(__self__, "password_label", password_label) - if show_password_visibility_toggle is not None: - pulumi.set(__self__, "show_password_visibility_toggle", show_password_visibility_toggle) - if show_user_identifier is not None: - pulumi.set(__self__, "show_user_identifier", show_user_identifier) - if sign_in_label is not None: - pulumi.set(__self__, "sign_in_label", sign_in_label) - if unlock_account_label is not None: - pulumi.set(__self__, "unlock_account_label", unlock_account_label) - if unlock_account_url is not None: - pulumi.set(__self__, "unlock_account_url", unlock_account_url) - if username_info_tip is not None: - pulumi.set(__self__, "username_info_tip", username_info_tip) - if username_label is not None: - pulumi.set(__self__, "username_label", username_label) + group_external_id: Optional[_builtins.str] = None, + member_external_ids: Optional[Sequence[_builtins.str]] = None): + """ + :param _builtins.str group_external_id: External ID of the group. + :param Sequence[_builtins.str] member_external_ids: External IDs of the group members to add. + """ + if group_external_id is not None: + pulumi.set(__self__, "group_external_id", group_external_id) + if member_external_ids is not None: + pulumi.set(__self__, "member_external_ids", member_external_ids) @_builtins.property - @pulumi.getter(name="widgetGeneration") - def widget_generation(self) -> _builtins.str: - return pulumi.get(self, "widget_generation") + @pulumi.getter(name="groupExternalId") + def group_external_id(self) -> Optional[_builtins.str]: + """ + External ID of the group. + """ + return pulumi.get(self, "group_external_id") @_builtins.property - @pulumi.getter(name="authenticatorPageCustomLinkLabel") - def authenticator_page_custom_link_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "authenticator_page_custom_link_label") + @pulumi.getter(name="memberExternalIds") + def member_external_ids(self) -> Optional[Sequence[_builtins.str]]: + """ + External IDs of the group members to add. + """ + return pulumi.get(self, "member_external_ids") - @_builtins.property - @pulumi.getter(name="authenticatorPageCustomLinkUrl") - def authenticator_page_custom_link_url(self) -> Optional[_builtins.str]: - return pulumi.get(self, "authenticator_page_custom_link_url") - @_builtins.property - @pulumi.getter(name="classicRecoveryFlowEmailOrUsernameLabel") - def classic_recovery_flow_email_or_username_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "classic_recovery_flow_email_or_username_label") +@pulumi.output_type +class IdentitySourceImportUpsertGroups(dict): + def __init__(__self__, *, + profiles: Optional[Sequence['outputs.IdentitySourceImportUpsertGroupsProfile']] = None): + """ + :param Sequence['IdentitySourceImportUpsertGroupsProfileArgs'] profiles: Group profiles to upsert. (see below) + """ + if profiles is not None: + pulumi.set(__self__, "profiles", profiles) @_builtins.property - @pulumi.getter(name="customLink1Label") - def custom_link1_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "custom_link1_label") + @pulumi.getter + def profiles(self) -> Optional[Sequence['outputs.IdentitySourceImportUpsertGroupsProfile']]: + """ + Group profiles to upsert. (see below) + """ + return pulumi.get(self, "profiles") - @_builtins.property - @pulumi.getter(name="customLink1Url") - def custom_link1_url(self) -> Optional[_builtins.str]: - return pulumi.get(self, "custom_link1_url") - @_builtins.property - @pulumi.getter(name="customLink2Label") - def custom_link2_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "custom_link2_label") +@pulumi.output_type +class IdentitySourceImportUpsertGroupsProfile(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalId": + suggest = "external_id" + elif key == "groupProfile": + suggest = "group_profile" - @_builtins.property - @pulumi.getter(name="customLink2Url") - def custom_link2_url(self) -> Optional[_builtins.str]: - return pulumi.get(self, "custom_link2_url") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportUpsertGroupsProfile. Access the value via the '{suggest}' property getter instead.") - @_builtins.property - @pulumi.getter(name="forgotPasswordLabel") - def forgot_password_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "forgot_password_label") + def __getitem__(self, key: str) -> Any: + IdentitySourceImportUpsertGroupsProfile.__key_warning(key) + return super().__getitem__(key) - @_builtins.property - @pulumi.getter(name="forgotPasswordUrl") - def forgot_password_url(self) -> Optional[_builtins.str]: - return pulumi.get(self, "forgot_password_url") + def get(self, key: str, default = None) -> Any: + IdentitySourceImportUpsertGroupsProfile.__key_warning(key) + return super().get(key, default) - @_builtins.property - @pulumi.getter(name="helpLabel") - def help_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "help_label") + def __init__(__self__, *, + external_id: Optional[_builtins.str] = None, + group_profile: Optional['outputs.IdentitySourceImportUpsertGroupsProfileGroupProfile'] = None): + """ + :param _builtins.str external_id: External ID of the group. + :param 'IdentitySourceImportUpsertGroupsProfileGroupProfileArgs' group_profile: Group profile attributes. (see below) + """ + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if group_profile is not None: + pulumi.set(__self__, "group_profile", group_profile) @_builtins.property - @pulumi.getter(name="helpUrl") - def help_url(self) -> Optional[_builtins.str]: - return pulumi.get(self, "help_url") + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[_builtins.str]: + """ + External ID of the group. + """ + return pulumi.get(self, "external_id") @_builtins.property - @pulumi.getter(name="passwordInfoTip") - def password_info_tip(self) -> Optional[_builtins.str]: - return pulumi.get(self, "password_info_tip") + @pulumi.getter(name="groupProfile") + def group_profile(self) -> Optional['outputs.IdentitySourceImportUpsertGroupsProfileGroupProfile']: + """ + Group profile attributes. (see below) + """ + return pulumi.get(self, "group_profile") - @_builtins.property - @pulumi.getter(name="passwordLabel") - def password_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "password_label") - @_builtins.property - @pulumi.getter(name="showPasswordVisibilityToggle") - def show_password_visibility_toggle(self) -> Optional[_builtins.bool]: - return pulumi.get(self, "show_password_visibility_toggle") +@pulumi.output_type +class IdentitySourceImportUpsertGroupsProfileGroupProfile(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "displayName": + suggest = "display_name" - @_builtins.property - @pulumi.getter(name="showUserIdentifier") - def show_user_identifier(self) -> Optional[_builtins.bool]: - return pulumi.get(self, "show_user_identifier") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportUpsertGroupsProfileGroupProfile. Access the value via the '{suggest}' property getter instead.") - @_builtins.property - @pulumi.getter(name="signInLabel") - def sign_in_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "sign_in_label") + def __getitem__(self, key: str) -> Any: + IdentitySourceImportUpsertGroupsProfileGroupProfile.__key_warning(key) + return super().__getitem__(key) - @_builtins.property - @pulumi.getter(name="unlockAccountLabel") - def unlock_account_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "unlock_account_label") + def get(self, key: str, default = None) -> Any: + IdentitySourceImportUpsertGroupsProfileGroupProfile.__key_warning(key) + return super().get(key, default) - @_builtins.property - @pulumi.getter(name="unlockAccountUrl") - def unlock_account_url(self) -> Optional[_builtins.str]: - return pulumi.get(self, "unlock_account_url") + def __init__(__self__, *, + description: Optional[_builtins.str] = None, + display_name: Optional[_builtins.str] = None): + """ + :param _builtins.str description: Description of the group. + :param _builtins.str display_name: Display name of the group. + """ + if description is not None: + pulumi.set(__self__, "description", description) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) @_builtins.property - @pulumi.getter(name="usernameInfoTip") - def username_info_tip(self) -> Optional[_builtins.str]: - return pulumi.get(self, "username_info_tip") + @pulumi.getter + def description(self) -> Optional[_builtins.str]: + """ + Description of the group. + """ + return pulumi.get(self, "description") @_builtins.property - @pulumi.getter(name="usernameLabel") - def username_label(self) -> Optional[_builtins.str]: - return pulumi.get(self, "username_label") + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[_builtins.str]: + """ + Display name of the group. + """ + return pulumi.get(self, "display_name") @pulumi.output_type -class PushGroupAppConfig(dict): +class IdentitySourceImportUpsertUsers(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "distinguishedName": - suggest = "distinguished_name" - elif key == "groupScope": - suggest = "group_scope" - elif key == "groupType": - suggest = "group_type" - elif key == "samAccountName": - suggest = "sam_account_name" + if key == "entityType": + suggest = "entity_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in PushGroupAppConfig. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportUpsertUsers. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - PushGroupAppConfig.__key_warning(key) + IdentitySourceImportUpsertUsers.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - PushGroupAppConfig.__key_warning(key) + IdentitySourceImportUpsertUsers.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - distinguished_name: _builtins.str, - group_scope: _builtins.str, - group_type: _builtins.str, - sam_account_name: _builtins.str): - pulumi.set(__self__, "distinguished_name", distinguished_name) - pulumi.set(__self__, "group_scope", group_scope) - pulumi.set(__self__, "group_type", group_type) - pulumi.set(__self__, "sam_account_name", sam_account_name) - - @_builtins.property - @pulumi.getter(name="distinguishedName") - def distinguished_name(self) -> _builtins.str: - return pulumi.get(self, "distinguished_name") - - @_builtins.property - @pulumi.getter(name="groupScope") - def group_scope(self) -> _builtins.str: - return pulumi.get(self, "group_scope") + entity_type: Optional[_builtins.str] = None, + profiles: Optional[Sequence['outputs.IdentitySourceImportUpsertUsersProfile']] = None): + """ + :param _builtins.str entity_type: Entity type. Currently only `USERS` is supported. + :param Sequence['IdentitySourceImportUpsertUsersProfileArgs'] profiles: User profiles to upsert. (see below) + """ + if entity_type is not None: + pulumi.set(__self__, "entity_type", entity_type) + if profiles is not None: + pulumi.set(__self__, "profiles", profiles) @_builtins.property - @pulumi.getter(name="groupType") - def group_type(self) -> _builtins.str: - return pulumi.get(self, "group_type") + @pulumi.getter(name="entityType") + def entity_type(self) -> Optional[_builtins.str]: + """ + Entity type. Currently only `USERS` is supported. + """ + return pulumi.get(self, "entity_type") @_builtins.property - @pulumi.getter(name="samAccountName") - def sam_account_name(self) -> _builtins.str: - return pulumi.get(self, "sam_account_name") + @pulumi.getter + def profiles(self) -> Optional[Sequence['outputs.IdentitySourceImportUpsertUsersProfile']]: + """ + User profiles to upsert. (see below) + """ + return pulumi.get(self, "profiles") @pulumi.output_type -class PushProviderConfiguration(dict): +class IdentitySourceImportUpsertUsersProfile(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "apnsConfiguration": - suggest = "apns_configuration" - elif key == "fcmConfiguration": - suggest = "fcm_configuration" + if key == "externalId": + suggest = "external_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in PushProviderConfiguration. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportUpsertUsersProfile. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - PushProviderConfiguration.__key_warning(key) + IdentitySourceImportUpsertUsersProfile.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - PushProviderConfiguration.__key_warning(key) + IdentitySourceImportUpsertUsersProfile.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - apns_configuration: Optional['outputs.PushProviderConfigurationApnsConfiguration'] = None, - fcm_configuration: Optional['outputs.PushProviderConfigurationFcmConfiguration'] = None): - if apns_configuration is not None: - pulumi.set(__self__, "apns_configuration", apns_configuration) - if fcm_configuration is not None: - pulumi.set(__self__, "fcm_configuration", fcm_configuration) + external_id: Optional[_builtins.str] = None, + profile: Optional['outputs.IdentitySourceImportUpsertUsersProfileProfile'] = None): + """ + :param _builtins.str external_id: External ID of the user. + :param 'IdentitySourceImportUpsertUsersProfileProfileArgs' profile: User profile attributes. (see below) + """ + if external_id is not None: + pulumi.set(__self__, "external_id", external_id) + if profile is not None: + pulumi.set(__self__, "profile", profile) @_builtins.property - @pulumi.getter(name="apnsConfiguration") - def apns_configuration(self) -> Optional['outputs.PushProviderConfigurationApnsConfiguration']: - return pulumi.get(self, "apns_configuration") + @pulumi.getter(name="externalId") + def external_id(self) -> Optional[_builtins.str]: + """ + External ID of the user. + """ + return pulumi.get(self, "external_id") @_builtins.property - @pulumi.getter(name="fcmConfiguration") - def fcm_configuration(self) -> Optional['outputs.PushProviderConfigurationFcmConfiguration']: - return pulumi.get(self, "fcm_configuration") + @pulumi.getter + def profile(self) -> Optional['outputs.IdentitySourceImportUpsertUsersProfileProfile']: + """ + User profile attributes. (see below) + """ + return pulumi.get(self, "profile") @pulumi.output_type -class PushProviderConfigurationApnsConfiguration(dict): +class IdentitySourceImportUpsertUsersProfileProfile(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "fileName": - suggest = "file_name" - elif key == "keyId": - suggest = "key_id" - elif key == "teamId": - suggest = "team_id" - elif key == "tokenSigningKey": - suggest = "token_signing_key" + if key == "firstName": + suggest = "first_name" + elif key == "homeAddress": + suggest = "home_address" + elif key == "lastName": + suggest = "last_name" + elif key == "mobilePhone": + suggest = "mobile_phone" + elif key == "secondEmail": + suggest = "second_email" + elif key == "userName": + suggest = "user_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in PushProviderConfigurationApnsConfiguration. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceImportUpsertUsersProfileProfile. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - PushProviderConfigurationApnsConfiguration.__key_warning(key) + IdentitySourceImportUpsertUsersProfileProfile.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - PushProviderConfigurationApnsConfiguration.__key_warning(key) + IdentitySourceImportUpsertUsersProfileProfile.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - file_name: Optional[_builtins.str] = None, - key_id: Optional[_builtins.str] = None, - team_id: Optional[_builtins.str] = None, - token_signing_key: Optional[_builtins.str] = None): + email: Optional[_builtins.str] = None, + first_name: Optional[_builtins.str] = None, + home_address: Optional[_builtins.str] = None, + last_name: Optional[_builtins.str] = None, + mobile_phone: Optional[_builtins.str] = None, + second_email: Optional[_builtins.str] = None, + user_name: Optional[_builtins.str] = None): """ - :param _builtins.str file_name: File name for Admin Console display. - :param _builtins.str key_id: 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. - :param _builtins.str team_id: 10-character Team ID used to develop the iOS app. Required for APNS provider type. - :param _builtins.str token_signing_key: APNs private authentication token signing key. Required for APNS provider type. + :param _builtins.str email: Email address of the user. + :param _builtins.str first_name: First name of the user. + :param _builtins.str home_address: Home address of the user. + :param _builtins.str last_name: Last name of the user. + :param _builtins.str mobile_phone: Mobile phone number of the user. + :param _builtins.str second_email: Alternative email address of the user. + :param _builtins.str user_name: Username of the user. """ - if file_name is not None: - pulumi.set(__self__, "file_name", file_name) - if key_id is not None: - pulumi.set(__self__, "key_id", key_id) - if team_id is not None: - pulumi.set(__self__, "team_id", team_id) - if token_signing_key is not None: - pulumi.set(__self__, "token_signing_key", token_signing_key) + if email is not None: + pulumi.set(__self__, "email", email) + if first_name is not None: + pulumi.set(__self__, "first_name", first_name) + if home_address is not None: + pulumi.set(__self__, "home_address", home_address) + if last_name is not None: + pulumi.set(__self__, "last_name", last_name) + if mobile_phone is not None: + pulumi.set(__self__, "mobile_phone", mobile_phone) + if second_email is not None: + pulumi.set(__self__, "second_email", second_email) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @_builtins.property - @pulumi.getter(name="fileName") - def file_name(self) -> Optional[_builtins.str]: + @pulumi.getter + def email(self) -> Optional[_builtins.str]: """ - File name for Admin Console display. + Email address of the user. """ - return pulumi.get(self, "file_name") + return pulumi.get(self, "email") @_builtins.property - @pulumi.getter(name="keyId") - def key_id(self) -> Optional[_builtins.str]: + @pulumi.getter(name="firstName") + def first_name(self) -> Optional[_builtins.str]: """ - 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + First name of the user. """ - return pulumi.get(self, "key_id") + return pulumi.get(self, "first_name") @_builtins.property - @pulumi.getter(name="teamId") - def team_id(self) -> Optional[_builtins.str]: + @pulumi.getter(name="homeAddress") + def home_address(self) -> Optional[_builtins.str]: """ - 10-character Team ID used to develop the iOS app. Required for APNS provider type. + Home address of the user. """ - return pulumi.get(self, "team_id") + return pulumi.get(self, "home_address") @_builtins.property - @pulumi.getter(name="tokenSigningKey") - def token_signing_key(self) -> Optional[_builtins.str]: + @pulumi.getter(name="lastName") + def last_name(self) -> Optional[_builtins.str]: """ - APNs private authentication token signing key. Required for APNS provider type. + Last name of the user. """ - return pulumi.get(self, "token_signing_key") + return pulumi.get(self, "last_name") + + @_builtins.property + @pulumi.getter(name="mobilePhone") + def mobile_phone(self) -> Optional[_builtins.str]: + """ + Mobile phone number of the user. + """ + return pulumi.get(self, "mobile_phone") + + @_builtins.property + @pulumi.getter(name="secondEmail") + def second_email(self) -> Optional[_builtins.str]: + """ + Alternative email address of the user. + """ + return pulumi.get(self, "second_email") + + @_builtins.property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[_builtins.str]: + """ + Username of the user. + """ + return pulumi.get(self, "user_name") @pulumi.output_type -class PushProviderConfigurationFcmConfiguration(dict): +class IdentitySourceUserProfile(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "serviceAccountJson": - suggest = "service_account_json" + if key == "firstName": + suggest = "first_name" + elif key == "homeAddress": + suggest = "home_address" + elif key == "lastName": + suggest = "last_name" + elif key == "mobilePhone": + suggest = "mobile_phone" + elif key == "secondEmail": + suggest = "second_email" + elif key == "userName": + suggest = "user_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in PushProviderConfigurationFcmConfiguration. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in IdentitySourceUserProfile. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - PushProviderConfigurationFcmConfiguration.__key_warning(key) + IdentitySourceUserProfile.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - PushProviderConfigurationFcmConfiguration.__key_warning(key) + IdentitySourceUserProfile.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - service_account_json: Optional['outputs.PushProviderConfigurationFcmConfigurationServiceAccountJson'] = None): + email: Optional[_builtins.str] = None, + first_name: Optional[_builtins.str] = None, + home_address: Optional[_builtins.str] = None, + last_name: Optional[_builtins.str] = None, + mobile_phone: Optional[_builtins.str] = None, + second_email: Optional[_builtins.str] = None, + user_name: Optional[_builtins.str] = None): """ - :param 'PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs' service_account_json: JSON containing the private service account key and service account details. Required for FCM provider type. + :param _builtins.str email: Email address of the user. + :param _builtins.str first_name: First name of the user. + :param _builtins.str home_address: Home address of the user. + :param _builtins.str last_name: Last name of the user. + :param _builtins.str mobile_phone: Mobile phone number of the user. + :param _builtins.str second_email: Alternative email address of the user. + :param _builtins.str user_name: Username of the user. """ - if service_account_json is not None: - pulumi.set(__self__, "service_account_json", service_account_json) + if email is not None: + pulumi.set(__self__, "email", email) + if first_name is not None: + pulumi.set(__self__, "first_name", first_name) + if home_address is not None: + pulumi.set(__self__, "home_address", home_address) + if last_name is not None: + pulumi.set(__self__, "last_name", last_name) + if mobile_phone is not None: + pulumi.set(__self__, "mobile_phone", mobile_phone) + if second_email is not None: + pulumi.set(__self__, "second_email", second_email) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) @_builtins.property - @pulumi.getter(name="serviceAccountJson") - def service_account_json(self) -> Optional['outputs.PushProviderConfigurationFcmConfigurationServiceAccountJson']: + @pulumi.getter + def email(self) -> Optional[_builtins.str]: """ - JSON containing the private service account key and service account details. Required for FCM provider type. + Email address of the user. """ - return pulumi.get(self, "service_account_json") + return pulumi.get(self, "email") + + @_builtins.property + @pulumi.getter(name="firstName") + def first_name(self) -> Optional[_builtins.str]: + """ + First name of the user. + """ + return pulumi.get(self, "first_name") + + @_builtins.property + @pulumi.getter(name="homeAddress") + def home_address(self) -> Optional[_builtins.str]: + """ + Home address of the user. + """ + return pulumi.get(self, "home_address") + + @_builtins.property + @pulumi.getter(name="lastName") + def last_name(self) -> Optional[_builtins.str]: + """ + Last name of the user. + """ + return pulumi.get(self, "last_name") + + @_builtins.property + @pulumi.getter(name="mobilePhone") + def mobile_phone(self) -> Optional[_builtins.str]: + """ + Mobile phone number of the user. + """ + return pulumi.get(self, "mobile_phone") + + @_builtins.property + @pulumi.getter(name="secondEmail") + def second_email(self) -> Optional[_builtins.str]: + """ + Alternative email address of the user. + """ + return pulumi.get(self, "second_email") + + @_builtins.property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[_builtins.str]: + """ + Username of the user. + """ + return pulumi.get(self, "user_name") + + +@pulumi.output_type +class LogStreamSettings(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "accountId": + suggest = "account_id" + elif key == "eventSourceName": + suggest = "event_source_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in LogStreamSettings. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + LogStreamSettings.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + LogStreamSettings.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + account_id: Optional[_builtins.str] = None, + edition: Optional[_builtins.str] = None, + event_source_name: Optional[_builtins.str] = None, + host: Optional[_builtins.str] = None, + region: Optional[_builtins.str] = None, + token: Optional[_builtins.str] = None): + """ + :param _builtins.str account_id: AWS account ID. Required only for 'aws_eventbridge' type + :param _builtins.str edition: Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type + :param _builtins.str event_source_name: An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type + :param _builtins.str host: The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type + :param _builtins.str region: The destination AWS region where event source is located. Required only for 'aws_eventbridge' type + :param _builtins.str token: The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type + """ + if account_id is not None: + pulumi.set(__self__, "account_id", account_id) + if edition is not None: + pulumi.set(__self__, "edition", edition) + if event_source_name is not None: + pulumi.set(__self__, "event_source_name", event_source_name) + if host is not None: + pulumi.set(__self__, "host", host) + if region is not None: + pulumi.set(__self__, "region", region) + if token is not None: + pulumi.set(__self__, "token", token) + + @_builtins.property + @pulumi.getter(name="accountId") + def account_id(self) -> Optional[_builtins.str]: + """ + AWS account ID. Required only for 'aws_eventbridge' type + """ + return pulumi.get(self, "account_id") + + @_builtins.property + @pulumi.getter + def edition(self) -> Optional[_builtins.str]: + """ + Edition of the Splunk Cloud instance. Could be one of: 'aws', 'aws*govcloud', 'gcp'. Required only for 'splunk*cloud_logstreaming' type + """ + return pulumi.get(self, "edition") + + @_builtins.property + @pulumi.getter(name="eventSourceName") + def event_source_name(self) -> Optional[_builtins.str]: + """ + An alphanumeric name (no spaces) to identify this event source in AWS EventBridge. Required only for 'aws_eventbridge' type + """ + return pulumi.get(self, "event_source_name") + + @_builtins.property + @pulumi.getter + def host(self) -> Optional[_builtins.str]: + """ + The domain name for Splunk Cloud instance. Don't include http or https in the string. For example: 'acme.splunkcloud.com'. Required only for 'splunk*cloud*logstreaming' type + """ + return pulumi.get(self, "host") + + @_builtins.property + @pulumi.getter + def region(self) -> Optional[_builtins.str]: + """ + The destination AWS region where event source is located. Required only for 'aws_eventbridge' type + """ + return pulumi.get(self, "region") + + @_builtins.property + @pulumi.getter + def token(self) -> Optional[_builtins.str]: + """ + The HEC token for your Splunk Cloud HTTP Event Collector. Required only for 'splunk*cloud*logstreaming' type + """ + return pulumi.get(self, "token") + + +@pulumi.output_type +class PolicyRuleProfileEnrollmentProfileAttribute(dict): + def __init__(__self__, *, + label: _builtins.str, + name: _builtins.str, + required: Optional[_builtins.bool] = None): + """ + :param _builtins.str label: A display-friendly label for this property + :param _builtins.str name: The name of a User Profile property + :param _builtins.bool required: Indicates if this property is required for enrollment + """ + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "name", name) + if required is not None: + pulumi.set(__self__, "required", required) + + @_builtins.property + @pulumi.getter + def label(self) -> _builtins.str: + """ + A display-friendly label for this property + """ + return pulumi.get(self, "label") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + """ + The name of a User Profile property + """ + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter + def required(self) -> Optional[_builtins.bool]: + """ + Indicates if this property is required for enrollment + """ + return pulumi.get(self, "required") + + +@pulumi.output_type +class PreviewSigninPageContentSecurityPolicySetting(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "reportUri": + suggest = "report_uri" + elif key == "srcLists": + suggest = "src_lists" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PreviewSigninPageContentSecurityPolicySetting. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PreviewSigninPageContentSecurityPolicySetting.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PreviewSigninPageContentSecurityPolicySetting.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + mode: Optional[_builtins.str] = None, + report_uri: Optional[_builtins.str] = None, + src_lists: Optional[Sequence[_builtins.str]] = None): + """ + :param _builtins.str mode: enforced or report_only + """ + if mode is not None: + pulumi.set(__self__, "mode", mode) + if report_uri is not None: + pulumi.set(__self__, "report_uri", report_uri) + if src_lists is not None: + pulumi.set(__self__, "src_lists", src_lists) + + @_builtins.property + @pulumi.getter + def mode(self) -> Optional[_builtins.str]: + """ + enforced or report_only + """ + return pulumi.get(self, "mode") + + @_builtins.property + @pulumi.getter(name="reportUri") + def report_uri(self) -> Optional[_builtins.str]: + return pulumi.get(self, "report_uri") + + @_builtins.property + @pulumi.getter(name="srcLists") + def src_lists(self) -> Optional[Sequence[_builtins.str]]: + return pulumi.get(self, "src_lists") + + +@pulumi.output_type +class PreviewSigninPageWidgetCustomizations(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "widgetGeneration": + suggest = "widget_generation" + elif key == "authenticatorPageCustomLinkLabel": + suggest = "authenticator_page_custom_link_label" + elif key == "authenticatorPageCustomLinkUrl": + suggest = "authenticator_page_custom_link_url" + elif key == "classicRecoveryFlowEmailOrUsernameLabel": + suggest = "classic_recovery_flow_email_or_username_label" + elif key == "customLink1Label": + suggest = "custom_link1_label" + elif key == "customLink1Url": + suggest = "custom_link1_url" + elif key == "customLink2Label": + suggest = "custom_link2_label" + elif key == "customLink2Url": + suggest = "custom_link2_url" + elif key == "forgotPasswordLabel": + suggest = "forgot_password_label" + elif key == "forgotPasswordUrl": + suggest = "forgot_password_url" + elif key == "helpLabel": + suggest = "help_label" + elif key == "helpUrl": + suggest = "help_url" + elif key == "passwordInfoTip": + suggest = "password_info_tip" + elif key == "passwordLabel": + suggest = "password_label" + elif key == "showPasswordVisibilityToggle": + suggest = "show_password_visibility_toggle" + elif key == "showUserIdentifier": + suggest = "show_user_identifier" + elif key == "signInLabel": + suggest = "sign_in_label" + elif key == "unlockAccountLabel": + suggest = "unlock_account_label" + elif key == "unlockAccountUrl": + suggest = "unlock_account_url" + elif key == "usernameInfoTip": + suggest = "username_info_tip" + elif key == "usernameLabel": + suggest = "username_label" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PreviewSigninPageWidgetCustomizations. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PreviewSigninPageWidgetCustomizations.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PreviewSigninPageWidgetCustomizations.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + widget_generation: _builtins.str, + authenticator_page_custom_link_label: Optional[_builtins.str] = None, + authenticator_page_custom_link_url: Optional[_builtins.str] = None, + classic_recovery_flow_email_or_username_label: Optional[_builtins.str] = None, + custom_link1_label: Optional[_builtins.str] = None, + custom_link1_url: Optional[_builtins.str] = None, + custom_link2_label: Optional[_builtins.str] = None, + custom_link2_url: Optional[_builtins.str] = None, + forgot_password_label: Optional[_builtins.str] = None, + forgot_password_url: Optional[_builtins.str] = None, + help_label: Optional[_builtins.str] = None, + help_url: Optional[_builtins.str] = None, + password_info_tip: Optional[_builtins.str] = None, + password_label: Optional[_builtins.str] = None, + show_password_visibility_toggle: Optional[_builtins.bool] = None, + show_user_identifier: Optional[_builtins.bool] = None, + sign_in_label: Optional[_builtins.str] = None, + unlock_account_label: Optional[_builtins.str] = None, + unlock_account_url: Optional[_builtins.str] = None, + username_info_tip: Optional[_builtins.str] = None, + username_label: Optional[_builtins.str] = None): + pulumi.set(__self__, "widget_generation", widget_generation) + if authenticator_page_custom_link_label is not None: + pulumi.set(__self__, "authenticator_page_custom_link_label", authenticator_page_custom_link_label) + if authenticator_page_custom_link_url is not None: + pulumi.set(__self__, "authenticator_page_custom_link_url", authenticator_page_custom_link_url) + if classic_recovery_flow_email_or_username_label is not None: + pulumi.set(__self__, "classic_recovery_flow_email_or_username_label", classic_recovery_flow_email_or_username_label) + if custom_link1_label is not None: + pulumi.set(__self__, "custom_link1_label", custom_link1_label) + if custom_link1_url is not None: + pulumi.set(__self__, "custom_link1_url", custom_link1_url) + if custom_link2_label is not None: + pulumi.set(__self__, "custom_link2_label", custom_link2_label) + if custom_link2_url is not None: + pulumi.set(__self__, "custom_link2_url", custom_link2_url) + if forgot_password_label is not None: + pulumi.set(__self__, "forgot_password_label", forgot_password_label) + if forgot_password_url is not None: + pulumi.set(__self__, "forgot_password_url", forgot_password_url) + if help_label is not None: + pulumi.set(__self__, "help_label", help_label) + if help_url is not None: + pulumi.set(__self__, "help_url", help_url) + if password_info_tip is not None: + pulumi.set(__self__, "password_info_tip", password_info_tip) + if password_label is not None: + pulumi.set(__self__, "password_label", password_label) + if show_password_visibility_toggle is not None: + pulumi.set(__self__, "show_password_visibility_toggle", show_password_visibility_toggle) + if show_user_identifier is not None: + pulumi.set(__self__, "show_user_identifier", show_user_identifier) + if sign_in_label is not None: + pulumi.set(__self__, "sign_in_label", sign_in_label) + if unlock_account_label is not None: + pulumi.set(__self__, "unlock_account_label", unlock_account_label) + if unlock_account_url is not None: + pulumi.set(__self__, "unlock_account_url", unlock_account_url) + if username_info_tip is not None: + pulumi.set(__self__, "username_info_tip", username_info_tip) + if username_label is not None: + pulumi.set(__self__, "username_label", username_label) + + @_builtins.property + @pulumi.getter(name="widgetGeneration") + def widget_generation(self) -> _builtins.str: + return pulumi.get(self, "widget_generation") + + @_builtins.property + @pulumi.getter(name="authenticatorPageCustomLinkLabel") + def authenticator_page_custom_link_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "authenticator_page_custom_link_label") + + @_builtins.property + @pulumi.getter(name="authenticatorPageCustomLinkUrl") + def authenticator_page_custom_link_url(self) -> Optional[_builtins.str]: + return pulumi.get(self, "authenticator_page_custom_link_url") + + @_builtins.property + @pulumi.getter(name="classicRecoveryFlowEmailOrUsernameLabel") + def classic_recovery_flow_email_or_username_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "classic_recovery_flow_email_or_username_label") + + @_builtins.property + @pulumi.getter(name="customLink1Label") + def custom_link1_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "custom_link1_label") + + @_builtins.property + @pulumi.getter(name="customLink1Url") + def custom_link1_url(self) -> Optional[_builtins.str]: + return pulumi.get(self, "custom_link1_url") + + @_builtins.property + @pulumi.getter(name="customLink2Label") + def custom_link2_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "custom_link2_label") + + @_builtins.property + @pulumi.getter(name="customLink2Url") + def custom_link2_url(self) -> Optional[_builtins.str]: + return pulumi.get(self, "custom_link2_url") + + @_builtins.property + @pulumi.getter(name="forgotPasswordLabel") + def forgot_password_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "forgot_password_label") + + @_builtins.property + @pulumi.getter(name="forgotPasswordUrl") + def forgot_password_url(self) -> Optional[_builtins.str]: + return pulumi.get(self, "forgot_password_url") + + @_builtins.property + @pulumi.getter(name="helpLabel") + def help_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "help_label") + + @_builtins.property + @pulumi.getter(name="helpUrl") + def help_url(self) -> Optional[_builtins.str]: + return pulumi.get(self, "help_url") + + @_builtins.property + @pulumi.getter(name="passwordInfoTip") + def password_info_tip(self) -> Optional[_builtins.str]: + return pulumi.get(self, "password_info_tip") + + @_builtins.property + @pulumi.getter(name="passwordLabel") + def password_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "password_label") + + @_builtins.property + @pulumi.getter(name="showPasswordVisibilityToggle") + def show_password_visibility_toggle(self) -> Optional[_builtins.bool]: + return pulumi.get(self, "show_password_visibility_toggle") + + @_builtins.property + @pulumi.getter(name="showUserIdentifier") + def show_user_identifier(self) -> Optional[_builtins.bool]: + return pulumi.get(self, "show_user_identifier") + + @_builtins.property + @pulumi.getter(name="signInLabel") + def sign_in_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "sign_in_label") + + @_builtins.property + @pulumi.getter(name="unlockAccountLabel") + def unlock_account_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "unlock_account_label") + + @_builtins.property + @pulumi.getter(name="unlockAccountUrl") + def unlock_account_url(self) -> Optional[_builtins.str]: + return pulumi.get(self, "unlock_account_url") + + @_builtins.property + @pulumi.getter(name="usernameInfoTip") + def username_info_tip(self) -> Optional[_builtins.str]: + return pulumi.get(self, "username_info_tip") + + @_builtins.property + @pulumi.getter(name="usernameLabel") + def username_label(self) -> Optional[_builtins.str]: + return pulumi.get(self, "username_label") + + +@pulumi.output_type +class PushGroupAppConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "distinguishedName": + suggest = "distinguished_name" + elif key == "groupScope": + suggest = "group_scope" + elif key == "groupType": + suggest = "group_type" + elif key == "samAccountName": + suggest = "sam_account_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PushGroupAppConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PushGroupAppConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PushGroupAppConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + distinguished_name: _builtins.str, + group_scope: _builtins.str, + group_type: _builtins.str, + sam_account_name: _builtins.str, + type: _builtins.str): + pulumi.set(__self__, "distinguished_name", distinguished_name) + pulumi.set(__self__, "group_scope", group_scope) + pulumi.set(__self__, "group_type", group_type) + pulumi.set(__self__, "sam_account_name", sam_account_name) + pulumi.set(__self__, "type", type) + + @_builtins.property + @pulumi.getter(name="distinguishedName") + def distinguished_name(self) -> _builtins.str: + return pulumi.get(self, "distinguished_name") + + @_builtins.property + @pulumi.getter(name="groupScope") + def group_scope(self) -> _builtins.str: + return pulumi.get(self, "group_scope") + + @_builtins.property + @pulumi.getter(name="groupType") + def group_type(self) -> _builtins.str: + return pulumi.get(self, "group_type") + + @_builtins.property + @pulumi.getter(name="samAccountName") + def sam_account_name(self) -> _builtins.str: + return pulumi.get(self, "sam_account_name") + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + return pulumi.get(self, "type") + + +@pulumi.output_type +class PushProviderConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "apnsConfiguration": + suggest = "apns_configuration" + elif key == "fcmConfiguration": + suggest = "fcm_configuration" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PushProviderConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PushProviderConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PushProviderConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + apns_configuration: Optional['outputs.PushProviderConfigurationApnsConfiguration'] = None, + fcm_configuration: Optional['outputs.PushProviderConfigurationFcmConfiguration'] = None): + if apns_configuration is not None: + pulumi.set(__self__, "apns_configuration", apns_configuration) + if fcm_configuration is not None: + pulumi.set(__self__, "fcm_configuration", fcm_configuration) + + @_builtins.property + @pulumi.getter(name="apnsConfiguration") + def apns_configuration(self) -> Optional['outputs.PushProviderConfigurationApnsConfiguration']: + return pulumi.get(self, "apns_configuration") + + @_builtins.property + @pulumi.getter(name="fcmConfiguration") + def fcm_configuration(self) -> Optional['outputs.PushProviderConfigurationFcmConfiguration']: + return pulumi.get(self, "fcm_configuration") + + +@pulumi.output_type +class PushProviderConfigurationApnsConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "fileName": + suggest = "file_name" + elif key == "keyId": + suggest = "key_id" + elif key == "teamId": + suggest = "team_id" + elif key == "tokenSigningKey": + suggest = "token_signing_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PushProviderConfigurationApnsConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PushProviderConfigurationApnsConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PushProviderConfigurationApnsConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + file_name: Optional[_builtins.str] = None, + key_id: Optional[_builtins.str] = None, + team_id: Optional[_builtins.str] = None, + token_signing_key: Optional[_builtins.str] = None): + """ + :param _builtins.str file_name: File name for Admin Console display. + :param _builtins.str key_id: 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + :param _builtins.str team_id: 10-character Team ID used to develop the iOS app. Required for APNS provider type. + :param _builtins.str token_signing_key: APNs private authentication token signing key. Required for APNS provider type. + """ + if file_name is not None: + pulumi.set(__self__, "file_name", file_name) + if key_id is not None: + pulumi.set(__self__, "key_id", key_id) + if team_id is not None: + pulumi.set(__self__, "team_id", team_id) + if token_signing_key is not None: + pulumi.set(__self__, "token_signing_key", token_signing_key) + + @_builtins.property + @pulumi.getter(name="fileName") + def file_name(self) -> Optional[_builtins.str]: + """ + File name for Admin Console display. + """ + return pulumi.get(self, "file_name") + + @_builtins.property + @pulumi.getter(name="keyId") + def key_id(self) -> Optional[_builtins.str]: + """ + 10-character Key ID obtained from the Apple developer account. Required for APNS provider type. + """ + return pulumi.get(self, "key_id") + + @_builtins.property + @pulumi.getter(name="teamId") + def team_id(self) -> Optional[_builtins.str]: + """ + 10-character Team ID used to develop the iOS app. Required for APNS provider type. + """ + return pulumi.get(self, "team_id") + + @_builtins.property + @pulumi.getter(name="tokenSigningKey") + def token_signing_key(self) -> Optional[_builtins.str]: + """ + APNs private authentication token signing key. Required for APNS provider type. + """ + return pulumi.get(self, "token_signing_key") + + +@pulumi.output_type +class PushProviderConfigurationFcmConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "serviceAccountJson": + suggest = "service_account_json" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in PushProviderConfigurationFcmConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PushProviderConfigurationFcmConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PushProviderConfigurationFcmConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + service_account_json: Optional['outputs.PushProviderConfigurationFcmConfigurationServiceAccountJson'] = None): + """ + :param 'PushProviderConfigurationFcmConfigurationServiceAccountJsonArgs' service_account_json: JSON containing the private service account key and service account details. Required for FCM provider type. + """ + if service_account_json is not None: + pulumi.set(__self__, "service_account_json", service_account_json) + + @_builtins.property + @pulumi.getter(name="serviceAccountJson") + def service_account_json(self) -> Optional['outputs.PushProviderConfigurationFcmConfigurationServiceAccountJson']: + """ + JSON containing the private service account key and service account details. Required for FCM provider type. + """ + return pulumi.get(self, "service_account_json") @pulumi.output_type @@ -3347,279 +4440,709 @@ def __key_warning(key: str): suggest = "token_uri" if suggest: - pulumi.log.warn(f"Key '{key}' not found in PushProviderConfigurationFcmConfigurationServiceAccountJson. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in PushProviderConfigurationFcmConfigurationServiceAccountJson. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + PushProviderConfigurationFcmConfigurationServiceAccountJson.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + PushProviderConfigurationFcmConfigurationServiceAccountJson.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + auth_provider_x509_cert_url: Optional[_builtins.str] = None, + auth_uri: Optional[_builtins.str] = None, + client_email: Optional[_builtins.str] = None, + client_id: Optional[_builtins.str] = None, + client_x509_cert_url: Optional[_builtins.str] = None, + file_name: Optional[_builtins.str] = None, + private_key: Optional[_builtins.str] = None, + private_key_id: Optional[_builtins.str] = None, + project_id: Optional[_builtins.str] = None, + token_uri: Optional[_builtins.str] = None, + type: Optional[_builtins.str] = None): + """ + :param _builtins.str auth_provider_x509_cert_url: The auth provider x509 cert URL. + :param _builtins.str auth_uri: The auth URI. + :param _builtins.str client_email: The client email. + :param _builtins.str client_id: The client ID. + :param _builtins.str client_x509_cert_url: The client x509 cert URL. + :param _builtins.str file_name: File name for Admin Console display. + :param _builtins.str private_key: The private key. + :param _builtins.str private_key_id: The private key ID. + :param _builtins.str project_id: The project ID. + :param _builtins.str token_uri: The token URI. + :param _builtins.str type: The type of the service account. + """ + if auth_provider_x509_cert_url is not None: + pulumi.set(__self__, "auth_provider_x509_cert_url", auth_provider_x509_cert_url) + if auth_uri is not None: + pulumi.set(__self__, "auth_uri", auth_uri) + if client_email is not None: + pulumi.set(__self__, "client_email", client_email) + if client_id is not None: + pulumi.set(__self__, "client_id", client_id) + if client_x509_cert_url is not None: + pulumi.set(__self__, "client_x509_cert_url", client_x509_cert_url) + if file_name is not None: + pulumi.set(__self__, "file_name", file_name) + if private_key is not None: + pulumi.set(__self__, "private_key", private_key) + if private_key_id is not None: + pulumi.set(__self__, "private_key_id", private_key_id) + if project_id is not None: + pulumi.set(__self__, "project_id", project_id) + if token_uri is not None: + pulumi.set(__self__, "token_uri", token_uri) + if type is not None: + pulumi.set(__self__, "type", type) + + @_builtins.property + @pulumi.getter(name="authProviderX509CertUrl") + def auth_provider_x509_cert_url(self) -> Optional[_builtins.str]: + """ + The auth provider x509 cert URL. + """ + return pulumi.get(self, "auth_provider_x509_cert_url") + + @_builtins.property + @pulumi.getter(name="authUri") + def auth_uri(self) -> Optional[_builtins.str]: + """ + The auth URI. + """ + return pulumi.get(self, "auth_uri") + + @_builtins.property + @pulumi.getter(name="clientEmail") + def client_email(self) -> Optional[_builtins.str]: + """ + The client email. + """ + return pulumi.get(self, "client_email") + + @_builtins.property + @pulumi.getter(name="clientId") + def client_id(self) -> Optional[_builtins.str]: + """ + The client ID. + """ + return pulumi.get(self, "client_id") + + @_builtins.property + @pulumi.getter(name="clientX509CertUrl") + def client_x509_cert_url(self) -> Optional[_builtins.str]: + """ + The client x509 cert URL. + """ + return pulumi.get(self, "client_x509_cert_url") + + @_builtins.property + @pulumi.getter(name="fileName") + def file_name(self) -> Optional[_builtins.str]: + """ + File name for Admin Console display. + """ + return pulumi.get(self, "file_name") + + @_builtins.property + @pulumi.getter(name="privateKey") + def private_key(self) -> Optional[_builtins.str]: + """ + The private key. + """ + return pulumi.get(self, "private_key") + + @_builtins.property + @pulumi.getter(name="privateKeyId") + def private_key_id(self) -> Optional[_builtins.str]: + """ + The private key ID. + """ + return pulumi.get(self, "private_key_id") + + @_builtins.property + @pulumi.getter(name="projectId") + def project_id(self) -> Optional[_builtins.str]: + """ + The project ID. + """ + return pulumi.get(self, "project_id") + + @_builtins.property + @pulumi.getter(name="tokenUri") + def token_uri(self) -> Optional[_builtins.str]: + """ + The token URI. + """ + return pulumi.get(self, "token_uri") + + @_builtins.property + @pulumi.getter + def type(self) -> Optional[_builtins.str]: + """ + The type of the service account. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class RateLimitingUseCaseModeOverrides(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "loginPage": + suggest = "login_page" + elif key == "oauth2Authorize": + suggest = "oauth2_authorize" + elif key == "oieAppIntent": + suggest = "oie_app_intent" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RateLimitingUseCaseModeOverrides. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - PushProviderConfigurationFcmConfigurationServiceAccountJson.__key_warning(key) + RateLimitingUseCaseModeOverrides.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - PushProviderConfigurationFcmConfigurationServiceAccountJson.__key_warning(key) + RateLimitingUseCaseModeOverrides.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - auth_provider_x509_cert_url: Optional[_builtins.str] = None, - auth_uri: Optional[_builtins.str] = None, - client_email: Optional[_builtins.str] = None, - client_id: Optional[_builtins.str] = None, - client_x509_cert_url: Optional[_builtins.str] = None, - file_name: Optional[_builtins.str] = None, - private_key: Optional[_builtins.str] = None, - private_key_id: Optional[_builtins.str] = None, - project_id: Optional[_builtins.str] = None, - token_uri: Optional[_builtins.str] = None, + login_page: Optional[_builtins.str] = None, + oauth2_authorize: Optional[_builtins.str] = None, + oie_app_intent: Optional[_builtins.str] = None): + """ + :param _builtins.str login_page: Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + :param _builtins.str oauth2_authorize: Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + :param _builtins.str oie_app_intent: Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + if login_page is not None: + pulumi.set(__self__, "login_page", login_page) + if oauth2_authorize is not None: + pulumi.set(__self__, "oauth2_authorize", oauth2_authorize) + if oie_app_intent is not None: + pulumi.set(__self__, "oie_app_intent", oie_app_intent) + + @_builtins.property + @pulumi.getter(name="loginPage") + def login_page(self) -> Optional[_builtins.str]: + """ + Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + return pulumi.get(self, "login_page") + + @_builtins.property + @pulumi.getter(name="oauth2Authorize") + def oauth2_authorize(self) -> Optional[_builtins.str]: + """ + Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + return pulumi.get(self, "oauth2_authorize") + + @_builtins.property + @pulumi.getter(name="oieAppIntent") + def oie_app_intent(self) -> Optional[_builtins.str]: + """ + Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + """ + return pulumi.get(self, "oie_app_intent") + + +@pulumi.output_type +class RequestConditionAccessDurationSettings(dict): + def __init__(__self__, *, + duration: Optional[_builtins.str] = None, type: Optional[_builtins.str] = None): """ - :param _builtins.str auth_provider_x509_cert_url: The auth provider x509 cert URL. - :param _builtins.str auth_uri: The auth URI. - :param _builtins.str client_email: The client email. - :param _builtins.str client_id: The client ID. - :param _builtins.str client_x509_cert_url: The client x509 cert URL. - :param _builtins.str file_name: File name for Admin Console display. - :param _builtins.str private_key: The private key. - :param _builtins.str private_key_id: The private key ID. - :param _builtins.str project_id: The project ID. - :param _builtins.str token_uri: The token URI. - :param _builtins.str type: The type of the service account. + :param _builtins.str duration: The duration set by the admin for access durations. Use ISO8061 notation for duration values. """ - if auth_provider_x509_cert_url is not None: - pulumi.set(__self__, "auth_provider_x509_cert_url", auth_provider_x509_cert_url) - if auth_uri is not None: - pulumi.set(__self__, "auth_uri", auth_uri) - if client_email is not None: - pulumi.set(__self__, "client_email", client_email) - if client_id is not None: - pulumi.set(__self__, "client_id", client_id) - if client_x509_cert_url is not None: - pulumi.set(__self__, "client_x509_cert_url", client_x509_cert_url) - if file_name is not None: - pulumi.set(__self__, "file_name", file_name) - if private_key is not None: - pulumi.set(__self__, "private_key", private_key) - if private_key_id is not None: - pulumi.set(__self__, "private_key_id", private_key_id) - if project_id is not None: - pulumi.set(__self__, "project_id", project_id) - if token_uri is not None: - pulumi.set(__self__, "token_uri", token_uri) + if duration is not None: + pulumi.set(__self__, "duration", duration) if type is not None: pulumi.set(__self__, "type", type) @_builtins.property - @pulumi.getter(name="authProviderX509CertUrl") - def auth_provider_x509_cert_url(self) -> Optional[_builtins.str]: + @pulumi.getter + def duration(self) -> Optional[_builtins.str]: + """ + The duration set by the admin for access durations. Use ISO8061 notation for duration values. + """ + return pulumi.get(self, "duration") + + @_builtins.property + @pulumi.getter + def type(self) -> Optional[_builtins.str]: + return pulumi.get(self, "type") + + +@pulumi.output_type +class RequestConditionAccessScopeSettings(dict): + def __init__(__self__, *, + type: _builtins.str, + ids: Optional[Sequence['outputs.RequestConditionAccessScopeSettingsId']] = None): + """ + :param Sequence['RequestConditionAccessScopeSettingsIdArgs'] ids: Block list of groups/entitlement bundles ids. + """ + pulumi.set(__self__, "type", type) + if ids is not None: + pulumi.set(__self__, "ids", ids) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def ids(self) -> Optional[Sequence['outputs.RequestConditionAccessScopeSettingsId']]: + """ + Block list of groups/entitlement bundles ids. + """ + return pulumi.get(self, "ids") + + +@pulumi.output_type +class RequestConditionAccessScopeSettingsId(dict): + def __init__(__self__, *, + id: Optional[_builtins.str] = None): + """ + :param _builtins.str id: Request condition id. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @_builtins.property + @pulumi.getter + def id(self) -> Optional[_builtins.str]: + """ + Request condition id. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class RequestConditionRequesterSettings(dict): + def __init__(__self__, *, + type: _builtins.str, + ids: Optional[Sequence['outputs.RequestConditionRequesterSettingsId']] = None): + """ + :param Sequence['RequestConditionRequesterSettingsIdArgs'] ids: Block list of teams/groups ids. + """ + pulumi.set(__self__, "type", type) + if ids is not None: + pulumi.set(__self__, "ids", ids) + + @_builtins.property + @pulumi.getter + def type(self) -> _builtins.str: + return pulumi.get(self, "type") + + @_builtins.property + @pulumi.getter + def ids(self) -> Optional[Sequence['outputs.RequestConditionRequesterSettingsId']]: + """ + Block list of teams/groups ids. + """ + return pulumi.get(self, "ids") + + +@pulumi.output_type +class RequestConditionRequesterSettingsId(dict): + def __init__(__self__, *, + id: Optional[_builtins.str] = None): + """ + :param _builtins.str id: Request condition id. + """ + if id is not None: + pulumi.set(__self__, "id", id) + + @_builtins.property + @pulumi.getter + def id(self) -> Optional[_builtins.str]: + """ + Request condition id. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class RequestSettingResourceRequestOnBehalfOfSettings(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "onlyFors": + suggest = "only_fors" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RequestSettingResourceRequestOnBehalfOfSettings. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RequestSettingResourceRequestOnBehalfOfSettings.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RequestSettingResourceRequestOnBehalfOfSettings.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + allowed: Optional[_builtins.bool] = None, + only_fors: Optional[Sequence['outputs.RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor']] = None): + """ + :param _builtins.bool allowed: Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. + :param Sequence['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs'] only_fors: Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. + """ + if allowed is not None: + pulumi.set(__self__, "allowed", allowed) + if only_fors is not None: + pulumi.set(__self__, "only_fors", only_fors) + + @_builtins.property + @pulumi.getter + def allowed(self) -> Optional[_builtins.bool]: + """ + Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. + """ + return pulumi.get(self, "allowed") + + @_builtins.property + @pulumi.getter(name="onlyFors") + def only_fors(self) -> Optional[Sequence['outputs.RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor']]: """ - The auth provider x509 cert URL. + Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. """ - return pulumi.get(self, "auth_provider_x509_cert_url") + return pulumi.get(self, "only_fors") - @_builtins.property - @pulumi.getter(name="authUri") - def auth_uri(self) -> Optional[_builtins.str]: + +@pulumi.output_type +class RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor(dict): + def __init__(__self__, *, + type: Optional[_builtins.str] = None): """ - The auth URI. + :param _builtins.str type: Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user """ - return pulumi.get(self, "auth_uri") + if type is not None: + pulumi.set(__self__, "type", type) @_builtins.property - @pulumi.getter(name="clientEmail") - def client_email(self) -> Optional[_builtins.str]: + @pulumi.getter + def type(self) -> Optional[_builtins.str]: """ - The client email. + Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user """ - return pulumi.get(self, "client_email") + return pulumi.get(self, "type") - @_builtins.property - @pulumi.getter(name="clientId") - def client_id(self) -> Optional[_builtins.str]: + +@pulumi.output_type +class RequestSettingResourceRiskSettings(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "defaultSetting": + suggest = "default_setting" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RequestSettingResourceRiskSettings. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RequestSettingResourceRiskSettings.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RequestSettingResourceRiskSettings.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + default_setting: Optional['outputs.RequestSettingResourceRiskSettingsDefaultSetting'] = None): """ - The client ID. + :param 'RequestSettingResourceRiskSettingsDefaultSettingArgs' default_setting: Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. """ - return pulumi.get(self, "client_id") + if default_setting is not None: + pulumi.set(__self__, "default_setting", default_setting) @_builtins.property - @pulumi.getter(name="clientX509CertUrl") - def client_x509_cert_url(self) -> Optional[_builtins.str]: + @pulumi.getter(name="defaultSetting") + def default_setting(self) -> Optional['outputs.RequestSettingResourceRiskSettingsDefaultSetting']: """ - The client x509 cert URL. + Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. """ - return pulumi.get(self, "client_x509_cert_url") + return pulumi.get(self, "default_setting") - @_builtins.property - @pulumi.getter(name="fileName") - def file_name(self) -> Optional[_builtins.str]: + +@pulumi.output_type +class RequestSettingResourceRiskSettingsDefaultSetting(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "accessDurationSettings": + suggest = "access_duration_settings" + elif key == "approvalSequenceId": + suggest = "approval_sequence_id" + elif key == "requestSubmissionType": + suggest = "request_submission_type" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RequestSettingResourceRiskSettingsDefaultSetting. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RequestSettingResourceRiskSettingsDefaultSetting.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RequestSettingResourceRiskSettingsDefaultSetting.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + access_duration_settings: Optional['outputs.RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings'] = None, + approval_sequence_id: Optional[_builtins.str] = None, + errors: Optional[Sequence[_builtins.str]] = None, + request_submission_type: Optional[_builtins.str] = None): """ - File name for Admin Console display. + :param 'RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs' access_duration_settings: Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. + :param _builtins.str approval_sequence_id: The ID of the approval sequence. """ - return pulumi.get(self, "file_name") + if access_duration_settings is not None: + pulumi.set(__self__, "access_duration_settings", access_duration_settings) + if approval_sequence_id is not None: + pulumi.set(__self__, "approval_sequence_id", approval_sequence_id) + if errors is not None: + pulumi.set(__self__, "errors", errors) + if request_submission_type is not None: + pulumi.set(__self__, "request_submission_type", request_submission_type) @_builtins.property - @pulumi.getter(name="privateKey") - def private_key(self) -> Optional[_builtins.str]: + @pulumi.getter(name="accessDurationSettings") + def access_duration_settings(self) -> Optional['outputs.RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings']: """ - The private key. + Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. """ - return pulumi.get(self, "private_key") + return pulumi.get(self, "access_duration_settings") @_builtins.property - @pulumi.getter(name="privateKeyId") - def private_key_id(self) -> Optional[_builtins.str]: + @pulumi.getter(name="approvalSequenceId") + def approval_sequence_id(self) -> Optional[_builtins.str]: """ - The private key ID. + The ID of the approval sequence. """ - return pulumi.get(self, "private_key_id") + return pulumi.get(self, "approval_sequence_id") @_builtins.property - @pulumi.getter(name="projectId") - def project_id(self) -> Optional[_builtins.str]: + @pulumi.getter + def errors(self) -> Optional[Sequence[_builtins.str]]: + return pulumi.get(self, "errors") + + @_builtins.property + @pulumi.getter(name="requestSubmissionType") + def request_submission_type(self) -> Optional[_builtins.str]: + return pulumi.get(self, "request_submission_type") + + +@pulumi.output_type +class RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings(dict): + def __init__(__self__, *, + duration: Optional[_builtins.str] = None, + type: Optional[_builtins.str] = None): """ - The project ID. + :param _builtins.str duration: The duration set by the admin for access durations. Use ISO8061 notation for duration values. + :param _builtins.str type: Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. """ - return pulumi.get(self, "project_id") + if duration is not None: + pulumi.set(__self__, "duration", duration) + if type is not None: + pulumi.set(__self__, "type", type) @_builtins.property - @pulumi.getter(name="tokenUri") - def token_uri(self) -> Optional[_builtins.str]: + @pulumi.getter + def duration(self) -> Optional[_builtins.str]: """ - The token URI. + The duration set by the admin for access durations. Use ISO8061 notation for duration values. """ - return pulumi.get(self, "token_uri") + return pulumi.get(self, "duration") @_builtins.property @pulumi.getter def type(self) -> Optional[_builtins.str]: """ - The type of the service account. + Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. """ return pulumi.get(self, "type") @pulumi.output_type -class RateLimitingUseCaseModeOverrides(dict): +class RequestV2Requested(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "loginPage": - suggest = "login_page" - elif key == "oauth2Authorize": - suggest = "oauth2_authorize" - elif key == "oieAppIntent": - suggest = "oie_app_intent" + if key == "entryId": + suggest = "entry_id" + elif key == "accessScopeId": + suggest = "access_scope_id" + elif key == "accessScopeType": + suggest = "access_scope_type" + elif key == "resourceId": + suggest = "resource_id" + elif key == "resourceType": + suggest = "resource_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in RateLimitingUseCaseModeOverrides. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in RequestV2Requested. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - RateLimitingUseCaseModeOverrides.__key_warning(key) + RequestV2Requested.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - RateLimitingUseCaseModeOverrides.__key_warning(key) + RequestV2Requested.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - login_page: Optional[_builtins.str] = None, - oauth2_authorize: Optional[_builtins.str] = None, - oie_app_intent: Optional[_builtins.str] = None): + entry_id: _builtins.str, + type: _builtins.str, + access_scope_id: Optional[_builtins.str] = None, + access_scope_type: Optional[_builtins.str] = None, + resource_id: Optional[_builtins.str] = None, + resource_type: Optional[_builtins.str] = None): """ - :param _builtins.str login_page: Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - :param _builtins.str oauth2_authorize: Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. - :param _builtins.str oie_app_intent: Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + :param _builtins.str entry_id: The ID of the resource catalog entry. + :param _builtins.str type: The type of the resource. + :param _builtins.str access_scope_id: The ID of the access scope associated with the resource. + :param _builtins.str access_scope_type: The access scope type. + :param _builtins.str resource_id: The ID of the requested resource. + :param _builtins.str resource_type: The requested resource type. """ - if login_page is not None: - pulumi.set(__self__, "login_page", login_page) - if oauth2_authorize is not None: - pulumi.set(__self__, "oauth2_authorize", oauth2_authorize) - if oie_app_intent is not None: - pulumi.set(__self__, "oie_app_intent", oie_app_intent) + pulumi.set(__self__, "entry_id", entry_id) + pulumi.set(__self__, "type", type) + if access_scope_id is not None: + pulumi.set(__self__, "access_scope_id", access_scope_id) + if access_scope_type is not None: + pulumi.set(__self__, "access_scope_type", access_scope_type) + if resource_id is not None: + pulumi.set(__self__, "resource_id", resource_id) + if resource_type is not None: + pulumi.set(__self__, "resource_type", resource_type) @_builtins.property - @pulumi.getter(name="loginPage") - def login_page(self) -> Optional[_builtins.str]: + @pulumi.getter(name="entryId") + def entry_id(self) -> _builtins.str: """ - Rate limit mode for the Okta hosted login page. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + The ID of the resource catalog entry. """ - return pulumi.get(self, "login_page") + return pulumi.get(self, "entry_id") @_builtins.property - @pulumi.getter(name="oauth2Authorize") - def oauth2_authorize(self) -> Optional[_builtins.str]: + @pulumi.getter + def type(self) -> _builtins.str: """ - Rate limit mode for OAuth2 authorization requests. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + The type of the resource. """ - return pulumi.get(self, "oauth2_authorize") + return pulumi.get(self, "type") @_builtins.property - @pulumi.getter(name="oieAppIntent") - def oie_app_intent(self) -> Optional[_builtins.str]: + @pulumi.getter(name="accessScopeId") + def access_scope_id(self) -> Optional[_builtins.str]: """ - Rate limit mode for OIE app intent. Valid values: `ENFORCE`, `DISABLE`, `PREVIEW`. + The ID of the access scope associated with the resource. """ - return pulumi.get(self, "oie_app_intent") - + return pulumi.get(self, "access_scope_id") -@pulumi.output_type -class RequestConditionAccessDurationSettings(dict): - def __init__(__self__, *, - duration: Optional[_builtins.str] = None, - type: Optional[_builtins.str] = None): - """ - :param _builtins.str duration: The duration set by the admin for access durations. Use ISO8061 notation for duration values. + @_builtins.property + @pulumi.getter(name="accessScopeType") + def access_scope_type(self) -> Optional[_builtins.str]: """ - if duration is not None: - pulumi.set(__self__, "duration", duration) - if type is not None: - pulumi.set(__self__, "type", type) + The access scope type. + """ + return pulumi.get(self, "access_scope_type") @_builtins.property - @pulumi.getter - def duration(self) -> Optional[_builtins.str]: + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[_builtins.str]: """ - The duration set by the admin for access durations. Use ISO8061 notation for duration values. + The ID of the requested resource. """ - return pulumi.get(self, "duration") + return pulumi.get(self, "resource_id") @_builtins.property - @pulumi.getter - def type(self) -> Optional[_builtins.str]: - return pulumi.get(self, "type") + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[_builtins.str]: + """ + The requested resource type. + """ + return pulumi.get(self, "resource_type") @pulumi.output_type -class RequestConditionAccessScopeSettings(dict): +class RequestV2RequestedFor(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalId": + suggest = "external_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in RequestV2RequestedFor. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + RequestV2RequestedFor.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + RequestV2RequestedFor.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, - type: _builtins.str, - ids: Optional[Sequence['outputs.RequestConditionAccessScopeSettingsId']] = None): + external_id: _builtins.str, + type: _builtins.str): """ - :param Sequence['RequestConditionAccessScopeSettingsIdArgs'] ids: Block list of groups/entitlement bundles ids. + :param _builtins.str external_id: The ID of the Okta user. + :param _builtins.str type: The type of principal. """ + pulumi.set(__self__, "external_id", external_id) pulumi.set(__self__, "type", type) - if ids is not None: - pulumi.set(__self__, "ids", ids) @_builtins.property - @pulumi.getter - def type(self) -> _builtins.str: - return pulumi.get(self, "type") + @pulumi.getter(name="externalId") + def external_id(self) -> _builtins.str: + """ + The ID of the Okta user. + """ + return pulumi.get(self, "external_id") @_builtins.property @pulumi.getter - def ids(self) -> Optional[Sequence['outputs.RequestConditionAccessScopeSettingsId']]: + def type(self) -> _builtins.str: """ - Block list of groups/entitlement bundles ids. + The type of principal. """ - return pulumi.get(self, "ids") + return pulumi.get(self, "type") @pulumi.output_type -class RequestConditionAccessScopeSettingsId(dict): +class RequestV2RequesterFieldValue(dict): def __init__(__self__, *, - id: Optional[_builtins.str] = None): + id: Optional[_builtins.str] = None, + label: Optional[_builtins.str] = None, + type: Optional[_builtins.str] = None, + value: Optional[_builtins.str] = None, + values: Optional[Sequence['outputs.RequestV2RequesterFieldValueValue']] = None): """ :param _builtins.str id: Request condition id. + :param _builtins.str label: A human-readable description of requester field. + :param _builtins.str type: Type of value for the requester field. + :param _builtins.str value: The value of requester field, which depends on the type of the field. + :param Sequence['RequestV2RequesterFieldValueValueArgs'] values: The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. """ if id is not None: pulumi.set(__self__, "id", id) + if label is not None: + pulumi.set(__self__, "label", label) + if type is not None: + pulumi.set(__self__, "type", type) + if value is not None: + pulumi.set(__self__, "value", value) + if values is not None: + pulumi.set(__self__, "values", values) @_builtins.property @pulumi.getter @@ -3629,1260 +5152,1234 @@ def id(self) -> Optional[_builtins.str]: """ return pulumi.get(self, "id") - -@pulumi.output_type -class RequestConditionRequesterSettings(dict): - def __init__(__self__, *, - type: _builtins.str, - ids: Optional[Sequence['outputs.RequestConditionRequesterSettingsId']] = None): + @_builtins.property + @pulumi.getter + def label(self) -> Optional[_builtins.str]: """ - :param Sequence['RequestConditionRequesterSettingsIdArgs'] ids: Block list of teams/groups ids. + A human-readable description of requester field. """ - pulumi.set(__self__, "type", type) - if ids is not None: - pulumi.set(__self__, "ids", ids) + return pulumi.get(self, "label") @_builtins.property @pulumi.getter - def type(self) -> _builtins.str: + def type(self) -> Optional[_builtins.str]: + """ + Type of value for the requester field. + """ return pulumi.get(self, "type") @_builtins.property @pulumi.getter - def ids(self) -> Optional[Sequence['outputs.RequestConditionRequesterSettingsId']]: + def value(self) -> Optional[_builtins.str]: """ - Block list of teams/groups ids. + The value of requester field, which depends on the type of the field. """ - return pulumi.get(self, "ids") + return pulumi.get(self, "value") + + @_builtins.property + @pulumi.getter + def values(self) -> Optional[Sequence['outputs.RequestV2RequesterFieldValueValue']]: + """ + The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. + """ + return pulumi.get(self, "values") @pulumi.output_type -class RequestConditionRequesterSettingsId(dict): +class RequestV2RequesterFieldValueValue(dict): def __init__(__self__, *, - id: Optional[_builtins.str] = None): - """ - :param _builtins.str id: Request condition id. - """ - if id is not None: - pulumi.set(__self__, "id", id) + value: Optional[_builtins.str] = None): + if value is not None: + pulumi.set(__self__, "value", value) @_builtins.property @pulumi.getter - def id(self) -> Optional[_builtins.str]: - """ - Request condition id. - """ - return pulumi.get(self, "id") + def value(self) -> Optional[_builtins.str]: + return pulumi.get(self, "value") @pulumi.output_type -class RequestSettingResourceRequestOnBehalfOfSettings(dict): +class SecurityEventsProviderSettings(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "onlyFors": - suggest = "only_fors" + if key == "jwksUrl": + suggest = "jwks_url" + elif key == "wellKnownUrl": + suggest = "well_known_url" if suggest: - pulumi.log.warn(f"Key '{key}' not found in RequestSettingResourceRequestOnBehalfOfSettings. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in SecurityEventsProviderSettings. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - RequestSettingResourceRequestOnBehalfOfSettings.__key_warning(key) + SecurityEventsProviderSettings.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - RequestSettingResourceRequestOnBehalfOfSettings.__key_warning(key) + SecurityEventsProviderSettings.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - allowed: Optional[_builtins.bool] = None, - only_fors: Optional[Sequence['outputs.RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor']] = None): + issuer: Optional[_builtins.str] = None, + jwks_url: Optional[_builtins.str] = None, + well_known_url: Optional[_builtins.str] = None): """ - :param _builtins.bool allowed: Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. - :param Sequence['RequestSettingResourceRequestOnBehalfOfSettingsOnlyForArgs'] only_fors: Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. + :param _builtins.str issuer: Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. + :param _builtins.str jwks_url: The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. + :param _builtins.str well_known_url: The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. """ - if allowed is not None: - pulumi.set(__self__, "allowed", allowed) - if only_fors is not None: - pulumi.set(__self__, "only_fors", only_fors) + if issuer is not None: + pulumi.set(__self__, "issuer", issuer) + if jwks_url is not None: + pulumi.set(__self__, "jwks_url", jwks_url) + if well_known_url is not None: + pulumi.set(__self__, "well_known_url", well_known_url) @_builtins.property @pulumi.getter - def allowed(self) -> Optional[_builtins.bool]: + def issuer(self) -> Optional[_builtins.str]: """ - Indicates that users who can request this resource could also request for another requester of the same resource. This property can only be true. + Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. """ - return pulumi.get(self, "allowed") + return pulumi.get(self, "issuer") @_builtins.property - @pulumi.getter(name="onlyFors") - def only_fors(self) -> Optional[Sequence['outputs.RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor']]: + @pulumi.getter(name="jwksUrl") + def jwks_url(self) -> Optional[_builtins.str]: """ - Which requesters the resource requester can request on behalf of. Enum: `DIRECT_REPORT`. + The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. """ - return pulumi.get(self, "only_fors") + return pulumi.get(self, "jwks_url") + + @_builtins.property + @pulumi.getter(name="wellKnownUrl") + def well_known_url(self) -> Optional[_builtins.str]: + """ + The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. + """ + return pulumi.get(self, "well_known_url") @pulumi.output_type -class RequestSettingResourceRequestOnBehalfOfSettingsOnlyFor(dict): +class TemplateSmsTranslation(dict): def __init__(__self__, *, - type: Optional[_builtins.str] = None): + language: _builtins.str, + template: _builtins.str): """ - :param _builtins.str type: Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user + :param _builtins.str language: The language to map the template to. + :param _builtins.str template: The SMS message. """ - if type is not None: - pulumi.set(__self__, "type", type) + pulumi.set(__self__, "language", language) + pulumi.set(__self__, "template", template) @_builtins.property @pulumi.getter - def type(self) -> Optional[_builtins.str]: - """ - Which requesters the resource requester can request on behalf of. If onlyFor is not specified then any requester may request a resource on the behalf of any other user - """ - return pulumi.get(self, "type") - - -@pulumi.output_type -class RequestSettingResourceRiskSettings(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "defaultSetting": - suggest = "default_setting" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in RequestSettingResourceRiskSettings. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - RequestSettingResourceRiskSettings.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - RequestSettingResourceRiskSettings.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - default_setting: Optional['outputs.RequestSettingResourceRiskSettingsDefaultSetting'] = None): + def language(self) -> _builtins.str: """ - :param 'RequestSettingResourceRiskSettingsDefaultSettingArgs' default_setting: Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. + The language to map the template to. """ - if default_setting is not None: - pulumi.set(__self__, "default_setting", default_setting) + return pulumi.get(self, "language") @_builtins.property - @pulumi.getter(name="defaultSetting") - def default_setting(self) -> Optional['outputs.RequestSettingResourceRiskSettingsDefaultSetting']: + @pulumi.getter + def template(self) -> _builtins.str: """ - Default risk settings that are valid for an access request when a risk has been detected for the resource and requesting user. + The SMS message. """ - return pulumi.get(self, "default_setting") + return pulumi.get(self, "template") -@pulumi.output_type -class RequestSettingResourceRiskSettingsDefaultSetting(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "accessDurationSettings": - suggest = "access_duration_settings" - elif key == "approvalSequenceId": - suggest = "approval_sequence_id" - elif key == "requestSubmissionType": - suggest = "request_submission_type" +@pulumi.output_type +class UiSchemaUiSchema(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "buttonLabel": + suggest = "button_label" if suggest: - pulumi.log.warn(f"Key '{key}' not found in RequestSettingResourceRiskSettingsDefaultSetting. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in UiSchemaUiSchema. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - RequestSettingResourceRiskSettingsDefaultSetting.__key_warning(key) + UiSchemaUiSchema.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - RequestSettingResourceRiskSettingsDefaultSetting.__key_warning(key) + UiSchemaUiSchema.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - access_duration_settings: Optional['outputs.RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings'] = None, - approval_sequence_id: Optional[_builtins.str] = None, - errors: Optional[Sequence[_builtins.str]] = None, - request_submission_type: Optional[_builtins.str] = None): + button_label: Optional[_builtins.str] = None, + elements: Optional[Sequence['outputs.UiSchemaUiSchemaElement']] = None, + label: Optional[_builtins.str] = None, + type: Optional[_builtins.str] = None): """ - :param 'RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettingsArgs' access_duration_settings: Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. - :param _builtins.str approval_sequence_id: The ID of the approval sequence. + :param _builtins.str button_label: Specifies the button label for the Submit button at the bottom of the enrollment form. + :param _builtins.str label: Specifies the label at the top of the enrollment form under the logo. + :param _builtins.str type: Specifies the type of layout. """ - if access_duration_settings is not None: - pulumi.set(__self__, "access_duration_settings", access_duration_settings) - if approval_sequence_id is not None: - pulumi.set(__self__, "approval_sequence_id", approval_sequence_id) - if errors is not None: - pulumi.set(__self__, "errors", errors) - if request_submission_type is not None: - pulumi.set(__self__, "request_submission_type", request_submission_type) + if button_label is not None: + pulumi.set(__self__, "button_label", button_label) + if elements is not None: + pulumi.set(__self__, "elements", elements) + if label is not None: + pulumi.set(__self__, "label", label) + if type is not None: + pulumi.set(__self__, "type", type) @_builtins.property - @pulumi.getter(name="accessDurationSettings") - def access_duration_settings(self) -> Optional['outputs.RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings']: + @pulumi.getter(name="buttonLabel") + def button_label(self) -> Optional[_builtins.str]: """ - Settings that control who may specify the access duration allowed by this request condition or risk settings, as well as what duration may be requested. + Specifies the button label for the Submit button at the bottom of the enrollment form. """ - return pulumi.get(self, "access_duration_settings") + return pulumi.get(self, "button_label") @_builtins.property - @pulumi.getter(name="approvalSequenceId") - def approval_sequence_id(self) -> Optional[_builtins.str]: - """ - The ID of the approval sequence. - """ - return pulumi.get(self, "approval_sequence_id") + @pulumi.getter + def elements(self) -> Optional[Sequence['outputs.UiSchemaUiSchemaElement']]: + return pulumi.get(self, "elements") @_builtins.property @pulumi.getter - def errors(self) -> Optional[Sequence[_builtins.str]]: - return pulumi.get(self, "errors") + def label(self) -> Optional[_builtins.str]: + """ + Specifies the label at the top of the enrollment form under the logo. + """ + return pulumi.get(self, "label") @_builtins.property - @pulumi.getter(name="requestSubmissionType") - def request_submission_type(self) -> Optional[_builtins.str]: - return pulumi.get(self, "request_submission_type") + @pulumi.getter + def type(self) -> Optional[_builtins.str]: + """ + Specifies the type of layout. + """ + return pulumi.get(self, "type") @pulumi.output_type -class RequestSettingResourceRiskSettingsDefaultSettingAccessDurationSettings(dict): +class UiSchemaUiSchemaElement(dict): def __init__(__self__, *, - duration: Optional[_builtins.str] = None, + scope: _builtins.str, + label: Optional[_builtins.str] = None, + options: Optional['outputs.UiSchemaUiSchemaElementOptions'] = None, type: Optional[_builtins.str] = None): """ - :param _builtins.str duration: The duration set by the admin for access durations. Use ISO8061 notation for duration values. - :param _builtins.str type: Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. + :param _builtins.str scope: Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. + :param _builtins.str label: Label name for the UI element. + :param 'UiSchemaUiSchemaElementOptionsArgs' options: UI Schema element options object. + :param _builtins.str type: Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. """ - if duration is not None: - pulumi.set(__self__, "duration", duration) + pulumi.set(__self__, "scope", scope) + if label is not None: + pulumi.set(__self__, "label", label) + if options is not None: + pulumi.set(__self__, "options", options) if type is not None: pulumi.set(__self__, "type", type) @_builtins.property @pulumi.getter - def duration(self) -> Optional[_builtins.str]: + def scope(self) -> _builtins.str: """ - The duration set by the admin for access durations. Use ISO8061 notation for duration values. + Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. """ - return pulumi.get(self, "duration") + return pulumi.get(self, "scope") @_builtins.property @pulumi.getter - def type(self) -> Optional[_builtins.str]: - """ - Enum: `ADMIN_FIXED_DURATION`, `REQUESTER_SPECIFIED_DURATION`. - """ - return pulumi.get(self, "type") - - -@pulumi.output_type -class RequestV2Requested(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "entryId": - suggest = "entry_id" - elif key == "accessScopeId": - suggest = "access_scope_id" - elif key == "accessScopeType": - suggest = "access_scope_type" - elif key == "resourceId": - suggest = "resource_id" - elif key == "resourceType": - suggest = "resource_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in RequestV2Requested. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - RequestV2Requested.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - RequestV2Requested.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - entry_id: _builtins.str, - type: _builtins.str, - access_scope_id: Optional[_builtins.str] = None, - access_scope_type: Optional[_builtins.str] = None, - resource_id: Optional[_builtins.str] = None, - resource_type: Optional[_builtins.str] = None): + def label(self) -> Optional[_builtins.str]: """ - :param _builtins.str entry_id: The ID of the resource catalog entry. - :param _builtins.str type: The type of the resource. - :param _builtins.str access_scope_id: The ID of the access scope associated with the resource. - :param _builtins.str access_scope_type: The access scope type. - :param _builtins.str resource_id: The ID of the requested resource. - :param _builtins.str resource_type: The requested resource type. + Label name for the UI element. """ - pulumi.set(__self__, "entry_id", entry_id) - pulumi.set(__self__, "type", type) - if access_scope_id is not None: - pulumi.set(__self__, "access_scope_id", access_scope_id) - if access_scope_type is not None: - pulumi.set(__self__, "access_scope_type", access_scope_type) - if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) - if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + return pulumi.get(self, "label") @_builtins.property - @pulumi.getter(name="entryId") - def entry_id(self) -> _builtins.str: + @pulumi.getter + def options(self) -> Optional['outputs.UiSchemaUiSchemaElementOptions']: """ - The ID of the resource catalog entry. + UI Schema element options object. """ - return pulumi.get(self, "entry_id") + return pulumi.get(self, "options") @_builtins.property @pulumi.getter - def type(self) -> _builtins.str: + def type(self) -> Optional[_builtins.str]: """ - The type of the resource. + Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. """ return pulumi.get(self, "type") - @_builtins.property - @pulumi.getter(name="accessScopeId") - def access_scope_id(self) -> Optional[_builtins.str]: + +@pulumi.output_type +class UiSchemaUiSchemaElementOptions(dict): + def __init__(__self__, *, + format: Optional[_builtins.str] = None): """ - The ID of the access scope associated with the resource. + :param _builtins.str format: Specifies how the input appears. """ - return pulumi.get(self, "access_scope_id") + if format is not None: + pulumi.set(__self__, "format", format) @_builtins.property - @pulumi.getter(name="accessScopeType") - def access_scope_type(self) -> Optional[_builtins.str]: + @pulumi.getter + def format(self) -> Optional[_builtins.str]: """ - The access scope type. + Specifies how the input appears. """ - return pulumi.get(self, "access_scope_type") + return pulumi.get(self, "format") + + +@pulumi.output_type +class UserSchemaPropertyArrayOneOf(dict): + def __init__(__self__, *, + const: _builtins.str, + title: _builtins.str): + """ + :param _builtins.str const: Value mapping to member of `array_enum` + :param _builtins.str title: Display name for the enum value. + """ + pulumi.set(__self__, "const", const) + pulumi.set(__self__, "title", title) @_builtins.property - @pulumi.getter(name="resourceId") - def resource_id(self) -> Optional[_builtins.str]: + @pulumi.getter + def const(self) -> _builtins.str: """ - The ID of the requested resource. + Value mapping to member of `array_enum` """ - return pulumi.get(self, "resource_id") + return pulumi.get(self, "const") @_builtins.property - @pulumi.getter(name="resourceType") - def resource_type(self) -> Optional[_builtins.str]: + @pulumi.getter + def title(self) -> _builtins.str: """ - The requested resource type. + Display name for the enum value. """ - return pulumi.get(self, "resource_type") + return pulumi.get(self, "title") @pulumi.output_type -class RequestV2RequestedFor(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "externalId": - suggest = "external_id" +class UserSchemaPropertyMasterOverridePriority(dict): + def __init__(__self__, *, + value: _builtins.str, + type: Optional[_builtins.str] = None): + pulumi.set(__self__, "value", value) + if type is not None: + pulumi.set(__self__, "type", type) - if suggest: - pulumi.log.warn(f"Key '{key}' not found in RequestV2RequestedFor. Access the value via the '{suggest}' property getter instead.") + @_builtins.property + @pulumi.getter + def value(self) -> _builtins.str: + return pulumi.get(self, "value") - def __getitem__(self, key: str) -> Any: - RequestV2RequestedFor.__key_warning(key) - return super().__getitem__(key) + @_builtins.property + @pulumi.getter + def type(self) -> Optional[_builtins.str]: + return pulumi.get(self, "type") - def get(self, key: str, default = None) -> Any: - RequestV2RequestedFor.__key_warning(key) - return super().get(key, default) - def __init__(__self__, *, - external_id: _builtins.str, - type: _builtins.str): +@pulumi.output_type +class UserSchemaPropertyOneOf(dict): + def __init__(__self__, *, + const: _builtins.str, + title: _builtins.str): """ - :param _builtins.str external_id: The ID of the Okta user. - :param _builtins.str type: The type of principal. + :param _builtins.str const: Enum value + :param _builtins.str title: Enum title """ - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "type", type) + pulumi.set(__self__, "const", const) + pulumi.set(__self__, "title", title) @_builtins.property - @pulumi.getter(name="externalId") - def external_id(self) -> _builtins.str: + @pulumi.getter + def const(self) -> _builtins.str: """ - The ID of the Okta user. + Enum value """ - return pulumi.get(self, "external_id") + return pulumi.get(self, "const") @_builtins.property @pulumi.getter - def type(self) -> _builtins.str: + def title(self) -> _builtins.str: """ - The type of principal. + Enum title """ - return pulumi.get(self, "type") + return pulumi.get(self, "title") @pulumi.output_type -class RequestV2RequesterFieldValue(dict): +class GetAgentPoolUpdateAgentResult(dict): def __init__(__self__, *, - id: Optional[_builtins.str] = None, - label: Optional[_builtins.str] = None, - type: Optional[_builtins.str] = None, - value: Optional[_builtins.str] = None, - values: Optional[Sequence['outputs.RequestV2RequesterFieldValueValue']] = None): + id: _builtins.str, + is_hidden: _builtins.bool, + is_latest_gaed_version: _builtins.bool, + last_connection: _builtins.int, + name: _builtins.str, + operational_status: _builtins.str, + pool_id: _builtins.str, + type: _builtins.str, + update_message: _builtins.str, + update_status: _builtins.str, + version: _builtins.str): """ - :param _builtins.str id: Request condition id. - :param _builtins.str label: A human-readable description of requester field. - :param _builtins.str type: Type of value for the requester field. - :param _builtins.str value: The value of requester field, which depends on the type of the field. - :param Sequence['RequestV2RequesterFieldValueValueArgs'] values: The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. + :param _builtins.str id: The unique identifier of the agent. + :param _builtins.bool is_hidden: Determines if an agent is hidden from the Admin Console. + :param _builtins.bool is_latest_gaed_version: Determines if the agent is on the latest generally available version. + :param _builtins.int last_connection: Timestamp when the agent last connected to Okta. + :param _builtins.str name: The name of the agent. + :param _builtins.str operational_status: Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). + :param _builtins.str pool_id: Pool ID. + :param _builtins.str type: Agent types that are being monitored. + :param _builtins.str update_message: Status message of the agent. + :param _builtins.str update_status: Status for one agent regarding the status to auto-update that agent. + :param _builtins.str version: Agent version number. """ - if id is not None: - pulumi.set(__self__, "id", id) - if label is not None: - pulumi.set(__self__, "label", label) - if type is not None: - pulumi.set(__self__, "type", type) - if value is not None: - pulumi.set(__self__, "value", value) - if values is not None: - pulumi.set(__self__, "values", values) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_hidden", is_hidden) + pulumi.set(__self__, "is_latest_gaed_version", is_latest_gaed_version) + pulumi.set(__self__, "last_connection", last_connection) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "operational_status", operational_status) + pulumi.set(__self__, "pool_id", pool_id) + pulumi.set(__self__, "type", type) + pulumi.set(__self__, "update_message", update_message) + pulumi.set(__self__, "update_status", update_status) + pulumi.set(__self__, "version", version) @_builtins.property @pulumi.getter - def id(self) -> Optional[_builtins.str]: + def id(self) -> _builtins.str: """ - Request condition id. + The unique identifier of the agent. """ return pulumi.get(self, "id") @_builtins.property - @pulumi.getter - def label(self) -> Optional[_builtins.str]: + @pulumi.getter(name="isHidden") + def is_hidden(self) -> _builtins.bool: """ - A human-readable description of requester field. + Determines if an agent is hidden from the Admin Console. """ - return pulumi.get(self, "label") + return pulumi.get(self, "is_hidden") @_builtins.property - @pulumi.getter - def type(self) -> Optional[_builtins.str]: + @pulumi.getter(name="isLatestGaedVersion") + def is_latest_gaed_version(self) -> _builtins.bool: """ - Type of value for the requester field. + Determines if the agent is on the latest generally available version. """ - return pulumi.get(self, "type") + return pulumi.get(self, "is_latest_gaed_version") @_builtins.property - @pulumi.getter - def value(self) -> Optional[_builtins.str]: + @pulumi.getter(name="lastConnection") + def last_connection(self) -> _builtins.int: """ - The value of requester field, which depends on the type of the field. + Timestamp when the agent last connected to Okta. """ - return pulumi.get(self, "value") + return pulumi.get(self, "last_connection") @_builtins.property @pulumi.getter - def values(self) -> Optional[Sequence['outputs.RequestV2RequesterFieldValueValue']]: + def name(self) -> _builtins.str: """ - The values of requester field with the type MULTISELECT. If the field type is MULTISELECT, this property is required. + The name of the agent. """ - return pulumi.get(self, "values") - - -@pulumi.output_type -class RequestV2RequesterFieldValueValue(dict): - def __init__(__self__, *, - value: Optional[_builtins.str] = None): - if value is not None: - pulumi.set(__self__, "value", value) + return pulumi.get(self, "name") @_builtins.property - @pulumi.getter - def value(self) -> Optional[_builtins.str]: - return pulumi.get(self, "value") - - -@pulumi.output_type -class SecurityEventsProviderSettings(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "jwksUrl": - suggest = "jwks_url" - elif key == "wellKnownUrl": - suggest = "well_known_url" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in SecurityEventsProviderSettings. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - SecurityEventsProviderSettings.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - SecurityEventsProviderSettings.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - issuer: Optional[_builtins.str] = None, - jwks_url: Optional[_builtins.str] = None, - well_known_url: Optional[_builtins.str] = None): + @pulumi.getter(name="operationalStatus") + def operational_status(self) -> _builtins.str: """ - :param _builtins.str issuer: Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. - :param _builtins.str jwks_url: The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. - :param _builtins.str well_known_url: The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. + Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). """ - if issuer is not None: - pulumi.set(__self__, "issuer", issuer) - if jwks_url is not None: - pulumi.set(__self__, "jwks_url", jwks_url) - if well_known_url is not None: - pulumi.set(__self__, "well_known_url", well_known_url) + return pulumi.get(self, "operational_status") @_builtins.property - @pulumi.getter - def issuer(self) -> Optional[_builtins.str]: + @pulumi.getter(name="poolId") + def pool_id(self) -> _builtins.str: """ - Issuer URL. Maximum length: 700 characters. To be used along with `jwks_url`. + Pool ID. """ - return pulumi.get(self, "issuer") + return pulumi.get(self, "pool_id") @_builtins.property - @pulumi.getter(name="jwksUrl") - def jwks_url(self) -> Optional[_builtins.str]: + @pulumi.getter + def type(self) -> _builtins.str: """ - The public URL where the JWKS public key is uploaded. Maximum length: 1000 characters. To be used along with `issuer`. + Agent types that are being monitored. """ - return pulumi.get(self, "jwks_url") + return pulumi.get(self, "type") @_builtins.property - @pulumi.getter(name="wellKnownUrl") - def well_known_url(self) -> Optional[_builtins.str]: - """ - The published well-known URL of the Security Events Provider (the SSF transmitter). Maximum length: 1000 characters. - """ - return pulumi.get(self, "well_known_url") - - -@pulumi.output_type -class TemplateSmsTranslation(dict): - def __init__(__self__, *, - language: _builtins.str, - template: _builtins.str): + @pulumi.getter(name="updateMessage") + def update_message(self) -> _builtins.str: """ - :param _builtins.str language: The language to map the template to. - :param _builtins.str template: The SMS message. + Status message of the agent. """ - pulumi.set(__self__, "language", language) - pulumi.set(__self__, "template", template) + return pulumi.get(self, "update_message") @_builtins.property - @pulumi.getter - def language(self) -> _builtins.str: + @pulumi.getter(name="updateStatus") + def update_status(self) -> _builtins.str: """ - The language to map the template to. + Status for one agent regarding the status to auto-update that agent. """ - return pulumi.get(self, "language") + return pulumi.get(self, "update_status") @_builtins.property @pulumi.getter - def template(self) -> _builtins.str: + def version(self) -> _builtins.str: """ - The SMS message. + Agent version number. """ - return pulumi.get(self, "template") + return pulumi.get(self, "version") @pulumi.output_type -class UiSchemaUiSchema(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "buttonLabel": - suggest = "button_label" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in UiSchemaUiSchema. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - UiSchemaUiSchema.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - UiSchemaUiSchema.__key_warning(key) - return super().get(key, default) - +class GetAgentPoolUpdateScheduleResult(dict): def __init__(__self__, *, - button_label: Optional[_builtins.str] = None, - elements: Optional[Sequence['outputs.UiSchemaUiSchemaElement']] = None, - label: Optional[_builtins.str] = None, - type: Optional[_builtins.str] = None): + cron: _builtins.str, + delay: _builtins.int, + duration: _builtins.int, + last_updated: _builtins.str, + timezone: _builtins.str): + """ + :param _builtins.str cron: The schedule of the update in cron format. + :param _builtins.int delay: Delay in days. + :param _builtins.int duration: Duration in minutes. + :param _builtins.str last_updated: Timestamp when the update finished. + :param _builtins.str timezone: Timezone of where the scheduled job takes place. + """ + pulumi.set(__self__, "cron", cron) + pulumi.set(__self__, "delay", delay) + pulumi.set(__self__, "duration", duration) + pulumi.set(__self__, "last_updated", last_updated) + pulumi.set(__self__, "timezone", timezone) + + @_builtins.property + @pulumi.getter + def cron(self) -> _builtins.str: """ - :param _builtins.str button_label: Specifies the button label for the Submit button at the bottom of the enrollment form. - :param _builtins.str label: Specifies the label at the top of the enrollment form under the logo. - :param _builtins.str type: Specifies the type of layout. + The schedule of the update in cron format. """ - if button_label is not None: - pulumi.set(__self__, "button_label", button_label) - if elements is not None: - pulumi.set(__self__, "elements", elements) - if label is not None: - pulumi.set(__self__, "label", label) - if type is not None: - pulumi.set(__self__, "type", type) + return pulumi.get(self, "cron") @_builtins.property - @pulumi.getter(name="buttonLabel") - def button_label(self) -> Optional[_builtins.str]: + @pulumi.getter + def delay(self) -> _builtins.int: """ - Specifies the button label for the Submit button at the bottom of the enrollment form. + Delay in days. """ - return pulumi.get(self, "button_label") + return pulumi.get(self, "delay") @_builtins.property @pulumi.getter - def elements(self) -> Optional[Sequence['outputs.UiSchemaUiSchemaElement']]: - return pulumi.get(self, "elements") + def duration(self) -> _builtins.int: + """ + Duration in minutes. + """ + return pulumi.get(self, "duration") @_builtins.property - @pulumi.getter - def label(self) -> Optional[_builtins.str]: + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> _builtins.str: """ - Specifies the label at the top of the enrollment form under the logo. + Timestamp when the update finished. """ - return pulumi.get(self, "label") + return pulumi.get(self, "last_updated") @_builtins.property @pulumi.getter - def type(self) -> Optional[_builtins.str]: + def timezone(self) -> _builtins.str: """ - Specifies the type of layout. + Timezone of where the scheduled job takes place. """ - return pulumi.get(self, "type") + return pulumi.get(self, "timezone") @pulumi.output_type -class UiSchemaUiSchemaElement(dict): +class GetApiServiceIntegrationGrantedScopeResult(dict): def __init__(__self__, *, - scope: _builtins.str, - label: Optional[_builtins.str] = None, - options: Optional['outputs.UiSchemaUiSchemaElementOptions'] = None, - type: Optional[_builtins.str] = None): + scope: _builtins.str): """ - :param _builtins.str scope: Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. - :param _builtins.str label: Label name for the UI element. - :param 'UiSchemaUiSchemaElementOptionsArgs' options: UI Schema element options object. - :param _builtins.str type: Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. + :param _builtins.str scope: The scope of the API service integration granted. """ pulumi.set(__self__, "scope", scope) - if label is not None: - pulumi.set(__self__, "label", label) - if options is not None: - pulumi.set(__self__, "options", options) - if type is not None: - pulumi.set(__self__, "type", type) @_builtins.property @pulumi.getter def scope(self) -> _builtins.str: """ - Specifies the property bound to the input field. It must follow the format #/properties/PROPERTY_NAME where PROPERTY_NAME is a variable name for an attribute in profile editor. + The scope of the API service integration granted. """ return pulumi.get(self, "scope") + +@pulumi.output_type +class GetApiTokenNetworkResult(dict): + def __init__(__self__, *, + connection: _builtins.str, + excludes: Sequence[_builtins.str], + includes: Sequence[_builtins.str]): + """ + :param _builtins.str connection: The connection type of the Network Condition. + :param Sequence[_builtins.str] excludes: The IP address the excluded zone. + :param Sequence[_builtins.str] includes: The IP address the included zone. + """ + pulumi.set(__self__, "connection", connection) + pulumi.set(__self__, "excludes", excludes) + pulumi.set(__self__, "includes", includes) + @_builtins.property @pulumi.getter - def label(self) -> Optional[_builtins.str]: + def connection(self) -> _builtins.str: """ - Label name for the UI element. + The connection type of the Network Condition. """ - return pulumi.get(self, "label") + return pulumi.get(self, "connection") @_builtins.property @pulumi.getter - def options(self) -> Optional['outputs.UiSchemaUiSchemaElementOptions']: + def excludes(self) -> Sequence[_builtins.str]: """ - UI Schema element options object. + The IP address the excluded zone. """ - return pulumi.get(self, "options") + return pulumi.get(self, "excludes") @_builtins.property @pulumi.getter - def type(self) -> Optional[_builtins.str]: + def includes(self) -> Sequence[_builtins.str]: """ - Specifies the relationship between this input element and scope. The Control value specifies that this input controls the value represented by scope. + The IP address the included zone. """ - return pulumi.get(self, "type") + return pulumi.get(self, "includes") @pulumi.output_type -class UiSchemaUiSchemaElementOptions(dict): +class GetAppsAppResult(dict): def __init__(__self__, *, - format: Optional[_builtins.str] = None): - """ - :param _builtins.str format: Specifies how the input appears. - """ - if format is not None: - pulumi.set(__self__, "format", format) + admin_note: _builtins.str, + created: _builtins.str, + enduser_note: _builtins.str, + features: Sequence[_builtins.str], + id: _builtins.str, + label: _builtins.str, + last_updated: _builtins.str, + name: _builtins.str, + sign_on_mode: _builtins.str, + status: _builtins.str, + visibility: 'outputs.GetAppsAppVisibilityResult'): + pulumi.set(__self__, "admin_note", admin_note) + pulumi.set(__self__, "created", created) + pulumi.set(__self__, "enduser_note", enduser_note) + pulumi.set(__self__, "features", features) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "label", label) + pulumi.set(__self__, "last_updated", last_updated) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "sign_on_mode", sign_on_mode) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "visibility", visibility) + + @_builtins.property + @pulumi.getter(name="adminNote") + def admin_note(self) -> _builtins.str: + return pulumi.get(self, "admin_note") @_builtins.property @pulumi.getter - def format(self) -> Optional[_builtins.str]: - """ - Specifies how the input appears. - """ - return pulumi.get(self, "format") + def created(self) -> _builtins.str: + return pulumi.get(self, "created") + @_builtins.property + @pulumi.getter(name="enduserNote") + def enduser_note(self) -> _builtins.str: + return pulumi.get(self, "enduser_note") -@pulumi.output_type -class UserSchemaPropertyArrayOneOf(dict): - def __init__(__self__, *, - const: _builtins.str, - title: _builtins.str): - """ - :param _builtins.str const: Value mapping to member of `array_enum` - :param _builtins.str title: Display name for the enum value. - """ - pulumi.set(__self__, "const", const) - pulumi.set(__self__, "title", title) + @_builtins.property + @pulumi.getter + def features(self) -> Sequence[_builtins.str]: + return pulumi.get(self, "features") @_builtins.property @pulumi.getter - def const(self) -> _builtins.str: - """ - Value mapping to member of `array_enum` - """ - return pulumi.get(self, "const") + def id(self) -> _builtins.str: + return pulumi.get(self, "id") @_builtins.property @pulumi.getter - def title(self) -> _builtins.str: - """ - Display name for the enum value. - """ - return pulumi.get(self, "title") + def label(self) -> _builtins.str: + return pulumi.get(self, "label") + + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> _builtins.str: + return pulumi.get(self, "last_updated") + + @_builtins.property + @pulumi.getter + def name(self) -> _builtins.str: + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="signOnMode") + def sign_on_mode(self) -> _builtins.str: + return pulumi.get(self, "sign_on_mode") + + @_builtins.property + @pulumi.getter + def status(self) -> _builtins.str: + return pulumi.get(self, "status") + + @_builtins.property + @pulumi.getter + def visibility(self) -> 'outputs.GetAppsAppVisibilityResult': + return pulumi.get(self, "visibility") @pulumi.output_type -class UserSchemaPropertyMasterOverridePriority(dict): +class GetAppsAppVisibilityResult(dict): def __init__(__self__, *, - value: _builtins.str, - type: Optional[_builtins.str] = None): - pulumi.set(__self__, "value", value) - if type is not None: - pulumi.set(__self__, "type", type) + auto_launch: _builtins.bool, + auto_submit_toolbar: _builtins.bool, + hide: 'outputs.GetAppsAppVisibilityHideResult'): + pulumi.set(__self__, "auto_launch", auto_launch) + pulumi.set(__self__, "auto_submit_toolbar", auto_submit_toolbar) + pulumi.set(__self__, "hide", hide) @_builtins.property - @pulumi.getter - def value(self) -> _builtins.str: - return pulumi.get(self, "value") + @pulumi.getter(name="autoLaunch") + def auto_launch(self) -> _builtins.bool: + return pulumi.get(self, "auto_launch") + + @_builtins.property + @pulumi.getter(name="autoSubmitToolbar") + def auto_submit_toolbar(self) -> _builtins.bool: + return pulumi.get(self, "auto_submit_toolbar") @_builtins.property @pulumi.getter - def type(self) -> Optional[_builtins.str]: - return pulumi.get(self, "type") + def hide(self) -> 'outputs.GetAppsAppVisibilityHideResult': + return pulumi.get(self, "hide") @pulumi.output_type -class UserSchemaPropertyOneOf(dict): +class GetAppsAppVisibilityHideResult(dict): def __init__(__self__, *, - const: _builtins.str, - title: _builtins.str): - """ - :param _builtins.str const: Enum value - :param _builtins.str title: Enum title - """ - pulumi.set(__self__, "const", const) - pulumi.set(__self__, "title", title) + ios: _builtins.bool, + web: _builtins.bool): + pulumi.set(__self__, "ios", ios) + pulumi.set(__self__, "web", web) @_builtins.property @pulumi.getter - def const(self) -> _builtins.str: - """ - Enum value - """ - return pulumi.get(self, "const") + def ios(self) -> _builtins.bool: + return pulumi.get(self, "ios") @_builtins.property @pulumi.getter - def title(self) -> _builtins.str: - """ - Enum title - """ - return pulumi.get(self, "title") + def web(self) -> _builtins.bool: + return pulumi.get(self, "web") @pulumi.output_type -class GetAgentPoolUpdateAgentResult(dict): +class GetAuthServerClaimsClaimResult(dict): def __init__(__self__, *, + always_include_in_token: _builtins.bool, + claim_type: _builtins.str, id: _builtins.str, - is_hidden: _builtins.bool, - is_latest_gaed_version: _builtins.bool, - last_connection: _builtins.int, name: _builtins.str, - operational_status: _builtins.str, - pool_id: _builtins.str, - type: _builtins.str, - update_message: _builtins.str, - update_status: _builtins.str, - version: _builtins.str): + scopes: Sequence[_builtins.str], + status: _builtins.str, + value: _builtins.str, + value_type: _builtins.str): """ - :param _builtins.str id: The unique identifier of the agent. - :param _builtins.bool is_hidden: Determines if an agent is hidden from the Admin Console. - :param _builtins.bool is_latest_gaed_version: Determines if the agent is on the latest generally available version. - :param _builtins.int last_connection: Timestamp when the agent last connected to Okta. - :param _builtins.str name: The name of the agent. - :param _builtins.str operational_status: Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). - :param _builtins.str pool_id: Pool ID. - :param _builtins.str type: Agent types that are being monitored. - :param _builtins.str update_message: Status message of the agent. - :param _builtins.str update_status: Status for one agent regarding the status to auto-update that agent. - :param _builtins.str version: Agent version number. + :param _builtins.bool always_include_in_token: Specifies whether to include Claims in the token. + :param _builtins.str claim_type: Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). + :param _builtins.str id: ID of the claim. + :param _builtins.str name: Name of the claim. + :param Sequence[_builtins.str] scopes: Specifies the scopes for this Claim. + :param _builtins.str status: Status of the claim. + :param _builtins.str value: Value of the claim. + :param _builtins.str value_type: Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) """ + pulumi.set(__self__, "always_include_in_token", always_include_in_token) + pulumi.set(__self__, "claim_type", claim_type) pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_hidden", is_hidden) - pulumi.set(__self__, "is_latest_gaed_version", is_latest_gaed_version) - pulumi.set(__self__, "last_connection", last_connection) pulumi.set(__self__, "name", name) - pulumi.set(__self__, "operational_status", operational_status) - pulumi.set(__self__, "pool_id", pool_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "update_message", update_message) - pulumi.set(__self__, "update_status", update_status) - pulumi.set(__self__, "version", version) - - @_builtins.property - @pulumi.getter - def id(self) -> _builtins.str: - """ - The unique identifier of the agent. - """ - return pulumi.get(self, "id") + pulumi.set(__self__, "scopes", scopes) + pulumi.set(__self__, "status", status) + pulumi.set(__self__, "value", value) + pulumi.set(__self__, "value_type", value_type) @_builtins.property - @pulumi.getter(name="isHidden") - def is_hidden(self) -> _builtins.bool: + @pulumi.getter(name="alwaysIncludeInToken") + def always_include_in_token(self) -> _builtins.bool: """ - Determines if an agent is hidden from the Admin Console. + Specifies whether to include Claims in the token. """ - return pulumi.get(self, "is_hidden") + return pulumi.get(self, "always_include_in_token") @_builtins.property - @pulumi.getter(name="isLatestGaedVersion") - def is_latest_gaed_version(self) -> _builtins.bool: + @pulumi.getter(name="claimType") + def claim_type(self) -> _builtins.str: """ - Determines if the agent is on the latest generally available version. + Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). """ - return pulumi.get(self, "is_latest_gaed_version") + return pulumi.get(self, "claim_type") @_builtins.property - @pulumi.getter(name="lastConnection") - def last_connection(self) -> _builtins.int: + @pulumi.getter + def id(self) -> _builtins.str: """ - Timestamp when the agent last connected to Okta. + ID of the claim. """ - return pulumi.get(self, "last_connection") + return pulumi.get(self, "id") @_builtins.property @pulumi.getter def name(self) -> _builtins.str: """ - The name of the agent. + Name of the claim. """ return pulumi.get(self, "name") - @_builtins.property - @pulumi.getter(name="operationalStatus") - def operational_status(self) -> _builtins.str: - """ - Operational status of a given agent (e.g., DEGRADED, DISRUPTED, INACTIVE, OPERATIONAL). - """ - return pulumi.get(self, "operational_status") - - @_builtins.property - @pulumi.getter(name="poolId") - def pool_id(self) -> _builtins.str: - """ - Pool ID. - """ - return pulumi.get(self, "pool_id") - @_builtins.property @pulumi.getter - def type(self) -> _builtins.str: + def scopes(self) -> Sequence[_builtins.str]: """ - Agent types that are being monitored. + Specifies the scopes for this Claim. """ - return pulumi.get(self, "type") + return pulumi.get(self, "scopes") @_builtins.property - @pulumi.getter(name="updateMessage") - def update_message(self) -> _builtins.str: + @pulumi.getter + def status(self) -> _builtins.str: """ - Status message of the agent. + Status of the claim. """ - return pulumi.get(self, "update_message") + return pulumi.get(self, "status") @_builtins.property - @pulumi.getter(name="updateStatus") - def update_status(self) -> _builtins.str: + @pulumi.getter + def value(self) -> _builtins.str: """ - Status for one agent regarding the status to auto-update that agent. + Value of the claim. """ - return pulumi.get(self, "update_status") + return pulumi.get(self, "value") @_builtins.property - @pulumi.getter - def version(self) -> _builtins.str: + @pulumi.getter(name="valueType") + def value_type(self) -> _builtins.str: """ - Agent version number. + Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) """ - return pulumi.get(self, "version") + return pulumi.get(self, "value_type") @pulumi.output_type -class GetAgentPoolUpdateScheduleResult(dict): +class GetAuthenticatorMethodWebauthnAaguidGroupResult(dict): def __init__(__self__, *, - cron: _builtins.str, - delay: _builtins.int, - duration: _builtins.int, - last_updated: _builtins.str, - timezone: _builtins.str): + aaguids: Sequence[_builtins.str], + name: _builtins.str): """ - :param _builtins.str cron: The schedule of the update in cron format. - :param _builtins.int delay: Delay in days. - :param _builtins.int duration: Duration in minutes. - :param _builtins.str last_updated: Timestamp when the update finished. - :param _builtins.str timezone: Timezone of where the scheduled job takes place. + :param Sequence[_builtins.str] aaguids: List of FIDO2 AAGUIDs in this group. + :param _builtins.str name: The name of the AAGUID group. """ - pulumi.set(__self__, "cron", cron) - pulumi.set(__self__, "delay", delay) - pulumi.set(__self__, "duration", duration) - pulumi.set(__self__, "last_updated", last_updated) - pulumi.set(__self__, "timezone", timezone) + pulumi.set(__self__, "aaguids", aaguids) + pulumi.set(__self__, "name", name) @_builtins.property @pulumi.getter - def cron(self) -> _builtins.str: + def aaguids(self) -> Sequence[_builtins.str]: """ - The schedule of the update in cron format. + List of FIDO2 AAGUIDs in this group. """ - return pulumi.get(self, "cron") + return pulumi.get(self, "aaguids") @_builtins.property @pulumi.getter - def delay(self) -> _builtins.int: + def name(self) -> _builtins.str: """ - Delay in days. + The name of the AAGUID group. """ - return pulumi.get(self, "delay") + return pulumi.get(self, "name") - @_builtins.property - @pulumi.getter - def duration(self) -> _builtins.int: + +@pulumi.output_type +class GetAuthenticatorMethodWebauthnRpIdResult(dict): + def __init__(__self__, *, + enabled: _builtins.bool, + domain: Optional['outputs.GetAuthenticatorMethodWebauthnRpIdDomainResult'] = None): """ - Duration in minutes. + :param _builtins.bool enabled: Whether the RP ID is active and used for WebAuthn operations. + :param 'GetAuthenticatorMethodWebauthnRpIdDomainArgs' domain: The RP domain configuration. Contains: """ - return pulumi.get(self, "duration") + pulumi.set(__self__, "enabled", enabled) + if domain is not None: + pulumi.set(__self__, "domain", domain) @_builtins.property - @pulumi.getter(name="lastUpdated") - def last_updated(self) -> _builtins.str: + @pulumi.getter + def enabled(self) -> _builtins.bool: """ - Timestamp when the update finished. + Whether the RP ID is active and used for WebAuthn operations. """ - return pulumi.get(self, "last_updated") + return pulumi.get(self, "enabled") @_builtins.property @pulumi.getter - def timezone(self) -> _builtins.str: + def domain(self) -> Optional['outputs.GetAuthenticatorMethodWebauthnRpIdDomainResult']: """ - Timezone of where the scheduled job takes place. + The RP domain configuration. Contains: """ - return pulumi.get(self, "timezone") + return pulumi.get(self, "domain") @pulumi.output_type -class GetApiServiceIntegrationGrantedScopeResult(dict): +class GetAuthenticatorMethodWebauthnRpIdDomainResult(dict): def __init__(__self__, *, - scope: _builtins.str): + name: _builtins.str, + validation_status: _builtins.str): """ - :param _builtins.str scope: The scope of the API service integration granted. + :param _builtins.str name: The name of the AAGUID group. + :param _builtins.str validation_status: The validation status of the domain. """ - pulumi.set(__self__, "scope", scope) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "validation_status", validation_status) @_builtins.property @pulumi.getter - def scope(self) -> _builtins.str: + def name(self) -> _builtins.str: """ - The scope of the API service integration granted. + The name of the AAGUID group. """ - return pulumi.get(self, "scope") + return pulumi.get(self, "name") + + @_builtins.property + @pulumi.getter(name="validationStatus") + def validation_status(self) -> _builtins.str: + """ + The validation status of the domain. + """ + return pulumi.get(self, "validation_status") @pulumi.output_type -class GetApiTokenNetworkResult(dict): +class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidResult(dict): def __init__(__self__, *, - connection: _builtins.str, - excludes: Sequence[_builtins.str], - includes: Sequence[_builtins.str]): + aaguid: _builtins.str, + name: _builtins.str, + authenticator_characteristics: Optional['outputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult'] = None): """ - :param _builtins.str connection: The connection type of the Network Condition. - :param Sequence[_builtins.str] excludes: The IP address the excluded zone. - :param Sequence[_builtins.str] includes: The IP address the included zone. + :param _builtins.str aaguid: The AAGUID identifier. + :param _builtins.str name: The product name associated with the AAGUID. + :param 'GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsArgs' authenticator_characteristics: Properties of the custom AAGUID authenticator. """ - pulumi.set(__self__, "connection", connection) - pulumi.set(__self__, "excludes", excludes) - pulumi.set(__self__, "includes", includes) + pulumi.set(__self__, "aaguid", aaguid) + pulumi.set(__self__, "name", name) + if authenticator_characteristics is not None: + pulumi.set(__self__, "authenticator_characteristics", authenticator_characteristics) @_builtins.property @pulumi.getter - def connection(self) -> _builtins.str: + def aaguid(self) -> _builtins.str: """ - The connection type of the Network Condition. + The AAGUID identifier. """ - return pulumi.get(self, "connection") + return pulumi.get(self, "aaguid") @_builtins.property @pulumi.getter - def excludes(self) -> Sequence[_builtins.str]: + def name(self) -> _builtins.str: """ - The IP address the excluded zone. + The product name associated with the AAGUID. """ - return pulumi.get(self, "excludes") + return pulumi.get(self, "name") @_builtins.property - @pulumi.getter - def includes(self) -> Sequence[_builtins.str]: + @pulumi.getter(name="authenticatorCharacteristics") + def authenticator_characteristics(self) -> Optional['outputs.GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult']: """ - The IP address the included zone. + Properties of the custom AAGUID authenticator. """ - return pulumi.get(self, "includes") + return pulumi.get(self, "authenticator_characteristics") @pulumi.output_type -class GetAppsAppResult(dict): +class GetAuthenticatorWebauthnCustomAaguidsCustomAaguidAuthenticatorCharacteristicsResult(dict): def __init__(__self__, *, - admin_note: _builtins.str, - created: _builtins.str, - enduser_note: _builtins.str, - features: Sequence[_builtins.str], - id: _builtins.str, - label: _builtins.str, - last_updated: _builtins.str, - name: _builtins.str, - sign_on_mode: _builtins.str, - status: _builtins.str, - visibility: 'outputs.GetAppsAppVisibilityResult'): - pulumi.set(__self__, "admin_note", admin_note) - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "enduser_note", enduser_note) - pulumi.set(__self__, "features", features) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "last_updated", last_updated) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "sign_on_mode", sign_on_mode) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "visibility", visibility) + fips_compliant: _builtins.bool, + hardware_protected: _builtins.bool, + platform_attached: _builtins.bool): + """ + :param _builtins.bool fips_compliant: Whether the authenticator meets FIPS compliance requirements. + :param _builtins.bool hardware_protected: Whether the authenticator stores the private key on hardware. + :param _builtins.bool platform_attached: Whether the AAGUID is built into the authenticator or is external. + """ + pulumi.set(__self__, "fips_compliant", fips_compliant) + pulumi.set(__self__, "hardware_protected", hardware_protected) + pulumi.set(__self__, "platform_attached", platform_attached) @_builtins.property - @pulumi.getter(name="adminNote") - def admin_note(self) -> _builtins.str: - return pulumi.get(self, "admin_note") + @pulumi.getter(name="fipsCompliant") + def fips_compliant(self) -> _builtins.bool: + """ + Whether the authenticator meets FIPS compliance requirements. + """ + return pulumi.get(self, "fips_compliant") @_builtins.property - @pulumi.getter - def created(self) -> _builtins.str: - return pulumi.get(self, "created") + @pulumi.getter(name="hardwareProtected") + def hardware_protected(self) -> _builtins.bool: + """ + Whether the authenticator stores the private key on hardware. + """ + return pulumi.get(self, "hardware_protected") @_builtins.property - @pulumi.getter(name="enduserNote") - def enduser_note(self) -> _builtins.str: - return pulumi.get(self, "enduser_note") + @pulumi.getter(name="platformAttached") + def platform_attached(self) -> _builtins.bool: + """ + Whether the AAGUID is built into the authenticator or is external. + """ + return pulumi.get(self, "platform_attached") + + +@pulumi.output_type +class GetAuthorizationServersPoliciesRuleActionsResult(dict): + def __init__(__self__, *, + token: Optional['outputs.GetAuthorizationServersPoliciesRuleActionsTokenResult'] = None): + """ + :param 'GetAuthorizationServersPoliciesRuleActionsTokenArgs' token: Token + """ + if token is not None: + pulumi.set(__self__, "token", token) @_builtins.property @pulumi.getter - def features(self) -> Sequence[_builtins.str]: - return pulumi.get(self, "features") + def token(self) -> Optional['outputs.GetAuthorizationServersPoliciesRuleActionsTokenResult']: + """ + Token + """ + return pulumi.get(self, "token") - @_builtins.property - @pulumi.getter - def id(self) -> _builtins.str: - return pulumi.get(self, "id") - @_builtins.property - @pulumi.getter - def label(self) -> _builtins.str: - return pulumi.get(self, "label") +@pulumi.output_type +class GetAuthorizationServersPoliciesRuleActionsTokenResult(dict): + def __init__(__self__, *, + access_token_lifetime_minutes: _builtins.int, + refresh_token_lifetime_minutes: _builtins.int, + refresh_token_window_minutes: _builtins.int, + inline_hook: Optional['outputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult'] = None): + """ + :param _builtins.int access_token_lifetime_minutes: Lifetime of the access token in minutes. + :param _builtins.int refresh_token_lifetime_minutes: Lifetime of the refresh token is the minimum access token lifetime. + :param _builtins.int refresh_token_window_minutes: Timeframe when the refresh token is valid. + :param 'GetAuthorizationServersPoliciesRuleActionsTokenInlineHookArgs' inline_hook: InlineHook + """ + pulumi.set(__self__, "access_token_lifetime_minutes", access_token_lifetime_minutes) + pulumi.set(__self__, "refresh_token_lifetime_minutes", refresh_token_lifetime_minutes) + pulumi.set(__self__, "refresh_token_window_minutes", refresh_token_window_minutes) + if inline_hook is not None: + pulumi.set(__self__, "inline_hook", inline_hook) @_builtins.property - @pulumi.getter(name="lastUpdated") - def last_updated(self) -> _builtins.str: - return pulumi.get(self, "last_updated") + @pulumi.getter(name="accessTokenLifetimeMinutes") + def access_token_lifetime_minutes(self) -> _builtins.int: + """ + Lifetime of the access token in minutes. + """ + return pulumi.get(self, "access_token_lifetime_minutes") @_builtins.property - @pulumi.getter - def name(self) -> _builtins.str: - return pulumi.get(self, "name") + @pulumi.getter(name="refreshTokenLifetimeMinutes") + def refresh_token_lifetime_minutes(self) -> _builtins.int: + """ + Lifetime of the refresh token is the minimum access token lifetime. + """ + return pulumi.get(self, "refresh_token_lifetime_minutes") @_builtins.property - @pulumi.getter(name="signOnMode") - def sign_on_mode(self) -> _builtins.str: - return pulumi.get(self, "sign_on_mode") + @pulumi.getter(name="refreshTokenWindowMinutes") + def refresh_token_window_minutes(self) -> _builtins.int: + """ + Timeframe when the refresh token is valid. + """ + return pulumi.get(self, "refresh_token_window_minutes") @_builtins.property - @pulumi.getter - def status(self) -> _builtins.str: - return pulumi.get(self, "status") + @pulumi.getter(name="inlineHook") + def inline_hook(self) -> Optional['outputs.GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult']: + """ + InlineHook + """ + return pulumi.get(self, "inline_hook") + + +@pulumi.output_type +class GetAuthorizationServersPoliciesRuleActionsTokenInlineHookResult(dict): + def __init__(__self__, *, + id: _builtins.str): + """ + :param _builtins.str id: Unique identifier of the authorization server policy rule. + """ + pulumi.set(__self__, "id", id) @_builtins.property @pulumi.getter - def visibility(self) -> 'outputs.GetAppsAppVisibilityResult': - return pulumi.get(self, "visibility") + def id(self) -> _builtins.str: + """ + Unique identifier of the authorization server policy rule. + """ + return pulumi.get(self, "id") @pulumi.output_type -class GetAppsAppVisibilityResult(dict): +class GetAuthorizationServersPoliciesRuleConditionsResult(dict): def __init__(__self__, *, - auto_launch: _builtins.bool, - auto_submit_toolbar: _builtins.bool, - hide: 'outputs.GetAppsAppVisibilityHideResult'): - pulumi.set(__self__, "auto_launch", auto_launch) - pulumi.set(__self__, "auto_submit_toolbar", auto_submit_toolbar) - pulumi.set(__self__, "hide", hide) + grant_types: Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult'] = None, + people: Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleResult'] = None, + scopes: Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsScopesResult'] = None): + """ + :param 'GetAuthorizationServersPoliciesRuleConditionsGrantTypesArgs' grant_types: Array of grant types that this condition includes. + :param 'GetAuthorizationServersPoliciesRuleConditionsPeopleArgs' people: Identifies Users and Groups that are used together + :param 'GetAuthorizationServersPoliciesRuleConditionsScopesArgs' scopes: Array of scopes that the condition includes + """ + if grant_types is not None: + pulumi.set(__self__, "grant_types", grant_types) + if people is not None: + pulumi.set(__self__, "people", people) + if scopes is not None: + pulumi.set(__self__, "scopes", scopes) @_builtins.property - @pulumi.getter(name="autoLaunch") - def auto_launch(self) -> _builtins.bool: - return pulumi.get(self, "auto_launch") + @pulumi.getter(name="grantTypes") + def grant_types(self) -> Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult']: + """ + Array of grant types that this condition includes. + """ + return pulumi.get(self, "grant_types") @_builtins.property - @pulumi.getter(name="autoSubmitToolbar") - def auto_submit_toolbar(self) -> _builtins.bool: - return pulumi.get(self, "auto_submit_toolbar") + @pulumi.getter + def people(self) -> Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleResult']: + """ + Identifies Users and Groups that are used together + """ + return pulumi.get(self, "people") @_builtins.property @pulumi.getter - def hide(self) -> 'outputs.GetAppsAppVisibilityHideResult': - return pulumi.get(self, "hide") + def scopes(self) -> Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsScopesResult']: + """ + Array of scopes that the condition includes + """ + return pulumi.get(self, "scopes") @pulumi.output_type -class GetAppsAppVisibilityHideResult(dict): +class GetAuthorizationServersPoliciesRuleConditionsGrantTypesResult(dict): def __init__(__self__, *, - ios: _builtins.bool, - web: _builtins.bool): - pulumi.set(__self__, "ios", ios) - pulumi.set(__self__, "web", web) - - @_builtins.property - @pulumi.getter - def ios(self) -> _builtins.bool: - return pulumi.get(self, "ios") + includes: Sequence[_builtins.str]): + """ + :param Sequence[_builtins.str] includes: Array of grant types that this condition includes. + """ + pulumi.set(__self__, "includes", includes) @_builtins.property @pulumi.getter - def web(self) -> _builtins.bool: - return pulumi.get(self, "web") + def includes(self) -> Sequence[_builtins.str]: + """ + Array of grant types that this condition includes. + """ + return pulumi.get(self, "includes") @pulumi.output_type -class GetAuthServerClaimsClaimResult(dict): +class GetAuthorizationServersPoliciesRuleConditionsPeopleResult(dict): def __init__(__self__, *, - always_include_in_token: _builtins.bool, - claim_type: _builtins.str, - id: _builtins.str, - name: _builtins.str, - scopes: Sequence[_builtins.str], - status: _builtins.str, - value: _builtins.str, - value_type: _builtins.str): + groups: Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult'] = None, + users: Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult'] = None): """ - :param _builtins.bool always_include_in_token: Specifies whether to include Claims in the token. - :param _builtins.str claim_type: Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). - :param _builtins.str id: ID of the claim. - :param _builtins.str name: Name of the claim. - :param Sequence[_builtins.str] scopes: Specifies the scopes for this Claim. - :param _builtins.str status: Status of the claim. - :param _builtins.str value: Value of the claim. - :param _builtins.str value_type: Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) + :param 'GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsArgs' groups: Specifies a set of Groups whose Users are to be included + :param 'GetAuthorizationServersPoliciesRuleConditionsPeopleUsersArgs' users: Specifies a set of Users to be included """ - pulumi.set(__self__, "always_include_in_token", always_include_in_token) - pulumi.set(__self__, "claim_type", claim_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "value_type", value_type) + if groups is not None: + pulumi.set(__self__, "groups", groups) + if users is not None: + pulumi.set(__self__, "users", users) @_builtins.property - @pulumi.getter(name="alwaysIncludeInToken") - def always_include_in_token(self) -> _builtins.bool: + @pulumi.getter + def groups(self) -> Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult']: """ - Specifies whether to include Claims in the token. + Specifies a set of Groups whose Users are to be included """ - return pulumi.get(self, "always_include_in_token") + return pulumi.get(self, "groups") @_builtins.property - @pulumi.getter(name="claimType") - def claim_type(self) -> _builtins.str: + @pulumi.getter + def users(self) -> Optional['outputs.GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult']: """ - Specifies whether the Claim is for an access token (`RESOURCE`) or ID token (`IDENTITY`). + Specifies a set of Users to be included """ - return pulumi.get(self, "claim_type") + return pulumi.get(self, "users") - @_builtins.property - @pulumi.getter - def id(self) -> _builtins.str: + +@pulumi.output_type +class GetAuthorizationServersPoliciesRuleConditionsPeopleGroupsResult(dict): + def __init__(__self__, *, + includes: Sequence[_builtins.str]): """ - ID of the claim. + :param Sequence[_builtins.str] includes: Groups to be included """ - return pulumi.get(self, "id") + pulumi.set(__self__, "includes", includes) @_builtins.property @pulumi.getter - def name(self) -> _builtins.str: + def includes(self) -> Sequence[_builtins.str]: """ - Name of the claim. + Groups to be included """ - return pulumi.get(self, "name") + return pulumi.get(self, "includes") - @_builtins.property - @pulumi.getter - def scopes(self) -> Sequence[_builtins.str]: + +@pulumi.output_type +class GetAuthorizationServersPoliciesRuleConditionsPeopleUsersResult(dict): + def __init__(__self__, *, + includes: Sequence[_builtins.str]): """ - Specifies the scopes for this Claim. + :param Sequence[_builtins.str] includes: Users to be included """ - return pulumi.get(self, "scopes") + pulumi.set(__self__, "includes", includes) @_builtins.property @pulumi.getter - def status(self) -> _builtins.str: + def includes(self) -> Sequence[_builtins.str]: """ - Status of the claim. + Users to be included """ - return pulumi.get(self, "status") + return pulumi.get(self, "includes") - @_builtins.property - @pulumi.getter - def value(self) -> _builtins.str: + +@pulumi.output_type +class GetAuthorizationServersPoliciesRuleConditionsScopesResult(dict): + def __init__(__self__, *, + includes: Sequence[_builtins.str]): """ - Value of the claim. + :param Sequence[_builtins.str] includes: Include """ - return pulumi.get(self, "value") + pulumi.set(__self__, "includes", includes) @_builtins.property - @pulumi.getter(name="valueType") - def value_type(self) -> _builtins.str: + @pulumi.getter + def includes(self) -> Sequence[_builtins.str]: """ - Specifies whether the Claim is an Okta EL expression (`EXPRESSION`), a set of groups (`GROUPS`), or a system claim (`SYSTEM`) + Include """ - return pulumi.get(self, "value_type") + return pulumi.get(self, "includes") @pulumi.output_type @@ -7385,6 +8882,114 @@ def type(self) -> _builtins.str: return pulumi.get(self, "type") +@pulumi.output_type +class GetIamAssigneesUserItemResult(dict): + def __init__(__self__, *, + id: _builtins.str, + orn: _builtins.str): + """ + :param _builtins.str orn: ORN representing the assignee + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "orn", orn) + + @_builtins.property + @pulumi.getter + def id(self) -> _builtins.str: + return pulumi.get(self, "id") + + @_builtins.property + @pulumi.getter + def orn(self) -> _builtins.str: + """ + ORN representing the assignee + """ + return pulumi.get(self, "orn") + + +@pulumi.output_type +class GetIdentitySourceGroupsProfileResult(dict): + def __init__(__self__, *, + description: _builtins.str, + display_name: _builtins.str): + """ + :param _builtins.str description: Description of the group. + :param _builtins.str display_name: Display name of the group. + """ + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + + @_builtins.property + @pulumi.getter + def description(self) -> _builtins.str: + """ + Description of the group. + """ + return pulumi.get(self, "description") + + @_builtins.property + @pulumi.getter(name="displayName") + def display_name(self) -> _builtins.str: + """ + Display name of the group. + """ + return pulumi.get(self, "display_name") + + +@pulumi.output_type +class GetIdentitySourceUsersProfileResult(dict): + def __init__(__self__, *, + email: _builtins.str, + first_name: _builtins.str, + home_address: _builtins.str, + last_name: _builtins.str, + mobile_phone: _builtins.str, + second_email: _builtins.str, + user_name: _builtins.str): + pulumi.set(__self__, "email", email) + pulumi.set(__self__, "first_name", first_name) + pulumi.set(__self__, "home_address", home_address) + pulumi.set(__self__, "last_name", last_name) + pulumi.set(__self__, "mobile_phone", mobile_phone) + pulumi.set(__self__, "second_email", second_email) + pulumi.set(__self__, "user_name", user_name) + + @_builtins.property + @pulumi.getter + def email(self) -> _builtins.str: + return pulumi.get(self, "email") + + @_builtins.property + @pulumi.getter(name="firstName") + def first_name(self) -> _builtins.str: + return pulumi.get(self, "first_name") + + @_builtins.property + @pulumi.getter(name="homeAddress") + def home_address(self) -> _builtins.str: + return pulumi.get(self, "home_address") + + @_builtins.property + @pulumi.getter(name="lastName") + def last_name(self) -> _builtins.str: + return pulumi.get(self, "last_name") + + @_builtins.property + @pulumi.getter(name="mobilePhone") + def mobile_phone(self) -> _builtins.str: + return pulumi.get(self, "mobile_phone") + + @_builtins.property + @pulumi.getter(name="secondEmail") + def second_email(self) -> _builtins.str: + return pulumi.get(self, "second_email") + + @_builtins.property + @pulumi.getter(name="userName") + def user_name(self) -> _builtins.str: + return pulumi.get(self, "user_name") + + @pulumi.output_type class GetLogStreamSettingsResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_okta/policy/password.py b/sdk/python/pulumi_okta/policy/password.py index 00cbb52a1..91c87d053 100644 --- a/sdk/python/pulumi_okta/policy/password.py +++ b/sdk/python/pulumi_okta/policy/password.py @@ -20,6 +20,9 @@ class PasswordArgs: def __init__(__self__, *, auth_provider: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, description: pulumi.Input[Optional[_builtins.str]] = None, email_recovery: pulumi.Input[Optional[_builtins.str]] = None, @@ -53,6 +56,9 @@ def __init__(__self__, *, The set of arguments for constructing a Password resource. :param pulumi.Input[_builtins.str] auth_provider: Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` + :param pulumi.Input[_builtins.str] breached_password_delegated_workflow_id: The ID of the workflow to run when a breached password is found during a sign-in attempt. + :param pulumi.Input[_builtins.int] breached_password_expire_after_days: Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + :param pulumi.Input[_builtins.bool] breached_password_logout_enabled: If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` :param pulumi.Input[_builtins.str] call_recovery: Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` :param pulumi.Input[_builtins.str] description: Policy Description :param pulumi.Input[_builtins.str] email_recovery: Enable or disable email password recovery: `ACTIVE` or `INACTIVE`. Default: `ACTIVE` @@ -85,6 +91,12 @@ def __init__(__self__, *, """ if auth_provider is not None: pulumi.set(__self__, "auth_provider", auth_provider) + if breached_password_delegated_workflow_id is not None: + pulumi.set(__self__, "breached_password_delegated_workflow_id", breached_password_delegated_workflow_id) + if breached_password_expire_after_days is not None: + pulumi.set(__self__, "breached_password_expire_after_days", breached_password_expire_after_days) + if breached_password_logout_enabled is not None: + pulumi.set(__self__, "breached_password_logout_enabled", breached_password_logout_enabled) if call_recovery is not None: pulumi.set(__self__, "call_recovery", call_recovery) if description is not None: @@ -156,6 +168,42 @@ def auth_provider(self) -> pulumi.Input[Optional[_builtins.str]]: def auth_provider(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "auth_provider", value) + @_builtins.property + @pulumi.getter(name="breachedPasswordDelegatedWorkflowId") + def breached_password_delegated_workflow_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The ID of the workflow to run when a breached password is found during a sign-in attempt. + """ + return pulumi.get(self, "breached_password_delegated_workflow_id") + + @breached_password_delegated_workflow_id.setter + def breached_password_delegated_workflow_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "breached_password_delegated_workflow_id", value) + + @_builtins.property + @pulumi.getter(name="breachedPasswordExpireAfterDays") + def breached_password_expire_after_days(self) -> pulumi.Input[Optional[_builtins.int]]: + """ + Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + """ + return pulumi.get(self, "breached_password_expire_after_days") + + @breached_password_expire_after_days.setter + def breached_password_expire_after_days(self, value: pulumi.Input[Optional[_builtins.int]]): + pulumi.set(self, "breached_password_expire_after_days", value) + + @_builtins.property + @pulumi.getter(name="breachedPasswordLogoutEnabled") + def breached_password_logout_enabled(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` + """ + return pulumi.get(self, "breached_password_logout_enabled") + + @breached_password_logout_enabled.setter + def breached_password_logout_enabled(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "breached_password_logout_enabled", value) + @_builtins.property @pulumi.getter(name="callRecovery") def call_recovery(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -509,6 +557,9 @@ def status(self, value: pulumi.Input[Optional[_builtins.str]]): class _PasswordState: def __init__(__self__, *, auth_provider: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, description: pulumi.Input[Optional[_builtins.str]] = None, email_recovery: pulumi.Input[Optional[_builtins.str]] = None, @@ -542,6 +593,9 @@ def __init__(__self__, *, Input properties used for looking up and filtering Password resources. :param pulumi.Input[_builtins.str] auth_provider: Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` + :param pulumi.Input[_builtins.str] breached_password_delegated_workflow_id: The ID of the workflow to run when a breached password is found during a sign-in attempt. + :param pulumi.Input[_builtins.int] breached_password_expire_after_days: Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + :param pulumi.Input[_builtins.bool] breached_password_logout_enabled: If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` :param pulumi.Input[_builtins.str] call_recovery: Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` :param pulumi.Input[_builtins.str] description: Policy Description :param pulumi.Input[_builtins.str] email_recovery: Enable or disable email password recovery: `ACTIVE` or `INACTIVE`. Default: `ACTIVE` @@ -574,6 +628,12 @@ def __init__(__self__, *, """ if auth_provider is not None: pulumi.set(__self__, "auth_provider", auth_provider) + if breached_password_delegated_workflow_id is not None: + pulumi.set(__self__, "breached_password_delegated_workflow_id", breached_password_delegated_workflow_id) + if breached_password_expire_after_days is not None: + pulumi.set(__self__, "breached_password_expire_after_days", breached_password_expire_after_days) + if breached_password_logout_enabled is not None: + pulumi.set(__self__, "breached_password_logout_enabled", breached_password_logout_enabled) if call_recovery is not None: pulumi.set(__self__, "call_recovery", call_recovery) if description is not None: @@ -645,6 +705,42 @@ def auth_provider(self) -> pulumi.Input[Optional[_builtins.str]]: def auth_provider(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "auth_provider", value) + @_builtins.property + @pulumi.getter(name="breachedPasswordDelegatedWorkflowId") + def breached_password_delegated_workflow_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The ID of the workflow to run when a breached password is found during a sign-in attempt. + """ + return pulumi.get(self, "breached_password_delegated_workflow_id") + + @breached_password_delegated_workflow_id.setter + def breached_password_delegated_workflow_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "breached_password_delegated_workflow_id", value) + + @_builtins.property + @pulumi.getter(name="breachedPasswordExpireAfterDays") + def breached_password_expire_after_days(self) -> pulumi.Input[Optional[_builtins.int]]: + """ + Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + """ + return pulumi.get(self, "breached_password_expire_after_days") + + @breached_password_expire_after_days.setter + def breached_password_expire_after_days(self, value: pulumi.Input[Optional[_builtins.int]]): + pulumi.set(self, "breached_password_expire_after_days", value) + + @_builtins.property + @pulumi.getter(name="breachedPasswordLogoutEnabled") + def breached_password_logout_enabled(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` + """ + return pulumi.get(self, "breached_password_logout_enabled") + + @breached_password_logout_enabled.setter + def breached_password_logout_enabled(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "breached_password_logout_enabled", value) + @_builtins.property @pulumi.getter(name="callRecovery") def call_recovery(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -1001,6 +1097,9 @@ def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, auth_provider: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, description: pulumi.Input[Optional[_builtins.str]] = None, email_recovery: pulumi.Input[Optional[_builtins.str]] = None, @@ -1058,6 +1157,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[_builtins.str] auth_provider: Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` + :param pulumi.Input[_builtins.str] breached_password_delegated_workflow_id: The ID of the workflow to run when a breached password is found during a sign-in attempt. + :param pulumi.Input[_builtins.int] breached_password_expire_after_days: Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + :param pulumi.Input[_builtins.bool] breached_password_logout_enabled: If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` :param pulumi.Input[_builtins.str] call_recovery: Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` :param pulumi.Input[_builtins.str] description: Policy Description :param pulumi.Input[_builtins.str] email_recovery: Enable or disable email password recovery: `ACTIVE` or `INACTIVE`. Default: `ACTIVE` @@ -1134,6 +1236,9 @@ def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, auth_provider: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, description: pulumi.Input[Optional[_builtins.str]] = None, email_recovery: pulumi.Input[Optional[_builtins.str]] = None, @@ -1173,6 +1278,9 @@ def _internal_init(__self__, __props__ = PasswordArgs.__new__(PasswordArgs) __props__.__dict__["auth_provider"] = auth_provider + __props__.__dict__["breached_password_delegated_workflow_id"] = breached_password_delegated_workflow_id + __props__.__dict__["breached_password_expire_after_days"] = breached_password_expire_after_days + __props__.__dict__["breached_password_logout_enabled"] = breached_password_logout_enabled __props__.__dict__["call_recovery"] = call_recovery __props__.__dict__["description"] = description __props__.__dict__["email_recovery"] = email_recovery @@ -1213,6 +1321,9 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, auth_provider: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, description: pulumi.Input[Optional[_builtins.str]] = None, email_recovery: pulumi.Input[Optional[_builtins.str]] = None, @@ -1250,6 +1361,9 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[_builtins.str] auth_provider: Authentication Provider: `OKTA`, `ACTIVE_DIRECTORY` or `LDAP`. Default: `OKTA` + :param pulumi.Input[_builtins.str] breached_password_delegated_workflow_id: The ID of the workflow to run when a breached password is found during a sign-in attempt. + :param pulumi.Input[_builtins.int] breached_password_expire_after_days: Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + :param pulumi.Input[_builtins.bool] breached_password_logout_enabled: If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` :param pulumi.Input[_builtins.str] call_recovery: Enable or disable voice call recovery: `ACTIVE` or `INACTIVE`. Default: `INACTIVE` :param pulumi.Input[_builtins.str] description: Policy Description :param pulumi.Input[_builtins.str] email_recovery: Enable or disable email password recovery: `ACTIVE` or `INACTIVE`. Default: `ACTIVE` @@ -1285,6 +1399,9 @@ def get(resource_name: str, __props__ = _PasswordState.__new__(_PasswordState) __props__.__dict__["auth_provider"] = auth_provider + __props__.__dict__["breached_password_delegated_workflow_id"] = breached_password_delegated_workflow_id + __props__.__dict__["breached_password_expire_after_days"] = breached_password_expire_after_days + __props__.__dict__["breached_password_logout_enabled"] = breached_password_logout_enabled __props__.__dict__["call_recovery"] = call_recovery __props__.__dict__["description"] = description __props__.__dict__["email_recovery"] = email_recovery @@ -1324,6 +1441,30 @@ def auth_provider(self) -> pulumi.Output[Optional[_builtins.str]]: """ return pulumi.get(self, "auth_provider") + @_builtins.property + @pulumi.getter(name="breachedPasswordDelegatedWorkflowId") + def breached_password_delegated_workflow_id(self) -> pulumi.Output[Optional[_builtins.str]]: + """ + The ID of the workflow to run when a breached password is found during a sign-in attempt. + """ + return pulumi.get(self, "breached_password_delegated_workflow_id") + + @_builtins.property + @pulumi.getter(name="breachedPasswordExpireAfterDays") + def breached_password_expire_after_days(self) -> pulumi.Output[Optional[_builtins.int]]: + """ + Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + """ + return pulumi.get(self, "breached_password_expire_after_days") + + @_builtins.property + @pulumi.getter(name="breachedPasswordLogoutEnabled") + def breached_password_logout_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]: + """ + If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` + """ + return pulumi.get(self, "breached_password_logout_enabled") + @_builtins.property @pulumi.getter(name="callRecovery") def call_recovery(self) -> pulumi.Output[Optional[_builtins.str]]: diff --git a/sdk/python/pulumi_okta/policy_password_default.py b/sdk/python/pulumi_okta/policy_password_default.py index d0aa1e310..b634e77cc 100644 --- a/sdk/python/pulumi_okta/policy_password_default.py +++ b/sdk/python/pulumi_okta/policy_password_default.py @@ -19,6 +19,9 @@ @pulumi.input_type class PolicyPasswordDefaultArgs: def __init__(__self__, *, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, email_recovery: pulumi.Input[Optional[_builtins.str]] = None, password_auto_unlock_minutes: pulumi.Input[Optional[_builtins.int]] = None, @@ -46,6 +49,9 @@ def __init__(__self__, *, """ The set of arguments for constructing a PolicyPasswordDefault resource. + :param pulumi.Input[_builtins.str] breached_password_delegated_workflow_id: The ID of the workflow to run when a breached password is found during a sign-in attempt. + :param pulumi.Input[_builtins.int] breached_password_expire_after_days: Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + :param pulumi.Input[_builtins.bool] breached_password_logout_enabled: If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` :param pulumi.Input[_builtins.str] call_recovery: Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` :param pulumi.Input[_builtins.str] email_recovery: Enable or disable email password recovery: ACTIVE or INACTIVE. Default: `ACTIVE` :param pulumi.Input[_builtins.int] password_auto_unlock_minutes: Number of minutes before a locked account is unlocked: 0 = no limit. Default: `0` @@ -71,6 +77,12 @@ def __init__(__self__, *, :param pulumi.Input[_builtins.bool] skip_unlock: When an Active Directory user is locked out of Okta, the Okta unlock operation should also attempt to unlock the user's Windows account. Default: `false` :param pulumi.Input[_builtins.str] sms_recovery: Enable or disable SMS password recovery: ACTIVE or INACTIVE. Default: `INACTIVE` """ + if breached_password_delegated_workflow_id is not None: + pulumi.set(__self__, "breached_password_delegated_workflow_id", breached_password_delegated_workflow_id) + if breached_password_expire_after_days is not None: + pulumi.set(__self__, "breached_password_expire_after_days", breached_password_expire_after_days) + if breached_password_logout_enabled is not None: + pulumi.set(__self__, "breached_password_logout_enabled", breached_password_logout_enabled) if call_recovery is not None: pulumi.set(__self__, "call_recovery", call_recovery) if email_recovery is not None: @@ -120,6 +132,42 @@ def __init__(__self__, *, if sms_recovery is not None: pulumi.set(__self__, "sms_recovery", sms_recovery) + @_builtins.property + @pulumi.getter(name="breachedPasswordDelegatedWorkflowId") + def breached_password_delegated_workflow_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The ID of the workflow to run when a breached password is found during a sign-in attempt. + """ + return pulumi.get(self, "breached_password_delegated_workflow_id") + + @breached_password_delegated_workflow_id.setter + def breached_password_delegated_workflow_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "breached_password_delegated_workflow_id", value) + + @_builtins.property + @pulumi.getter(name="breachedPasswordExpireAfterDays") + def breached_password_expire_after_days(self) -> pulumi.Input[Optional[_builtins.int]]: + """ + Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + """ + return pulumi.get(self, "breached_password_expire_after_days") + + @breached_password_expire_after_days.setter + def breached_password_expire_after_days(self, value: pulumi.Input[Optional[_builtins.int]]): + pulumi.set(self, "breached_password_expire_after_days", value) + + @_builtins.property + @pulumi.getter(name="breachedPasswordLogoutEnabled") + def breached_password_logout_enabled(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` + """ + return pulumi.get(self, "breached_password_logout_enabled") + + @breached_password_logout_enabled.setter + def breached_password_logout_enabled(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "breached_password_logout_enabled", value) + @_builtins.property @pulumi.getter(name="callRecovery") def call_recovery(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -412,6 +460,9 @@ def sms_recovery(self, value: pulumi.Input[Optional[_builtins.str]]): @pulumi.input_type class _PolicyPasswordDefaultState: def __init__(__self__, *, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, default_auth_provider: pulumi.Input[Optional[_builtins.str]] = None, default_included_group_id: pulumi.Input[Optional[_builtins.str]] = None, @@ -445,6 +496,9 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering PolicyPasswordDefault resources. + :param pulumi.Input[_builtins.str] breached_password_delegated_workflow_id: The ID of the workflow to run when a breached password is found during a sign-in attempt. + :param pulumi.Input[_builtins.int] breached_password_expire_after_days: Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + :param pulumi.Input[_builtins.bool] breached_password_logout_enabled: If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` :param pulumi.Input[_builtins.str] call_recovery: Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` :param pulumi.Input[_builtins.str] default_auth_provider: Default Authentication Provider :param pulumi.Input[_builtins.str] default_included_group_id: Default group ID (always included) @@ -476,6 +530,12 @@ def __init__(__self__, *, :param pulumi.Input[_builtins.str] sms_recovery: Enable or disable SMS password recovery: ACTIVE or INACTIVE. Default: `INACTIVE` :param pulumi.Input[_builtins.str] status: Default policy status """ + if breached_password_delegated_workflow_id is not None: + pulumi.set(__self__, "breached_password_delegated_workflow_id", breached_password_delegated_workflow_id) + if breached_password_expire_after_days is not None: + pulumi.set(__self__, "breached_password_expire_after_days", breached_password_expire_after_days) + if breached_password_logout_enabled is not None: + pulumi.set(__self__, "breached_password_logout_enabled", breached_password_logout_enabled) if call_recovery is not None: pulumi.set(__self__, "call_recovery", call_recovery) if default_auth_provider is not None: @@ -537,6 +597,42 @@ def __init__(__self__, *, if status is not None: pulumi.set(__self__, "status", status) + @_builtins.property + @pulumi.getter(name="breachedPasswordDelegatedWorkflowId") + def breached_password_delegated_workflow_id(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The ID of the workflow to run when a breached password is found during a sign-in attempt. + """ + return pulumi.get(self, "breached_password_delegated_workflow_id") + + @breached_password_delegated_workflow_id.setter + def breached_password_delegated_workflow_id(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "breached_password_delegated_workflow_id", value) + + @_builtins.property + @pulumi.getter(name="breachedPasswordExpireAfterDays") + def breached_password_expire_after_days(self) -> pulumi.Input[Optional[_builtins.int]]: + """ + Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + """ + return pulumi.get(self, "breached_password_expire_after_days") + + @breached_password_expire_after_days.setter + def breached_password_expire_after_days(self, value: pulumi.Input[Optional[_builtins.int]]): + pulumi.set(self, "breached_password_expire_after_days", value) + + @_builtins.property + @pulumi.getter(name="breachedPasswordLogoutEnabled") + def breached_password_logout_enabled(self) -> pulumi.Input[Optional[_builtins.bool]]: + """ + If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` + """ + return pulumi.get(self, "breached_password_logout_enabled") + + @breached_password_logout_enabled.setter + def breached_password_logout_enabled(self, value: pulumi.Input[Optional[_builtins.bool]]): + pulumi.set(self, "breached_password_logout_enabled", value) + @_builtins.property @pulumi.getter(name="callRecovery") def call_recovery(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -904,6 +1000,9 @@ class PolicyPasswordDefault(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, email_recovery: pulumi.Input[Optional[_builtins.str]] = None, password_auto_unlock_minutes: pulumi.Input[Optional[_builtins.int]] = None, @@ -930,7 +1029,14 @@ def __init__(__self__, sms_recovery: pulumi.Input[Optional[_builtins.str]] = None, __props__=None): """ - Configures default password policy. This resource allows you to configure default password policy. + Configures the default password policy. This resource allows you to configure the default password policy. + + > **Note:** If your configuration also manages other `policy.Password` resources, add + `depends_on = [okta_policy_password.]` pointing to the last non-default policy in your + dependency chain. The default policy's `priority` is read-only and shifts whenever other password policies + are created or deleted. Using `depends_on` ensures all sibling policies are fully created before this + resource is read or updated, so the provider sees the correct priority value and the Okta API does not + reject the request with E0000077. ## Example Usage @@ -938,7 +1044,13 @@ def __init__(__self__, import pulumi import pulumi_okta as okta - default = okta.PolicyPasswordDefault("default") + custom = okta.policy.Password("custom", + name="Custom Password Policy", + groups_includeds=[example["id"]], + status="ACTIVE", + priority=1) + default = okta.PolicyPasswordDefault("default", password_history_count=5, + opts = pulumi.ResourceOptions(depends_on=[custom])) ``` ## Import @@ -950,6 +1062,9 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] breached_password_delegated_workflow_id: The ID of the workflow to run when a breached password is found during a sign-in attempt. + :param pulumi.Input[_builtins.int] breached_password_expire_after_days: Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + :param pulumi.Input[_builtins.bool] breached_password_logout_enabled: If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` :param pulumi.Input[_builtins.str] call_recovery: Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` :param pulumi.Input[_builtins.str] email_recovery: Enable or disable email password recovery: ACTIVE or INACTIVE. Default: `ACTIVE` :param pulumi.Input[_builtins.int] password_auto_unlock_minutes: Number of minutes before a locked account is unlocked: 0 = no limit. Default: `0` @@ -982,7 +1097,14 @@ def __init__(__self__, args: Optional[PolicyPasswordDefaultArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Configures default password policy. This resource allows you to configure default password policy. + Configures the default password policy. This resource allows you to configure the default password policy. + + > **Note:** If your configuration also manages other `policy.Password` resources, add + `depends_on = [okta_policy_password.]` pointing to the last non-default policy in your + dependency chain. The default policy's `priority` is read-only and shifts whenever other password policies + are created or deleted. Using `depends_on` ensures all sibling policies are fully created before this + resource is read or updated, so the provider sees the correct priority value and the Okta API does not + reject the request with E0000077. ## Example Usage @@ -990,7 +1112,13 @@ def __init__(__self__, import pulumi import pulumi_okta as okta - default = okta.PolicyPasswordDefault("default") + custom = okta.policy.Password("custom", + name="Custom Password Policy", + groups_includeds=[example["id"]], + status="ACTIVE", + priority=1) + default = okta.PolicyPasswordDefault("default", password_history_count=5, + opts = pulumi.ResourceOptions(depends_on=[custom])) ``` ## Import @@ -1015,6 +1143,9 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, email_recovery: pulumi.Input[Optional[_builtins.str]] = None, password_auto_unlock_minutes: pulumi.Input[Optional[_builtins.int]] = None, @@ -1048,6 +1179,9 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = PolicyPasswordDefaultArgs.__new__(PolicyPasswordDefaultArgs) + __props__.__dict__["breached_password_delegated_workflow_id"] = breached_password_delegated_workflow_id + __props__.__dict__["breached_password_expire_after_days"] = breached_password_expire_after_days + __props__.__dict__["breached_password_logout_enabled"] = breached_password_logout_enabled __props__.__dict__["call_recovery"] = call_recovery __props__.__dict__["email_recovery"] = email_recovery __props__.__dict__["password_auto_unlock_minutes"] = password_auto_unlock_minutes @@ -1088,6 +1222,9 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + breached_password_delegated_workflow_id: pulumi.Input[Optional[_builtins.str]] = None, + breached_password_expire_after_days: pulumi.Input[Optional[_builtins.int]] = None, + breached_password_logout_enabled: pulumi.Input[Optional[_builtins.bool]] = None, call_recovery: pulumi.Input[Optional[_builtins.str]] = None, default_auth_provider: pulumi.Input[Optional[_builtins.str]] = None, default_included_group_id: pulumi.Input[Optional[_builtins.str]] = None, @@ -1125,6 +1262,9 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] breached_password_delegated_workflow_id: The ID of the workflow to run when a breached password is found during a sign-in attempt. + :param pulumi.Input[_builtins.int] breached_password_expire_after_days: Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + :param pulumi.Input[_builtins.bool] breached_password_logout_enabled: If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` :param pulumi.Input[_builtins.str] call_recovery: Enable or disable voice call recovery: ACTIVE or INACTIVE. Default: `INACTIVE` :param pulumi.Input[_builtins.str] default_auth_provider: Default Authentication Provider :param pulumi.Input[_builtins.str] default_included_group_id: Default group ID (always included) @@ -1160,6 +1300,9 @@ def get(resource_name: str, __props__ = _PolicyPasswordDefaultState.__new__(_PolicyPasswordDefaultState) + __props__.__dict__["breached_password_delegated_workflow_id"] = breached_password_delegated_workflow_id + __props__.__dict__["breached_password_expire_after_days"] = breached_password_expire_after_days + __props__.__dict__["breached_password_logout_enabled"] = breached_password_logout_enabled __props__.__dict__["call_recovery"] = call_recovery __props__.__dict__["default_auth_provider"] = default_auth_provider __props__.__dict__["default_included_group_id"] = default_included_group_id @@ -1192,6 +1335,30 @@ def get(resource_name: str, __props__.__dict__["status"] = status return PolicyPasswordDefault(resource_name, opts=opts, __props__=__props__) + @_builtins.property + @pulumi.getter(name="breachedPasswordDelegatedWorkflowId") + def breached_password_delegated_workflow_id(self) -> pulumi.Output[Optional[_builtins.str]]: + """ + The ID of the workflow to run when a breached password is found during a sign-in attempt. + """ + return pulumi.get(self, "breached_password_delegated_workflow_id") + + @_builtins.property + @pulumi.getter(name="breachedPasswordExpireAfterDays") + def breached_password_expire_after_days(self) -> pulumi.Output[Optional[_builtins.int]]: + """ + Number of days after a breached password is detected before the user's password expires. Valid values: 0 through 10. If set to 0, expiry is immediate. Only applicable when `breached_password_logout_enabled` is `true`. + """ + return pulumi.get(self, "breached_password_expire_after_days") + + @_builtins.property + @pulumi.getter(name="breachedPasswordLogoutEnabled") + def breached_password_logout_enabled(self) -> pulumi.Output[Optional[_builtins.bool]]: + """ + If `true`, the user's sessions are terminated immediately when their credentials are detected as part of a breach. Requires `breached_password_expire_after_days` to also be configured. Default: `false` + """ + return pulumi.get(self, "breached_password_logout_enabled") + @_builtins.property @pulumi.getter(name="callRecovery") def call_recovery(self) -> pulumi.Output[Optional[_builtins.str]]: diff --git a/sdk/python/pulumi_okta/push_group.py b/sdk/python/pulumi_okta/push_group.py index 1fad81aa8..b1699a175 100644 --- a/sdk/python/pulumi_okta/push_group.py +++ b/sdk/python/pulumi_okta/push_group.py @@ -301,6 +301,7 @@ def __init__(__self__, source_group_id=test_group.id, status="ACTIVE", app_config={ + "type": "ACTIVE_DIRECTORY", "distinguished_name": "CN=Test,OU=Groups,DC=example,DC=com", "group_scope": "DOMAIN_LOCAL", "group_type": "SECURITY", @@ -360,6 +361,7 @@ def __init__(__self__, source_group_id=test_group.id, status="ACTIVE", app_config={ + "type": "ACTIVE_DIRECTORY", "distinguished_name": "CN=Test,OU=Groups,DC=example,DC=com", "group_scope": "DOMAIN_LOCAL", "group_type": "SECURITY", diff --git a/sdk/python/pulumi_okta/request_setting_organization.py b/sdk/python/pulumi_okta/request_setting_organization.py index 2d15fe585..b0e332f6b 100644 --- a/sdk/python/pulumi_okta/request_setting_organization.py +++ b/sdk/python/pulumi_okta/request_setting_organization.py @@ -24,7 +24,7 @@ def __init__(__self__, *, """ The set of arguments for constructing a RequestSettingOrganization resource. - :param pulumi.Input[_builtins.str] id_property: Request condition id. + :param pulumi.Input[_builtins.str] id_property: The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. :param pulumi.Input[_builtins.bool] subprocessors_acknowledged: Whether a customer has acknowledged Access Requests subprocessors. """ pulumi.set(__self__, "id_property", id_property) @@ -35,7 +35,7 @@ def __init__(__self__, *, @pulumi.getter(name="idProperty") def id_property(self) -> pulumi.Input[_builtins.str]: """ - Request condition id. + The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. """ return pulumi.get(self, "id_property") @@ -64,7 +64,7 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering RequestSettingOrganization resources. - :param pulumi.Input[_builtins.str] id_property: Request condition id. + :param pulumi.Input[_builtins.str] id_property: The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. :param pulumi.Input[_builtins.bool] subprocessors_acknowledged: Whether a customer has acknowledged Access Requests subprocessors. """ if id_property is not None: @@ -76,7 +76,7 @@ def __init__(__self__, *, @pulumi.getter(name="idProperty") def id_property(self) -> pulumi.Input[Optional[_builtins.str]]: """ - Request condition id. + The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. """ return pulumi.get(self, "id_property") @@ -115,16 +115,9 @@ def __init__(__self__, import pulumi import pulumi_okta as okta - example = okta.RequestCondition("example", - resource_id="", - approval_sequence_id="", - name="", - access_scope_settings={ - "type": "RESOURCE_DEFAULT", - }, - requester_settings={ - "type": "EVERYONE", - }) + example = okta.RequestSettingOrganization("example", + id_property="default", + subprocessors_acknowledged=True) ``` ## Import @@ -136,7 +129,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[_builtins.str] id_property: Request condition id. + :param pulumi.Input[_builtins.str] id_property: The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. :param pulumi.Input[_builtins.bool] subprocessors_acknowledged: Whether a customer has acknowledged Access Requests subprocessors. """ ... @@ -154,16 +147,9 @@ def __init__(__self__, import pulumi import pulumi_okta as okta - example = okta.RequestCondition("example", - resource_id="", - approval_sequence_id="", - name="", - access_scope_settings={ - "type": "RESOURCE_DEFAULT", - }, - requester_settings={ - "type": "EVERYONE", - }) + example = okta.RequestSettingOrganization("example", + id_property="default", + subprocessors_acknowledged=True) ``` ## Import @@ -222,7 +208,7 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[_builtins.str] id_property: Request condition id. + :param pulumi.Input[_builtins.str] id_property: The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. :param pulumi.Input[_builtins.bool] subprocessors_acknowledged: Whether a customer has acknowledged Access Requests subprocessors. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -237,7 +223,7 @@ def get(resource_name: str, @pulumi.getter(name="idProperty") def id_property(self) -> pulumi.Output[_builtins.str]: """ - Request condition id. + The internal identifier for this resource, required by Terraform to track state. This field does not exist in the Okta API response. """ return pulumi.get(self, "id_property") diff --git a/sdk/python/pulumi_okta/request_setting_resource.py b/sdk/python/pulumi_okta/request_setting_resource.py index a43b40ccb..87cc68f9c 100644 --- a/sdk/python/pulumi_okta/request_setting_resource.py +++ b/sdk/python/pulumi_okta/request_setting_resource.py @@ -151,7 +151,7 @@ def __init__(__self__, import pulumi_okta as okta test = okta.RequestSettingResource("test", - resource_id="", + id_property="", risk_settings={ "default_setting": { "request_submission_type": "ALLOWED_WITH_OVERRIDES", @@ -192,7 +192,7 @@ def __init__(__self__, import pulumi_okta as okta test = okta.RequestSettingResource("test", - resource_id="", + id_property="", risk_settings={ "default_setting": { "request_submission_type": "ALLOWED_WITH_OVERRIDES", diff --git a/sdk/python/pulumi_okta/user/get_user.py b/sdk/python/pulumi_okta/user/get_user.py index 81d3a2825..4ff845c52 100644 --- a/sdk/python/pulumi_okta/user/get_user.py +++ b/sdk/python/pulumi_okta/user/get_user.py @@ -28,7 +28,10 @@ class GetUserResult: """ A collection of values returned by getUser. """ - def __init__(__self__, admin_roles=None, city=None, compound_search_operator=None, cost_center=None, country_code=None, custom_profile_attributes=None, delay_read_seconds=None, department=None, display_name=None, division=None, email=None, employee_number=None, first_name=None, group_memberships=None, honorific_prefix=None, honorific_suffix=None, id=None, last_name=None, locale=None, login=None, manager=None, manager_id=None, middle_name=None, mobile_phone=None, nick_name=None, organization=None, postal_address=None, preferred_language=None, primary_phone=None, profile_url=None, realm_id=None, roles=None, searches=None, second_email=None, skip_groups=None, skip_roles=None, state=None, status=None, street_address=None, timezone=None, title=None, types=None, user_id=None, user_type=None, zip_code=None): + def __init__(__self__, activated=None, admin_roles=None, city=None, compound_search_operator=None, cost_center=None, country_code=None, created=None, custom_profile_attributes=None, delay_read_seconds=None, department=None, display_name=None, division=None, email=None, employee_number=None, first_name=None, group_memberships=None, honorific_prefix=None, honorific_suffix=None, id=None, last_login=None, last_name=None, last_updated=None, locale=None, login=None, manager=None, manager_id=None, middle_name=None, mobile_phone=None, nick_name=None, organization=None, password_changed=None, postal_address=None, preferred_language=None, primary_phone=None, profile_url=None, realm_id=None, roles=None, searches=None, second_email=None, skip_groups=None, skip_roles=None, state=None, status=None, status_changed=None, street_address=None, timezone=None, title=None, types=None, user_id=None, user_type=None, zip_code=None): + if activated and not isinstance(activated, str): + raise TypeError("Expected argument 'activated' to be a str") + pulumi.set(__self__, "activated", activated) if admin_roles and not isinstance(admin_roles, list): raise TypeError("Expected argument 'admin_roles' to be a list") pulumi.set(__self__, "admin_roles", admin_roles) @@ -44,6 +47,9 @@ def __init__(__self__, admin_roles=None, city=None, compound_search_operator=Non if country_code and not isinstance(country_code, str): raise TypeError("Expected argument 'country_code' to be a str") pulumi.set(__self__, "country_code", country_code) + if created and not isinstance(created, str): + raise TypeError("Expected argument 'created' to be a str") + pulumi.set(__self__, "created", created) if custom_profile_attributes and not isinstance(custom_profile_attributes, str): raise TypeError("Expected argument 'custom_profile_attributes' to be a str") pulumi.set(__self__, "custom_profile_attributes", custom_profile_attributes) @@ -80,9 +86,15 @@ def __init__(__self__, admin_roles=None, city=None, compound_search_operator=Non if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) + if last_login and not isinstance(last_login, str): + raise TypeError("Expected argument 'last_login' to be a str") + pulumi.set(__self__, "last_login", last_login) if last_name and not isinstance(last_name, str): raise TypeError("Expected argument 'last_name' to be a str") pulumi.set(__self__, "last_name", last_name) + if last_updated and not isinstance(last_updated, str): + raise TypeError("Expected argument 'last_updated' to be a str") + pulumi.set(__self__, "last_updated", last_updated) if locale and not isinstance(locale, str): raise TypeError("Expected argument 'locale' to be a str") pulumi.set(__self__, "locale", locale) @@ -107,6 +119,9 @@ def __init__(__self__, admin_roles=None, city=None, compound_search_operator=Non if organization and not isinstance(organization, str): raise TypeError("Expected argument 'organization' to be a str") pulumi.set(__self__, "organization", organization) + if password_changed and not isinstance(password_changed, str): + raise TypeError("Expected argument 'password_changed' to be a str") + pulumi.set(__self__, "password_changed", password_changed) if postal_address and not isinstance(postal_address, str): raise TypeError("Expected argument 'postal_address' to be a str") pulumi.set(__self__, "postal_address", postal_address) @@ -143,6 +158,9 @@ def __init__(__self__, admin_roles=None, city=None, compound_search_operator=Non if status and not isinstance(status, str): raise TypeError("Expected argument 'status' to be a str") pulumi.set(__self__, "status", status) + if status_changed and not isinstance(status_changed, str): + raise TypeError("Expected argument 'status_changed' to be a str") + pulumi.set(__self__, "status_changed", status_changed) if street_address and not isinstance(street_address, str): raise TypeError("Expected argument 'street_address' to be a str") pulumi.set(__self__, "street_address", street_address) @@ -165,6 +183,11 @@ def __init__(__self__, admin_roles=None, city=None, compound_search_operator=Non raise TypeError("Expected argument 'zip_code' to be a str") pulumi.set(__self__, "zip_code", zip_code) + @_builtins.property + @pulumi.getter + def activated(self) -> _builtins.str: + return pulumi.get(self, "activated") + @_builtins.property @pulumi.getter(name="adminRoles") def admin_roles(self) -> Sequence[_builtins.str]: @@ -193,6 +216,11 @@ def cost_center(self) -> _builtins.str: def country_code(self) -> _builtins.str: return pulumi.get(self, "country_code") + @_builtins.property + @pulumi.getter + def created(self) -> _builtins.str: + return pulumi.get(self, "created") + @_builtins.property @pulumi.getter(name="customProfileAttributes") def custom_profile_attributes(self) -> _builtins.str: @@ -259,11 +287,21 @@ def id(self) -> _builtins.str: """ return pulumi.get(self, "id") + @_builtins.property + @pulumi.getter(name="lastLogin") + def last_login(self) -> _builtins.str: + return pulumi.get(self, "last_login") + @_builtins.property @pulumi.getter(name="lastName") def last_name(self) -> _builtins.str: return pulumi.get(self, "last_name") + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> _builtins.str: + return pulumi.get(self, "last_updated") + @_builtins.property @pulumi.getter def locale(self) -> _builtins.str: @@ -304,6 +342,11 @@ def nick_name(self) -> _builtins.str: def organization(self) -> _builtins.str: return pulumi.get(self, "organization") + @_builtins.property + @pulumi.getter(name="passwordChanged") + def password_changed(self) -> _builtins.str: + return pulumi.get(self, "password_changed") + @_builtins.property @pulumi.getter(name="postalAddress") def postal_address(self) -> _builtins.str: @@ -376,6 +419,11 @@ def state(self) -> _builtins.str: def status(self) -> _builtins.str: return pulumi.get(self, "status") + @_builtins.property + @pulumi.getter(name="statusChanged") + def status_changed(self) -> _builtins.str: + return pulumi.get(self, "status_changed") + @_builtins.property @pulumi.getter(name="streetAddress") def street_address(self) -> _builtins.str: @@ -421,11 +469,13 @@ def __await__(self): if False: yield self return GetUserResult( + activated=self.activated, admin_roles=self.admin_roles, city=self.city, compound_search_operator=self.compound_search_operator, cost_center=self.cost_center, country_code=self.country_code, + created=self.created, custom_profile_attributes=self.custom_profile_attributes, delay_read_seconds=self.delay_read_seconds, department=self.department, @@ -438,7 +488,9 @@ def __await__(self): honorific_prefix=self.honorific_prefix, honorific_suffix=self.honorific_suffix, id=self.id, + last_login=self.last_login, last_name=self.last_name, + last_updated=self.last_updated, locale=self.locale, login=self.login, manager=self.manager, @@ -447,6 +499,7 @@ def __await__(self): mobile_phone=self.mobile_phone, nick_name=self.nick_name, organization=self.organization, + password_changed=self.password_changed, postal_address=self.postal_address, preferred_language=self.preferred_language, primary_phone=self.primary_phone, @@ -459,6 +512,7 @@ def __await__(self): skip_roles=self.skip_roles, state=self.state, status=self.status, + status_changed=self.status_changed, street_address=self.street_address, timezone=self.timezone, title=self.title, @@ -497,11 +551,13 @@ def get_user(compound_search_operator: Optional[_builtins.str] = None, __ret__ = pulumi.runtime.invoke('okta:user/getUser:getUser', __args__, opts=opts, typ=GetUserResult).value return AwaitableGetUserResult( + activated=pulumi.get(__ret__, 'activated'), admin_roles=pulumi.get(__ret__, 'admin_roles'), city=pulumi.get(__ret__, 'city'), compound_search_operator=pulumi.get(__ret__, 'compound_search_operator'), cost_center=pulumi.get(__ret__, 'cost_center'), country_code=pulumi.get(__ret__, 'country_code'), + created=pulumi.get(__ret__, 'created'), custom_profile_attributes=pulumi.get(__ret__, 'custom_profile_attributes'), delay_read_seconds=pulumi.get(__ret__, 'delay_read_seconds'), department=pulumi.get(__ret__, 'department'), @@ -514,7 +570,9 @@ def get_user(compound_search_operator: Optional[_builtins.str] = None, honorific_prefix=pulumi.get(__ret__, 'honorific_prefix'), honorific_suffix=pulumi.get(__ret__, 'honorific_suffix'), id=pulumi.get(__ret__, 'id'), + last_login=pulumi.get(__ret__, 'last_login'), last_name=pulumi.get(__ret__, 'last_name'), + last_updated=pulumi.get(__ret__, 'last_updated'), locale=pulumi.get(__ret__, 'locale'), login=pulumi.get(__ret__, 'login'), manager=pulumi.get(__ret__, 'manager'), @@ -523,6 +581,7 @@ def get_user(compound_search_operator: Optional[_builtins.str] = None, mobile_phone=pulumi.get(__ret__, 'mobile_phone'), nick_name=pulumi.get(__ret__, 'nick_name'), organization=pulumi.get(__ret__, 'organization'), + password_changed=pulumi.get(__ret__, 'password_changed'), postal_address=pulumi.get(__ret__, 'postal_address'), preferred_language=pulumi.get(__ret__, 'preferred_language'), primary_phone=pulumi.get(__ret__, 'primary_phone'), @@ -535,6 +594,7 @@ def get_user(compound_search_operator: Optional[_builtins.str] = None, skip_roles=pulumi.get(__ret__, 'skip_roles'), state=pulumi.get(__ret__, 'state'), status=pulumi.get(__ret__, 'status'), + status_changed=pulumi.get(__ret__, 'status_changed'), street_address=pulumi.get(__ret__, 'street_address'), timezone=pulumi.get(__ret__, 'timezone'), title=pulumi.get(__ret__, 'title'), @@ -570,11 +630,13 @@ def get_user_output(compound_search_operator: pulumi.Input[Optional[Optional[_bu 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( + activated=pulumi.get(__response__, 'activated'), admin_roles=pulumi.get(__response__, 'admin_roles'), city=pulumi.get(__response__, 'city'), compound_search_operator=pulumi.get(__response__, 'compound_search_operator'), cost_center=pulumi.get(__response__, 'cost_center'), country_code=pulumi.get(__response__, 'country_code'), + created=pulumi.get(__response__, 'created'), custom_profile_attributes=pulumi.get(__response__, 'custom_profile_attributes'), delay_read_seconds=pulumi.get(__response__, 'delay_read_seconds'), department=pulumi.get(__response__, 'department'), @@ -587,7 +649,9 @@ def get_user_output(compound_search_operator: pulumi.Input[Optional[Optional[_bu honorific_prefix=pulumi.get(__response__, 'honorific_prefix'), honorific_suffix=pulumi.get(__response__, 'honorific_suffix'), id=pulumi.get(__response__, 'id'), + last_login=pulumi.get(__response__, 'last_login'), last_name=pulumi.get(__response__, 'last_name'), + last_updated=pulumi.get(__response__, 'last_updated'), locale=pulumi.get(__response__, 'locale'), login=pulumi.get(__response__, 'login'), manager=pulumi.get(__response__, 'manager'), @@ -596,6 +660,7 @@ def get_user_output(compound_search_operator: pulumi.Input[Optional[Optional[_bu mobile_phone=pulumi.get(__response__, 'mobile_phone'), nick_name=pulumi.get(__response__, 'nick_name'), organization=pulumi.get(__response__, 'organization'), + password_changed=pulumi.get(__response__, 'password_changed'), postal_address=pulumi.get(__response__, 'postal_address'), preferred_language=pulumi.get(__response__, 'preferred_language'), primary_phone=pulumi.get(__response__, 'primary_phone'), @@ -608,6 +673,7 @@ def get_user_output(compound_search_operator: pulumi.Input[Optional[Optional[_bu skip_roles=pulumi.get(__response__, 'skip_roles'), state=pulumi.get(__response__, 'state'), status=pulumi.get(__response__, 'status'), + status_changed=pulumi.get(__response__, 'status_changed'), street_address=pulumi.get(__response__, 'street_address'), timezone=pulumi.get(__response__, 'timezone'), title=pulumi.get(__response__, 'title'), diff --git a/sdk/python/pulumi_okta/user/outputs.py b/sdk/python/pulumi_okta/user/outputs.py index 83b544952..0101d135c 100644 --- a/sdk/python/pulumi_okta/user/outputs.py +++ b/sdk/python/pulumi_okta/user/outputs.py @@ -242,10 +242,12 @@ def value(self) -> Optional[_builtins.str]: @pulumi.output_type class GetUsersUserResult(dict): def __init__(__self__, *, + activated: _builtins.str, admin_roles: Sequence[_builtins.str], city: _builtins.str, cost_center: _builtins.str, country_code: _builtins.str, + created: _builtins.str, custom_profile_attributes: _builtins.str, department: _builtins.str, display_name: _builtins.str, @@ -257,7 +259,9 @@ def __init__(__self__, *, honorific_prefix: _builtins.str, honorific_suffix: _builtins.str, id: _builtins.str, + last_login: _builtins.str, last_name: _builtins.str, + last_updated: _builtins.str, locale: _builtins.str, login: _builtins.str, manager: _builtins.str, @@ -266,6 +270,7 @@ def __init__(__self__, *, mobile_phone: _builtins.str, nick_name: _builtins.str, organization: _builtins.str, + password_changed: _builtins.str, postal_address: _builtins.str, preferred_language: _builtins.str, primary_phone: _builtins.str, @@ -275,6 +280,7 @@ def __init__(__self__, *, second_email: _builtins.str, state: _builtins.str, status: _builtins.str, + status_changed: _builtins.str, street_address: _builtins.str, timezone: _builtins.str, title: _builtins.str, @@ -285,10 +291,12 @@ def __init__(__self__, *, :param _builtins.str realm_id: The Realm ID associated with the user. :param Sequence['GetUsersUserTypeArgs'] types: User type """ + pulumi.set(__self__, "activated", activated) pulumi.set(__self__, "admin_roles", admin_roles) pulumi.set(__self__, "city", city) pulumi.set(__self__, "cost_center", cost_center) pulumi.set(__self__, "country_code", country_code) + pulumi.set(__self__, "created", created) pulumi.set(__self__, "custom_profile_attributes", custom_profile_attributes) pulumi.set(__self__, "department", department) pulumi.set(__self__, "display_name", display_name) @@ -300,7 +308,9 @@ def __init__(__self__, *, pulumi.set(__self__, "honorific_prefix", honorific_prefix) pulumi.set(__self__, "honorific_suffix", honorific_suffix) pulumi.set(__self__, "id", id) + pulumi.set(__self__, "last_login", last_login) pulumi.set(__self__, "last_name", last_name) + pulumi.set(__self__, "last_updated", last_updated) pulumi.set(__self__, "locale", locale) pulumi.set(__self__, "login", login) pulumi.set(__self__, "manager", manager) @@ -309,6 +319,7 @@ def __init__(__self__, *, pulumi.set(__self__, "mobile_phone", mobile_phone) pulumi.set(__self__, "nick_name", nick_name) pulumi.set(__self__, "organization", organization) + pulumi.set(__self__, "password_changed", password_changed) pulumi.set(__self__, "postal_address", postal_address) pulumi.set(__self__, "preferred_language", preferred_language) pulumi.set(__self__, "primary_phone", primary_phone) @@ -318,6 +329,7 @@ def __init__(__self__, *, pulumi.set(__self__, "second_email", second_email) pulumi.set(__self__, "state", state) pulumi.set(__self__, "status", status) + pulumi.set(__self__, "status_changed", status_changed) pulumi.set(__self__, "street_address", street_address) pulumi.set(__self__, "timezone", timezone) pulumi.set(__self__, "title", title) @@ -325,6 +337,11 @@ def __init__(__self__, *, pulumi.set(__self__, "user_type", user_type) pulumi.set(__self__, "zip_code", zip_code) + @_builtins.property + @pulumi.getter + def activated(self) -> _builtins.str: + return pulumi.get(self, "activated") + @_builtins.property @pulumi.getter(name="adminRoles") def admin_roles(self) -> Sequence[_builtins.str]: @@ -345,6 +362,11 @@ def cost_center(self) -> _builtins.str: def country_code(self) -> _builtins.str: return pulumi.get(self, "country_code") + @_builtins.property + @pulumi.getter + def created(self) -> _builtins.str: + return pulumi.get(self, "created") + @_builtins.property @pulumi.getter(name="customProfileAttributes") def custom_profile_attributes(self) -> _builtins.str: @@ -400,11 +422,21 @@ def honorific_suffix(self) -> _builtins.str: def id(self) -> _builtins.str: return pulumi.get(self, "id") + @_builtins.property + @pulumi.getter(name="lastLogin") + def last_login(self) -> _builtins.str: + return pulumi.get(self, "last_login") + @_builtins.property @pulumi.getter(name="lastName") def last_name(self) -> _builtins.str: return pulumi.get(self, "last_name") + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> _builtins.str: + return pulumi.get(self, "last_updated") + @_builtins.property @pulumi.getter def locale(self) -> _builtins.str: @@ -445,6 +477,11 @@ def nick_name(self) -> _builtins.str: def organization(self) -> _builtins.str: return pulumi.get(self, "organization") + @_builtins.property + @pulumi.getter(name="passwordChanged") + def password_changed(self) -> _builtins.str: + return pulumi.get(self, "password_changed") + @_builtins.property @pulumi.getter(name="postalAddress") def postal_address(self) -> _builtins.str: @@ -493,6 +530,11 @@ def state(self) -> _builtins.str: def status(self) -> _builtins.str: return pulumi.get(self, "status") + @_builtins.property + @pulumi.getter(name="statusChanged") + def status_changed(self) -> _builtins.str: + return pulumi.get(self, "status_changed") + @_builtins.property @pulumi.getter(name="streetAddress") def street_address(self) -> _builtins.str: diff --git a/sdk/python/pulumi_okta/user/user.py b/sdk/python/pulumi_okta/user/user.py index a4aa36985..57d7103d2 100644 --- a/sdk/python/pulumi_okta/user/user.py +++ b/sdk/python/pulumi_okta/user/user.py @@ -734,9 +734,11 @@ def zip_code(self, value: pulumi.Input[Optional[_builtins.str]]): @pulumi.input_type class _UserState: def __init__(__self__, *, + activated: pulumi.Input[Optional[_builtins.str]] = None, city: pulumi.Input[Optional[_builtins.str]] = None, cost_center: pulumi.Input[Optional[_builtins.str]] = None, country_code: pulumi.Input[Optional[_builtins.str]] = None, + created: pulumi.Input[Optional[_builtins.str]] = None, custom_profile_attributes: pulumi.Input[Optional[_builtins.str]] = None, custom_profile_attributes_to_ignores: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, department: pulumi.Input[Optional[_builtins.str]] = None, @@ -748,7 +750,9 @@ def __init__(__self__, *, first_name: pulumi.Input[Optional[_builtins.str]] = None, honorific_prefix: pulumi.Input[Optional[_builtins.str]] = None, honorific_suffix: pulumi.Input[Optional[_builtins.str]] = None, + last_login: pulumi.Input[Optional[_builtins.str]] = None, last_name: pulumi.Input[Optional[_builtins.str]] = None, + last_updated: pulumi.Input[Optional[_builtins.str]] = None, locale: pulumi.Input[Optional[_builtins.str]] = None, login: pulumi.Input[Optional[_builtins.str]] = None, manager: pulumi.Input[Optional[_builtins.str]] = None, @@ -759,6 +763,7 @@ def __init__(__self__, *, old_password: pulumi.Input[Optional[_builtins.str]] = None, organization: pulumi.Input[Optional[_builtins.str]] = None, password: pulumi.Input[Optional[_builtins.str]] = None, + password_changed: pulumi.Input[Optional[_builtins.str]] = None, password_hash: pulumi.Input[Optional['UserPasswordHashArgs']] = None, password_inline_hook: pulumi.Input[Optional[_builtins.str]] = None, postal_address: pulumi.Input[Optional[_builtins.str]] = None, @@ -773,6 +778,7 @@ def __init__(__self__, *, skip_roles: pulumi.Input[Optional[_builtins.bool]] = None, state: pulumi.Input[Optional[_builtins.str]] = None, status: pulumi.Input[Optional[_builtins.str]] = None, + status_changed: pulumi.Input[Optional[_builtins.str]] = None, street_address: pulumi.Input[Optional[_builtins.str]] = None, timezone: pulumi.Input[Optional[_builtins.str]] = None, title: pulumi.Input[Optional[_builtins.str]] = None, @@ -782,9 +788,11 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering User resources. + :param pulumi.Input[_builtins.str] activated: The timestamp when the user status transitioned to ACTIVE :param pulumi.Input[_builtins.str] city: User city :param pulumi.Input[_builtins.str] cost_center: User cost center :param pulumi.Input[_builtins.str] country_code: User country code + :param pulumi.Input[_builtins.str] created: The timestamp when the user was created :param pulumi.Input[_builtins.str] custom_profile_attributes: JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] custom_profile_attributes_to_ignores: List of custom*profile*attribute keys that should be excluded from being managed by Terraform. This is useful in situations where specific custom fields may contain sensitive information and should be managed outside of Terraform. :param pulumi.Input[_builtins.str] department: User department @@ -796,7 +804,9 @@ def __init__(__self__, *, :param pulumi.Input[_builtins.str] first_name: User first name :param pulumi.Input[_builtins.str] honorific_prefix: User honorific prefix :param pulumi.Input[_builtins.str] honorific_suffix: User honorific suffix + :param pulumi.Input[_builtins.str] last_login: The timestamp of the user's last login :param pulumi.Input[_builtins.str] last_name: User last name + :param pulumi.Input[_builtins.str] last_updated: The timestamp when the user was last updated :param pulumi.Input[_builtins.str] locale: User default location :param pulumi.Input[_builtins.str] login: User Okta login :param pulumi.Input[_builtins.str] manager: Manager of User @@ -807,6 +817,7 @@ def __init__(__self__, *, :param pulumi.Input[_builtins.str] old_password: Old User Password. Should be only set in case the password was not changed using the provider. fter successful password change this field should be removed and `password` field should be used for further changes. :param pulumi.Input[_builtins.str] organization: User organization :param pulumi.Input[_builtins.str] password: User Password + :param pulumi.Input[_builtins.str] password_changed: The timestamp when the user's password was last changed :param pulumi.Input['UserPasswordHashArgs'] password_hash: Specifies a hashed password to import into Okta. :param pulumi.Input[_builtins.str] password_inline_hook: Specifies that a Password Import Inline Hook should be triggered to handle verification of the user's password the first time the user logs in. This allows an existing password to be imported into Okta directly from some other store. When updating a user with a password hook the user must be in the `STAGED` status. The `password` field should not be specified when using Password Import Inline Hook. :param pulumi.Input[_builtins.str] postal_address: User mailing address @@ -821,6 +832,7 @@ def __init__(__self__, *, :param pulumi.Input[_builtins.bool] skip_roles: Do not populate user roles information (prevents additional API call) :param pulumi.Input[_builtins.str] state: User state or region :param pulumi.Input[_builtins.str] status: User profile property. Valid values are `ACTIVE`, `DEPROVISIONED`, `STAGED`, `SUSPENDED`. Default: `ACTIVE` + :param pulumi.Input[_builtins.str] status_changed: The timestamp when the user's status last changed :param pulumi.Input[_builtins.str] street_address: User street address :param pulumi.Input[_builtins.str] timezone: User default timezone :param pulumi.Input[_builtins.str] title: User title @@ -828,12 +840,16 @@ def __init__(__self__, *, :param pulumi.Input[_builtins.str] user_type: User employee type :param pulumi.Input[_builtins.str] zip_code: User zipcode or postal code """ + if activated is not None: + pulumi.set(__self__, "activated", activated) if city is not None: pulumi.set(__self__, "city", city) if cost_center is not None: pulumi.set(__self__, "cost_center", cost_center) if country_code is not None: pulumi.set(__self__, "country_code", country_code) + if created is not None: + pulumi.set(__self__, "created", created) if custom_profile_attributes is not None: pulumi.set(__self__, "custom_profile_attributes", custom_profile_attributes) if custom_profile_attributes_to_ignores is not None: @@ -856,8 +872,12 @@ def __init__(__self__, *, pulumi.set(__self__, "honorific_prefix", honorific_prefix) if honorific_suffix is not None: pulumi.set(__self__, "honorific_suffix", honorific_suffix) + if last_login is not None: + pulumi.set(__self__, "last_login", last_login) if last_name is not None: pulumi.set(__self__, "last_name", last_name) + if last_updated is not None: + pulumi.set(__self__, "last_updated", last_updated) if locale is not None: pulumi.set(__self__, "locale", locale) if login is not None: @@ -878,6 +898,8 @@ def __init__(__self__, *, pulumi.set(__self__, "organization", organization) if password is not None: pulumi.set(__self__, "password", password) + if password_changed is not None: + pulumi.set(__self__, "password_changed", password_changed) if password_hash is not None: pulumi.set(__self__, "password_hash", password_hash) if password_inline_hook is not None: @@ -909,6 +931,8 @@ def __init__(__self__, *, pulumi.set(__self__, "state", state) if status is not None: pulumi.set(__self__, "status", status) + if status_changed is not None: + pulumi.set(__self__, "status_changed", status_changed) if street_address is not None: pulumi.set(__self__, "street_address", street_address) if timezone is not None: @@ -922,6 +946,18 @@ def __init__(__self__, *, if zip_code is not None: pulumi.set(__self__, "zip_code", zip_code) + @_builtins.property + @pulumi.getter + def activated(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The timestamp when the user status transitioned to ACTIVE + """ + return pulumi.get(self, "activated") + + @activated.setter + def activated(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "activated", value) + @_builtins.property @pulumi.getter def city(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -958,6 +994,18 @@ def country_code(self) -> pulumi.Input[Optional[_builtins.str]]: def country_code(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "country_code", value) + @_builtins.property + @pulumi.getter + def created(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The timestamp when the user was created + """ + return pulumi.get(self, "created") + + @created.setter + def created(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "created", value) + @_builtins.property @pulumi.getter(name="customProfileAttributes") def custom_profile_attributes(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -1090,6 +1138,18 @@ def honorific_suffix(self) -> pulumi.Input[Optional[_builtins.str]]: def honorific_suffix(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "honorific_suffix", value) + @_builtins.property + @pulumi.getter(name="lastLogin") + def last_login(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The timestamp of the user's last login + """ + return pulumi.get(self, "last_login") + + @last_login.setter + def last_login(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "last_login", value) + @_builtins.property @pulumi.getter(name="lastName") def last_name(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -1102,6 +1162,18 @@ def last_name(self) -> pulumi.Input[Optional[_builtins.str]]: def last_name(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "last_name", value) + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The timestamp when the user was last updated + """ + return pulumi.get(self, "last_updated") + + @last_updated.setter + def last_updated(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "last_updated", value) + @_builtins.property @pulumi.getter def locale(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -1222,6 +1294,18 @@ def password(self) -> pulumi.Input[Optional[_builtins.str]]: def password(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "password", value) + @_builtins.property + @pulumi.getter(name="passwordChanged") + def password_changed(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The timestamp when the user's password was last changed + """ + return pulumi.get(self, "password_changed") + + @password_changed.setter + def password_changed(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "password_changed", value) + @_builtins.property @pulumi.getter(name="passwordHash") def password_hash(self) -> pulumi.Input[Optional['UserPasswordHashArgs']]: @@ -1391,6 +1475,18 @@ def status(self) -> pulumi.Input[Optional[_builtins.str]]: def status(self, value: pulumi.Input[Optional[_builtins.str]]): pulumi.set(self, "status", value) + @_builtins.property + @pulumi.getter(name="statusChanged") + def status_changed(self) -> pulumi.Input[Optional[_builtins.str]]: + """ + The timestamp when the user's status last changed + """ + return pulumi.get(self, "status_changed") + + @status_changed.setter + def status_changed(self, value: pulumi.Input[Optional[_builtins.str]]): + pulumi.set(self, "status_changed", value) + @_builtins.property @pulumi.getter(name="streetAddress") def street_address(self) -> pulumi.Input[Optional[_builtins.str]]: @@ -1804,7 +1900,13 @@ def _internal_init(__self__, __props__.__dict__["type"] = type __props__.__dict__["user_type"] = user_type __props__.__dict__["zip_code"] = zip_code + __props__.__dict__["activated"] = None + __props__.__dict__["created"] = None + __props__.__dict__["last_login"] = None + __props__.__dict__["last_updated"] = None + __props__.__dict__["password_changed"] = None __props__.__dict__["raw_status"] = None + __props__.__dict__["status_changed"] = None secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["oldPassword", "password", "recoveryAnswer"]) opts = pulumi.ResourceOptions.merge(opts, secret_opts) super(User, __self__).__init__( @@ -1817,9 +1919,11 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + activated: pulumi.Input[Optional[_builtins.str]] = None, city: pulumi.Input[Optional[_builtins.str]] = None, cost_center: pulumi.Input[Optional[_builtins.str]] = None, country_code: pulumi.Input[Optional[_builtins.str]] = None, + created: pulumi.Input[Optional[_builtins.str]] = None, custom_profile_attributes: pulumi.Input[Optional[_builtins.str]] = None, custom_profile_attributes_to_ignores: pulumi.Input[Optional[Sequence[pulumi.Input[_builtins.str]]]] = None, department: pulumi.Input[Optional[_builtins.str]] = None, @@ -1831,7 +1935,9 @@ def get(resource_name: str, first_name: pulumi.Input[Optional[_builtins.str]] = None, honorific_prefix: pulumi.Input[Optional[_builtins.str]] = None, honorific_suffix: pulumi.Input[Optional[_builtins.str]] = None, + last_login: pulumi.Input[Optional[_builtins.str]] = None, last_name: pulumi.Input[Optional[_builtins.str]] = None, + last_updated: pulumi.Input[Optional[_builtins.str]] = None, locale: pulumi.Input[Optional[_builtins.str]] = None, login: pulumi.Input[Optional[_builtins.str]] = None, manager: pulumi.Input[Optional[_builtins.str]] = None, @@ -1842,6 +1948,7 @@ def get(resource_name: str, old_password: pulumi.Input[Optional[_builtins.str]] = None, organization: pulumi.Input[Optional[_builtins.str]] = None, password: pulumi.Input[Optional[_builtins.str]] = None, + password_changed: pulumi.Input[Optional[_builtins.str]] = None, password_hash: pulumi.Input[Optional[Union['UserPasswordHashArgs', 'UserPasswordHashArgsDict']]] = None, password_inline_hook: pulumi.Input[Optional[_builtins.str]] = None, postal_address: pulumi.Input[Optional[_builtins.str]] = None, @@ -1856,6 +1963,7 @@ def get(resource_name: str, skip_roles: pulumi.Input[Optional[_builtins.bool]] = None, state: pulumi.Input[Optional[_builtins.str]] = None, status: pulumi.Input[Optional[_builtins.str]] = None, + status_changed: pulumi.Input[Optional[_builtins.str]] = None, street_address: pulumi.Input[Optional[_builtins.str]] = None, timezone: pulumi.Input[Optional[_builtins.str]] = None, title: pulumi.Input[Optional[_builtins.str]] = None, @@ -1869,9 +1977,11 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[_builtins.str] activated: The timestamp when the user status transitioned to ACTIVE :param pulumi.Input[_builtins.str] city: User city :param pulumi.Input[_builtins.str] cost_center: User cost center :param pulumi.Input[_builtins.str] country_code: User country code + :param pulumi.Input[_builtins.str] created: The timestamp when the user was created :param pulumi.Input[_builtins.str] custom_profile_attributes: JSON formatted custom attributes for a user. It must be JSON due to various types Okta allows. You must first add the custom property to the user profile schema before you reference it. You can use the Profile Editor in the Admin Console or the [Schemas](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/UISchema/#tag/UISchema) API to manage schema extensions. :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] custom_profile_attributes_to_ignores: List of custom*profile*attribute keys that should be excluded from being managed by Terraform. This is useful in situations where specific custom fields may contain sensitive information and should be managed outside of Terraform. :param pulumi.Input[_builtins.str] department: User department @@ -1883,7 +1993,9 @@ def get(resource_name: str, :param pulumi.Input[_builtins.str] first_name: User first name :param pulumi.Input[_builtins.str] honorific_prefix: User honorific prefix :param pulumi.Input[_builtins.str] honorific_suffix: User honorific suffix + :param pulumi.Input[_builtins.str] last_login: The timestamp of the user's last login :param pulumi.Input[_builtins.str] last_name: User last name + :param pulumi.Input[_builtins.str] last_updated: The timestamp when the user was last updated :param pulumi.Input[_builtins.str] locale: User default location :param pulumi.Input[_builtins.str] login: User Okta login :param pulumi.Input[_builtins.str] manager: Manager of User @@ -1894,6 +2006,7 @@ def get(resource_name: str, :param pulumi.Input[_builtins.str] old_password: Old User Password. Should be only set in case the password was not changed using the provider. fter successful password change this field should be removed and `password` field should be used for further changes. :param pulumi.Input[_builtins.str] organization: User organization :param pulumi.Input[_builtins.str] password: User Password + :param pulumi.Input[_builtins.str] password_changed: The timestamp when the user's password was last changed :param pulumi.Input[Union['UserPasswordHashArgs', 'UserPasswordHashArgsDict']] password_hash: Specifies a hashed password to import into Okta. :param pulumi.Input[_builtins.str] password_inline_hook: Specifies that a Password Import Inline Hook should be triggered to handle verification of the user's password the first time the user logs in. This allows an existing password to be imported into Okta directly from some other store. When updating a user with a password hook the user must be in the `STAGED` status. The `password` field should not be specified when using Password Import Inline Hook. :param pulumi.Input[_builtins.str] postal_address: User mailing address @@ -1908,6 +2021,7 @@ def get(resource_name: str, :param pulumi.Input[_builtins.bool] skip_roles: Do not populate user roles information (prevents additional API call) :param pulumi.Input[_builtins.str] state: User state or region :param pulumi.Input[_builtins.str] status: User profile property. Valid values are `ACTIVE`, `DEPROVISIONED`, `STAGED`, `SUSPENDED`. Default: `ACTIVE` + :param pulumi.Input[_builtins.str] status_changed: The timestamp when the user's status last changed :param pulumi.Input[_builtins.str] street_address: User street address :param pulumi.Input[_builtins.str] timezone: User default timezone :param pulumi.Input[_builtins.str] title: User title @@ -1919,9 +2033,11 @@ def get(resource_name: str, __props__ = _UserState.__new__(_UserState) + __props__.__dict__["activated"] = activated __props__.__dict__["city"] = city __props__.__dict__["cost_center"] = cost_center __props__.__dict__["country_code"] = country_code + __props__.__dict__["created"] = created __props__.__dict__["custom_profile_attributes"] = custom_profile_attributes __props__.__dict__["custom_profile_attributes_to_ignores"] = custom_profile_attributes_to_ignores __props__.__dict__["department"] = department @@ -1933,7 +2049,9 @@ def get(resource_name: str, __props__.__dict__["first_name"] = first_name __props__.__dict__["honorific_prefix"] = honorific_prefix __props__.__dict__["honorific_suffix"] = honorific_suffix + __props__.__dict__["last_login"] = last_login __props__.__dict__["last_name"] = last_name + __props__.__dict__["last_updated"] = last_updated __props__.__dict__["locale"] = locale __props__.__dict__["login"] = login __props__.__dict__["manager"] = manager @@ -1944,6 +2062,7 @@ def get(resource_name: str, __props__.__dict__["old_password"] = old_password __props__.__dict__["organization"] = organization __props__.__dict__["password"] = password + __props__.__dict__["password_changed"] = password_changed __props__.__dict__["password_hash"] = password_hash __props__.__dict__["password_inline_hook"] = password_inline_hook __props__.__dict__["postal_address"] = postal_address @@ -1958,6 +2077,7 @@ def get(resource_name: str, __props__.__dict__["skip_roles"] = skip_roles __props__.__dict__["state"] = state __props__.__dict__["status"] = status + __props__.__dict__["status_changed"] = status_changed __props__.__dict__["street_address"] = street_address __props__.__dict__["timezone"] = timezone __props__.__dict__["title"] = title @@ -1966,6 +2086,14 @@ def get(resource_name: str, __props__.__dict__["zip_code"] = zip_code return User(resource_name, opts=opts, __props__=__props__) + @_builtins.property + @pulumi.getter + def activated(self) -> pulumi.Output[_builtins.str]: + """ + The timestamp when the user status transitioned to ACTIVE + """ + return pulumi.get(self, "activated") + @_builtins.property @pulumi.getter def city(self) -> pulumi.Output[Optional[_builtins.str]]: @@ -1990,6 +2118,14 @@ def country_code(self) -> pulumi.Output[Optional[_builtins.str]]: """ return pulumi.get(self, "country_code") + @_builtins.property + @pulumi.getter + def created(self) -> pulumi.Output[_builtins.str]: + """ + The timestamp when the user was created + """ + return pulumi.get(self, "created") + @_builtins.property @pulumi.getter(name="customProfileAttributes") def custom_profile_attributes(self) -> pulumi.Output[_builtins.str]: @@ -2078,6 +2214,14 @@ def honorific_suffix(self) -> pulumi.Output[Optional[_builtins.str]]: """ return pulumi.get(self, "honorific_suffix") + @_builtins.property + @pulumi.getter(name="lastLogin") + def last_login(self) -> pulumi.Output[_builtins.str]: + """ + The timestamp of the user's last login + """ + return pulumi.get(self, "last_login") + @_builtins.property @pulumi.getter(name="lastName") def last_name(self) -> pulumi.Output[_builtins.str]: @@ -2086,6 +2230,14 @@ def last_name(self) -> pulumi.Output[_builtins.str]: """ return pulumi.get(self, "last_name") + @_builtins.property + @pulumi.getter(name="lastUpdated") + def last_updated(self) -> pulumi.Output[_builtins.str]: + """ + The timestamp when the user was last updated + """ + return pulumi.get(self, "last_updated") + @_builtins.property @pulumi.getter def locale(self) -> pulumi.Output[Optional[_builtins.str]]: @@ -2166,6 +2318,14 @@ def password(self) -> pulumi.Output[Optional[_builtins.str]]: """ return pulumi.get(self, "password") + @_builtins.property + @pulumi.getter(name="passwordChanged") + def password_changed(self) -> pulumi.Output[_builtins.str]: + """ + The timestamp when the user's password was last changed + """ + return pulumi.get(self, "password_changed") + @_builtins.property @pulumi.getter(name="passwordHash") def password_hash(self) -> pulumi.Output[Optional['outputs.UserPasswordHash']]: @@ -2279,6 +2439,14 @@ def status(self) -> pulumi.Output[Optional[_builtins.str]]: """ return pulumi.get(self, "status") + @_builtins.property + @pulumi.getter(name="statusChanged") + def status_changed(self) -> pulumi.Output[_builtins.str]: + """ + The timestamp when the user's status last changed + """ + return pulumi.get(self, "status_changed") + @_builtins.property @pulumi.getter(name="streetAddress") def street_address(self) -> pulumi.Output[Optional[_builtins.str]]: