Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factor ¶
type Factor struct { pulumi.CustomResourceState // Whether to activate the provider, by default, it is set to `true`. Active pulumi.BoolPtrOutput `pulumi:"active"` // The MFA provider name. // Allowed values are `"duo"`, `"fidoU2f"`, `"fidoWebauthn"`, `"googleOtp"`, `"oktaCall"`, `"oktaOtp"`, `"oktaPassword"`, `"oktaPush"`, `"oktaQuestion"`, `"oktaSms"`, `"oktaEmail"`, `"rsaToken"`, `"symantecVip"`, `"yubikeyToken"`, or `"hotp"`. ProviderId pulumi.StringOutput `pulumi:"providerId"` }
Allows you to manage the activation of Okta MFA methods.
This resource allows you to manage Okta MFA methods.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/factor" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := factor.NewFactor(ctx, "example", &factor.FactorArgs{ ProviderId: pulumi.String("google_otp"), }) if err != nil { return err } return nil }) }
```
func GetFactor ¶
func GetFactor(ctx *pulumi.Context, name string, id pulumi.IDInput, state *FactorState, opts ...pulumi.ResourceOption) (*Factor, error)
GetFactor gets an existing Factor 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 NewFactor ¶
func NewFactor(ctx *pulumi.Context, name string, args *FactorArgs, opts ...pulumi.ResourceOption) (*Factor, error)
NewFactor registers a new resource with the given unique name, arguments, and options.
func (*Factor) ElementType ¶
func (*Factor) ToFactorOutput ¶
func (i *Factor) ToFactorOutput() FactorOutput
func (*Factor) ToFactorOutputWithContext ¶
func (i *Factor) ToFactorOutputWithContext(ctx context.Context) FactorOutput
type FactorArgs ¶
type FactorArgs struct { // Whether to activate the provider, by default, it is set to `true`. Active pulumi.BoolPtrInput // The MFA provider name. // Allowed values are `"duo"`, `"fidoU2f"`, `"fidoWebauthn"`, `"googleOtp"`, `"oktaCall"`, `"oktaOtp"`, `"oktaPassword"`, `"oktaPush"`, `"oktaQuestion"`, `"oktaSms"`, `"oktaEmail"`, `"rsaToken"`, `"symantecVip"`, `"yubikeyToken"`, or `"hotp"`. ProviderId pulumi.StringInput }
The set of arguments for constructing a Factor resource.
func (FactorArgs) ElementType ¶
func (FactorArgs) ElementType() reflect.Type
type FactorArray ¶
type FactorArray []FactorInput
func (FactorArray) ElementType ¶
func (FactorArray) ElementType() reflect.Type
func (FactorArray) ToFactorArrayOutput ¶
func (i FactorArray) ToFactorArrayOutput() FactorArrayOutput
func (FactorArray) ToFactorArrayOutputWithContext ¶
func (i FactorArray) ToFactorArrayOutputWithContext(ctx context.Context) FactorArrayOutput
type FactorArrayInput ¶
type FactorArrayInput interface { pulumi.Input ToFactorArrayOutput() FactorArrayOutput ToFactorArrayOutputWithContext(context.Context) FactorArrayOutput }
FactorArrayInput is an input type that accepts FactorArray and FactorArrayOutput values. You can construct a concrete instance of `FactorArrayInput` via:
FactorArray{ FactorArgs{...} }
type FactorArrayOutput ¶
type FactorArrayOutput struct{ *pulumi.OutputState }
func (FactorArrayOutput) ElementType ¶
func (FactorArrayOutput) ElementType() reflect.Type
func (FactorArrayOutput) Index ¶
func (o FactorArrayOutput) Index(i pulumi.IntInput) FactorOutput
func (FactorArrayOutput) ToFactorArrayOutput ¶
func (o FactorArrayOutput) ToFactorArrayOutput() FactorArrayOutput
func (FactorArrayOutput) ToFactorArrayOutputWithContext ¶
func (o FactorArrayOutput) ToFactorArrayOutputWithContext(ctx context.Context) FactorArrayOutput
type FactorInput ¶
type FactorInput interface { pulumi.Input ToFactorOutput() FactorOutput ToFactorOutputWithContext(ctx context.Context) FactorOutput }
type FactorMap ¶
type FactorMap map[string]FactorInput
func (FactorMap) ElementType ¶
func (FactorMap) ToFactorMapOutput ¶
func (i FactorMap) ToFactorMapOutput() FactorMapOutput
func (FactorMap) ToFactorMapOutputWithContext ¶
func (i FactorMap) ToFactorMapOutputWithContext(ctx context.Context) FactorMapOutput
type FactorMapInput ¶
type FactorMapInput interface { pulumi.Input ToFactorMapOutput() FactorMapOutput ToFactorMapOutputWithContext(context.Context) FactorMapOutput }
FactorMapInput is an input type that accepts FactorMap and FactorMapOutput values. You can construct a concrete instance of `FactorMapInput` via:
FactorMap{ "key": FactorArgs{...} }
type FactorMapOutput ¶
type FactorMapOutput struct{ *pulumi.OutputState }
func (FactorMapOutput) ElementType ¶
func (FactorMapOutput) ElementType() reflect.Type
func (FactorMapOutput) MapIndex ¶
func (o FactorMapOutput) MapIndex(k pulumi.StringInput) FactorOutput
func (FactorMapOutput) ToFactorMapOutput ¶
func (o FactorMapOutput) ToFactorMapOutput() FactorMapOutput
func (FactorMapOutput) ToFactorMapOutputWithContext ¶
func (o FactorMapOutput) ToFactorMapOutputWithContext(ctx context.Context) FactorMapOutput
type FactorOutput ¶
type FactorOutput struct{ *pulumi.OutputState }
func (FactorOutput) Active ¶
func (o FactorOutput) Active() pulumi.BoolPtrOutput
Whether to activate the provider, by default, it is set to `true`.
func (FactorOutput) ElementType ¶
func (FactorOutput) ElementType() reflect.Type
func (FactorOutput) ProviderId ¶
func (o FactorOutput) ProviderId() pulumi.StringOutput
The MFA provider name. Allowed values are `"duo"`, `"fidoU2f"`, `"fidoWebauthn"`, `"googleOtp"`, `"oktaCall"`, `"oktaOtp"`, `"oktaPassword"`, `"oktaPush"`, `"oktaQuestion"`, `"oktaSms"`, `"oktaEmail"`, `"rsaToken"`, `"symantecVip"`, `"yubikeyToken"`, or `"hotp"`.
func (FactorOutput) ToFactorOutput ¶
func (o FactorOutput) ToFactorOutput() FactorOutput
func (FactorOutput) ToFactorOutputWithContext ¶
func (o FactorOutput) ToFactorOutputWithContext(ctx context.Context) FactorOutput
type FactorState ¶
type FactorState struct { // Whether to activate the provider, by default, it is set to `true`. Active pulumi.BoolPtrInput // The MFA provider name. // Allowed values are `"duo"`, `"fidoU2f"`, `"fidoWebauthn"`, `"googleOtp"`, `"oktaCall"`, `"oktaOtp"`, `"oktaPassword"`, `"oktaPush"`, `"oktaQuestion"`, `"oktaSms"`, `"oktaEmail"`, `"rsaToken"`, `"symantecVip"`, `"yubikeyToken"`, or `"hotp"`. ProviderId pulumi.StringPtrInput }
func (FactorState) ElementType ¶
func (FactorState) ElementType() reflect.Type