Viewing docs for Okta v6.4.0
published on Saturday, Mar 28, 2026 by Pulumi
published on Saturday, Mar 28, 2026 by Pulumi
Viewing docs for Okta v6.4.0
published on Saturday, Mar 28, 2026 by Pulumi
published on Saturday, Mar 28, 2026 by Pulumi
Get a behaviors by search criteria.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = okta.getBehaviours({
q: "New",
});
import pulumi
import pulumi_okta as okta
example = okta.get_behaviours(q="New")
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v6/go/okta"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := okta.GetBehaviours(ctx, &okta.GetBehavioursArgs{
Q: pulumi.StringRef("New"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;
return await Deployment.RunAsync(() =>
{
var example = Okta.GetBehaviours.Invoke(new()
{
Q = "New",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.OktaFunctions;
import com.pulumi.okta.inputs.GetBehavioursArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = OktaFunctions.getBehaviours(GetBehavioursArgs.builder()
.q("New")
.build());
}
}
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)
public static Output<GetBehavioursResult> getBehaviours(GetBehavioursArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getBehaviours:getBehaviours
arguments:
# arguments dictionaryThe following arguments are supported:
- Q string
- Searches the name property of behaviors for matching value
- Q string
- Searches the name property of behaviors for matching value
- q String
- Searches the name property of behaviors for matching value
- q string
- Searches the name property of behaviors for matching value
- q str
- Searches the name property of behaviors for matching value
- q String
- Searches the name property of behaviors for matching value
getBehaviours Result
The following output properties are available:
- Behaviors
List<Get
Behaviours Behavior> - Id string
- The provider-assigned unique ID for this managed resource.
- Q string
- Searches the name property of behaviors for matching value
- Behaviors
[]Get
Behaviours Behavior - Id string
- The provider-assigned unique ID for this managed resource.
- Q string
- Searches the name property of behaviors for matching value
- behaviors
List<Get
Behaviours Behavior> - id String
- The provider-assigned unique ID for this managed resource.
- q String
- Searches the name property of behaviors for matching value
- behaviors
Get
Behaviours Behavior[] - id string
- The provider-assigned unique ID for this managed resource.
- q string
- Searches the name property of behaviors for matching value
- behaviors
Sequence[Get
Behaviours Behavior] - id str
- The provider-assigned unique ID for this managed resource.
- q str
- Searches the name property of behaviors for matching value
- behaviors List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- q String
- Searches the name property of behaviors for matching value
Supporting Types
GetBehavioursBehavior
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oktaTerraform Provider.
Viewing docs for Okta v6.4.0
published on Saturday, Mar 28, 2026 by Pulumi
published on Saturday, Mar 28, 2026 by Pulumi
