Viewing docs for Okta v6.3.1
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Okta v6.3.1
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Get a Push Group assignment for an Application in Okta.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const sample = okta.getPushGroup({
appId: "<okta_app_id>",
id: "<push_group_mapping_id>",
});
const anotherSample = okta.getPushGroup({
appId: "<okta_app_id>",
sourceGroupId: "<okta_source_group_id>",
});
import pulumi
import pulumi_okta as okta
sample = okta.get_push_group(app_id="<okta_app_id>",
id="<push_group_mapping_id>")
another_sample = okta.get_push_group(app_id="<okta_app_id>",
source_group_id="<okta_source_group_id>")
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.LookupPushGroup(ctx, &okta.LookupPushGroupArgs{
AppId: "<okta_app_id>",
Id: pulumi.StringRef("<push_group_mapping_id>"),
}, nil)
if err != nil {
return err
}
_, err = okta.LookupPushGroup(ctx, &okta.LookupPushGroupArgs{
AppId: "<okta_app_id>",
SourceGroupId: pulumi.StringRef("<okta_source_group_id>"),
}, 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 sample = Okta.GetPushGroup.Invoke(new()
{
AppId = "<okta_app_id>",
Id = "<push_group_mapping_id>",
});
var anotherSample = Okta.GetPushGroup.Invoke(new()
{
AppId = "<okta_app_id>",
SourceGroupId = "<okta_source_group_id>",
});
});
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.GetPushGroupArgs;
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 sample = OktaFunctions.getPushGroup(GetPushGroupArgs.builder()
.appId("<okta_app_id>")
.id("<push_group_mapping_id>")
.build());
final var anotherSample = OktaFunctions.getPushGroup(GetPushGroupArgs.builder()
.appId("<okta_app_id>")
.sourceGroupId("<okta_source_group_id>")
.build());
}
}
variables:
sample:
fn::invoke:
function: okta:getPushGroup
arguments:
appId: <okta_app_id>
id: <push_group_mapping_id>
anotherSample:
fn::invoke:
function: okta:getPushGroup
arguments:
appId: <okta_app_id>
sourceGroupId: <okta_source_group_id>
Using getPushGroup
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 getPushGroup(args: GetPushGroupArgs, opts?: InvokeOptions): Promise<GetPushGroupResult>
function getPushGroupOutput(args: GetPushGroupOutputArgs, opts?: InvokeOptions): Output<GetPushGroupResult>def get_push_group(app_id: Optional[str] = None,
id: Optional[str] = None,
source_group_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPushGroupResult
def get_push_group_output(app_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
source_group_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPushGroupResult]func LookupPushGroup(ctx *Context, args *LookupPushGroupArgs, opts ...InvokeOption) (*LookupPushGroupResult, error)
func LookupPushGroupOutput(ctx *Context, args *LookupPushGroupOutputArgs, opts ...InvokeOption) LookupPushGroupResultOutput> Note: This function is named LookupPushGroup in the Go SDK.
public static class GetPushGroup
{
public static Task<GetPushGroupResult> InvokeAsync(GetPushGroupArgs args, InvokeOptions? opts = null)
public static Output<GetPushGroupResult> Invoke(GetPushGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPushGroupResult> getPushGroup(GetPushGroupArgs args, InvokeOptions options)
public static Output<GetPushGroupResult> getPushGroup(GetPushGroupArgs args, InvokeOptions options)
fn::invoke:
function: okta:index/getPushGroup:getPushGroup
arguments:
# arguments dictionaryThe following arguments are supported:
- App
Id string - The ID of the Okta Application.
- Id string
- Push Group ID
- Source
Group stringId - The ID of the source group in Okta.
- App
Id string - The ID of the Okta Application.
- Id string
- Push Group ID
- Source
Group stringId - The ID of the source group in Okta.
- app
Id String - The ID of the Okta Application.
- id String
- Push Group ID
- source
Group StringId - The ID of the source group in Okta.
- app
Id string - The ID of the Okta Application.
- id string
- Push Group ID
- source
Group stringId - The ID of the source group in Okta.
- app_
id str - The ID of the Okta Application.
- id str
- Push Group ID
- source_
group_ strid - The ID of the source group in Okta.
- app
Id String - The ID of the Okta Application.
- id String
- Push Group ID
- source
Group StringId - The ID of the source group in Okta.
getPushGroup Result
The following output properties are available:
- App
Id string - The ID of the Okta Application.
- Id string
- Push Group ID
- Source
Group stringId - The ID of the source group in Okta.
- Status string
- The status of the push group mapping. Valid values:
ACTIVEandINACTIVE - Target
Group stringId - The ID of the existing target group for the push group mapping. This is used to link to an existing group
- App
Id string - The ID of the Okta Application.
- Id string
- Push Group ID
- Source
Group stringId - The ID of the source group in Okta.
- Status string
- The status of the push group mapping. Valid values:
ACTIVEandINACTIVE - Target
Group stringId - The ID of the existing target group for the push group mapping. This is used to link to an existing group
- app
Id String - The ID of the Okta Application.
- id String
- Push Group ID
- source
Group StringId - The ID of the source group in Okta.
- status String
- The status of the push group mapping. Valid values:
ACTIVEandINACTIVE - target
Group StringId - The ID of the existing target group for the push group mapping. This is used to link to an existing group
- app
Id string - The ID of the Okta Application.
- id string
- Push Group ID
- source
Group stringId - The ID of the source group in Okta.
- status string
- The status of the push group mapping. Valid values:
ACTIVEandINACTIVE - target
Group stringId - The ID of the existing target group for the push group mapping. This is used to link to an existing group
- app_
id str - The ID of the Okta Application.
- id str
- Push Group ID
- source_
group_ strid - The ID of the source group in Okta.
- status str
- The status of the push group mapping. Valid values:
ACTIVEandINACTIVE - target_
group_ strid - The ID of the existing target group for the push group mapping. This is used to link to an existing group
- app
Id String - The ID of the Okta Application.
- id String
- Push Group ID
- source
Group StringId - The ID of the source group in Okta.
- status String
- The status of the push group mapping. Valid values:
ACTIVEandINACTIVE - target
Group StringId - The ID of the existing target group for the push group mapping. This is used to link to an existing group
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.3.1
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
