Viewing docs for Okta v6.9.0
published on Wednesday, Jul 1, 2026 by Pulumi
published on Wednesday, Jul 1, 2026 by Pulumi
Viewing docs for Okta v6.9.0
published on Wednesday, Jul 1, 2026 by Pulumi
published on Wednesday, Jul 1, 2026 by Pulumi
Retrieves a resource set by resourceSetIdOrLabel.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example = okta.getIamResourceSet({
id: "<resource_set_id_or_label>",
});
import pulumi
import pulumi_okta as okta
example = okta.get_iam_resource_set(id="<resource_set_id_or_label>")
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.GetIamResourceSet(ctx, &okta.GetIamResourceSetArgs{
Id: "<resource_set_id_or_label>",
}, 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.GetIamResourceSet.Invoke(new()
{
Id = "<resource_set_id_or_label>",
});
});
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.GetIamResourceSetArgs;
import java.util.ArrayList;
import java.util.Arrays;
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.getIamResourceSet(GetIamResourceSetArgs.builder()
.id("<resource_set_id_or_label>")
.build());
}
}
variables:
example:
fn::invoke:
function: okta:getIamResourceSet
arguments:
id: <resource_set_id_or_label>
pulumi {
required_providers {
okta = {
source = "pulumi/okta"
}
}
}
data "okta_getiamresourceset" "example" {
id = "<resource_set_id_or_label>"
}
Using getIamResourceSet
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 getIamResourceSet(args: GetIamResourceSetArgs, opts?: InvokeOptions): Promise<GetIamResourceSetResult>
function getIamResourceSetOutput(args: GetIamResourceSetOutputArgs, opts?: InvokeOptions): Output<GetIamResourceSetResult>def get_iam_resource_set(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIamResourceSetResult
def get_iam_resource_set_output(id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIamResourceSetResult]func GetIamResourceSet(ctx *Context, args *GetIamResourceSetArgs, opts ...InvokeOption) (*GetIamResourceSetResult, error)
func GetIamResourceSetOutput(ctx *Context, args *GetIamResourceSetOutputArgs, opts ...InvokeOption) GetIamResourceSetResultOutput> Note: This function is named GetIamResourceSet in the Go SDK.
public static class GetIamResourceSet
{
public static Task<GetIamResourceSetResult> InvokeAsync(GetIamResourceSetArgs args, InvokeOptions? opts = null)
public static Output<GetIamResourceSetResult> Invoke(GetIamResourceSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIamResourceSetResult> getIamResourceSet(GetIamResourceSetArgs args, InvokeOptions options)
public static Output<GetIamResourceSetResult> getIamResourceSet(GetIamResourceSetArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getIamResourceSet:getIamResourceSet
arguments:
# arguments dictionarydata "okta_getiamresourceset" "name" {
# arguments
}The following arguments are supported:
- Id string
- Unique identifier of the resource set.
- Id string
- Unique identifier of the resource set.
- id string
- Unique identifier of the resource set.
- id String
- Unique identifier of the resource set.
- id string
- Unique identifier of the resource set.
- id str
- Unique identifier of the resource set.
- id String
- Unique identifier of the resource set.
getIamResourceSet Result
The following output properties are available:
- Created string
- Timestamp when the resource set was created.
- Description string
- Description of the resource set.
- Id string
- Unique identifier of the resource set.
- Label string
- Unique label for the resource set.
- Last
Updated string - Timestamp when the resource set was last updated.
- Created string
- Timestamp when the resource set was created.
- Description string
- Description of the resource set.
- Id string
- Unique identifier of the resource set.
- Label string
- Unique label for the resource set.
- Last
Updated string - Timestamp when the resource set was last updated.
- created string
- Timestamp when the resource set was created.
- description string
- Description of the resource set.
- id string
- Unique identifier of the resource set.
- label string
- Unique label for the resource set.
- last_
updated string - Timestamp when the resource set was last updated.
- created String
- Timestamp when the resource set was created.
- description String
- Description of the resource set.
- id String
- Unique identifier of the resource set.
- label String
- Unique label for the resource set.
- last
Updated String - Timestamp when the resource set was last updated.
- created string
- Timestamp when the resource set was created.
- description string
- Description of the resource set.
- id string
- Unique identifier of the resource set.
- label string
- Unique label for the resource set.
- last
Updated string - Timestamp when the resource set was last updated.
- created str
- Timestamp when the resource set was created.
- description str
- Description of the resource set.
- id str
- Unique identifier of the resource set.
- label str
- Unique label for the resource set.
- last_
updated str - Timestamp when the resource set was last updated.
- created String
- Timestamp when the resource set was created.
- description String
- Description of the resource set.
- id String
- Unique identifier of the resource set.
- label String
- Unique label for the resource set.
- last
Updated String - Timestamp when the resource set was last updated.
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.9.0
published on Wednesday, Jul 1, 2026 by Pulumi
published on Wednesday, Jul 1, 2026 by Pulumi