Okta v4.11.3 published on Monday, Oct 21, 2024 by Pulumi
okta.getTrustedOrigins
Explore with Pulumi AI
Get List of Trusted Origins using filters.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const all = okta.getTrustedOrigins({});
import pulumi
import pulumi_okta as okta
all = okta.get_trusted_origins()
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.GetTrustedOrigins(ctx, &okta.GetTrustedOriginsArgs{}, 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 all = Okta.GetTrustedOrigins.Invoke();
});
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.GetTrustedOriginsArgs;
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 all = OktaFunctions.getTrustedOrigins();
}
}
variables:
all:
fn::invoke:
Function: okta:getTrustedOrigins
Arguments: {}
Using getTrustedOrigins
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 getTrustedOrigins(args: GetTrustedOriginsArgs, opts?: InvokeOptions): Promise<GetTrustedOriginsResult>
function getTrustedOriginsOutput(args: GetTrustedOriginsOutputArgs, opts?: InvokeOptions): Output<GetTrustedOriginsResult>
def get_trusted_origins(filter: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTrustedOriginsResult
def get_trusted_origins_output(filter: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTrustedOriginsResult]
func GetTrustedOrigins(ctx *Context, args *GetTrustedOriginsArgs, opts ...InvokeOption) (*GetTrustedOriginsResult, error)
func GetTrustedOriginsOutput(ctx *Context, args *GetTrustedOriginsOutputArgs, opts ...InvokeOption) GetTrustedOriginsResultOutput
> Note: This function is named GetTrustedOrigins
in the Go SDK.
public static class GetTrustedOrigins
{
public static Task<GetTrustedOriginsResult> InvokeAsync(GetTrustedOriginsArgs args, InvokeOptions? opts = null)
public static Output<GetTrustedOriginsResult> Invoke(GetTrustedOriginsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTrustedOriginsResult> getTrustedOrigins(GetTrustedOriginsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: okta:index/getTrustedOrigins:getTrustedOrigins
arguments:
# arguments dictionary
The following arguments are supported:
- Filter string
- Filter criteria. Filter value will be URL-encoded by the provider
- Filter string
- Filter criteria. Filter value will be URL-encoded by the provider
- filter String
- Filter criteria. Filter value will be URL-encoded by the provider
- filter string
- Filter criteria. Filter value will be URL-encoded by the provider
- filter str
- Filter criteria. Filter value will be URL-encoded by the provider
- filter String
- Filter criteria. Filter value will be URL-encoded by the provider
getTrustedOrigins Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Trusted
Origins List<GetTrusted Origins Trusted Origin> - Filter string
- Filter criteria. Filter value will be URL-encoded by the provider
- Id string
- The provider-assigned unique ID for this managed resource.
- Trusted
Origins []GetTrusted Origins Trusted Origin - Filter string
- Filter criteria. Filter value will be URL-encoded by the provider
- id String
- The provider-assigned unique ID for this managed resource.
- trusted
Origins List<GetTrusted Origins Trusted Origin> - filter String
- Filter criteria. Filter value will be URL-encoded by the provider
- id string
- The provider-assigned unique ID for this managed resource.
- trusted
Origins GetTrusted Origins Trusted Origin[] - filter string
- Filter criteria. Filter value will be URL-encoded by the provider
- id str
- The provider-assigned unique ID for this managed resource.
- trusted_
origins Sequence[GetTrusted Origins Trusted Origin] - filter str
- Filter criteria. Filter value will be URL-encoded by the provider
- id String
- The provider-assigned unique ID for this managed resource.
- trusted
Origins List<Property Map> - filter String
- Filter criteria. Filter value will be URL-encoded by the provider
Supporting Types
GetTrustedOriginsTrustedOrigin
- Active bool
- Whether the Trusted Origin is active or not - can only be issued post-creation
- Id string
- Unique identifier
- Name string
- Unique name for this trusted origin
- Origin string
- Unique origin URL for this trusted origin
- Scopes List<string>
- Scopes of the Trusted Origin - can either be CORS or REDIRECT only
- active Boolean
- Whether the Trusted Origin is active or not - can only be issued post-creation
- id String
- Unique identifier
- name String
- Unique name for this trusted origin
- origin String
- Unique origin URL for this trusted origin
- scopes List<String>
- Scopes of the Trusted Origin - can either be CORS or REDIRECT only
- active Boolean
- Whether the Trusted Origin is active or not - can only be issued post-creation
- id String
- Unique identifier
- name String
- Unique name for this trusted origin
- origin String
- Unique origin URL for this trusted origin
- scopes List<String>
- Scopes of the Trusted Origin - can either be CORS or REDIRECT only
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.