Okta

Pulumi Official
Package maintained by Pulumi
v3.9.0 published on Monday, May 16, 2022 by Pulumi

getAppSignonPolicy

WARNING: This feature is only available as a part of the Identity Engine. Contact support for further information.

Use this data source to retrieve a sign-on policy for the application.

Example Usage

using Pulumi;
using Okta = Pulumi.Okta;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Okta.GetAppSignonPolicy.InvokeAsync(new Okta.GetAppSignonPolicyArgs
        {
            AppId = "app_id",
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-okta/sdk/v3/go/okta"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := okta.GetAppSignonPolicy(ctx, &GetAppSignonPolicyArgs{
			AppId: "app_id",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = Output.of(OktaFunctions.getAppSignonPolicy(GetAppSignonPolicyArgs.builder()
            .appId("app_id")
            .build()));

        }
}
import pulumi
import pulumi_okta as okta

example = okta.get_app_signon_policy(app_id="app_id")
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";

const example = pulumi.output(okta.getAppSignonPolicy({
    appId: "app_id",
}));
variables:
  example:
    Fn::Invoke:
      Function: okta:getAppSignonPolicy
      Arguments:
        appId: app_id

Using getAppSignonPolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAppSignonPolicy(args: GetAppSignonPolicyArgs, opts?: InvokeOptions): Promise<GetAppSignonPolicyResult>
function getAppSignonPolicyOutput(args: GetAppSignonPolicyOutputArgs, opts?: InvokeOptions): Output<GetAppSignonPolicyResult>
def get_app_signon_policy(app_id: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetAppSignonPolicyResult
def get_app_signon_policy_output(app_id: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetAppSignonPolicyResult]
func GetAppSignonPolicy(ctx *Context, args *GetAppSignonPolicyArgs, opts ...InvokeOption) (*GetAppSignonPolicyResult, error)
func GetAppSignonPolicyOutput(ctx *Context, args *GetAppSignonPolicyOutputArgs, opts ...InvokeOption) GetAppSignonPolicyResultOutput

> Note: This function is named GetAppSignonPolicy in the Go SDK.

public static class GetAppSignonPolicy 
{
    public static Task<GetAppSignonPolicyResult> InvokeAsync(GetAppSignonPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetAppSignonPolicyResult> Invoke(GetAppSignonPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppSignonPolicyResult> getAppSignonPolicy(GetAppSignonPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: okta:index/getAppSignonPolicy:getAppSignonPolicy
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AppId string

The application ID.

AppId string

The application ID.

appId String

The application ID.

appId string

The application ID.

app_id str

The application ID.

appId String

The application ID.

getAppSignonPolicy Result

The following output properties are available:

AppId string
Id string

The provider-assigned unique ID for this managed resource.

Name string
AppId string
Id string

The provider-assigned unique ID for this managed resource.

Name string
appId String
id String

The provider-assigned unique ID for this managed resource.

name String
appId string
id string

The provider-assigned unique ID for this managed resource.

name string
app_id str
id str

The provider-assigned unique ID for this managed resource.

name str
appId String
id String

The provider-assigned unique ID for this managed resource.

name String

Package Details

Repository
https://github.com/pulumi/pulumi-okta
License
Apache-2.0
Notes

This Pulumi package is based on the okta Terraform Provider.