Viewing docs for Nutanix v0.11.0
published on Monday, Nov 24, 2025 by Piers Karsenbarg
published on Monday, Nov 24, 2025 by Piers Karsenbarg
Viewing docs for Nutanix v0.11.0
published on Monday, Nov 24, 2025 by Piers Karsenbarg
published on Monday, Nov 24, 2025 by Piers Karsenbarg
Provides a datasource to retrieve a user group based on the External Identifier of the User Group.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nutanix from "@pierskarsenbarg/nutanix";
const get_ug = nutanix.getUserGroupV2({
extId: "a2a8650a-358a-4791-90c9-7a8b6e2989d6",
});
import pulumi
import pulumi_nutanix as nutanix
get_ug = nutanix.get_user_group_v2(ext_id="a2a8650a-358a-4791-90c9-7a8b6e2989d6")
package main
import (
"github.com/pierskarsenbarg/pulumi-nutanix/sdk/go/nutanix"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nutanix.GetUserGroupV2(ctx, &nutanix.GetUserGroupV2Args{
ExtId: "a2a8650a-358a-4791-90c9-7a8b6e2989d6",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nutanix = Pulumi.Nutanix;
return await Deployment.RunAsync(() =>
{
var get_ug = Nutanix.GetUserGroupV2.Invoke(new()
{
ExtId = "a2a8650a-358a-4791-90c9-7a8b6e2989d6",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nutanix.NutanixFunctions;
import com.pulumi.nutanix.inputs.GetUserGroupV2Args;
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 get-ug = NutanixFunctions.getUserGroupV2(GetUserGroupV2Args.builder()
.extId("a2a8650a-358a-4791-90c9-7a8b6e2989d6")
.build());
}
}
variables:
get-ug:
fn::invoke:
function: nutanix:getUserGroupV2
arguments:
extId: a2a8650a-358a-4791-90c9-7a8b6e2989d6
Using getUserGroupV2
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 getUserGroupV2(args: GetUserGroupV2Args, opts?: InvokeOptions): Promise<GetUserGroupV2Result>
function getUserGroupV2Output(args: GetUserGroupV2OutputArgs, opts?: InvokeOptions): Output<GetUserGroupV2Result>def get_user_group_v2(ext_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserGroupV2Result
def get_user_group_v2_output(ext_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserGroupV2Result]func GetUserGroupV2(ctx *Context, args *GetUserGroupV2Args, opts ...InvokeOption) (*GetUserGroupV2Result, error)
func GetUserGroupV2Output(ctx *Context, args *GetUserGroupV2OutputArgs, opts ...InvokeOption) GetUserGroupV2ResultOutput> Note: This function is named GetUserGroupV2 in the Go SDK.
public static class GetUserGroupV2
{
public static Task<GetUserGroupV2Result> InvokeAsync(GetUserGroupV2Args args, InvokeOptions? opts = null)
public static Output<GetUserGroupV2Result> Invoke(GetUserGroupV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserGroupV2Result> getUserGroupV2(GetUserGroupV2Args args, InvokeOptions options)
public static Output<GetUserGroupV2Result> getUserGroupV2(GetUserGroupV2Args args, InvokeOptions options)
fn::invoke:
function: nutanix:index/getUserGroupV2:getUserGroupV2
arguments:
# arguments dictionaryThe following arguments are supported:
- Ext
Id string - (Required) The External Identifier of the User Group.
- Ext
Id string - (Required) The External Identifier of the User Group.
- ext
Id String - (Required) The External Identifier of the User Group.
- ext
Id string - (Required) The External Identifier of the User Group.
- ext_
id str - (Required) The External Identifier of the User Group.
- ext
Id String - (Required) The External Identifier of the User Group.
getUserGroupV2 Result
The following output properties are available:
- Created
By string - User or Service who created the User Group.
- Created
Time string - Creation time of the User Group.
- Distinguished
Name string - Identifier for the User Group in the form of a distinguished name.
- Ext
Id string - The External Identifier of the User Group.
- Group
Type string - Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
- Id string
- The provider-assigned unique ID for this managed resource.
- Idp
Id string - Identifier of the IDP for the User Group.
- Last
Updated stringTime - Last updated time of the User Group.
- Name string
- Common Name of the User Group.
- Created
By string - User or Service who created the User Group.
- Created
Time string - Creation time of the User Group.
- Distinguished
Name string - Identifier for the User Group in the form of a distinguished name.
- Ext
Id string - The External Identifier of the User Group.
- Group
Type string - Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
- Id string
- The provider-assigned unique ID for this managed resource.
- Idp
Id string - Identifier of the IDP for the User Group.
- Last
Updated stringTime - Last updated time of the User Group.
- Name string
- Common Name of the User Group.
- created
By String - User or Service who created the User Group.
- created
Time String - Creation time of the User Group.
- distinguished
Name String - Identifier for the User Group in the form of a distinguished name.
- ext
Id String - The External Identifier of the User Group.
- group
Type String - Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
- id String
- The provider-assigned unique ID for this managed resource.
- idp
Id String - Identifier of the IDP for the User Group.
- last
Updated StringTime - Last updated time of the User Group.
- name String
- Common Name of the User Group.
- created
By string - User or Service who created the User Group.
- created
Time string - Creation time of the User Group.
- distinguished
Name string - Identifier for the User Group in the form of a distinguished name.
- ext
Id string - The External Identifier of the User Group.
- group
Type string - Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
- id string
- The provider-assigned unique ID for this managed resource.
- idp
Id string - Identifier of the IDP for the User Group.
- last
Updated stringTime - Last updated time of the User Group.
- name string
- Common Name of the User Group.
- created_
by str - User or Service who created the User Group.
- created_
time str - Creation time of the User Group.
- distinguished_
name str - Identifier for the User Group in the form of a distinguished name.
- ext_
id str - The External Identifier of the User Group.
- group_
type str - Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
- id str
- The provider-assigned unique ID for this managed resource.
- idp_
id str - Identifier of the IDP for the User Group.
- last_
updated_ strtime - Last updated time of the User Group.
- name str
- Common Name of the User Group.
- created
By String - User or Service who created the User Group.
- created
Time String - Creation time of the User Group.
- distinguished
Name String - Identifier for the User Group in the form of a distinguished name.
- ext
Id String - The External Identifier of the User Group.
- group
Type String - Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
- id String
- The provider-assigned unique ID for this managed resource.
- idp
Id String - Identifier of the IDP for the User Group.
- last
Updated StringTime - Last updated time of the User Group.
- name String
- Common Name of the User Group.
Package Details
- Repository
- nutanix pierskarsenbarg/pulumi-nutanix
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
nutanixTerraform Provider.
Viewing docs for Nutanix v0.11.0
published on Monday, Nov 24, 2025 by Piers Karsenbarg
published on Monday, Nov 24, 2025 by Piers Karsenbarg
