Okta v4.11.0 published on Tuesday, Sep 17, 2024 by Pulumi
okta.getBehaviour
Explore with Pulumi AI
Get a behavior by name or ID.
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:
getBehaviour Result
The following output properties are available:
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.