Okta

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

getBehaviours

Use this data source to retrieve a behaviors from Okta.

Example Usage

using Pulumi;
using Okta = Pulumi.Okta;

class MyStack : Stack
{
    public MyStack()
    {
        var example = Output.Create(Okta.GetBehaviours.InvokeAsync(new Okta.GetBehavioursArgs
        {
            Q = "New",
        }));
    }

}
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.GetBehaviours(ctx, &GetBehavioursArgs{
			Q: pulumi.StringRef("New"),
		}, 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.getBehaviours(GetBehavioursArgs.builder()
            .q("New")
            .build()));

        }
}
import pulumi
import pulumi_okta as okta

example = okta.get_behaviours(q="New")
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";

const example = pulumi.output(okta.getBehaviours({
    q: "New",
}));
variables:
  example:
    Fn::Invoke:
      Function: okta:getBehaviours
      Arguments:
        q: New

Using getBehaviours

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 getBehaviours(args: GetBehavioursArgs, opts?: InvokeOptions): Promise<GetBehavioursResult>
function getBehavioursOutput(args: GetBehavioursOutputArgs, opts?: InvokeOptions): Output<GetBehavioursResult>
def get_behaviours(q: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetBehavioursResult
def get_behaviours_output(q: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetBehavioursResult]
func GetBehaviours(ctx *Context, args *GetBehavioursArgs, opts ...InvokeOption) (*GetBehavioursResult, error)
func GetBehavioursOutput(ctx *Context, args *GetBehavioursOutputArgs, opts ...InvokeOption) GetBehavioursResultOutput

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

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

The following arguments are supported:

Q string

Searches query to look up behaviors.

Q string

Searches query to look up behaviors.

q String

Searches query to look up behaviors.

q string

Searches query to look up behaviors.

q str

Searches query to look up behaviors.

q String

Searches query to look up behaviors.

getBehaviours Result

The following output properties are available:

Behaviors List<GetBehavioursBehavior>

List of behaviors.

Id string

The provider-assigned unique ID for this managed resource.

Q string
Behaviors []GetBehavioursBehavior

List of behaviors.

Id string

The provider-assigned unique ID for this managed resource.

Q string
behaviors ListBehavioursBehavior>

List of behaviors.

id String

The provider-assigned unique ID for this managed resource.

q String
behaviors GetBehavioursBehavior[]

List of behaviors.

id string

The provider-assigned unique ID for this managed resource.

q string
behaviors Sequence[GetBehavioursBehavior]

List of behaviors.

id str

The provider-assigned unique ID for this managed resource.

q str
behaviors List

List of behaviors.

id String

The provider-assigned unique ID for this managed resource.

q String

Supporting Types

GetBehavioursBehavior

Id string

Behavior ID.

Name string

Behavior name.

Settings Dictionary<string, string>

Map of behavior settings.

Status string

Behavior status.

Type string

Behavior type.

Id string

Behavior ID.

Name string

Behavior name.

Settings map[string]string

Map of behavior settings.

Status string

Behavior status.

Type string

Behavior type.

id String

Behavior ID.

name String

Behavior name.

settings Map

Map of behavior settings.

status String

Behavior status.

type String

Behavior type.

id string

Behavior ID.

name string

Behavior name.

settings {[key: string]: string}

Map of behavior settings.

status string

Behavior status.

type string

Behavior type.

id str

Behavior ID.

name str

Behavior name.

settings Mapping[str, str]

Map of behavior settings.

status str

Behavior status.

type str

Behavior type.

id String

Behavior ID.

name String

Behavior name.

settings Map

Map of behavior settings.

status String

Behavior status.

type String

Behavior type.

Package Details

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

This Pulumi package is based on the okta Terraform Provider.