Show / Hide Table of Contents

Class Origin

Creates a Trusted Origin.

This resource allows you to create and configure an Trusted Origin.

Example Usage

using Pulumi;
using Okta = Pulumi.Okta;

class MyStack : Stack
{
public MyStack()
{
    var example = new Okta.TrustedOrigin.Origin("example", new Okta.TrustedOrigin.OriginArgs
    {
        Origin = "https://example.com",
        Scopes = 
        {
            "CORS",
        },
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Origin
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Okta.TrustedOrigin
Assembly: Pulumi.Okta.dll
Syntax
public class Origin : CustomResource

Constructors

View Source

Origin(String, OriginArgs, CustomResourceOptions)

Create a Origin resource with the given unique name, arguments, and options.

Declaration
public Origin(string name, OriginArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

OriginArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

Active

Whether the Trusted Origin is active or not - can only be issued post-creation.

Declaration
public Output<bool?> Active { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

Name

Name of the Trusted Origin Resource.

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>
View Source

OriginName

The origin to trust.

Declaration
public Output<string> OriginName { get; }
Property Value
Type Description
Output<System.String>
View Source

Scopes

Scopes of the Trusted Origin - can be &quot;CORS&quot; and/or &quot;REDIRECT&quot;.

Declaration
public Output<ImmutableArray<string>> Scopes { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>

Methods

View Source

Get(String, Input<String>, OriginState, CustomResourceOptions)

Get an existing Origin resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static Origin Get(string name, Input<string> id, OriginState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

OriginState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
Origin
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.