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 or not 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"`, `"oktaPush"`, `"oktaQuestion"`, `"oktaSms"`, `"rsaToken"`, `"symantecVip"` or `"yubikeyToken"`. 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/v2/go/okta/factor" "github.com/pulumi/pulumi/sdk/v2/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.
type FactorArgs ¶
type FactorArgs struct { // Whether or not 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"`, `"oktaPush"`, `"oktaQuestion"`, `"oktaSms"`, `"rsaToken"`, `"symantecVip"` or `"yubikeyToken"`. ProviderId pulumi.StringInput }
The set of arguments for constructing a Factor resource.
func (FactorArgs) ElementType ¶
func (FactorArgs) ElementType() reflect.Type
type FactorState ¶
type FactorState struct { // Whether or not 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"`, `"oktaPush"`, `"oktaQuestion"`, `"oktaSms"`, `"rsaToken"`, `"symantecVip"` or `"yubikeyToken"`. ProviderId pulumi.StringPtrInput }
func (FactorState) ElementType ¶
func (FactorState) ElementType() reflect.Type
Click to show internal directories.
Click to hide internal directories.