okta

package
v2.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

A Pulumi package for creating and managing okta resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v2.8.0

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package.

Types

type AdminRoleTargets added in v2.10.0

type AdminRoleTargets struct {
	pulumi.CustomResourceState

	// List of app names (name represents set of app instances) or a combination of app name and app instance ID (like 'salesforce' or 'facebook.0oapsqQ6dv19pqyEo0g3').
	Apps pulumi.StringArrayOutput `pulumi:"apps"`
	// List of group IDs. Conflicts with `apps`.
	Groups pulumi.StringArrayOutput `pulumi:"groups"`
	// Role ID.
	RoleId pulumi.StringOutput `pulumi:"roleId"`
	// Name of the role associated with the user.
	RoleType pulumi.StringOutput `pulumi:"roleType"`
	// ID of the user.
	UserId pulumi.StringOutput `pulumi:"userId"`
}

Manages targets for administrator roles.

This resource allows you to define permissions for admin roles into a smaller subset of Groups or Apps within your org. You can define admin roles to target Groups, Applications, and Application Instances.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-okta/sdk/v2/go/okta"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewAdminRoleTargets(ctx, "example", &okta.AdminRoleTargetsArgs{
			Apps: pulumi.StringArray{
				pulumi.String("oidc_client.<app_id>"),
				pulumi.String("facebook"),
			},
			RoleType: pulumi.String("APP_ADMIN"),
			UserId:   pulumi.String("<user_id>"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Okta Admin Role Targets can be imported via the Okta ID.

```sh

$ pulumi import okta:index/adminRoleTargets:AdminRoleTargets example <user id>/<role type>

```

func GetAdminRoleTargets added in v2.10.0

func GetAdminRoleTargets(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AdminRoleTargetsState, opts ...pulumi.ResourceOption) (*AdminRoleTargets, error)

GetAdminRoleTargets gets an existing AdminRoleTargets 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 NewAdminRoleTargets added in v2.10.0

func NewAdminRoleTargets(ctx *pulumi.Context,
	name string, args *AdminRoleTargetsArgs, opts ...pulumi.ResourceOption) (*AdminRoleTargets, error)

NewAdminRoleTargets registers a new resource with the given unique name, arguments, and options.

func (*AdminRoleTargets) ElementType added in v2.10.0

func (*AdminRoleTargets) ElementType() reflect.Type

func (*AdminRoleTargets) ToAdminRoleTargetsOutput added in v2.10.0

func (i *AdminRoleTargets) ToAdminRoleTargetsOutput() AdminRoleTargetsOutput

func (*AdminRoleTargets) ToAdminRoleTargetsOutputWithContext added in v2.10.0

func (i *AdminRoleTargets) ToAdminRoleTargetsOutputWithContext(ctx context.Context) AdminRoleTargetsOutput

func (*AdminRoleTargets) ToAdminRoleTargetsPtrOutput added in v2.10.1

func (i *AdminRoleTargets) ToAdminRoleTargetsPtrOutput() AdminRoleTargetsPtrOutput

func (*AdminRoleTargets) ToAdminRoleTargetsPtrOutputWithContext added in v2.10.1

func (i *AdminRoleTargets) ToAdminRoleTargetsPtrOutputWithContext(ctx context.Context) AdminRoleTargetsPtrOutput

type AdminRoleTargetsArgs added in v2.10.0

type AdminRoleTargetsArgs struct {
	// List of app names (name represents set of app instances) or a combination of app name and app instance ID (like 'salesforce' or 'facebook.0oapsqQ6dv19pqyEo0g3').
	Apps pulumi.StringArrayInput
	// List of group IDs. Conflicts with `apps`.
	Groups pulumi.StringArrayInput
	// Name of the role associated with the user.
	RoleType pulumi.StringInput
	// ID of the user.
	UserId pulumi.StringInput
}

The set of arguments for constructing a AdminRoleTargets resource.

func (AdminRoleTargetsArgs) ElementType added in v2.10.0

func (AdminRoleTargetsArgs) ElementType() reflect.Type

type AdminRoleTargetsArray added in v2.10.1

type AdminRoleTargetsArray []AdminRoleTargetsInput

func (AdminRoleTargetsArray) ElementType added in v2.10.1

func (AdminRoleTargetsArray) ElementType() reflect.Type

func (AdminRoleTargetsArray) ToAdminRoleTargetsArrayOutput added in v2.10.1

func (i AdminRoleTargetsArray) ToAdminRoleTargetsArrayOutput() AdminRoleTargetsArrayOutput

func (AdminRoleTargetsArray) ToAdminRoleTargetsArrayOutputWithContext added in v2.10.1

func (i AdminRoleTargetsArray) ToAdminRoleTargetsArrayOutputWithContext(ctx context.Context) AdminRoleTargetsArrayOutput

type AdminRoleTargetsArrayInput added in v2.10.1

type AdminRoleTargetsArrayInput interface {
	pulumi.Input

	ToAdminRoleTargetsArrayOutput() AdminRoleTargetsArrayOutput
	ToAdminRoleTargetsArrayOutputWithContext(context.Context) AdminRoleTargetsArrayOutput
}

AdminRoleTargetsArrayInput is an input type that accepts AdminRoleTargetsArray and AdminRoleTargetsArrayOutput values. You can construct a concrete instance of `AdminRoleTargetsArrayInput` via:

AdminRoleTargetsArray{ AdminRoleTargetsArgs{...} }

type AdminRoleTargetsArrayOutput added in v2.10.1

type AdminRoleTargetsArrayOutput struct{ *pulumi.OutputState }

func (AdminRoleTargetsArrayOutput) ElementType added in v2.10.1

func (AdminRoleTargetsArrayOutput) Index added in v2.10.1

func (AdminRoleTargetsArrayOutput) ToAdminRoleTargetsArrayOutput added in v2.10.1

func (o AdminRoleTargetsArrayOutput) ToAdminRoleTargetsArrayOutput() AdminRoleTargetsArrayOutput

func (AdminRoleTargetsArrayOutput) ToAdminRoleTargetsArrayOutputWithContext added in v2.10.1

func (o AdminRoleTargetsArrayOutput) ToAdminRoleTargetsArrayOutputWithContext(ctx context.Context) AdminRoleTargetsArrayOutput

type AdminRoleTargetsInput added in v2.10.0

type AdminRoleTargetsInput interface {
	pulumi.Input

	ToAdminRoleTargetsOutput() AdminRoleTargetsOutput
	ToAdminRoleTargetsOutputWithContext(ctx context.Context) AdminRoleTargetsOutput
}

type AdminRoleTargetsMap added in v2.10.1

type AdminRoleTargetsMap map[string]AdminRoleTargetsInput

func (AdminRoleTargetsMap) ElementType added in v2.10.1

func (AdminRoleTargetsMap) ElementType() reflect.Type

func (AdminRoleTargetsMap) ToAdminRoleTargetsMapOutput added in v2.10.1

func (i AdminRoleTargetsMap) ToAdminRoleTargetsMapOutput() AdminRoleTargetsMapOutput

func (AdminRoleTargetsMap) ToAdminRoleTargetsMapOutputWithContext added in v2.10.1

func (i AdminRoleTargetsMap) ToAdminRoleTargetsMapOutputWithContext(ctx context.Context) AdminRoleTargetsMapOutput

type AdminRoleTargetsMapInput added in v2.10.1

type AdminRoleTargetsMapInput interface {
	pulumi.Input

	ToAdminRoleTargetsMapOutput() AdminRoleTargetsMapOutput
	ToAdminRoleTargetsMapOutputWithContext(context.Context) AdminRoleTargetsMapOutput
}

AdminRoleTargetsMapInput is an input type that accepts AdminRoleTargetsMap and AdminRoleTargetsMapOutput values. You can construct a concrete instance of `AdminRoleTargetsMapInput` via:

AdminRoleTargetsMap{ "key": AdminRoleTargetsArgs{...} }

type AdminRoleTargetsMapOutput added in v2.10.1

type AdminRoleTargetsMapOutput struct{ *pulumi.OutputState }

func (AdminRoleTargetsMapOutput) ElementType added in v2.10.1

func (AdminRoleTargetsMapOutput) ElementType() reflect.Type

func (AdminRoleTargetsMapOutput) MapIndex added in v2.10.1

func (AdminRoleTargetsMapOutput) ToAdminRoleTargetsMapOutput added in v2.10.1

func (o AdminRoleTargetsMapOutput) ToAdminRoleTargetsMapOutput() AdminRoleTargetsMapOutput

func (AdminRoleTargetsMapOutput) ToAdminRoleTargetsMapOutputWithContext added in v2.10.1

func (o AdminRoleTargetsMapOutput) ToAdminRoleTargetsMapOutputWithContext(ctx context.Context) AdminRoleTargetsMapOutput

type AdminRoleTargetsOutput added in v2.10.0

type AdminRoleTargetsOutput struct {
	*pulumi.OutputState
}

func (AdminRoleTargetsOutput) ElementType added in v2.10.0

func (AdminRoleTargetsOutput) ElementType() reflect.Type

func (AdminRoleTargetsOutput) ToAdminRoleTargetsOutput added in v2.10.0

func (o AdminRoleTargetsOutput) ToAdminRoleTargetsOutput() AdminRoleTargetsOutput

func (AdminRoleTargetsOutput) ToAdminRoleTargetsOutputWithContext added in v2.10.0

func (o AdminRoleTargetsOutput) ToAdminRoleTargetsOutputWithContext(ctx context.Context) AdminRoleTargetsOutput

func (AdminRoleTargetsOutput) ToAdminRoleTargetsPtrOutput added in v2.10.1

func (o AdminRoleTargetsOutput) ToAdminRoleTargetsPtrOutput() AdminRoleTargetsPtrOutput

func (AdminRoleTargetsOutput) ToAdminRoleTargetsPtrOutputWithContext added in v2.10.1

func (o AdminRoleTargetsOutput) ToAdminRoleTargetsPtrOutputWithContext(ctx context.Context) AdminRoleTargetsPtrOutput

type AdminRoleTargetsPtrInput added in v2.10.1

type AdminRoleTargetsPtrInput interface {
	pulumi.Input

	ToAdminRoleTargetsPtrOutput() AdminRoleTargetsPtrOutput
	ToAdminRoleTargetsPtrOutputWithContext(ctx context.Context) AdminRoleTargetsPtrOutput
}

type AdminRoleTargetsPtrOutput added in v2.10.1

type AdminRoleTargetsPtrOutput struct {
	*pulumi.OutputState
}

func (AdminRoleTargetsPtrOutput) ElementType added in v2.10.1

func (AdminRoleTargetsPtrOutput) ElementType() reflect.Type

func (AdminRoleTargetsPtrOutput) ToAdminRoleTargetsPtrOutput added in v2.10.1

func (o AdminRoleTargetsPtrOutput) ToAdminRoleTargetsPtrOutput() AdminRoleTargetsPtrOutput

func (AdminRoleTargetsPtrOutput) ToAdminRoleTargetsPtrOutputWithContext added in v2.10.1

func (o AdminRoleTargetsPtrOutput) ToAdminRoleTargetsPtrOutputWithContext(ctx context.Context) AdminRoleTargetsPtrOutput

type AdminRoleTargetsState added in v2.10.0

type AdminRoleTargetsState struct {
	// List of app names (name represents set of app instances) or a combination of app name and app instance ID (like 'salesforce' or 'facebook.0oapsqQ6dv19pqyEo0g3').
	Apps pulumi.StringArrayInput
	// List of group IDs. Conflicts with `apps`.
	Groups pulumi.StringArrayInput
	// Role ID.
	RoleId pulumi.StringPtrInput
	// Name of the role associated with the user.
	RoleType pulumi.StringPtrInput
	// ID of the user.
	UserId pulumi.StringPtrInput
}

func (AdminRoleTargetsState) ElementType added in v2.10.0

func (AdminRoleTargetsState) ElementType() reflect.Type

type AppOauthApiScope added in v2.13.0

type AppOauthApiScope struct {
	pulumi.CustomResourceState

	// ID of the application.
	AppId pulumi.StringOutput `pulumi:"appId"`
	// The issuer of your Org Authorization Server, your Org URL.
	Issuer pulumi.StringOutput `pulumi:"issuer"`
	// List of scopes for which consent is granted.
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
}

Manages API scopes for OAuth applications.

This resource allows you to grant or revoke API scopes for OAuth2 applications within your organization.

```go package main

import (

"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}

```

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-okta/sdk/v2/go/okta"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewAppOauthApiScope(ctx, "example", &okta.AppOauthApiScopeArgs{
			AppId:  pulumi.String("<application_id>"),
			Issuer: pulumi.String("<your org domain>"),
			Scopes: pulumi.StringArray{
				pulumi.String("okta.users.read"),
				pulumi.String("okta.users.manage"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

OAuth API scopes can be imported via the Okta Application ID.

```sh

$ pulumi import okta:index/appOauthApiScope:AppOauthApiScope example <app id>

```

func GetAppOauthApiScope added in v2.13.0

func GetAppOauthApiScope(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AppOauthApiScopeState, opts ...pulumi.ResourceOption) (*AppOauthApiScope, error)

GetAppOauthApiScope gets an existing AppOauthApiScope 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 NewAppOauthApiScope added in v2.13.0

func NewAppOauthApiScope(ctx *pulumi.Context,
	name string, args *AppOauthApiScopeArgs, opts ...pulumi.ResourceOption) (*AppOauthApiScope, error)

NewAppOauthApiScope registers a new resource with the given unique name, arguments, and options.

func (*AppOauthApiScope) ElementType added in v2.13.0

func (*AppOauthApiScope) ElementType() reflect.Type

func (*AppOauthApiScope) ToAppOauthApiScopeOutput added in v2.13.0

func (i *AppOauthApiScope) ToAppOauthApiScopeOutput() AppOauthApiScopeOutput

func (*AppOauthApiScope) ToAppOauthApiScopeOutputWithContext added in v2.13.0

func (i *AppOauthApiScope) ToAppOauthApiScopeOutputWithContext(ctx context.Context) AppOauthApiScopeOutput

func (*AppOauthApiScope) ToAppOauthApiScopePtrOutput added in v2.13.0

func (i *AppOauthApiScope) ToAppOauthApiScopePtrOutput() AppOauthApiScopePtrOutput

func (*AppOauthApiScope) ToAppOauthApiScopePtrOutputWithContext added in v2.13.0

func (i *AppOauthApiScope) ToAppOauthApiScopePtrOutputWithContext(ctx context.Context) AppOauthApiScopePtrOutput

type AppOauthApiScopeArgs added in v2.13.0

type AppOauthApiScopeArgs struct {
	// ID of the application.
	AppId pulumi.StringInput
	// The issuer of your Org Authorization Server, your Org URL.
	Issuer pulumi.StringInput
	// List of scopes for which consent is granted.
	Scopes pulumi.StringArrayInput
}

The set of arguments for constructing a AppOauthApiScope resource.

func (AppOauthApiScopeArgs) ElementType added in v2.13.0

func (AppOauthApiScopeArgs) ElementType() reflect.Type

type AppOauthApiScopeArray added in v2.13.0

type AppOauthApiScopeArray []AppOauthApiScopeInput

func (AppOauthApiScopeArray) ElementType added in v2.13.0

func (AppOauthApiScopeArray) ElementType() reflect.Type

func (AppOauthApiScopeArray) ToAppOauthApiScopeArrayOutput added in v2.13.0

func (i AppOauthApiScopeArray) ToAppOauthApiScopeArrayOutput() AppOauthApiScopeArrayOutput

func (AppOauthApiScopeArray) ToAppOauthApiScopeArrayOutputWithContext added in v2.13.0

func (i AppOauthApiScopeArray) ToAppOauthApiScopeArrayOutputWithContext(ctx context.Context) AppOauthApiScopeArrayOutput

type AppOauthApiScopeArrayInput added in v2.13.0

type AppOauthApiScopeArrayInput interface {
	pulumi.Input

	ToAppOauthApiScopeArrayOutput() AppOauthApiScopeArrayOutput
	ToAppOauthApiScopeArrayOutputWithContext(context.Context) AppOauthApiScopeArrayOutput
}

AppOauthApiScopeArrayInput is an input type that accepts AppOauthApiScopeArray and AppOauthApiScopeArrayOutput values. You can construct a concrete instance of `AppOauthApiScopeArrayInput` via:

AppOauthApiScopeArray{ AppOauthApiScopeArgs{...} }

type AppOauthApiScopeArrayOutput added in v2.13.0

type AppOauthApiScopeArrayOutput struct{ *pulumi.OutputState }

func (AppOauthApiScopeArrayOutput) ElementType added in v2.13.0

func (AppOauthApiScopeArrayOutput) Index added in v2.13.0

func (AppOauthApiScopeArrayOutput) ToAppOauthApiScopeArrayOutput added in v2.13.0

func (o AppOauthApiScopeArrayOutput) ToAppOauthApiScopeArrayOutput() AppOauthApiScopeArrayOutput

func (AppOauthApiScopeArrayOutput) ToAppOauthApiScopeArrayOutputWithContext added in v2.13.0

func (o AppOauthApiScopeArrayOutput) ToAppOauthApiScopeArrayOutputWithContext(ctx context.Context) AppOauthApiScopeArrayOutput

type AppOauthApiScopeInput added in v2.13.0

type AppOauthApiScopeInput interface {
	pulumi.Input

	ToAppOauthApiScopeOutput() AppOauthApiScopeOutput
	ToAppOauthApiScopeOutputWithContext(ctx context.Context) AppOauthApiScopeOutput
}

type AppOauthApiScopeMap added in v2.13.0

type AppOauthApiScopeMap map[string]AppOauthApiScopeInput

func (AppOauthApiScopeMap) ElementType added in v2.13.0

func (AppOauthApiScopeMap) ElementType() reflect.Type

func (AppOauthApiScopeMap) ToAppOauthApiScopeMapOutput added in v2.13.0

func (i AppOauthApiScopeMap) ToAppOauthApiScopeMapOutput() AppOauthApiScopeMapOutput

func (AppOauthApiScopeMap) ToAppOauthApiScopeMapOutputWithContext added in v2.13.0

func (i AppOauthApiScopeMap) ToAppOauthApiScopeMapOutputWithContext(ctx context.Context) AppOauthApiScopeMapOutput

type AppOauthApiScopeMapInput added in v2.13.0

type AppOauthApiScopeMapInput interface {
	pulumi.Input

	ToAppOauthApiScopeMapOutput() AppOauthApiScopeMapOutput
	ToAppOauthApiScopeMapOutputWithContext(context.Context) AppOauthApiScopeMapOutput
}

AppOauthApiScopeMapInput is an input type that accepts AppOauthApiScopeMap and AppOauthApiScopeMapOutput values. You can construct a concrete instance of `AppOauthApiScopeMapInput` via:

AppOauthApiScopeMap{ "key": AppOauthApiScopeArgs{...} }

type AppOauthApiScopeMapOutput added in v2.13.0

type AppOauthApiScopeMapOutput struct{ *pulumi.OutputState }

func (AppOauthApiScopeMapOutput) ElementType added in v2.13.0

func (AppOauthApiScopeMapOutput) ElementType() reflect.Type

func (AppOauthApiScopeMapOutput) MapIndex added in v2.13.0

func (AppOauthApiScopeMapOutput) ToAppOauthApiScopeMapOutput added in v2.13.0

func (o AppOauthApiScopeMapOutput) ToAppOauthApiScopeMapOutput() AppOauthApiScopeMapOutput

func (AppOauthApiScopeMapOutput) ToAppOauthApiScopeMapOutputWithContext added in v2.13.0

func (o AppOauthApiScopeMapOutput) ToAppOauthApiScopeMapOutputWithContext(ctx context.Context) AppOauthApiScopeMapOutput

type AppOauthApiScopeOutput added in v2.13.0

type AppOauthApiScopeOutput struct {
	*pulumi.OutputState
}

func (AppOauthApiScopeOutput) ElementType added in v2.13.0

func (AppOauthApiScopeOutput) ElementType() reflect.Type

func (AppOauthApiScopeOutput) ToAppOauthApiScopeOutput added in v2.13.0

func (o AppOauthApiScopeOutput) ToAppOauthApiScopeOutput() AppOauthApiScopeOutput

func (AppOauthApiScopeOutput) ToAppOauthApiScopeOutputWithContext added in v2.13.0

func (o AppOauthApiScopeOutput) ToAppOauthApiScopeOutputWithContext(ctx context.Context) AppOauthApiScopeOutput

func (AppOauthApiScopeOutput) ToAppOauthApiScopePtrOutput added in v2.13.0

func (o AppOauthApiScopeOutput) ToAppOauthApiScopePtrOutput() AppOauthApiScopePtrOutput

func (AppOauthApiScopeOutput) ToAppOauthApiScopePtrOutputWithContext added in v2.13.0

func (o AppOauthApiScopeOutput) ToAppOauthApiScopePtrOutputWithContext(ctx context.Context) AppOauthApiScopePtrOutput

type AppOauthApiScopePtrInput added in v2.13.0

type AppOauthApiScopePtrInput interface {
	pulumi.Input

	ToAppOauthApiScopePtrOutput() AppOauthApiScopePtrOutput
	ToAppOauthApiScopePtrOutputWithContext(ctx context.Context) AppOauthApiScopePtrOutput
}

type AppOauthApiScopePtrOutput added in v2.13.0

type AppOauthApiScopePtrOutput struct {
	*pulumi.OutputState
}

func (AppOauthApiScopePtrOutput) ElementType added in v2.13.0

func (AppOauthApiScopePtrOutput) ElementType() reflect.Type

func (AppOauthApiScopePtrOutput) ToAppOauthApiScopePtrOutput added in v2.13.0

func (o AppOauthApiScopePtrOutput) ToAppOauthApiScopePtrOutput() AppOauthApiScopePtrOutput

func (AppOauthApiScopePtrOutput) ToAppOauthApiScopePtrOutputWithContext added in v2.13.0

func (o AppOauthApiScopePtrOutput) ToAppOauthApiScopePtrOutputWithContext(ctx context.Context) AppOauthApiScopePtrOutput

type AppOauthApiScopeState added in v2.13.0

type AppOauthApiScopeState struct {
	// ID of the application.
	AppId pulumi.StringPtrInput
	// The issuer of your Org Authorization Server, your Org URL.
	Issuer pulumi.StringPtrInput
	// List of scopes for which consent is granted.
	Scopes pulumi.StringArrayInput
}

func (AppOauthApiScopeState) ElementType added in v2.13.0

func (AppOauthApiScopeState) ElementType() reflect.Type

type AuthServerClaimDefault added in v2.13.0

type AuthServerClaimDefault struct {
	pulumi.CustomResourceState

	// Specifies whether to include claims in token.
	AlwaysIncludeInToken pulumi.BoolOutput `pulumi:"alwaysIncludeInToken"`
	// ID of the authorization server.
	AuthServerId pulumi.StringOutput `pulumi:"authServerId"`
	// Specifies whether the claim is for an access token `"RESOURCE"` or ID token `"IDENTITY"`.
	ClaimType pulumi.StringOutput `pulumi:"claimType"`
	// The name of the claim. Can be set to `"sub"`, `"address"`, `"birthdate"`, `"email"`,
	// `"emailVerified"`, `"familyName"`, `"gender"`, `"givenName"`, `"locale"`, `"middleName"`, `"name"`, `"nickname"`,
	// `"phoneNumber"`, `"picture"`, `"preferredUsername"`, `"profile"`, `"updatedAt"`, `"website"`, `"zoneinfo"`.
	Name pulumi.StringOutput `pulumi:"name"`
	// The list of scopes the auth server claim is tied to.
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
	// The status of the application.
	Status pulumi.StringOutput `pulumi:"status"`
	// The value of the claim. Only required for `"sub"` claim.
	Value pulumi.StringPtrOutput `pulumi:"value"`
	// The type of value of the claim.
	ValueType pulumi.StringOutput `pulumi:"valueType"`
}

Configures Default Authorization Server Claim.

This resource allows you to configure Default Authorization Server Claims.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-okta/sdk/v2/go/okta"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewAuthServerClaimDefault(ctx, "example", &okta.AuthServerClaimDefaultArgs{
			AuthServerId: pulumi.String("<auth server id>"),
			Value:        pulumi.String("(appuser != null) ? appuser.userName : app.clientId"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Authorization Server Claim can be imported via the Auth Server ID and Claim ID or Claim Name.

```sh

$ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example <auth server id>/<claim id>

```

or

```sh

$ pulumi import okta:index/authServerClaimDefault:AuthServerClaimDefault example <auth server id>/<claim name>

```

func GetAuthServerClaimDefault added in v2.13.0

func GetAuthServerClaimDefault(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuthServerClaimDefaultState, opts ...pulumi.ResourceOption) (*AuthServerClaimDefault, error)

GetAuthServerClaimDefault gets an existing AuthServerClaimDefault 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 NewAuthServerClaimDefault added in v2.13.0

func NewAuthServerClaimDefault(ctx *pulumi.Context,
	name string, args *AuthServerClaimDefaultArgs, opts ...pulumi.ResourceOption) (*AuthServerClaimDefault, error)

NewAuthServerClaimDefault registers a new resource with the given unique name, arguments, and options.

func (*AuthServerClaimDefault) ElementType added in v2.13.0

func (*AuthServerClaimDefault) ElementType() reflect.Type

func (*AuthServerClaimDefault) ToAuthServerClaimDefaultOutput added in v2.13.0

func (i *AuthServerClaimDefault) ToAuthServerClaimDefaultOutput() AuthServerClaimDefaultOutput

func (*AuthServerClaimDefault) ToAuthServerClaimDefaultOutputWithContext added in v2.13.0

func (i *AuthServerClaimDefault) ToAuthServerClaimDefaultOutputWithContext(ctx context.Context) AuthServerClaimDefaultOutput

func (*AuthServerClaimDefault) ToAuthServerClaimDefaultPtrOutput added in v2.13.0

func (i *AuthServerClaimDefault) ToAuthServerClaimDefaultPtrOutput() AuthServerClaimDefaultPtrOutput

func (*AuthServerClaimDefault) ToAuthServerClaimDefaultPtrOutputWithContext added in v2.13.0

func (i *AuthServerClaimDefault) ToAuthServerClaimDefaultPtrOutputWithContext(ctx context.Context) AuthServerClaimDefaultPtrOutput

type AuthServerClaimDefaultArgs added in v2.13.0

type AuthServerClaimDefaultArgs struct {
	// ID of the authorization server.
	AuthServerId pulumi.StringInput
	// The name of the claim. Can be set to `"sub"`, `"address"`, `"birthdate"`, `"email"`,
	// `"emailVerified"`, `"familyName"`, `"gender"`, `"givenName"`, `"locale"`, `"middleName"`, `"name"`, `"nickname"`,
	// `"phoneNumber"`, `"picture"`, `"preferredUsername"`, `"profile"`, `"updatedAt"`, `"website"`, `"zoneinfo"`.
	Name pulumi.StringPtrInput
	// The value of the claim. Only required for `"sub"` claim.
	Value pulumi.StringPtrInput
}

The set of arguments for constructing a AuthServerClaimDefault resource.

func (AuthServerClaimDefaultArgs) ElementType added in v2.13.0

func (AuthServerClaimDefaultArgs) ElementType() reflect.Type

type AuthServerClaimDefaultArray added in v2.13.0

type AuthServerClaimDefaultArray []AuthServerClaimDefaultInput

func (AuthServerClaimDefaultArray) ElementType added in v2.13.0

func (AuthServerClaimDefaultArray) ToAuthServerClaimDefaultArrayOutput added in v2.13.0

func (i AuthServerClaimDefaultArray) ToAuthServerClaimDefaultArrayOutput() AuthServerClaimDefaultArrayOutput

func (AuthServerClaimDefaultArray) ToAuthServerClaimDefaultArrayOutputWithContext added in v2.13.0

func (i AuthServerClaimDefaultArray) ToAuthServerClaimDefaultArrayOutputWithContext(ctx context.Context) AuthServerClaimDefaultArrayOutput

type AuthServerClaimDefaultArrayInput added in v2.13.0

type AuthServerClaimDefaultArrayInput interface {
	pulumi.Input

	ToAuthServerClaimDefaultArrayOutput() AuthServerClaimDefaultArrayOutput
	ToAuthServerClaimDefaultArrayOutputWithContext(context.Context) AuthServerClaimDefaultArrayOutput
}

AuthServerClaimDefaultArrayInput is an input type that accepts AuthServerClaimDefaultArray and AuthServerClaimDefaultArrayOutput values. You can construct a concrete instance of `AuthServerClaimDefaultArrayInput` via:

AuthServerClaimDefaultArray{ AuthServerClaimDefaultArgs{...} }

type AuthServerClaimDefaultArrayOutput added in v2.13.0

type AuthServerClaimDefaultArrayOutput struct{ *pulumi.OutputState }

func (AuthServerClaimDefaultArrayOutput) ElementType added in v2.13.0

func (AuthServerClaimDefaultArrayOutput) Index added in v2.13.0

func (AuthServerClaimDefaultArrayOutput) ToAuthServerClaimDefaultArrayOutput added in v2.13.0

func (o AuthServerClaimDefaultArrayOutput) ToAuthServerClaimDefaultArrayOutput() AuthServerClaimDefaultArrayOutput

func (AuthServerClaimDefaultArrayOutput) ToAuthServerClaimDefaultArrayOutputWithContext added in v2.13.0

func (o AuthServerClaimDefaultArrayOutput) ToAuthServerClaimDefaultArrayOutputWithContext(ctx context.Context) AuthServerClaimDefaultArrayOutput

type AuthServerClaimDefaultInput added in v2.13.0

type AuthServerClaimDefaultInput interface {
	pulumi.Input

	ToAuthServerClaimDefaultOutput() AuthServerClaimDefaultOutput
	ToAuthServerClaimDefaultOutputWithContext(ctx context.Context) AuthServerClaimDefaultOutput
}

type AuthServerClaimDefaultMap added in v2.13.0

type AuthServerClaimDefaultMap map[string]AuthServerClaimDefaultInput

func (AuthServerClaimDefaultMap) ElementType added in v2.13.0

func (AuthServerClaimDefaultMap) ElementType() reflect.Type

func (AuthServerClaimDefaultMap) ToAuthServerClaimDefaultMapOutput added in v2.13.0

func (i AuthServerClaimDefaultMap) ToAuthServerClaimDefaultMapOutput() AuthServerClaimDefaultMapOutput

func (AuthServerClaimDefaultMap) ToAuthServerClaimDefaultMapOutputWithContext added in v2.13.0

func (i AuthServerClaimDefaultMap) ToAuthServerClaimDefaultMapOutputWithContext(ctx context.Context) AuthServerClaimDefaultMapOutput

type AuthServerClaimDefaultMapInput added in v2.13.0

type AuthServerClaimDefaultMapInput interface {
	pulumi.Input

	ToAuthServerClaimDefaultMapOutput() AuthServerClaimDefaultMapOutput
	ToAuthServerClaimDefaultMapOutputWithContext(context.Context) AuthServerClaimDefaultMapOutput
}

AuthServerClaimDefaultMapInput is an input type that accepts AuthServerClaimDefaultMap and AuthServerClaimDefaultMapOutput values. You can construct a concrete instance of `AuthServerClaimDefaultMapInput` via:

AuthServerClaimDefaultMap{ "key": AuthServerClaimDefaultArgs{...} }

type AuthServerClaimDefaultMapOutput added in v2.13.0

type AuthServerClaimDefaultMapOutput struct{ *pulumi.OutputState }

func (AuthServerClaimDefaultMapOutput) ElementType added in v2.13.0

func (AuthServerClaimDefaultMapOutput) MapIndex added in v2.13.0

func (AuthServerClaimDefaultMapOutput) ToAuthServerClaimDefaultMapOutput added in v2.13.0

func (o AuthServerClaimDefaultMapOutput) ToAuthServerClaimDefaultMapOutput() AuthServerClaimDefaultMapOutput

func (AuthServerClaimDefaultMapOutput) ToAuthServerClaimDefaultMapOutputWithContext added in v2.13.0

func (o AuthServerClaimDefaultMapOutput) ToAuthServerClaimDefaultMapOutputWithContext(ctx context.Context) AuthServerClaimDefaultMapOutput

type AuthServerClaimDefaultOutput added in v2.13.0

type AuthServerClaimDefaultOutput struct {
	*pulumi.OutputState
}

func (AuthServerClaimDefaultOutput) ElementType added in v2.13.0

func (AuthServerClaimDefaultOutput) ToAuthServerClaimDefaultOutput added in v2.13.0

func (o AuthServerClaimDefaultOutput) ToAuthServerClaimDefaultOutput() AuthServerClaimDefaultOutput

func (AuthServerClaimDefaultOutput) ToAuthServerClaimDefaultOutputWithContext added in v2.13.0

func (o AuthServerClaimDefaultOutput) ToAuthServerClaimDefaultOutputWithContext(ctx context.Context) AuthServerClaimDefaultOutput

func (AuthServerClaimDefaultOutput) ToAuthServerClaimDefaultPtrOutput added in v2.13.0

func (o AuthServerClaimDefaultOutput) ToAuthServerClaimDefaultPtrOutput() AuthServerClaimDefaultPtrOutput

func (AuthServerClaimDefaultOutput) ToAuthServerClaimDefaultPtrOutputWithContext added in v2.13.0

func (o AuthServerClaimDefaultOutput) ToAuthServerClaimDefaultPtrOutputWithContext(ctx context.Context) AuthServerClaimDefaultPtrOutput

type AuthServerClaimDefaultPtrInput added in v2.13.0

type AuthServerClaimDefaultPtrInput interface {
	pulumi.Input

	ToAuthServerClaimDefaultPtrOutput() AuthServerClaimDefaultPtrOutput
	ToAuthServerClaimDefaultPtrOutputWithContext(ctx context.Context) AuthServerClaimDefaultPtrOutput
}

type AuthServerClaimDefaultPtrOutput added in v2.13.0

type AuthServerClaimDefaultPtrOutput struct {
	*pulumi.OutputState
}

func (AuthServerClaimDefaultPtrOutput) ElementType added in v2.13.0

func (AuthServerClaimDefaultPtrOutput) ToAuthServerClaimDefaultPtrOutput added in v2.13.0

func (o AuthServerClaimDefaultPtrOutput) ToAuthServerClaimDefaultPtrOutput() AuthServerClaimDefaultPtrOutput

func (AuthServerClaimDefaultPtrOutput) ToAuthServerClaimDefaultPtrOutputWithContext added in v2.13.0

func (o AuthServerClaimDefaultPtrOutput) ToAuthServerClaimDefaultPtrOutputWithContext(ctx context.Context) AuthServerClaimDefaultPtrOutput

type AuthServerClaimDefaultState added in v2.13.0

type AuthServerClaimDefaultState struct {
	// Specifies whether to include claims in token.
	AlwaysIncludeInToken pulumi.BoolPtrInput
	// ID of the authorization server.
	AuthServerId pulumi.StringPtrInput
	// Specifies whether the claim is for an access token `"RESOURCE"` or ID token `"IDENTITY"`.
	ClaimType pulumi.StringPtrInput
	// The name of the claim. Can be set to `"sub"`, `"address"`, `"birthdate"`, `"email"`,
	// `"emailVerified"`, `"familyName"`, `"gender"`, `"givenName"`, `"locale"`, `"middleName"`, `"name"`, `"nickname"`,
	// `"phoneNumber"`, `"picture"`, `"preferredUsername"`, `"profile"`, `"updatedAt"`, `"website"`, `"zoneinfo"`.
	Name pulumi.StringPtrInput
	// The list of scopes the auth server claim is tied to.
	Scopes pulumi.StringArrayInput
	// The status of the application.
	Status pulumi.StringPtrInput
	// The value of the claim. Only required for `"sub"` claim.
	Value pulumi.StringPtrInput
	// The type of value of the claim.
	ValueType pulumi.StringPtrInput
}

func (AuthServerClaimDefaultState) ElementType added in v2.13.0

type AuthServerDefault added in v2.13.0

type AuthServerDefault struct {
	pulumi.CustomResourceState

	// The recipients that the tokens are intended for. This becomes the `aud` claim in an access token.
	Audiences pulumi.StringArrayOutput `pulumi:"audiences"`
	// The timestamp when the authorization server started to use the `kid` for signing tokens.
	CredentialsLastRotated pulumi.StringOutput `pulumi:"credentialsLastRotated"`
	// The timestamp when the authorization server changes the key for signing tokens. Only returned when `credentialsRotationMode` is `"AUTO"`.
	CredentialsNextRotation pulumi.StringOutput `pulumi:"credentialsNextRotation"`
	// The key rotation mode for the authorization server. Can be `"AUTO"` or `"MANUAL"`.
	CredentialsRotationMode pulumi.StringPtrOutput `pulumi:"credentialsRotationMode"`
	// The description of the authorization server.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The complete URL for a Custom Authorization Server. This becomes the `iss` claim in an access token.
	Issuer pulumi.StringOutput `pulumi:"issuer"`
	// The ID of the JSON Web Key used for signing tokens issued by the authorization server.
	Kid pulumi.StringOutput `pulumi:"kid"`
	// The name of the authorization server.
	Name pulumi.StringOutput `pulumi:"name"`
	// The status of the auth server.
	Status pulumi.StringPtrOutput `pulumi:"status"`
}

Configures Default Authorization Server.

This resource allows you to configure Default Authorization Server.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-okta/sdk/v2/go/okta"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewAuthServerDefault(ctx, "example", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Authorization Server can be imported via the Okta ID.

```sh

$ pulumi import okta:index/authServerDefault:AuthServerDefault example <auth server name>

```

func GetAuthServerDefault added in v2.13.0

func GetAuthServerDefault(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuthServerDefaultState, opts ...pulumi.ResourceOption) (*AuthServerDefault, error)

GetAuthServerDefault gets an existing AuthServerDefault 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 NewAuthServerDefault added in v2.13.0

func NewAuthServerDefault(ctx *pulumi.Context,
	name string, args *AuthServerDefaultArgs, opts ...pulumi.ResourceOption) (*AuthServerDefault, error)

NewAuthServerDefault registers a new resource with the given unique name, arguments, and options.

func (*AuthServerDefault) ElementType added in v2.13.0

func (*AuthServerDefault) ElementType() reflect.Type

func (*AuthServerDefault) ToAuthServerDefaultOutput added in v2.13.0

func (i *AuthServerDefault) ToAuthServerDefaultOutput() AuthServerDefaultOutput

func (*AuthServerDefault) ToAuthServerDefaultOutputWithContext added in v2.13.0

func (i *AuthServerDefault) ToAuthServerDefaultOutputWithContext(ctx context.Context) AuthServerDefaultOutput

func (*AuthServerDefault) ToAuthServerDefaultPtrOutput added in v2.13.0

func (i *AuthServerDefault) ToAuthServerDefaultPtrOutput() AuthServerDefaultPtrOutput

func (*AuthServerDefault) ToAuthServerDefaultPtrOutputWithContext added in v2.13.0

func (i *AuthServerDefault) ToAuthServerDefaultPtrOutputWithContext(ctx context.Context) AuthServerDefaultPtrOutput

type AuthServerDefaultArgs added in v2.13.0

type AuthServerDefaultArgs struct {
	// The recipients that the tokens are intended for. This becomes the `aud` claim in an access token.
	Audiences pulumi.StringArrayInput
	// The key rotation mode for the authorization server. Can be `"AUTO"` or `"MANUAL"`.
	CredentialsRotationMode pulumi.StringPtrInput
	// The description of the authorization server.
	Description pulumi.StringPtrInput
	// The name of the authorization server.
	Name pulumi.StringPtrInput
	// The status of the auth server.
	Status pulumi.StringPtrInput
}

The set of arguments for constructing a AuthServerDefault resource.

func (AuthServerDefaultArgs) ElementType added in v2.13.0

func (AuthServerDefaultArgs) ElementType() reflect.Type

type AuthServerDefaultArray added in v2.13.0

type AuthServerDefaultArray []AuthServerDefaultInput

func (AuthServerDefaultArray) ElementType added in v2.13.0

func (AuthServerDefaultArray) ElementType() reflect.Type

func (AuthServerDefaultArray) ToAuthServerDefaultArrayOutput added in v2.13.0

func (i AuthServerDefaultArray) ToAuthServerDefaultArrayOutput() AuthServerDefaultArrayOutput

func (AuthServerDefaultArray) ToAuthServerDefaultArrayOutputWithContext added in v2.13.0

func (i AuthServerDefaultArray) ToAuthServerDefaultArrayOutputWithContext(ctx context.Context) AuthServerDefaultArrayOutput

type AuthServerDefaultArrayInput added in v2.13.0

type AuthServerDefaultArrayInput interface {
	pulumi.Input

	ToAuthServerDefaultArrayOutput() AuthServerDefaultArrayOutput
	ToAuthServerDefaultArrayOutputWithContext(context.Context) AuthServerDefaultArrayOutput
}

AuthServerDefaultArrayInput is an input type that accepts AuthServerDefaultArray and AuthServerDefaultArrayOutput values. You can construct a concrete instance of `AuthServerDefaultArrayInput` via:

AuthServerDefaultArray{ AuthServerDefaultArgs{...} }

type AuthServerDefaultArrayOutput added in v2.13.0

type AuthServerDefaultArrayOutput struct{ *pulumi.OutputState }

func (AuthServerDefaultArrayOutput) ElementType added in v2.13.0

func (AuthServerDefaultArrayOutput) Index added in v2.13.0

func (AuthServerDefaultArrayOutput) ToAuthServerDefaultArrayOutput added in v2.13.0

func (o AuthServerDefaultArrayOutput) ToAuthServerDefaultArrayOutput() AuthServerDefaultArrayOutput

func (AuthServerDefaultArrayOutput) ToAuthServerDefaultArrayOutputWithContext added in v2.13.0

func (o AuthServerDefaultArrayOutput) ToAuthServerDefaultArrayOutputWithContext(ctx context.Context) AuthServerDefaultArrayOutput

type AuthServerDefaultInput added in v2.13.0

type AuthServerDefaultInput interface {
	pulumi.Input

	ToAuthServerDefaultOutput() AuthServerDefaultOutput
	ToAuthServerDefaultOutputWithContext(ctx context.Context) AuthServerDefaultOutput
}

type AuthServerDefaultMap added in v2.13.0

type AuthServerDefaultMap map[string]AuthServerDefaultInput

func (AuthServerDefaultMap) ElementType added in v2.13.0

func (AuthServerDefaultMap) ElementType() reflect.Type

func (AuthServerDefaultMap) ToAuthServerDefaultMapOutput added in v2.13.0

func (i AuthServerDefaultMap) ToAuthServerDefaultMapOutput() AuthServerDefaultMapOutput

func (AuthServerDefaultMap) ToAuthServerDefaultMapOutputWithContext added in v2.13.0

func (i AuthServerDefaultMap) ToAuthServerDefaultMapOutputWithContext(ctx context.Context) AuthServerDefaultMapOutput

type AuthServerDefaultMapInput added in v2.13.0

type AuthServerDefaultMapInput interface {
	pulumi.Input

	ToAuthServerDefaultMapOutput() AuthServerDefaultMapOutput
	ToAuthServerDefaultMapOutputWithContext(context.Context) AuthServerDefaultMapOutput
}

AuthServerDefaultMapInput is an input type that accepts AuthServerDefaultMap and AuthServerDefaultMapOutput values. You can construct a concrete instance of `AuthServerDefaultMapInput` via:

AuthServerDefaultMap{ "key": AuthServerDefaultArgs{...} }

type AuthServerDefaultMapOutput added in v2.13.0

type AuthServerDefaultMapOutput struct{ *pulumi.OutputState }

func (AuthServerDefaultMapOutput) ElementType added in v2.13.0

func (AuthServerDefaultMapOutput) ElementType() reflect.Type

func (AuthServerDefaultMapOutput) MapIndex added in v2.13.0

func (AuthServerDefaultMapOutput) ToAuthServerDefaultMapOutput added in v2.13.0

func (o AuthServerDefaultMapOutput) ToAuthServerDefaultMapOutput() AuthServerDefaultMapOutput

func (AuthServerDefaultMapOutput) ToAuthServerDefaultMapOutputWithContext added in v2.13.0

func (o AuthServerDefaultMapOutput) ToAuthServerDefaultMapOutputWithContext(ctx context.Context) AuthServerDefaultMapOutput

type AuthServerDefaultOutput added in v2.13.0

type AuthServerDefaultOutput struct {
	*pulumi.OutputState
}

func (AuthServerDefaultOutput) ElementType added in v2.13.0

func (AuthServerDefaultOutput) ElementType() reflect.Type

func (AuthServerDefaultOutput) ToAuthServerDefaultOutput added in v2.13.0

func (o AuthServerDefaultOutput) ToAuthServerDefaultOutput() AuthServerDefaultOutput

func (AuthServerDefaultOutput) ToAuthServerDefaultOutputWithContext added in v2.13.0

func (o AuthServerDefaultOutput) ToAuthServerDefaultOutputWithContext(ctx context.Context) AuthServerDefaultOutput

func (AuthServerDefaultOutput) ToAuthServerDefaultPtrOutput added in v2.13.0

func (o AuthServerDefaultOutput) ToAuthServerDefaultPtrOutput() AuthServerDefaultPtrOutput

func (AuthServerDefaultOutput) ToAuthServerDefaultPtrOutputWithContext added in v2.13.0

func (o AuthServerDefaultOutput) ToAuthServerDefaultPtrOutputWithContext(ctx context.Context) AuthServerDefaultPtrOutput

type AuthServerDefaultPtrInput added in v2.13.0

type AuthServerDefaultPtrInput interface {
	pulumi.Input

	ToAuthServerDefaultPtrOutput() AuthServerDefaultPtrOutput
	ToAuthServerDefaultPtrOutputWithContext(ctx context.Context) AuthServerDefaultPtrOutput
}

type AuthServerDefaultPtrOutput added in v2.13.0

type AuthServerDefaultPtrOutput struct {
	*pulumi.OutputState
}

func (AuthServerDefaultPtrOutput) ElementType added in v2.13.0

func (AuthServerDefaultPtrOutput) ElementType() reflect.Type

func (AuthServerDefaultPtrOutput) ToAuthServerDefaultPtrOutput added in v2.13.0

func (o AuthServerDefaultPtrOutput) ToAuthServerDefaultPtrOutput() AuthServerDefaultPtrOutput

func (AuthServerDefaultPtrOutput) ToAuthServerDefaultPtrOutputWithContext added in v2.13.0

func (o AuthServerDefaultPtrOutput) ToAuthServerDefaultPtrOutputWithContext(ctx context.Context) AuthServerDefaultPtrOutput

type AuthServerDefaultState added in v2.13.0

type AuthServerDefaultState struct {
	// The recipients that the tokens are intended for. This becomes the `aud` claim in an access token.
	Audiences pulumi.StringArrayInput
	// The timestamp when the authorization server started to use the `kid` for signing tokens.
	CredentialsLastRotated pulumi.StringPtrInput
	// The timestamp when the authorization server changes the key for signing tokens. Only returned when `credentialsRotationMode` is `"AUTO"`.
	CredentialsNextRotation pulumi.StringPtrInput
	// The key rotation mode for the authorization server. Can be `"AUTO"` or `"MANUAL"`.
	CredentialsRotationMode pulumi.StringPtrInput
	// The description of the authorization server.
	Description pulumi.StringPtrInput
	// The complete URL for a Custom Authorization Server. This becomes the `iss` claim in an access token.
	Issuer pulumi.StringPtrInput
	// The ID of the JSON Web Key used for signing tokens issued by the authorization server.
	Kid pulumi.StringPtrInput
	// The name of the authorization server.
	Name pulumi.StringPtrInput
	// The status of the auth server.
	Status pulumi.StringPtrInput
}

func (AuthServerDefaultState) ElementType added in v2.13.0

func (AuthServerDefaultState) ElementType() reflect.Type

type EventHook added in v2.4.0

type EventHook struct {
	pulumi.CustomResourceState

	// Authentication required for event hook request.
	Auth pulumi.StringMapOutput `pulumi:"auth"`
	// Details of the endpoint the event hook will hit.
	Channel pulumi.StringMapOutput `pulumi:"channel"`
	// The events that will be delivered to this hook. [See here for a list of supported events](https://developer.okta.com/docs/reference/api/event-types/?q=event-hook-eligible).
	Events pulumi.StringArrayOutput `pulumi:"events"`
	// Map of headers to send along in event hook request.
	Headers EventHookHeaderArrayOutput `pulumi:"headers"`
	// The event hook display name.
	Name   pulumi.StringOutput    `pulumi:"name"`
	Status pulumi.StringPtrOutput `pulumi:"status"`
}

Creates an event hook.

This resource allows you to create and configure an event hook.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-okta/sdk/v2/go/okta"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewEventHook(ctx, "example", &okta.EventHookArgs{
			Auth: pulumi.StringMap{
				"key":   pulumi.String("Authorization"),
				"type":  pulumi.String("HEADER"),
				"value": pulumi.String("123"),
			},
			Channel: pulumi.StringMap{
				"type":    pulumi.String("HTTP"),
				"uri":     pulumi.String("https://example.com/test"),
				"version": pulumi.String("1.0.0"),
			},
			Events: pulumi.StringArray{
				pulumi.String("user.lifecycle.create"),
				pulumi.String("user.lifecycle.delete.initiated"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An event hook can be imported via the Okta ID.

```sh

$ pulumi import okta:index/eventHook:EventHook example <hook id>

```

func GetEventHook added in v2.4.0

func GetEventHook(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EventHookState, opts ...pulumi.ResourceOption) (*EventHook, error)

GetEventHook gets an existing EventHook 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 NewEventHook added in v2.4.0

func NewEventHook(ctx *pulumi.Context,
	name string, args *EventHookArgs, opts ...pulumi.ResourceOption) (*EventHook, error)

NewEventHook registers a new resource with the given unique name, arguments, and options.

func (*EventHook) ElementType added in v2.6.2

func (*EventHook) ElementType() reflect.Type

func (*EventHook) ToEventHookOutput added in v2.6.2

func (i *EventHook) ToEventHookOutput() EventHookOutput

func (*EventHook) ToEventHookOutputWithContext added in v2.6.2

func (i *EventHook) ToEventHookOutputWithContext(ctx context.Context) EventHookOutput

func (*EventHook) ToEventHookPtrOutput added in v2.10.1

func (i *EventHook) ToEventHookPtrOutput() EventHookPtrOutput

func (*EventHook) ToEventHookPtrOutputWithContext added in v2.10.1

func (i *EventHook) ToEventHookPtrOutputWithContext(ctx context.Context) EventHookPtrOutput

type EventHookArgs added in v2.4.0

type EventHookArgs struct {
	// Authentication required for event hook request.
	Auth pulumi.StringMapInput
	// Details of the endpoint the event hook will hit.
	Channel pulumi.StringMapInput
	// The events that will be delivered to this hook. [See here for a list of supported events](https://developer.okta.com/docs/reference/api/event-types/?q=event-hook-eligible).
	Events pulumi.StringArrayInput
	// Map of headers to send along in event hook request.
	Headers EventHookHeaderArrayInput
	// The event hook display name.
	Name   pulumi.StringPtrInput
	Status pulumi.StringPtrInput
}

The set of arguments for constructing a EventHook resource.

func (EventHookArgs) ElementType added in v2.4.0

func (EventHookArgs) ElementType() reflect.Type

type EventHookArray added in v2.10.1

type EventHookArray []EventHookInput

func (EventHookArray) ElementType added in v2.10.1

func (EventHookArray) ElementType() reflect.Type

func (EventHookArray) ToEventHookArrayOutput added in v2.10.1

func (i EventHookArray) ToEventHookArrayOutput() EventHookArrayOutput

func (EventHookArray) ToEventHookArrayOutputWithContext added in v2.10.1

func (i EventHookArray) ToEventHookArrayOutputWithContext(ctx context.Context) EventHookArrayOutput

type EventHookArrayInput added in v2.10.1

type EventHookArrayInput interface {
	pulumi.Input

	ToEventHookArrayOutput() EventHookArrayOutput
	ToEventHookArrayOutputWithContext(context.Context) EventHookArrayOutput
}

EventHookArrayInput is an input type that accepts EventHookArray and EventHookArrayOutput values. You can construct a concrete instance of `EventHookArrayInput` via:

EventHookArray{ EventHookArgs{...} }

type EventHookArrayOutput added in v2.10.1

type EventHookArrayOutput struct{ *pulumi.OutputState }

func (EventHookArrayOutput) ElementType added in v2.10.1

func (EventHookArrayOutput) ElementType() reflect.Type

func (EventHookArrayOutput) Index added in v2.10.1

func (EventHookArrayOutput) ToEventHookArrayOutput added in v2.10.1

func (o EventHookArrayOutput) ToEventHookArrayOutput() EventHookArrayOutput

func (EventHookArrayOutput) ToEventHookArrayOutputWithContext added in v2.10.1

func (o EventHookArrayOutput) ToEventHookArrayOutputWithContext(ctx context.Context) EventHookArrayOutput

type EventHookHeader added in v2.4.0

type EventHookHeader struct {
	// Key to use for authentication, usually the header name, for example `"Authorization"`.
	Key *string `pulumi:"key"`
	// Authentication secret.
	Value *string `pulumi:"value"`
}

type EventHookHeaderArgs added in v2.4.0

type EventHookHeaderArgs struct {
	// Key to use for authentication, usually the header name, for example `"Authorization"`.
	Key pulumi.StringPtrInput `pulumi:"key"`
	// Authentication secret.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (EventHookHeaderArgs) ElementType added in v2.4.0

func (EventHookHeaderArgs) ElementType() reflect.Type

func (EventHookHeaderArgs) ToEventHookHeaderOutput added in v2.4.0

func (i EventHookHeaderArgs) ToEventHookHeaderOutput() EventHookHeaderOutput

func (EventHookHeaderArgs) ToEventHookHeaderOutputWithContext added in v2.4.0

func (i EventHookHeaderArgs) ToEventHookHeaderOutputWithContext(ctx context.Context) EventHookHeaderOutput

type EventHookHeaderArray added in v2.4.0

type EventHookHeaderArray []EventHookHeaderInput

func (EventHookHeaderArray) ElementType added in v2.4.0

func (EventHookHeaderArray) ElementType() reflect.Type

func (EventHookHeaderArray) ToEventHookHeaderArrayOutput added in v2.4.0

func (i EventHookHeaderArray) ToEventHookHeaderArrayOutput() EventHookHeaderArrayOutput

func (EventHookHeaderArray) ToEventHookHeaderArrayOutputWithContext added in v2.4.0

func (i EventHookHeaderArray) ToEventHookHeaderArrayOutputWithContext(ctx context.Context) EventHookHeaderArrayOutput

type EventHookHeaderArrayInput added in v2.4.0

type EventHookHeaderArrayInput interface {
	pulumi.Input

	ToEventHookHeaderArrayOutput() EventHookHeaderArrayOutput
	ToEventHookHeaderArrayOutputWithContext(context.Context) EventHookHeaderArrayOutput
}

EventHookHeaderArrayInput is an input type that accepts EventHookHeaderArray and EventHookHeaderArrayOutput values. You can construct a concrete instance of `EventHookHeaderArrayInput` via:

EventHookHeaderArray{ EventHookHeaderArgs{...} }

type EventHookHeaderArrayOutput added in v2.4.0

type EventHookHeaderArrayOutput struct{ *pulumi.OutputState }

func (EventHookHeaderArrayOutput) ElementType added in v2.4.0

func (EventHookHeaderArrayOutput) ElementType() reflect.Type

func (EventHookHeaderArrayOutput) Index added in v2.4.0

func (EventHookHeaderArrayOutput) ToEventHookHeaderArrayOutput added in v2.4.0

func (o EventHookHeaderArrayOutput) ToEventHookHeaderArrayOutput() EventHookHeaderArrayOutput

func (EventHookHeaderArrayOutput) ToEventHookHeaderArrayOutputWithContext added in v2.4.0

func (o EventHookHeaderArrayOutput) ToEventHookHeaderArrayOutputWithContext(ctx context.Context) EventHookHeaderArrayOutput

type EventHookHeaderInput added in v2.4.0

type EventHookHeaderInput interface {
	pulumi.Input

	ToEventHookHeaderOutput() EventHookHeaderOutput
	ToEventHookHeaderOutputWithContext(context.Context) EventHookHeaderOutput
}

EventHookHeaderInput is an input type that accepts EventHookHeaderArgs and EventHookHeaderOutput values. You can construct a concrete instance of `EventHookHeaderInput` via:

EventHookHeaderArgs{...}

type EventHookHeaderOutput added in v2.4.0

type EventHookHeaderOutput struct{ *pulumi.OutputState }

func (EventHookHeaderOutput) ElementType added in v2.4.0

func (EventHookHeaderOutput) ElementType() reflect.Type

func (EventHookHeaderOutput) Key added in v2.4.0

Key to use for authentication, usually the header name, for example `"Authorization"`.

func (EventHookHeaderOutput) ToEventHookHeaderOutput added in v2.4.0

func (o EventHookHeaderOutput) ToEventHookHeaderOutput() EventHookHeaderOutput

func (EventHookHeaderOutput) ToEventHookHeaderOutputWithContext added in v2.4.0

func (o EventHookHeaderOutput) ToEventHookHeaderOutputWithContext(ctx context.Context) EventHookHeaderOutput

func (EventHookHeaderOutput) Value added in v2.4.0

Authentication secret.

type EventHookInput added in v2.6.2

type EventHookInput interface {
	pulumi.Input

	ToEventHookOutput() EventHookOutput
	ToEventHookOutputWithContext(ctx context.Context) EventHookOutput
}

type EventHookMap added in v2.10.1

type EventHookMap map[string]EventHookInput

func (EventHookMap) ElementType added in v2.10.1

func (EventHookMap) ElementType() reflect.Type

func (EventHookMap) ToEventHookMapOutput added in v2.10.1

func (i EventHookMap) ToEventHookMapOutput() EventHookMapOutput

func (EventHookMap) ToEventHookMapOutputWithContext added in v2.10.1

func (i EventHookMap) ToEventHookMapOutputWithContext(ctx context.Context) EventHookMapOutput

type EventHookMapInput added in v2.10.1

type EventHookMapInput interface {
	pulumi.Input

	ToEventHookMapOutput() EventHookMapOutput
	ToEventHookMapOutputWithContext(context.Context) EventHookMapOutput
}

EventHookMapInput is an input type that accepts EventHookMap and EventHookMapOutput values. You can construct a concrete instance of `EventHookMapInput` via:

EventHookMap{ "key": EventHookArgs{...} }

type EventHookMapOutput added in v2.10.1

type EventHookMapOutput struct{ *pulumi.OutputState }

func (EventHookMapOutput) ElementType added in v2.10.1

func (EventHookMapOutput) ElementType() reflect.Type

func (EventHookMapOutput) MapIndex added in v2.10.1

func (EventHookMapOutput) ToEventHookMapOutput added in v2.10.1

func (o EventHookMapOutput) ToEventHookMapOutput() EventHookMapOutput

func (EventHookMapOutput) ToEventHookMapOutputWithContext added in v2.10.1

func (o EventHookMapOutput) ToEventHookMapOutputWithContext(ctx context.Context) EventHookMapOutput

type EventHookOutput added in v2.6.2

type EventHookOutput struct {
	*pulumi.OutputState
}

func (EventHookOutput) ElementType added in v2.6.2

func (EventHookOutput) ElementType() reflect.Type

func (EventHookOutput) ToEventHookOutput added in v2.6.2

func (o EventHookOutput) ToEventHookOutput() EventHookOutput

func (EventHookOutput) ToEventHookOutputWithContext added in v2.6.2

func (o EventHookOutput) ToEventHookOutputWithContext(ctx context.Context) EventHookOutput

func (EventHookOutput) ToEventHookPtrOutput added in v2.10.1

func (o EventHookOutput) ToEventHookPtrOutput() EventHookPtrOutput

func (EventHookOutput) ToEventHookPtrOutputWithContext added in v2.10.1

func (o EventHookOutput) ToEventHookPtrOutputWithContext(ctx context.Context) EventHookPtrOutput

type EventHookPtrInput added in v2.10.1

type EventHookPtrInput interface {
	pulumi.Input

	ToEventHookPtrOutput() EventHookPtrOutput
	ToEventHookPtrOutputWithContext(ctx context.Context) EventHookPtrOutput
}

type EventHookPtrOutput added in v2.10.1

type EventHookPtrOutput struct {
	*pulumi.OutputState
}

func (EventHookPtrOutput) ElementType added in v2.10.1

func (EventHookPtrOutput) ElementType() reflect.Type

func (EventHookPtrOutput) ToEventHookPtrOutput added in v2.10.1

func (o EventHookPtrOutput) ToEventHookPtrOutput() EventHookPtrOutput

func (EventHookPtrOutput) ToEventHookPtrOutputWithContext added in v2.10.1

func (o EventHookPtrOutput) ToEventHookPtrOutputWithContext(ctx context.Context) EventHookPtrOutput

type EventHookState added in v2.4.0

type EventHookState struct {
	// Authentication required for event hook request.
	Auth pulumi.StringMapInput
	// Details of the endpoint the event hook will hit.
	Channel pulumi.StringMapInput
	// The events that will be delivered to this hook. [See here for a list of supported events](https://developer.okta.com/docs/reference/api/event-types/?q=event-hook-eligible).
	Events pulumi.StringArrayInput
	// Map of headers to send along in event hook request.
	Headers EventHookHeaderArrayInput
	// The event hook display name.
	Name   pulumi.StringPtrInput
	Status pulumi.StringPtrInput
}

func (EventHookState) ElementType added in v2.4.0

func (EventHookState) ElementType() reflect.Type

type GetGroupsArgs added in v2.13.0

type GetGroupsArgs struct {
	// Searches the name property of groups for matching value.
	Q *string `pulumi:"q"`
	// Searches for groups with a
	// supported [filtering](https://developer.okta.com/docs/reference/api-overview/#filtering) expression for
	// all [attributes](https://developer.okta.com/docs/reference/api/groups/#group-attributes)
	// except for `"_embedded"`, `"_links"`, and `"objectClass"`
	Search *string `pulumi:"search"`
	// type of the group to retrieve. Can only be one of `OKTA_GROUP` (Native Okta Groups), `APP_GROUP`
	// (Imported App Groups), or `BUILT_IN` (Okta System Groups).
	Type *string `pulumi:"type"`
}

A collection of arguments for invoking getGroups.

type GetGroupsGroup added in v2.13.0

type GetGroupsGroup struct {
	// Group description.
	Description string `pulumi:"description"`
	// Group ID.
	Id string `pulumi:"id"`
	// Group name.
	Name string `pulumi:"name"`
	// type of the group to retrieve. Can only be one of `OKTA_GROUP` (Native Okta Groups), `APP_GROUP`
	// (Imported App Groups), or `BUILT_IN` (Okta System Groups).
	Type string `pulumi:"type"`
}

type GetGroupsGroupArgs added in v2.13.0

type GetGroupsGroupArgs struct {
	// Group description.
	Description pulumi.StringInput `pulumi:"description"`
	// Group ID.
	Id pulumi.StringInput `pulumi:"id"`
	// Group name.
	Name pulumi.StringInput `pulumi:"name"`
	// type of the group to retrieve. Can only be one of `OKTA_GROUP` (Native Okta Groups), `APP_GROUP`
	// (Imported App Groups), or `BUILT_IN` (Okta System Groups).
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetGroupsGroupArgs) ElementType added in v2.13.0

func (GetGroupsGroupArgs) ElementType() reflect.Type

func (GetGroupsGroupArgs) ToGetGroupsGroupOutput added in v2.13.0

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext added in v2.13.0

func (i GetGroupsGroupArgs) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

type GetGroupsGroupArray added in v2.13.0

type GetGroupsGroupArray []GetGroupsGroupInput

func (GetGroupsGroupArray) ElementType added in v2.13.0

func (GetGroupsGroupArray) ElementType() reflect.Type

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutput added in v2.13.0

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext added in v2.13.0

func (i GetGroupsGroupArray) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupArrayInput added in v2.13.0

type GetGroupsGroupArrayInput interface {
	pulumi.Input

	ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput
	ToGetGroupsGroupArrayOutputWithContext(context.Context) GetGroupsGroupArrayOutput
}

GetGroupsGroupArrayInput is an input type that accepts GetGroupsGroupArray and GetGroupsGroupArrayOutput values. You can construct a concrete instance of `GetGroupsGroupArrayInput` via:

GetGroupsGroupArray{ GetGroupsGroupArgs{...} }

type GetGroupsGroupArrayOutput added in v2.13.0

type GetGroupsGroupArrayOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupArrayOutput) ElementType added in v2.13.0

func (GetGroupsGroupArrayOutput) ElementType() reflect.Type

func (GetGroupsGroupArrayOutput) Index added in v2.13.0

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput added in v2.13.0

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutput() GetGroupsGroupArrayOutput

func (GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext added in v2.13.0

func (o GetGroupsGroupArrayOutput) ToGetGroupsGroupArrayOutputWithContext(ctx context.Context) GetGroupsGroupArrayOutput

type GetGroupsGroupInput added in v2.13.0

type GetGroupsGroupInput interface {
	pulumi.Input

	ToGetGroupsGroupOutput() GetGroupsGroupOutput
	ToGetGroupsGroupOutputWithContext(context.Context) GetGroupsGroupOutput
}

GetGroupsGroupInput is an input type that accepts GetGroupsGroupArgs and GetGroupsGroupOutput values. You can construct a concrete instance of `GetGroupsGroupInput` via:

GetGroupsGroupArgs{...}

type GetGroupsGroupOutput added in v2.13.0

type GetGroupsGroupOutput struct{ *pulumi.OutputState }

func (GetGroupsGroupOutput) Description added in v2.13.0

func (o GetGroupsGroupOutput) Description() pulumi.StringOutput

Group description.

func (GetGroupsGroupOutput) ElementType added in v2.13.0

func (GetGroupsGroupOutput) ElementType() reflect.Type

func (GetGroupsGroupOutput) Id added in v2.13.0

Group ID.

func (GetGroupsGroupOutput) Name added in v2.13.0

Group name.

func (GetGroupsGroupOutput) ToGetGroupsGroupOutput added in v2.13.0

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutput() GetGroupsGroupOutput

func (GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext added in v2.13.0

func (o GetGroupsGroupOutput) ToGetGroupsGroupOutputWithContext(ctx context.Context) GetGroupsGroupOutput

func (GetGroupsGroupOutput) Type added in v2.13.0

type of the group to retrieve. Can only be one of `OKTA_GROUP` (Native Okta Groups), `APP_GROUP` (Imported App Groups), or `BUILT_IN` (Okta System Groups).

type GetGroupsResult added in v2.13.0

type GetGroupsResult struct {
	// collection of groups retrieved from Okta with the following properties.
	Groups []GetGroupsGroup `pulumi:"groups"`
	// The provider-assigned unique ID for this managed resource.
	Id     string  `pulumi:"id"`
	Q      *string `pulumi:"q"`
	Search *string `pulumi:"search"`
	// Group type.
	Type *string `pulumi:"type"`
}

A collection of values returned by getGroups.

func GetGroups added in v2.13.0

func GetGroups(ctx *pulumi.Context, args *GetGroupsArgs, opts ...pulumi.InvokeOption) (*GetGroupsResult, error)

Use this data source to retrieve a list of groups from Okta.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-okta/sdk/v2/go/okta"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "Engineering - "
		_, err := okta.GetGroups(ctx, &okta.GetGroupsArgs{
			Q: &opt0,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type PolicyMfaDefault added in v2.13.0

type PolicyMfaDefault struct {
	pulumi.CustomResourceState

	// ID of the default Okta group.
	DefaultIncludedGroupId pulumi.StringOutput `pulumi:"defaultIncludedGroupId"`
	// Default policy description.
	Description pulumi.StringOutput `pulumi:"description"`
	// DUO MFA policy settings.
	Duo pulumi.StringMapOutput `pulumi:"duo"`
	// Fido U2F MFA policy settings.
	FidoU2f pulumi.StringMapOutput `pulumi:"fidoU2f"`
	// Fido Web Authn MFA policy settings.
	FidoWebauthn pulumi.StringMapOutput `pulumi:"fidoWebauthn"`
	// Google OTP MFA policy settings.
	GoogleOtp pulumi.StringMapOutput `pulumi:"googleOtp"`
	// HMAC-based One-Time Password MFA policy settings.
	Hotp pulumi.StringMapOutput `pulumi:"hotp"`
	// Default policy name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Okta Call MFA policy settings.
	OktaCall pulumi.StringMapOutput `pulumi:"oktaCall"`
	// Okta Email MFA policy settings.
	OktaEmail pulumi.StringMapOutput `pulumi:"oktaEmail"`
	// Okta OTP MFA policy settings.
	OktaOtp pulumi.StringMapOutput `pulumi:"oktaOtp"`
	// Okta Password MFA policy settings.
	OktaPassword pulumi.StringMapOutput `pulumi:"oktaPassword"`
	// Okta Push MFA policy settings.
	OktaPush pulumi.StringMapOutput `pulumi:"oktaPush"`
	// Okta Question MFA policy settings.
	OktaQuestion pulumi.StringMapOutput `pulumi:"oktaQuestion"`
	// Okta SMS MFA policy settings.
	OktaSms pulumi.StringMapOutput `pulumi:"oktaSms"`
	// Default policy priority.
	Priority pulumi.IntOutput `pulumi:"priority"`
	// RSA Token MFA policy settings.
	RsaToken pulumi.StringMapOutput `pulumi:"rsaToken"`
	// Default policy status.
	Status pulumi.StringOutput `pulumi:"status"`
	// Symantec VIP MFA policy settings.
	SymantecVip pulumi.StringMapOutput `pulumi:"symantecVip"`
	// Yubikey Token MFA policy settings.
	YubikeyToken pulumi.StringMapOutput `pulumi:"yubikeyToken"`
}

Configures default MFA Policy.

This resource allows you to configure default MFA Policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-okta/sdk/v2/go/okta"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewPolicyMfaDefault(ctx, "_default", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Default MFA Policy can be imported without providing Okta ID.

```sh

$ pulumi import okta:index/policyMfaDefault:PolicyMfaDefault example .

```

func GetPolicyMfaDefault added in v2.13.0

func GetPolicyMfaDefault(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyMfaDefaultState, opts ...pulumi.ResourceOption) (*PolicyMfaDefault, error)

GetPolicyMfaDefault gets an existing PolicyMfaDefault 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 NewPolicyMfaDefault added in v2.13.0

func NewPolicyMfaDefault(ctx *pulumi.Context,
	name string, args *PolicyMfaDefaultArgs, opts ...pulumi.ResourceOption) (*PolicyMfaDefault, error)

NewPolicyMfaDefault registers a new resource with the given unique name, arguments, and options.

func (*PolicyMfaDefault) ElementType added in v2.13.0

func (*PolicyMfaDefault) ElementType() reflect.Type

func (*PolicyMfaDefault) ToPolicyMfaDefaultOutput added in v2.13.0

func (i *PolicyMfaDefault) ToPolicyMfaDefaultOutput() PolicyMfaDefaultOutput

func (*PolicyMfaDefault) ToPolicyMfaDefaultOutputWithContext added in v2.13.0

func (i *PolicyMfaDefault) ToPolicyMfaDefaultOutputWithContext(ctx context.Context) PolicyMfaDefaultOutput

func (*PolicyMfaDefault) ToPolicyMfaDefaultPtrOutput added in v2.13.0

func (i *PolicyMfaDefault) ToPolicyMfaDefaultPtrOutput() PolicyMfaDefaultPtrOutput

func (*PolicyMfaDefault) ToPolicyMfaDefaultPtrOutputWithContext added in v2.13.0

func (i *PolicyMfaDefault) ToPolicyMfaDefaultPtrOutputWithContext(ctx context.Context) PolicyMfaDefaultPtrOutput

type PolicyMfaDefaultArgs added in v2.13.0

type PolicyMfaDefaultArgs struct {
	// DUO MFA policy settings.
	Duo pulumi.StringMapInput
	// Fido U2F MFA policy settings.
	FidoU2f pulumi.StringMapInput
	// Fido Web Authn MFA policy settings.
	FidoWebauthn pulumi.StringMapInput
	// Google OTP MFA policy settings.
	GoogleOtp pulumi.StringMapInput
	// HMAC-based One-Time Password MFA policy settings.
	Hotp pulumi.StringMapInput
	// Okta Call MFA policy settings.
	OktaCall pulumi.StringMapInput
	// Okta Email MFA policy settings.
	OktaEmail pulumi.StringMapInput
	// Okta OTP MFA policy settings.
	OktaOtp pulumi.StringMapInput
	// Okta Password MFA policy settings.
	OktaPassword pulumi.StringMapInput
	// Okta Push MFA policy settings.
	OktaPush pulumi.StringMapInput
	// Okta Question MFA policy settings.
	OktaQuestion pulumi.StringMapInput
	// Okta SMS MFA policy settings.
	OktaSms pulumi.StringMapInput
	// RSA Token MFA policy settings.
	RsaToken pulumi.StringMapInput
	// Symantec VIP MFA policy settings.
	SymantecVip pulumi.StringMapInput
	// Yubikey Token MFA policy settings.
	YubikeyToken pulumi.StringMapInput
}

The set of arguments for constructing a PolicyMfaDefault resource.

func (PolicyMfaDefaultArgs) ElementType added in v2.13.0

func (PolicyMfaDefaultArgs) ElementType() reflect.Type

type PolicyMfaDefaultArray added in v2.13.0

type PolicyMfaDefaultArray []PolicyMfaDefaultInput

func (PolicyMfaDefaultArray) ElementType added in v2.13.0

func (PolicyMfaDefaultArray) ElementType() reflect.Type

func (PolicyMfaDefaultArray) ToPolicyMfaDefaultArrayOutput added in v2.13.0

func (i PolicyMfaDefaultArray) ToPolicyMfaDefaultArrayOutput() PolicyMfaDefaultArrayOutput

func (PolicyMfaDefaultArray) ToPolicyMfaDefaultArrayOutputWithContext added in v2.13.0

func (i PolicyMfaDefaultArray) ToPolicyMfaDefaultArrayOutputWithContext(ctx context.Context) PolicyMfaDefaultArrayOutput

type PolicyMfaDefaultArrayInput added in v2.13.0

type PolicyMfaDefaultArrayInput interface {
	pulumi.Input

	ToPolicyMfaDefaultArrayOutput() PolicyMfaDefaultArrayOutput
	ToPolicyMfaDefaultArrayOutputWithContext(context.Context) PolicyMfaDefaultArrayOutput
}

PolicyMfaDefaultArrayInput is an input type that accepts PolicyMfaDefaultArray and PolicyMfaDefaultArrayOutput values. You can construct a concrete instance of `PolicyMfaDefaultArrayInput` via:

PolicyMfaDefaultArray{ PolicyMfaDefaultArgs{...} }

type PolicyMfaDefaultArrayOutput added in v2.13.0

type PolicyMfaDefaultArrayOutput struct{ *pulumi.OutputState }

func (PolicyMfaDefaultArrayOutput) ElementType added in v2.13.0

func (PolicyMfaDefaultArrayOutput) Index added in v2.13.0

func (PolicyMfaDefaultArrayOutput) ToPolicyMfaDefaultArrayOutput added in v2.13.0

func (o PolicyMfaDefaultArrayOutput) ToPolicyMfaDefaultArrayOutput() PolicyMfaDefaultArrayOutput

func (PolicyMfaDefaultArrayOutput) ToPolicyMfaDefaultArrayOutputWithContext added in v2.13.0

func (o PolicyMfaDefaultArrayOutput) ToPolicyMfaDefaultArrayOutputWithContext(ctx context.Context) PolicyMfaDefaultArrayOutput

type PolicyMfaDefaultInput added in v2.13.0

type PolicyMfaDefaultInput interface {
	pulumi.Input

	ToPolicyMfaDefaultOutput() PolicyMfaDefaultOutput
	ToPolicyMfaDefaultOutputWithContext(ctx context.Context) PolicyMfaDefaultOutput
}

type PolicyMfaDefaultMap added in v2.13.0

type PolicyMfaDefaultMap map[string]PolicyMfaDefaultInput

func (PolicyMfaDefaultMap) ElementType added in v2.13.0

func (PolicyMfaDefaultMap) ElementType() reflect.Type

func (PolicyMfaDefaultMap) ToPolicyMfaDefaultMapOutput added in v2.13.0

func (i PolicyMfaDefaultMap) ToPolicyMfaDefaultMapOutput() PolicyMfaDefaultMapOutput

func (PolicyMfaDefaultMap) ToPolicyMfaDefaultMapOutputWithContext added in v2.13.0

func (i PolicyMfaDefaultMap) ToPolicyMfaDefaultMapOutputWithContext(ctx context.Context) PolicyMfaDefaultMapOutput

type PolicyMfaDefaultMapInput added in v2.13.0

type PolicyMfaDefaultMapInput interface {
	pulumi.Input

	ToPolicyMfaDefaultMapOutput() PolicyMfaDefaultMapOutput
	ToPolicyMfaDefaultMapOutputWithContext(context.Context) PolicyMfaDefaultMapOutput
}

PolicyMfaDefaultMapInput is an input type that accepts PolicyMfaDefaultMap and PolicyMfaDefaultMapOutput values. You can construct a concrete instance of `PolicyMfaDefaultMapInput` via:

PolicyMfaDefaultMap{ "key": PolicyMfaDefaultArgs{...} }

type PolicyMfaDefaultMapOutput added in v2.13.0

type PolicyMfaDefaultMapOutput struct{ *pulumi.OutputState }

func (PolicyMfaDefaultMapOutput) ElementType added in v2.13.0

func (PolicyMfaDefaultMapOutput) ElementType() reflect.Type

func (PolicyMfaDefaultMapOutput) MapIndex added in v2.13.0

func (PolicyMfaDefaultMapOutput) ToPolicyMfaDefaultMapOutput added in v2.13.0

func (o PolicyMfaDefaultMapOutput) ToPolicyMfaDefaultMapOutput() PolicyMfaDefaultMapOutput

func (PolicyMfaDefaultMapOutput) ToPolicyMfaDefaultMapOutputWithContext added in v2.13.0

func (o PolicyMfaDefaultMapOutput) ToPolicyMfaDefaultMapOutputWithContext(ctx context.Context) PolicyMfaDefaultMapOutput

type PolicyMfaDefaultOutput added in v2.13.0

type PolicyMfaDefaultOutput struct {
	*pulumi.OutputState
}

func (PolicyMfaDefaultOutput) ElementType added in v2.13.0

func (PolicyMfaDefaultOutput) ElementType() reflect.Type

func (PolicyMfaDefaultOutput) ToPolicyMfaDefaultOutput added in v2.13.0

func (o PolicyMfaDefaultOutput) ToPolicyMfaDefaultOutput() PolicyMfaDefaultOutput

func (PolicyMfaDefaultOutput) ToPolicyMfaDefaultOutputWithContext added in v2.13.0

func (o PolicyMfaDefaultOutput) ToPolicyMfaDefaultOutputWithContext(ctx context.Context) PolicyMfaDefaultOutput

func (PolicyMfaDefaultOutput) ToPolicyMfaDefaultPtrOutput added in v2.13.0

func (o PolicyMfaDefaultOutput) ToPolicyMfaDefaultPtrOutput() PolicyMfaDefaultPtrOutput

func (PolicyMfaDefaultOutput) ToPolicyMfaDefaultPtrOutputWithContext added in v2.13.0

func (o PolicyMfaDefaultOutput) ToPolicyMfaDefaultPtrOutputWithContext(ctx context.Context) PolicyMfaDefaultPtrOutput

type PolicyMfaDefaultPtrInput added in v2.13.0

type PolicyMfaDefaultPtrInput interface {
	pulumi.Input

	ToPolicyMfaDefaultPtrOutput() PolicyMfaDefaultPtrOutput
	ToPolicyMfaDefaultPtrOutputWithContext(ctx context.Context) PolicyMfaDefaultPtrOutput
}

type PolicyMfaDefaultPtrOutput added in v2.13.0

type PolicyMfaDefaultPtrOutput struct {
	*pulumi.OutputState
}

func (PolicyMfaDefaultPtrOutput) ElementType added in v2.13.0

func (PolicyMfaDefaultPtrOutput) ElementType() reflect.Type

func (PolicyMfaDefaultPtrOutput) ToPolicyMfaDefaultPtrOutput added in v2.13.0

func (o PolicyMfaDefaultPtrOutput) ToPolicyMfaDefaultPtrOutput() PolicyMfaDefaultPtrOutput

func (PolicyMfaDefaultPtrOutput) ToPolicyMfaDefaultPtrOutputWithContext added in v2.13.0

func (o PolicyMfaDefaultPtrOutput) ToPolicyMfaDefaultPtrOutputWithContext(ctx context.Context) PolicyMfaDefaultPtrOutput

type PolicyMfaDefaultState added in v2.13.0

type PolicyMfaDefaultState struct {
	// ID of the default Okta group.
	DefaultIncludedGroupId pulumi.StringPtrInput
	// Default policy description.
	Description pulumi.StringPtrInput
	// DUO MFA policy settings.
	Duo pulumi.StringMapInput
	// Fido U2F MFA policy settings.
	FidoU2f pulumi.StringMapInput
	// Fido Web Authn MFA policy settings.
	FidoWebauthn pulumi.StringMapInput
	// Google OTP MFA policy settings.
	GoogleOtp pulumi.StringMapInput
	// HMAC-based One-Time Password MFA policy settings.
	Hotp pulumi.StringMapInput
	// Default policy name.
	Name pulumi.StringPtrInput
	// Okta Call MFA policy settings.
	OktaCall pulumi.StringMapInput
	// Okta Email MFA policy settings.
	OktaEmail pulumi.StringMapInput
	// Okta OTP MFA policy settings.
	OktaOtp pulumi.StringMapInput
	// Okta Password MFA policy settings.
	OktaPassword pulumi.StringMapInput
	// Okta Push MFA policy settings.
	OktaPush pulumi.StringMapInput
	// Okta Question MFA policy settings.
	OktaQuestion pulumi.StringMapInput
	// Okta SMS MFA policy settings.
	OktaSms pulumi.StringMapInput
	// Default policy priority.
	Priority pulumi.IntPtrInput
	// RSA Token MFA policy settings.
	RsaToken pulumi.StringMapInput
	// Default policy status.
	Status pulumi.StringPtrInput
	// Symantec VIP MFA policy settings.
	SymantecVip pulumi.StringMapInput
	// Yubikey Token MFA policy settings.
	YubikeyToken pulumi.StringMapInput
}

func (PolicyMfaDefaultState) ElementType added in v2.13.0

func (PolicyMfaDefaultState) ElementType() reflect.Type

type PolicyPasswordDefault added in v2.13.0

type PolicyPasswordDefault struct {
	pulumi.CustomResourceState

	// Enable or disable voice call password recovery: ACTIVE or INACTIVE.
	CallRecovery pulumi.StringPtrOutput `pulumi:"callRecovery"`
	// Default authentication provider.
	DefaultAuthProvider pulumi.StringOutput `pulumi:"defaultAuthProvider"`
	// ID of the default Okta group.
	DefaultIncludedGroupId pulumi.StringOutput `pulumi:"defaultIncludedGroupId"`
	// Default policy description.
	Description pulumi.StringOutput `pulumi:"description"`
	// Enable or disable email password recovery: ACTIVE or INACTIVE.
	EmailRecovery pulumi.StringPtrOutput `pulumi:"emailRecovery"`
	// Default policy name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Number of minutes before a locked account is unlocked: 0 = no limit.
	PasswordAutoUnlockMinutes pulumi.IntPtrOutput `pulumi:"passwordAutoUnlockMinutes"`
	// Check Passwords Against Common Password Dictionary.
	PasswordDictionaryLookup pulumi.BoolPtrOutput `pulumi:"passwordDictionaryLookup"`
	// User firstName attribute must be excluded from the password.
	PasswordExcludeFirstName pulumi.BoolPtrOutput `pulumi:"passwordExcludeFirstName"`
	// User lastName attribute must be excluded from the password.
	PasswordExcludeLastName pulumi.BoolPtrOutput `pulumi:"passwordExcludeLastName"`
	// If the username must be excluded from the password.
	PasswordExcludeUsername pulumi.BoolPtrOutput `pulumi:"passwordExcludeUsername"`
	// Length in days a user will be warned before password expiry: 0 = no warning.
	PasswordExpireWarnDays pulumi.IntPtrOutput `pulumi:"passwordExpireWarnDays"`
	// Number of distinct passwords that must be created before they can be reused: 0 =
	// none.
	PasswordHistoryCount pulumi.IntPtrOutput `pulumi:"passwordHistoryCount"`
	// Notification channels to use to notify a user when their account
	// has been locked.
	PasswordLockoutNotificationChannels pulumi.StringArrayOutput `pulumi:"passwordLockoutNotificationChannels"`
	// Length in days a password is valid before expiry: 0 = no limit.,
	PasswordMaxAgeDays pulumi.IntPtrOutput `pulumi:"passwordMaxAgeDays"`
	// Number of unsuccessful login attempts allowed before lockout: 0 = no
	// limit.
	PasswordMaxLockoutAttempts pulumi.IntPtrOutput `pulumi:"passwordMaxLockoutAttempts"`
	// Minimum time interval in minutes between password changes: 0 = no limit.
	PasswordMinAgeMinutes pulumi.IntPtrOutput `pulumi:"passwordMinAgeMinutes"`
	// Minimum password length. Default is 8.
	PasswordMinLength pulumi.IntPtrOutput `pulumi:"passwordMinLength"`
	// Minimum number of lower case characters in a password.
	PasswordMinLowercase pulumi.IntPtrOutput `pulumi:"passwordMinLowercase"`
	// Minimum number of numbers in a password.
	PasswordMinNumber pulumi.IntPtrOutput `pulumi:"passwordMinNumber"`
	// Minimum number of symbols in a password.
	PasswordMinSymbol pulumi.IntPtrOutput `pulumi:"passwordMinSymbol"`
	// Minimum number of upper case characters in a password.
	PasswordMinUppercase pulumi.IntPtrOutput `pulumi:"passwordMinUppercase"`
	// If a user should be informed when their account is locked.
	PasswordShowLockoutFailures pulumi.BoolPtrOutput `pulumi:"passwordShowLockoutFailures"`
	// Default policy priority.
	Priority pulumi.IntOutput `pulumi:"priority"`
	// Min length of the password recovery question answer.
	QuestionMinLength pulumi.IntPtrOutput `pulumi:"questionMinLength"`
	// Enable or disable security question password recovery: ACTIVE or INACTIVE.
	QuestionRecovery pulumi.StringPtrOutput `pulumi:"questionRecovery"`
	// Lifetime in minutes of the recovery email token.
	RecoveryEmailToken pulumi.IntPtrOutput `pulumi:"recoveryEmailToken"`
	// When an Active Directory user is locked out of Okta, the Okta unlock operation should also
	// attempt to unlock the user's Windows account.
	SkipUnlock pulumi.BoolPtrOutput `pulumi:"skipUnlock"`
	// Enable or disable SMS password recovery: ACTIVE or INACTIVE.
	SmsRecovery pulumi.StringPtrOutput `pulumi:"smsRecovery"`
	// Default policy status.
	Status pulumi.StringOutput `pulumi:"status"`
}

Configures default password policy.

This resource allows you to configure default password policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-okta/sdk/v2/go/okta"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewPolicyPasswordDefault(ctx, "_default", nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Default Password Policy can be imported without providing Okta ID.

```sh

$ pulumi import okta:index/policyPasswordDefault:PolicyPasswordDefault example .

```

func GetPolicyPasswordDefault added in v2.13.0

func GetPolicyPasswordDefault(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PolicyPasswordDefaultState, opts ...pulumi.ResourceOption) (*PolicyPasswordDefault, error)

GetPolicyPasswordDefault gets an existing PolicyPasswordDefault 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 NewPolicyPasswordDefault added in v2.13.0

func NewPolicyPasswordDefault(ctx *pulumi.Context,
	name string, args *PolicyPasswordDefaultArgs, opts ...pulumi.ResourceOption) (*PolicyPasswordDefault, error)

NewPolicyPasswordDefault registers a new resource with the given unique name, arguments, and options.

func (*PolicyPasswordDefault) ElementType added in v2.13.0

func (*PolicyPasswordDefault) ElementType() reflect.Type

func (*PolicyPasswordDefault) ToPolicyPasswordDefaultOutput added in v2.13.0

func (i *PolicyPasswordDefault) ToPolicyPasswordDefaultOutput() PolicyPasswordDefaultOutput

func (*PolicyPasswordDefault) ToPolicyPasswordDefaultOutputWithContext added in v2.13.0

func (i *PolicyPasswordDefault) ToPolicyPasswordDefaultOutputWithContext(ctx context.Context) PolicyPasswordDefaultOutput

func (*PolicyPasswordDefault) ToPolicyPasswordDefaultPtrOutput added in v2.13.0

func (i *PolicyPasswordDefault) ToPolicyPasswordDefaultPtrOutput() PolicyPasswordDefaultPtrOutput

func (*PolicyPasswordDefault) ToPolicyPasswordDefaultPtrOutputWithContext added in v2.13.0

func (i *PolicyPasswordDefault) ToPolicyPasswordDefaultPtrOutputWithContext(ctx context.Context) PolicyPasswordDefaultPtrOutput

type PolicyPasswordDefaultArgs added in v2.13.0

type PolicyPasswordDefaultArgs struct {
	// Enable or disable voice call password recovery: ACTIVE or INACTIVE.
	CallRecovery pulumi.StringPtrInput
	// Enable or disable email password recovery: ACTIVE or INACTIVE.
	EmailRecovery pulumi.StringPtrInput
	// Number of minutes before a locked account is unlocked: 0 = no limit.
	PasswordAutoUnlockMinutes pulumi.IntPtrInput
	// Check Passwords Against Common Password Dictionary.
	PasswordDictionaryLookup pulumi.BoolPtrInput
	// User firstName attribute must be excluded from the password.
	PasswordExcludeFirstName pulumi.BoolPtrInput
	// User lastName attribute must be excluded from the password.
	PasswordExcludeLastName pulumi.BoolPtrInput
	// If the username must be excluded from the password.
	PasswordExcludeUsername pulumi.BoolPtrInput
	// Length in days a user will be warned before password expiry: 0 = no warning.
	PasswordExpireWarnDays pulumi.IntPtrInput
	// Number of distinct passwords that must be created before they can be reused: 0 =
	// none.
	PasswordHistoryCount pulumi.IntPtrInput
	// Notification channels to use to notify a user when their account
	// has been locked.
	PasswordLockoutNotificationChannels pulumi.StringArrayInput
	// Length in days a password is valid before expiry: 0 = no limit.,
	PasswordMaxAgeDays pulumi.IntPtrInput
	// Number of unsuccessful login attempts allowed before lockout: 0 = no
	// limit.
	PasswordMaxLockoutAttempts pulumi.IntPtrInput
	// Minimum time interval in minutes between password changes: 0 = no limit.
	PasswordMinAgeMinutes pulumi.IntPtrInput
	// Minimum password length. Default is 8.
	PasswordMinLength pulumi.IntPtrInput
	// Minimum number of lower case characters in a password.
	PasswordMinLowercase pulumi.IntPtrInput
	// Minimum number of numbers in a password.
	PasswordMinNumber pulumi.IntPtrInput
	// Minimum number of symbols in a password.
	PasswordMinSymbol pulumi.IntPtrInput
	// Minimum number of upper case characters in a password.
	PasswordMinUppercase pulumi.IntPtrInput
	// If a user should be informed when their account is locked.
	PasswordShowLockoutFailures pulumi.BoolPtrInput
	// Min length of the password recovery question answer.
	QuestionMinLength pulumi.IntPtrInput
	// Enable or disable security question password recovery: ACTIVE or INACTIVE.
	QuestionRecovery pulumi.StringPtrInput
	// Lifetime in minutes of the recovery email token.
	RecoveryEmailToken pulumi.IntPtrInput
	// When an Active Directory user is locked out of Okta, the Okta unlock operation should also
	// attempt to unlock the user's Windows account.
	SkipUnlock pulumi.BoolPtrInput
	// Enable or disable SMS password recovery: ACTIVE or INACTIVE.
	SmsRecovery pulumi.StringPtrInput
}

The set of arguments for constructing a PolicyPasswordDefault resource.

func (PolicyPasswordDefaultArgs) ElementType added in v2.13.0

func (PolicyPasswordDefaultArgs) ElementType() reflect.Type

type PolicyPasswordDefaultArray added in v2.13.0

type PolicyPasswordDefaultArray []PolicyPasswordDefaultInput

func (PolicyPasswordDefaultArray) ElementType added in v2.13.0

func (PolicyPasswordDefaultArray) ElementType() reflect.Type

func (PolicyPasswordDefaultArray) ToPolicyPasswordDefaultArrayOutput added in v2.13.0

func (i PolicyPasswordDefaultArray) ToPolicyPasswordDefaultArrayOutput() PolicyPasswordDefaultArrayOutput

func (PolicyPasswordDefaultArray) ToPolicyPasswordDefaultArrayOutputWithContext added in v2.13.0

func (i PolicyPasswordDefaultArray) ToPolicyPasswordDefaultArrayOutputWithContext(ctx context.Context) PolicyPasswordDefaultArrayOutput

type PolicyPasswordDefaultArrayInput added in v2.13.0

type PolicyPasswordDefaultArrayInput interface {
	pulumi.Input

	ToPolicyPasswordDefaultArrayOutput() PolicyPasswordDefaultArrayOutput
	ToPolicyPasswordDefaultArrayOutputWithContext(context.Context) PolicyPasswordDefaultArrayOutput
}

PolicyPasswordDefaultArrayInput is an input type that accepts PolicyPasswordDefaultArray and PolicyPasswordDefaultArrayOutput values. You can construct a concrete instance of `PolicyPasswordDefaultArrayInput` via:

PolicyPasswordDefaultArray{ PolicyPasswordDefaultArgs{...} }

type PolicyPasswordDefaultArrayOutput added in v2.13.0

type PolicyPasswordDefaultArrayOutput struct{ *pulumi.OutputState }

func (PolicyPasswordDefaultArrayOutput) ElementType added in v2.13.0

func (PolicyPasswordDefaultArrayOutput) Index added in v2.13.0

func (PolicyPasswordDefaultArrayOutput) ToPolicyPasswordDefaultArrayOutput added in v2.13.0

func (o PolicyPasswordDefaultArrayOutput) ToPolicyPasswordDefaultArrayOutput() PolicyPasswordDefaultArrayOutput

func (PolicyPasswordDefaultArrayOutput) ToPolicyPasswordDefaultArrayOutputWithContext added in v2.13.0

func (o PolicyPasswordDefaultArrayOutput) ToPolicyPasswordDefaultArrayOutputWithContext(ctx context.Context) PolicyPasswordDefaultArrayOutput

type PolicyPasswordDefaultInput added in v2.13.0

type PolicyPasswordDefaultInput interface {
	pulumi.Input

	ToPolicyPasswordDefaultOutput() PolicyPasswordDefaultOutput
	ToPolicyPasswordDefaultOutputWithContext(ctx context.Context) PolicyPasswordDefaultOutput
}

type PolicyPasswordDefaultMap added in v2.13.0

type PolicyPasswordDefaultMap map[string]PolicyPasswordDefaultInput

func (PolicyPasswordDefaultMap) ElementType added in v2.13.0

func (PolicyPasswordDefaultMap) ElementType() reflect.Type

func (PolicyPasswordDefaultMap) ToPolicyPasswordDefaultMapOutput added in v2.13.0

func (i PolicyPasswordDefaultMap) ToPolicyPasswordDefaultMapOutput() PolicyPasswordDefaultMapOutput

func (PolicyPasswordDefaultMap) ToPolicyPasswordDefaultMapOutputWithContext added in v2.13.0

func (i PolicyPasswordDefaultMap) ToPolicyPasswordDefaultMapOutputWithContext(ctx context.Context) PolicyPasswordDefaultMapOutput

type PolicyPasswordDefaultMapInput added in v2.13.0

type PolicyPasswordDefaultMapInput interface {
	pulumi.Input

	ToPolicyPasswordDefaultMapOutput() PolicyPasswordDefaultMapOutput
	ToPolicyPasswordDefaultMapOutputWithContext(context.Context) PolicyPasswordDefaultMapOutput
}

PolicyPasswordDefaultMapInput is an input type that accepts PolicyPasswordDefaultMap and PolicyPasswordDefaultMapOutput values. You can construct a concrete instance of `PolicyPasswordDefaultMapInput` via:

PolicyPasswordDefaultMap{ "key": PolicyPasswordDefaultArgs{...} }

type PolicyPasswordDefaultMapOutput added in v2.13.0

type PolicyPasswordDefaultMapOutput struct{ *pulumi.OutputState }

func (PolicyPasswordDefaultMapOutput) ElementType added in v2.13.0

func (PolicyPasswordDefaultMapOutput) MapIndex added in v2.13.0

func (PolicyPasswordDefaultMapOutput) ToPolicyPasswordDefaultMapOutput added in v2.13.0

func (o PolicyPasswordDefaultMapOutput) ToPolicyPasswordDefaultMapOutput() PolicyPasswordDefaultMapOutput

func (PolicyPasswordDefaultMapOutput) ToPolicyPasswordDefaultMapOutputWithContext added in v2.13.0

func (o PolicyPasswordDefaultMapOutput) ToPolicyPasswordDefaultMapOutputWithContext(ctx context.Context) PolicyPasswordDefaultMapOutput

type PolicyPasswordDefaultOutput added in v2.13.0

type PolicyPasswordDefaultOutput struct {
	*pulumi.OutputState
}

func (PolicyPasswordDefaultOutput) ElementType added in v2.13.0

func (PolicyPasswordDefaultOutput) ToPolicyPasswordDefaultOutput added in v2.13.0

func (o PolicyPasswordDefaultOutput) ToPolicyPasswordDefaultOutput() PolicyPasswordDefaultOutput

func (PolicyPasswordDefaultOutput) ToPolicyPasswordDefaultOutputWithContext added in v2.13.0

func (o PolicyPasswordDefaultOutput) ToPolicyPasswordDefaultOutputWithContext(ctx context.Context) PolicyPasswordDefaultOutput

func (PolicyPasswordDefaultOutput) ToPolicyPasswordDefaultPtrOutput added in v2.13.0

func (o PolicyPasswordDefaultOutput) ToPolicyPasswordDefaultPtrOutput() PolicyPasswordDefaultPtrOutput

func (PolicyPasswordDefaultOutput) ToPolicyPasswordDefaultPtrOutputWithContext added in v2.13.0

func (o PolicyPasswordDefaultOutput) ToPolicyPasswordDefaultPtrOutputWithContext(ctx context.Context) PolicyPasswordDefaultPtrOutput

type PolicyPasswordDefaultPtrInput added in v2.13.0

type PolicyPasswordDefaultPtrInput interface {
	pulumi.Input

	ToPolicyPasswordDefaultPtrOutput() PolicyPasswordDefaultPtrOutput
	ToPolicyPasswordDefaultPtrOutputWithContext(ctx context.Context) PolicyPasswordDefaultPtrOutput
}

type PolicyPasswordDefaultPtrOutput added in v2.13.0

type PolicyPasswordDefaultPtrOutput struct {
	*pulumi.OutputState
}

func (PolicyPasswordDefaultPtrOutput) ElementType added in v2.13.0

func (PolicyPasswordDefaultPtrOutput) ToPolicyPasswordDefaultPtrOutput added in v2.13.0

func (o PolicyPasswordDefaultPtrOutput) ToPolicyPasswordDefaultPtrOutput() PolicyPasswordDefaultPtrOutput

func (PolicyPasswordDefaultPtrOutput) ToPolicyPasswordDefaultPtrOutputWithContext added in v2.13.0

func (o PolicyPasswordDefaultPtrOutput) ToPolicyPasswordDefaultPtrOutputWithContext(ctx context.Context) PolicyPasswordDefaultPtrOutput

type PolicyPasswordDefaultState added in v2.13.0

type PolicyPasswordDefaultState struct {
	// Enable or disable voice call password recovery: ACTIVE or INACTIVE.
	CallRecovery pulumi.StringPtrInput
	// Default authentication provider.
	DefaultAuthProvider pulumi.StringPtrInput
	// ID of the default Okta group.
	DefaultIncludedGroupId pulumi.StringPtrInput
	// Default policy description.
	Description pulumi.StringPtrInput
	// Enable or disable email password recovery: ACTIVE or INACTIVE.
	EmailRecovery pulumi.StringPtrInput
	// Default policy name.
	Name pulumi.StringPtrInput
	// Number of minutes before a locked account is unlocked: 0 = no limit.
	PasswordAutoUnlockMinutes pulumi.IntPtrInput
	// Check Passwords Against Common Password Dictionary.
	PasswordDictionaryLookup pulumi.BoolPtrInput
	// User firstName attribute must be excluded from the password.
	PasswordExcludeFirstName pulumi.BoolPtrInput
	// User lastName attribute must be excluded from the password.
	PasswordExcludeLastName pulumi.BoolPtrInput
	// If the username must be excluded from the password.
	PasswordExcludeUsername pulumi.BoolPtrInput
	// Length in days a user will be warned before password expiry: 0 = no warning.
	PasswordExpireWarnDays pulumi.IntPtrInput
	// Number of distinct passwords that must be created before they can be reused: 0 =
	// none.
	PasswordHistoryCount pulumi.IntPtrInput
	// Notification channels to use to notify a user when their account
	// has been locked.
	PasswordLockoutNotificationChannels pulumi.StringArrayInput
	// Length in days a password is valid before expiry: 0 = no limit.,
	PasswordMaxAgeDays pulumi.IntPtrInput
	// Number of unsuccessful login attempts allowed before lockout: 0 = no
	// limit.
	PasswordMaxLockoutAttempts pulumi.IntPtrInput
	// Minimum time interval in minutes between password changes: 0 = no limit.
	PasswordMinAgeMinutes pulumi.IntPtrInput
	// Minimum password length. Default is 8.
	PasswordMinLength pulumi.IntPtrInput
	// Minimum number of lower case characters in a password.
	PasswordMinLowercase pulumi.IntPtrInput
	// Minimum number of numbers in a password.
	PasswordMinNumber pulumi.IntPtrInput
	// Minimum number of symbols in a password.
	PasswordMinSymbol pulumi.IntPtrInput
	// Minimum number of upper case characters in a password.
	PasswordMinUppercase pulumi.IntPtrInput
	// If a user should be informed when their account is locked.
	PasswordShowLockoutFailures pulumi.BoolPtrInput
	// Default policy priority.
	Priority pulumi.IntPtrInput
	// Min length of the password recovery question answer.
	QuestionMinLength pulumi.IntPtrInput
	// Enable or disable security question password recovery: ACTIVE or INACTIVE.
	QuestionRecovery pulumi.StringPtrInput
	// Lifetime in minutes of the recovery email token.
	RecoveryEmailToken pulumi.IntPtrInput
	// When an Active Directory user is locked out of Okta, the Okta unlock operation should also
	// attempt to unlock the user's Windows account.
	SkipUnlock pulumi.BoolPtrInput
	// Enable or disable SMS password recovery: ACTIVE or INACTIVE.
	SmsRecovery pulumi.StringPtrInput
	// Default policy status.
	Status pulumi.StringPtrInput
}

func (PolicyPasswordDefaultState) ElementType added in v2.13.0

func (PolicyPasswordDefaultState) ElementType() reflect.Type

type Provider

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the okta package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

NewProvider registers a new resource with the given unique name, arguments, and options.

func (*Provider) ElementType added in v2.6.2

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput added in v2.6.2

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext added in v2.6.2

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (*Provider) ToProviderPtrOutput added in v2.10.1

func (i *Provider) ToProviderPtrOutput() ProviderPtrOutput

func (*Provider) ToProviderPtrOutputWithContext added in v2.10.1

func (i *Provider) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderArgs

type ProviderArgs struct {
	// API Token granting privileges to Okta API.
	ApiToken pulumi.StringPtrInput
	// Use exponential back off strategy for rate limits.
	Backoff pulumi.BoolPtrInput
	// The Okta url. (Use 'oktapreview.com' for Okta testing)
	BaseUrl pulumi.StringPtrInput
	// API Token granting privileges to Okta API.
	ClientId pulumi.StringPtrInput
	// providers log level. Minimum is 1 (TRACE), and maximum is 5 (ERROR)
	LogLevel pulumi.IntPtrInput
	// maximum number of retries to attempt before erroring out.
	MaxRetries pulumi.IntPtrInput
	// maximum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
	MaxWaitSeconds pulumi.IntPtrInput
	// minimum seconds to wait when rate limit is hit. We use exponential backoffs when backoff is enabled.
	MinWaitSeconds pulumi.IntPtrInput
	// The organization to manage in Okta.
	OrgName pulumi.StringPtrInput
	// Number of concurrent requests to make within a resource where bulk operations are not possible. Take note of
	// https://developer.okta.com/docs/api/getting_started/rate-limits.
	Parallelism pulumi.IntPtrInput
	// API Token granting privileges to Okta API.
	PrivateKey pulumi.StringPtrInput
	// Timeout for single request (in seconds) which is made to Okta, the default is `0` (means no limit is set). The maximum
	// value can be `100`.
	RequestTimeout pulumi.IntPtrInput
	// API Token granting privileges to Okta API.
	Scopes pulumi.StringArrayInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput added in v2.6.2

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput added in v2.6.2

type ProviderOutput struct {
	*pulumi.OutputState
}

func (ProviderOutput) ElementType added in v2.6.2

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput added in v2.6.2

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext added in v2.6.2

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

func (ProviderOutput) ToProviderPtrOutput added in v2.10.1

func (o ProviderOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderOutput) ToProviderPtrOutputWithContext added in v2.10.1

func (o ProviderOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type ProviderPtrInput added in v2.10.1

type ProviderPtrInput interface {
	pulumi.Input

	ToProviderPtrOutput() ProviderPtrOutput
	ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput
}

type ProviderPtrOutput added in v2.10.1

type ProviderPtrOutput struct {
	*pulumi.OutputState
}

func (ProviderPtrOutput) ElementType added in v2.10.1

func (ProviderPtrOutput) ElementType() reflect.Type

func (ProviderPtrOutput) ToProviderPtrOutput added in v2.10.1

func (o ProviderPtrOutput) ToProviderPtrOutput() ProviderPtrOutput

func (ProviderPtrOutput) ToProviderPtrOutputWithContext added in v2.10.1

func (o ProviderPtrOutput) ToProviderPtrOutputWithContext(ctx context.Context) ProviderPtrOutput

type TemplateSms added in v2.4.0

type TemplateSms struct {
	pulumi.CustomResourceState

	// The SMS message.
	Template pulumi.StringOutput `pulumi:"template"`
	// Set of translations for a particular template.
	Translations TemplateSmsTranslationArrayOutput `pulumi:"translations"`
	// SMS template type
	Type pulumi.StringOutput `pulumi:"type"`
}

Creates an Okta SMS Template.

This resource allows you to create and configure an Okta SMS Template.

## Example Usage

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-okta/sdk/v2/go/okta"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.NewTemplateSms(ctx, "example", &okta.TemplateSmsArgs{
			Template: pulumi.String(fmt.Sprintf("%v%v%v%v", "Your ", org.Name, " code is: ", code)),
			Translations: okta.TemplateSmsTranslationArray{
				&okta.TemplateSmsTranslationArgs{
					Language: pulumi.String("en"),
					Template: pulumi.String(fmt.Sprintf("%v%v%v%v", "Your ", org.Name, " code is: ", code)),
				},
				&okta.TemplateSmsTranslationArgs{
					Language: pulumi.String("es"),
					Template: pulumi.String(fmt.Sprintf("%v%v%v%v%v", "Tu código de ", org.Name, " es: ", code, ".")),
				},
			},
			Type: pulumi.String("SMS_VERIFY_CODE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

An Okta SMS Template can be imported via the template type.

```sh

$ pulumi import okta:index/templateSms:TemplateSms example <template type>

```

func GetTemplateSms added in v2.4.0

func GetTemplateSms(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TemplateSmsState, opts ...pulumi.ResourceOption) (*TemplateSms, error)

GetTemplateSms gets an existing TemplateSms 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 NewTemplateSms added in v2.4.0

func NewTemplateSms(ctx *pulumi.Context,
	name string, args *TemplateSmsArgs, opts ...pulumi.ResourceOption) (*TemplateSms, error)

NewTemplateSms registers a new resource with the given unique name, arguments, and options.

func (*TemplateSms) ElementType added in v2.6.2

func (*TemplateSms) ElementType() reflect.Type

func (*TemplateSms) ToTemplateSmsOutput added in v2.6.2

func (i *TemplateSms) ToTemplateSmsOutput() TemplateSmsOutput

func (*TemplateSms) ToTemplateSmsOutputWithContext added in v2.6.2

func (i *TemplateSms) ToTemplateSmsOutputWithContext(ctx context.Context) TemplateSmsOutput

func (*TemplateSms) ToTemplateSmsPtrOutput added in v2.10.1

func (i *TemplateSms) ToTemplateSmsPtrOutput() TemplateSmsPtrOutput

func (*TemplateSms) ToTemplateSmsPtrOutputWithContext added in v2.10.1

func (i *TemplateSms) ToTemplateSmsPtrOutputWithContext(ctx context.Context) TemplateSmsPtrOutput

type TemplateSmsArgs added in v2.4.0

type TemplateSmsArgs struct {
	// The SMS message.
	Template pulumi.StringInput
	// Set of translations for a particular template.
	Translations TemplateSmsTranslationArrayInput
	// SMS template type
	Type pulumi.StringInput
}

The set of arguments for constructing a TemplateSms resource.

func (TemplateSmsArgs) ElementType added in v2.4.0

func (TemplateSmsArgs) ElementType() reflect.Type

type TemplateSmsArray added in v2.10.1

type TemplateSmsArray []TemplateSmsInput

func (TemplateSmsArray) ElementType added in v2.10.1

func (TemplateSmsArray) ElementType() reflect.Type

func (TemplateSmsArray) ToTemplateSmsArrayOutput added in v2.10.1

func (i TemplateSmsArray) ToTemplateSmsArrayOutput() TemplateSmsArrayOutput

func (TemplateSmsArray) ToTemplateSmsArrayOutputWithContext added in v2.10.1

func (i TemplateSmsArray) ToTemplateSmsArrayOutputWithContext(ctx context.Context) TemplateSmsArrayOutput

type TemplateSmsArrayInput added in v2.10.1

type TemplateSmsArrayInput interface {
	pulumi.Input

	ToTemplateSmsArrayOutput() TemplateSmsArrayOutput
	ToTemplateSmsArrayOutputWithContext(context.Context) TemplateSmsArrayOutput
}

TemplateSmsArrayInput is an input type that accepts TemplateSmsArray and TemplateSmsArrayOutput values. You can construct a concrete instance of `TemplateSmsArrayInput` via:

TemplateSmsArray{ TemplateSmsArgs{...} }

type TemplateSmsArrayOutput added in v2.10.1

type TemplateSmsArrayOutput struct{ *pulumi.OutputState }

func (TemplateSmsArrayOutput) ElementType added in v2.10.1

func (TemplateSmsArrayOutput) ElementType() reflect.Type

func (TemplateSmsArrayOutput) Index added in v2.10.1

func (TemplateSmsArrayOutput) ToTemplateSmsArrayOutput added in v2.10.1

func (o TemplateSmsArrayOutput) ToTemplateSmsArrayOutput() TemplateSmsArrayOutput

func (TemplateSmsArrayOutput) ToTemplateSmsArrayOutputWithContext added in v2.10.1

func (o TemplateSmsArrayOutput) ToTemplateSmsArrayOutputWithContext(ctx context.Context) TemplateSmsArrayOutput

type TemplateSmsInput added in v2.6.2

type TemplateSmsInput interface {
	pulumi.Input

	ToTemplateSmsOutput() TemplateSmsOutput
	ToTemplateSmsOutputWithContext(ctx context.Context) TemplateSmsOutput
}

type TemplateSmsMap added in v2.10.1

type TemplateSmsMap map[string]TemplateSmsInput

func (TemplateSmsMap) ElementType added in v2.10.1

func (TemplateSmsMap) ElementType() reflect.Type

func (TemplateSmsMap) ToTemplateSmsMapOutput added in v2.10.1

func (i TemplateSmsMap) ToTemplateSmsMapOutput() TemplateSmsMapOutput

func (TemplateSmsMap) ToTemplateSmsMapOutputWithContext added in v2.10.1

func (i TemplateSmsMap) ToTemplateSmsMapOutputWithContext(ctx context.Context) TemplateSmsMapOutput

type TemplateSmsMapInput added in v2.10.1

type TemplateSmsMapInput interface {
	pulumi.Input

	ToTemplateSmsMapOutput() TemplateSmsMapOutput
	ToTemplateSmsMapOutputWithContext(context.Context) TemplateSmsMapOutput
}

TemplateSmsMapInput is an input type that accepts TemplateSmsMap and TemplateSmsMapOutput values. You can construct a concrete instance of `TemplateSmsMapInput` via:

TemplateSmsMap{ "key": TemplateSmsArgs{...} }

type TemplateSmsMapOutput added in v2.10.1

type TemplateSmsMapOutput struct{ *pulumi.OutputState }

func (TemplateSmsMapOutput) ElementType added in v2.10.1

func (TemplateSmsMapOutput) ElementType() reflect.Type

func (TemplateSmsMapOutput) MapIndex added in v2.10.1

func (TemplateSmsMapOutput) ToTemplateSmsMapOutput added in v2.10.1

func (o TemplateSmsMapOutput) ToTemplateSmsMapOutput() TemplateSmsMapOutput

func (TemplateSmsMapOutput) ToTemplateSmsMapOutputWithContext added in v2.10.1

func (o TemplateSmsMapOutput) ToTemplateSmsMapOutputWithContext(ctx context.Context) TemplateSmsMapOutput

type TemplateSmsOutput added in v2.6.2

type TemplateSmsOutput struct {
	*pulumi.OutputState
}

func (TemplateSmsOutput) ElementType added in v2.6.2

func (TemplateSmsOutput) ElementType() reflect.Type

func (TemplateSmsOutput) ToTemplateSmsOutput added in v2.6.2

func (o TemplateSmsOutput) ToTemplateSmsOutput() TemplateSmsOutput

func (TemplateSmsOutput) ToTemplateSmsOutputWithContext added in v2.6.2

func (o TemplateSmsOutput) ToTemplateSmsOutputWithContext(ctx context.Context) TemplateSmsOutput

func (TemplateSmsOutput) ToTemplateSmsPtrOutput added in v2.10.1

func (o TemplateSmsOutput) ToTemplateSmsPtrOutput() TemplateSmsPtrOutput

func (TemplateSmsOutput) ToTemplateSmsPtrOutputWithContext added in v2.10.1

func (o TemplateSmsOutput) ToTemplateSmsPtrOutputWithContext(ctx context.Context) TemplateSmsPtrOutput

type TemplateSmsPtrInput added in v2.10.1

type TemplateSmsPtrInput interface {
	pulumi.Input

	ToTemplateSmsPtrOutput() TemplateSmsPtrOutput
	ToTemplateSmsPtrOutputWithContext(ctx context.Context) TemplateSmsPtrOutput
}

type TemplateSmsPtrOutput added in v2.10.1

type TemplateSmsPtrOutput struct {
	*pulumi.OutputState
}

func (TemplateSmsPtrOutput) ElementType added in v2.10.1

func (TemplateSmsPtrOutput) ElementType() reflect.Type

func (TemplateSmsPtrOutput) ToTemplateSmsPtrOutput added in v2.10.1

func (o TemplateSmsPtrOutput) ToTemplateSmsPtrOutput() TemplateSmsPtrOutput

func (TemplateSmsPtrOutput) ToTemplateSmsPtrOutputWithContext added in v2.10.1

func (o TemplateSmsPtrOutput) ToTemplateSmsPtrOutputWithContext(ctx context.Context) TemplateSmsPtrOutput

type TemplateSmsState added in v2.4.0

type TemplateSmsState struct {
	// The SMS message.
	Template pulumi.StringPtrInput
	// Set of translations for a particular template.
	Translations TemplateSmsTranslationArrayInput
	// SMS template type
	Type pulumi.StringPtrInput
}

func (TemplateSmsState) ElementType added in v2.4.0

func (TemplateSmsState) ElementType() reflect.Type

type TemplateSmsTranslation added in v2.4.0

type TemplateSmsTranslation struct {
	// The language to map the template to.
	Language string `pulumi:"language"`
	// The SMS message.
	Template string `pulumi:"template"`
}

type TemplateSmsTranslationArgs added in v2.4.0

type TemplateSmsTranslationArgs struct {
	// The language to map the template to.
	Language pulumi.StringInput `pulumi:"language"`
	// The SMS message.
	Template pulumi.StringInput `pulumi:"template"`
}

func (TemplateSmsTranslationArgs) ElementType added in v2.4.0

func (TemplateSmsTranslationArgs) ElementType() reflect.Type

func (TemplateSmsTranslationArgs) ToTemplateSmsTranslationOutput added in v2.4.0

func (i TemplateSmsTranslationArgs) ToTemplateSmsTranslationOutput() TemplateSmsTranslationOutput

func (TemplateSmsTranslationArgs) ToTemplateSmsTranslationOutputWithContext added in v2.4.0

func (i TemplateSmsTranslationArgs) ToTemplateSmsTranslationOutputWithContext(ctx context.Context) TemplateSmsTranslationOutput

type TemplateSmsTranslationArray added in v2.4.0

type TemplateSmsTranslationArray []TemplateSmsTranslationInput

func (TemplateSmsTranslationArray) ElementType added in v2.4.0

func (TemplateSmsTranslationArray) ToTemplateSmsTranslationArrayOutput added in v2.4.0

func (i TemplateSmsTranslationArray) ToTemplateSmsTranslationArrayOutput() TemplateSmsTranslationArrayOutput

func (TemplateSmsTranslationArray) ToTemplateSmsTranslationArrayOutputWithContext added in v2.4.0

func (i TemplateSmsTranslationArray) ToTemplateSmsTranslationArrayOutputWithContext(ctx context.Context) TemplateSmsTranslationArrayOutput

type TemplateSmsTranslationArrayInput added in v2.4.0

type TemplateSmsTranslationArrayInput interface {
	pulumi.Input

	ToTemplateSmsTranslationArrayOutput() TemplateSmsTranslationArrayOutput
	ToTemplateSmsTranslationArrayOutputWithContext(context.Context) TemplateSmsTranslationArrayOutput
}

TemplateSmsTranslationArrayInput is an input type that accepts TemplateSmsTranslationArray and TemplateSmsTranslationArrayOutput values. You can construct a concrete instance of `TemplateSmsTranslationArrayInput` via:

TemplateSmsTranslationArray{ TemplateSmsTranslationArgs{...} }

type TemplateSmsTranslationArrayOutput added in v2.4.0

type TemplateSmsTranslationArrayOutput struct{ *pulumi.OutputState }

func (TemplateSmsTranslationArrayOutput) ElementType added in v2.4.0

func (TemplateSmsTranslationArrayOutput) Index added in v2.4.0

func (TemplateSmsTranslationArrayOutput) ToTemplateSmsTranslationArrayOutput added in v2.4.0

func (o TemplateSmsTranslationArrayOutput) ToTemplateSmsTranslationArrayOutput() TemplateSmsTranslationArrayOutput

func (TemplateSmsTranslationArrayOutput) ToTemplateSmsTranslationArrayOutputWithContext added in v2.4.0

func (o TemplateSmsTranslationArrayOutput) ToTemplateSmsTranslationArrayOutputWithContext(ctx context.Context) TemplateSmsTranslationArrayOutput

type TemplateSmsTranslationInput added in v2.4.0

type TemplateSmsTranslationInput interface {
	pulumi.Input

	ToTemplateSmsTranslationOutput() TemplateSmsTranslationOutput
	ToTemplateSmsTranslationOutputWithContext(context.Context) TemplateSmsTranslationOutput
}

TemplateSmsTranslationInput is an input type that accepts TemplateSmsTranslationArgs and TemplateSmsTranslationOutput values. You can construct a concrete instance of `TemplateSmsTranslationInput` via:

TemplateSmsTranslationArgs{...}

type TemplateSmsTranslationOutput added in v2.4.0

type TemplateSmsTranslationOutput struct{ *pulumi.OutputState }

func (TemplateSmsTranslationOutput) ElementType added in v2.4.0

func (TemplateSmsTranslationOutput) Language added in v2.4.0

The language to map the template to.

func (TemplateSmsTranslationOutput) Template added in v2.4.0

The SMS message.

func (TemplateSmsTranslationOutput) ToTemplateSmsTranslationOutput added in v2.4.0

func (o TemplateSmsTranslationOutput) ToTemplateSmsTranslationOutput() TemplateSmsTranslationOutput

func (TemplateSmsTranslationOutput) ToTemplateSmsTranslationOutputWithContext added in v2.4.0

func (o TemplateSmsTranslationOutput) ToTemplateSmsTranslationOutputWithContext(ctx context.Context) TemplateSmsTranslationOutput

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL