1. Packages
  2. Okta Provider
  3. API Docs
  4. getBehaviours
Okta v4.11.3 published on Monday, Oct 21, 2024 by Pulumi

okta.getBehaviours

Explore with Pulumi AI

okta logo
Okta v4.11.3 published on Monday, Oct 21, 2024 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/v4/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)
    // 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 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<GetBehavioursBehavior>
    Id string
    The provider-assigned unique ID for this managed resource.
    Q string
    Searches the name property of behaviors for matching value
    Behaviors []GetBehavioursBehavior
    Id string
    The provider-assigned unique ID for this managed resource.
    Q string
    Searches the name property of behaviors for matching value
    behaviors List<GetBehavioursBehavior>
    id String
    The provider-assigned unique ID for this managed resource.
    q String
    Searches the name property of behaviors for matching value
    behaviors GetBehavioursBehavior[]
    id string
    The provider-assigned unique ID for this managed resource.
    q string
    Searches the name property of behaviors for matching value
    behaviors Sequence[GetBehavioursBehavior]
    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

    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<String,String>
    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<String>
    Map of behavior settings.
    status String
    Behavior status.
    type String
    Behavior type.

    Package Details

    Repository
    Okta pulumi/pulumi-okta
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the okta Terraform Provider.
    okta logo
    Okta v4.11.3 published on Monday, Oct 21, 2024 by Pulumi