1. Packages
  2. Okta
  3. API Docs
  4. getBehaviour
Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi

okta.getBehaviour

Explore with Pulumi AI

okta logo
Okta v4.8.1 published on Thursday, Apr 18, 2024 by Pulumi

    Use this data source to retrieve a behavior from Okta.

    Example Usage

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    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.GetBehaviourArgs;
    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.getBehaviour(GetBehaviourArgs.builder()
                .label("New City")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: okta:getBehaviour
          Arguments:
            label: New City
    

    Using getBehaviour

    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 getBehaviour(args: GetBehaviourArgs, opts?: InvokeOptions): Promise<GetBehaviourResult>
    function getBehaviourOutput(args: GetBehaviourOutputArgs, opts?: InvokeOptions): Output<GetBehaviourResult>
    def get_behaviour(id: Optional[str] = None,
                      name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetBehaviourResult
    def get_behaviour_output(id: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetBehaviourResult]
    func LookupBehaviour(ctx *Context, args *LookupBehaviourArgs, opts ...InvokeOption) (*LookupBehaviourResult, error)
    func LookupBehaviourOutput(ctx *Context, args *LookupBehaviourOutputArgs, opts ...InvokeOption) LookupBehaviourResultOutput

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

    public static class GetBehaviour 
    {
        public static Task<GetBehaviourResult> InvokeAsync(GetBehaviourArgs args, InvokeOptions? opts = null)
        public static Output<GetBehaviourResult> Invoke(GetBehaviourInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBehaviourResult> getBehaviour(GetBehaviourArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: okta:index/getBehaviour:getBehaviour
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    id of behavior to retrieve, conflicts with name.
    Name string
    The name of the behavior to retrieve. Name uses the ?q=<name> query parameter exposed by Okta's API.
    Id string
    id of behavior to retrieve, conflicts with name.
    Name string
    The name of the behavior to retrieve. Name uses the ?q=<name> query parameter exposed by Okta's API.
    id String
    id of behavior to retrieve, conflicts with name.
    name String
    The name of the behavior to retrieve. Name uses the ?q=<name> query parameter exposed by Okta's API.
    id string
    id of behavior to retrieve, conflicts with name.
    name string
    The name of the behavior to retrieve. Name uses the ?q=<name> query parameter exposed by Okta's API.
    id str
    id of behavior to retrieve, conflicts with name.
    name str
    The name of the behavior to retrieve. Name uses the ?q=<name> query parameter exposed by Okta's API.
    id String
    id of behavior to retrieve, conflicts with name.
    name String
    The name of the behavior to retrieve. Name uses the ?q=<name> query parameter exposed by Okta's API.

    getBehaviour Result

    The following output properties are available:

    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 string
    Behavior ID.
    name string
    Behavior name.
    settings Mapping[str, str]
    Map of behavior settings.
    status str
    Behavior status.
    type str
    Behavior type.
    id str
    Behavior ID.
    name str
    Behavior name.
    settings Map<String>
    Map of behavior settings.
    status String
    Behavior status.
    type String
    Behavior type.
    id String
    Behavior ID.
    name String
    Behavior name.

    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.8.1 published on Thursday, Apr 18, 2024 by Pulumi