Show / Hide Table of Contents

Class GetPolicy

Inheritance
System.Object
GetPolicy
Inherited Members
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.Policy
Assembly: Pulumi.Okta.dll
Syntax
public static class GetPolicy

Methods

View Source

InvokeAsync(GetPolicyArgs, InvokeOptions)

Use this data source to retrieve a policy from Okta.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Okta = Pulumi.Okta;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Okta.Policy.GetPolicy.InvokeAsync(new Okta.Policy.GetPolicyArgs
    {
        Name = "Password Policy Example",
        Type = "PASSWORD",
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetPolicyResult> InvokeAsync(GetPolicyArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetPolicyArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetPolicyResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.