Documentation
¶
Index ¶
- type Origin
- type OriginArgs
- type OriginArray
- type OriginArrayInput
- type OriginArrayOutput
- type OriginInput
- type OriginMap
- type OriginMapInput
- type OriginMapOutput
- type OriginOutput
- func (o OriginOutput) Active() pulumi.BoolPtrOutput
- func (OriginOutput) ElementType() reflect.Type
- func (o OriginOutput) Name() pulumi.StringOutput
- func (o OriginOutput) Origin() pulumi.StringOutput
- func (o OriginOutput) Scopes() pulumi.StringArrayOutput
- func (o OriginOutput) ToOriginOutput() OriginOutput
- func (o OriginOutput) ToOriginOutputWithContext(ctx context.Context) OriginOutput
- type OriginState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Origin ¶
type Origin struct { pulumi.CustomResourceState // Whether the Trusted Origin is active or not - can only be issued post-creation. By default, it is `true`. Active pulumi.BoolPtrOutput `pulumi:"active"` // Unique name for this trusted origin Name pulumi.StringOutput `pulumi:"name"` // Unique origin URL for this trusted origin Origin pulumi.StringOutput `pulumi:"origin"` // Scopes of the Trusted Origin - can either be `CORS` and/or `REDIRECT` Scopes pulumi.StringArrayOutput `pulumi:"scopes"` }
Creates a Trusted Origin. This resource allows you to create and configure a Trusted Origin.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/trustedorigin" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := trustedorigin.NewOrigin(ctx, "example", &trustedorigin.OriginArgs{ Name: pulumi.String("example"), Origin: pulumi.String("https://example.com"), Scopes: pulumi.StringArray{ pulumi.String("CORS"), }, }) if err != nil { return err } return nil }) }
```
## Import
```sh $ pulumi import okta:trustedorigin/origin:Origin example <trusted_origin_id> ```
func GetOrigin ¶
func GetOrigin(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OriginState, opts ...pulumi.ResourceOption) (*Origin, error)
GetOrigin gets an existing Origin 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 NewOrigin ¶
func NewOrigin(ctx *pulumi.Context, name string, args *OriginArgs, opts ...pulumi.ResourceOption) (*Origin, error)
NewOrigin registers a new resource with the given unique name, arguments, and options.
func (*Origin) ElementType ¶
func (*Origin) ToOriginOutput ¶
func (i *Origin) ToOriginOutput() OriginOutput
func (*Origin) ToOriginOutputWithContext ¶
func (i *Origin) ToOriginOutputWithContext(ctx context.Context) OriginOutput
type OriginArgs ¶
type OriginArgs struct { // Whether the Trusted Origin is active or not - can only be issued post-creation. By default, it is `true`. Active pulumi.BoolPtrInput // Unique name for this trusted origin Name pulumi.StringPtrInput // Unique origin URL for this trusted origin Origin pulumi.StringInput // Scopes of the Trusted Origin - can either be `CORS` and/or `REDIRECT` Scopes pulumi.StringArrayInput }
The set of arguments for constructing a Origin resource.
func (OriginArgs) ElementType ¶
func (OriginArgs) ElementType() reflect.Type
type OriginArray ¶
type OriginArray []OriginInput
func (OriginArray) ElementType ¶
func (OriginArray) ElementType() reflect.Type
func (OriginArray) ToOriginArrayOutput ¶
func (i OriginArray) ToOriginArrayOutput() OriginArrayOutput
func (OriginArray) ToOriginArrayOutputWithContext ¶
func (i OriginArray) ToOriginArrayOutputWithContext(ctx context.Context) OriginArrayOutput
type OriginArrayInput ¶
type OriginArrayInput interface { pulumi.Input ToOriginArrayOutput() OriginArrayOutput ToOriginArrayOutputWithContext(context.Context) OriginArrayOutput }
OriginArrayInput is an input type that accepts OriginArray and OriginArrayOutput values. You can construct a concrete instance of `OriginArrayInput` via:
OriginArray{ OriginArgs{...} }
type OriginArrayOutput ¶
type OriginArrayOutput struct{ *pulumi.OutputState }
func (OriginArrayOutput) ElementType ¶
func (OriginArrayOutput) ElementType() reflect.Type
func (OriginArrayOutput) Index ¶
func (o OriginArrayOutput) Index(i pulumi.IntInput) OriginOutput
func (OriginArrayOutput) ToOriginArrayOutput ¶
func (o OriginArrayOutput) ToOriginArrayOutput() OriginArrayOutput
func (OriginArrayOutput) ToOriginArrayOutputWithContext ¶
func (o OriginArrayOutput) ToOriginArrayOutputWithContext(ctx context.Context) OriginArrayOutput
type OriginInput ¶
type OriginInput interface { pulumi.Input ToOriginOutput() OriginOutput ToOriginOutputWithContext(ctx context.Context) OriginOutput }
type OriginMap ¶
type OriginMap map[string]OriginInput
func (OriginMap) ElementType ¶
func (OriginMap) ToOriginMapOutput ¶
func (i OriginMap) ToOriginMapOutput() OriginMapOutput
func (OriginMap) ToOriginMapOutputWithContext ¶
func (i OriginMap) ToOriginMapOutputWithContext(ctx context.Context) OriginMapOutput
type OriginMapInput ¶
type OriginMapInput interface { pulumi.Input ToOriginMapOutput() OriginMapOutput ToOriginMapOutputWithContext(context.Context) OriginMapOutput }
OriginMapInput is an input type that accepts OriginMap and OriginMapOutput values. You can construct a concrete instance of `OriginMapInput` via:
OriginMap{ "key": OriginArgs{...} }
type OriginMapOutput ¶
type OriginMapOutput struct{ *pulumi.OutputState }
func (OriginMapOutput) ElementType ¶
func (OriginMapOutput) ElementType() reflect.Type
func (OriginMapOutput) MapIndex ¶
func (o OriginMapOutput) MapIndex(k pulumi.StringInput) OriginOutput
func (OriginMapOutput) ToOriginMapOutput ¶
func (o OriginMapOutput) ToOriginMapOutput() OriginMapOutput
func (OriginMapOutput) ToOriginMapOutputWithContext ¶
func (o OriginMapOutput) ToOriginMapOutputWithContext(ctx context.Context) OriginMapOutput
type OriginOutput ¶
type OriginOutput struct{ *pulumi.OutputState }
func (OriginOutput) Active ¶
func (o OriginOutput) Active() pulumi.BoolPtrOutput
Whether the Trusted Origin is active or not - can only be issued post-creation. By default, it is `true`.
func (OriginOutput) ElementType ¶
func (OriginOutput) ElementType() reflect.Type
func (OriginOutput) Name ¶
func (o OriginOutput) Name() pulumi.StringOutput
Unique name for this trusted origin
func (OriginOutput) Origin ¶
func (o OriginOutput) Origin() pulumi.StringOutput
Unique origin URL for this trusted origin
func (OriginOutput) Scopes ¶
func (o OriginOutput) Scopes() pulumi.StringArrayOutput
Scopes of the Trusted Origin - can either be `CORS` and/or `REDIRECT`
func (OriginOutput) ToOriginOutput ¶
func (o OriginOutput) ToOriginOutput() OriginOutput
func (OriginOutput) ToOriginOutputWithContext ¶
func (o OriginOutput) ToOriginOutputWithContext(ctx context.Context) OriginOutput
type OriginState ¶
type OriginState struct { // Whether the Trusted Origin is active or not - can only be issued post-creation. By default, it is `true`. Active pulumi.BoolPtrInput // Unique name for this trusted origin Name pulumi.StringPtrInput // Unique origin URL for this trusted origin Origin pulumi.StringPtrInput // Scopes of the Trusted Origin - can either be `CORS` and/or `REDIRECT` Scopes pulumi.StringArrayInput }
func (OriginState) ElementType ¶
func (OriginState) ElementType() reflect.Type