Viewing docs for vSphere v4.18.0
published on Wednesday, Sep 2, 2026 by Pulumi
published on Wednesday, Sep 2, 2026 by Pulumi
Viewing docs for vSphere v4.18.0
published on Wednesday, Sep 2, 2026 by Pulumi
published on Wednesday, Sep 2, 2026 by Pulumi
The vsphere.SsoGroup data source can be used to look up a vCenter Single
Sign-On group by its name and domain, along with its user and nested-group
members.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vsphere from "@pulumi/vsphere";
const example = vsphere.getSsoGroup({
name: "engineering",
});
import pulumi
import pulumi_vsphere as vsphere
example = vsphere.get_sso_group(name="engineering")
package main
import (
"github.com/pulumi/pulumi-vsphere/sdk/v4/go/vsphere"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vsphere.GetSsoGroup(ctx, &vsphere.LookupSsoGroupArgs{
Name: "engineering",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using VSphere = Pulumi.VSphere;
return await Deployment.RunAsync(() =>
{
var example = VSphere.GetSsoGroup.Invoke(new()
{
Name = "engineering",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vsphere.VsphereFunctions;
import com.pulumi.vsphere.inputs.GetSsoGroupArgs;
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 = VsphereFunctions.getSsoGroup(GetSsoGroupArgs.builder()
.name("engineering")
.build());
}
}
variables:
example:
fn::invoke:
function: vsphere:getSsoGroup
arguments:
name: engineering
pulumi {
required_providers {
vsphere = {
source = "pulumi/vsphere"
}
}
}
data "vsphere_getssogroup" "example" {
name = "engineering"
}
Using getSsoGroup
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 getSsoGroup(args: GetSsoGroupArgs, opts?: InvokeOptions): Promise<GetSsoGroupResult>
function getSsoGroupOutput(args: GetSsoGroupOutputArgs, opts?: InvokeOutputOptions): Output<GetSsoGroupResult>def get_sso_group(domain: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSsoGroupResult
def get_sso_group_output(domain: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSsoGroupResult]func LookupSsoGroup(ctx *Context, args *LookupSsoGroupArgs, opts ...InvokeOption) (*LookupSsoGroupResult, error)
func LookupSsoGroupOutput(ctx *Context, args *LookupSsoGroupOutputArgs, opts ...InvokeOption) LookupSsoGroupResultOutput> Note: This function is named LookupSsoGroup in the Go SDK.
public static class GetSsoGroup
{
public static Task<GetSsoGroupResult> InvokeAsync(GetSsoGroupArgs args, InvokeOptions? opts = null)
public static Output<GetSsoGroupResult> Invoke(GetSsoGroupInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSsoGroupResult> Invoke(GetSsoGroupInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSsoGroupResult> getSsoGroup(GetSsoGroupArgs args, InvokeOptions options)
public static Output<GetSsoGroupResult> getSsoGroup(GetSsoGroupArgs args, InvokeOptions options)
public static Output<GetSsoGroupResult> getSsoGroup(GetSsoGroupArgs args, InvokeOutputOptions options)
fn::invoke:
function: vsphere:index/getSsoGroup:getSsoGroup
arguments:
# arguments dictionarydata "vsphere_get_sso_group" "name" {
# arguments
}The following arguments are supported:
getSsoGroup Result
The following output properties are available:
- Description string
- The description of the group.
- Domain string
- The identity source domain the nested group belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Member
Groups List<Pulumi.VSphere. Outputs. Get Sso Group Member Group> - The nested group members of the group. Each entry exports:
- Member
Users List<Pulumi.VSphere. Outputs. Get Sso Group Member User> - The user members of the group. Each entry exports:
- Name string
- The name of the nested group.
- Description string
- The description of the group.
- Domain string
- The identity source domain the nested group belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Member
Groups []GetSso Group Member Group - The nested group members of the group. Each entry exports:
- Member
Users []GetSso Group Member User - The user members of the group. Each entry exports:
- Name string
- The name of the nested group.
- description string
- The description of the group.
- domain string
- The identity source domain the nested group belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- member_
groups list(object) - The nested group members of the group. Each entry exports:
- member_
users list(object) - The user members of the group. Each entry exports:
- name string
- The name of the nested group.
- description String
- The description of the group.
- domain String
- The identity source domain the nested group belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- member
Groups List<GetSso Group Member Group> - The nested group members of the group. Each entry exports:
- member
Users List<GetSso Group Member User> - The user members of the group. Each entry exports:
- name String
- The name of the nested group.
- description string
- The description of the group.
- domain string
- The identity source domain the nested group belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- member
Groups GetSso Group Member Group[] - The nested group members of the group. Each entry exports:
- member
Users GetSso Group Member User[] - The user members of the group. Each entry exports:
- name string
- The name of the nested group.
- description str
- The description of the group.
- domain str
- The identity source domain the nested group belongs to.
- id str
- The provider-assigned unique ID for this managed resource.
- member_
groups Sequence[GetSso Group Member Group] - The nested group members of the group. Each entry exports:
- member_
users Sequence[GetSso Group Member User] - The user members of the group. Each entry exports:
- name str
- The name of the nested group.
- description String
- The description of the group.
- domain String
- The identity source domain the nested group belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- member
Groups List<Property Map> - The nested group members of the group. Each entry exports:
- member
Users List<Property Map> - The user members of the group. Each entry exports:
- name String
- The name of the nested group.
Supporting Types
GetSsoGroupMemberGroup
GetSsoGroupMemberUser
Package Details
- Repository
- vSphere pulumi/pulumi-vsphere
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
vsphereTerraform Provider.
Viewing docs for vSphere v4.18.0
published on Wednesday, Sep 2, 2026 by Pulumi
published on Wednesday, Sep 2, 2026 by Pulumi