1. Packages
  2. Packages
  3. Nutanix
  4. API Docs
  5. getSamlIdentityProviderV2
Viewing docs for Nutanix v0.13.0
published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
nutanix logo
Viewing docs for Nutanix v0.13.0
published on Tuesday, Apr 28, 2026 by Piers Karsenbarg

    Provides a datasource to View a SAML Identity Provider.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    const idp = nutanix.getSamlIdentityProviderV2({
        extId: "a2a8650a-358a-4791-90c9-7a8b6e2989d6",
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    idp = nutanix.get_saml_identity_provider_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.GetSamlIdentityProviderV2(ctx, &nutanix.GetSamlIdentityProviderV2Args{
    			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 = PiersKarsenbarg.Nutanix;
    
    return await Deployment.RunAsync(() => 
    {
        var idp = Nutanix.Index.GetSamlIdentityProviderV2.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.GetSamlIdentityProviderV2Args;
    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 idp = NutanixFunctions.getSamlIdentityProviderV2(GetSamlIdentityProviderV2Args.builder()
                .extId("a2a8650a-358a-4791-90c9-7a8b6e2989d6")
                .build());
    
        }
    }
    
    variables:
      idp:
        fn::invoke:
          function: nutanix:getSamlIdentityProviderV2
          arguments:
            extId: a2a8650a-358a-4791-90c9-7a8b6e2989d6
    

    Argument Reference

    The following arguments are supported:

    • extId: - External identifier of the SAML Identity Provider.

    Using getSamlIdentityProviderV2

    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 getSamlIdentityProviderV2(args: GetSamlIdentityProviderV2Args, opts?: InvokeOptions): Promise<GetSamlIdentityProviderV2Result>
    function getSamlIdentityProviderV2Output(args: GetSamlIdentityProviderV2OutputArgs, opts?: InvokeOptions): Output<GetSamlIdentityProviderV2Result>
    def get_saml_identity_provider_v2(ext_id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetSamlIdentityProviderV2Result
    def get_saml_identity_provider_v2_output(ext_id: pulumi.Input[Optional[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetSamlIdentityProviderV2Result]
    func GetSamlIdentityProviderV2(ctx *Context, args *GetSamlIdentityProviderV2Args, opts ...InvokeOption) (*GetSamlIdentityProviderV2Result, error)
    func GetSamlIdentityProviderV2Output(ctx *Context, args *GetSamlIdentityProviderV2OutputArgs, opts ...InvokeOption) GetSamlIdentityProviderV2ResultOutput

    > Note: This function is named GetSamlIdentityProviderV2 in the Go SDK.

    public static class GetSamlIdentityProviderV2 
    {
        public static Task<GetSamlIdentityProviderV2Result> InvokeAsync(GetSamlIdentityProviderV2Args args, InvokeOptions? opts = null)
        public static Output<GetSamlIdentityProviderV2Result> Invoke(GetSamlIdentityProviderV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSamlIdentityProviderV2Result> getSamlIdentityProviderV2(GetSamlIdentityProviderV2Args args, InvokeOptions options)
    public static Output<GetSamlIdentityProviderV2Result> getSamlIdentityProviderV2(GetSamlIdentityProviderV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: nutanix:index/getSamlIdentityProviderV2:getSamlIdentityProviderV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ExtId string
    The External Identifier of the User Group.
    ExtId string
    The External Identifier of the User Group.
    extId String
    The External Identifier of the User Group.
    extId string
    The External Identifier of the User Group.
    ext_id str
    The External Identifier of the User Group.
    extId String
    The External Identifier of the User Group.

    getSamlIdentityProviderV2 Result

    The following output properties are available:

    CreatedBy string
    • User or Service who created the SAML Identity Provider.
    CreatedTime string
    • Creation time of the SAML Identity Provider.
    CustomAttributes List<string>
    EmailAttribute string
    EntityIssuer string
    • It will be used as Issuer in SAML authnRequest.
    ExtId string
    The External Identifier of the User Group.
    GroupsAttribute string
    GroupsDelim string
    • Delimiter is used to split the value of attribute into multiple groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    IdpMetadatas List<PiersKarsenbarg.Nutanix.Outputs.GetSamlIdentityProviderV2IdpMetadata>
    • Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
    IsSignedAuthnReqEnabled bool
    • Flag indicating signing of SAML authnRequests.
    LastUpdatedTime string
    • Last updated time of the SAML Identity Provider.
    Name string
    • Unique name of the IDP.
    UsernameAttribute string
    CreatedBy string
    • User or Service who created the SAML Identity Provider.
    CreatedTime string
    • Creation time of the SAML Identity Provider.
    CustomAttributes []string
    EmailAttribute string
    EntityIssuer string
    • It will be used as Issuer in SAML authnRequest.
    ExtId string
    The External Identifier of the User Group.
    GroupsAttribute string
    GroupsDelim string
    • Delimiter is used to split the value of attribute into multiple groups.
    Id string
    The provider-assigned unique ID for this managed resource.
    IdpMetadatas []GetSamlIdentityProviderV2IdpMetadata
    • Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
    IsSignedAuthnReqEnabled bool
    • Flag indicating signing of SAML authnRequests.
    LastUpdatedTime string
    • Last updated time of the SAML Identity Provider.
    Name string
    • Unique name of the IDP.
    UsernameAttribute string
    createdBy String
    • User or Service who created the SAML Identity Provider.
    createdTime String
    • Creation time of the SAML Identity Provider.
    customAttributes List<String>
    emailAttribute String
    entityIssuer String
    • It will be used as Issuer in SAML authnRequest.
    extId String
    The External Identifier of the User Group.
    groupsAttribute String
    groupsDelim String
    • Delimiter is used to split the value of attribute into multiple groups.
    id String
    The provider-assigned unique ID for this managed resource.
    idpMetadatas List<GetSamlIdentityProviderV2IdpMetadata>
    • Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
    isSignedAuthnReqEnabled Boolean
    • Flag indicating signing of SAML authnRequests.
    lastUpdatedTime String
    • Last updated time of the SAML Identity Provider.
    name String
    • Unique name of the IDP.
    usernameAttribute String
    createdBy string
    • User or Service who created the SAML Identity Provider.
    createdTime string
    • Creation time of the SAML Identity Provider.
    customAttributes string[]
    emailAttribute string
    entityIssuer string
    • It will be used as Issuer in SAML authnRequest.
    extId string
    The External Identifier of the User Group.
    groupsAttribute string
    groupsDelim string
    • Delimiter is used to split the value of attribute into multiple groups.
    id string
    The provider-assigned unique ID for this managed resource.
    idpMetadatas GetSamlIdentityProviderV2IdpMetadata[]
    • Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
    isSignedAuthnReqEnabled boolean
    • Flag indicating signing of SAML authnRequests.
    lastUpdatedTime string
    • Last updated time of the SAML Identity Provider.
    name string
    • Unique name of the IDP.
    usernameAttribute string
    created_by str
    • User or Service who created the SAML Identity Provider.
    created_time str
    • Creation time of the SAML Identity Provider.
    custom_attributes Sequence[str]
    email_attribute str
    entity_issuer str
    • It will be used as Issuer in SAML authnRequest.
    ext_id str
    The External Identifier of the User Group.
    groups_attribute str
    groups_delim str
    • Delimiter is used to split the value of attribute into multiple groups.
    id str
    The provider-assigned unique ID for this managed resource.
    idp_metadatas Sequence[GetSamlIdentityProviderV2IdpMetadata]
    • Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
    is_signed_authn_req_enabled bool
    • Flag indicating signing of SAML authnRequests.
    last_updated_time str
    • Last updated time of the SAML Identity Provider.
    name str
    • Unique name of the IDP.
    username_attribute str
    createdBy String
    • User or Service who created the SAML Identity Provider.
    createdTime String
    • Creation time of the SAML Identity Provider.
    customAttributes List<String>
    emailAttribute String
    entityIssuer String
    • It will be used as Issuer in SAML authnRequest.
    extId String
    The External Identifier of the User Group.
    groupsAttribute String
    groupsDelim String
    • Delimiter is used to split the value of attribute into multiple groups.
    id String
    The provider-assigned unique ID for this managed resource.
    idpMetadatas List<Property Map>
    • Type of the User Group. LDAP (User Group belonging to a Directory Service (Open LDAP/AD)), SAML (User Group belonging to a SAML IDP.)
    isSignedAuthnReqEnabled Boolean
    • Flag indicating signing of SAML authnRequests.
    lastUpdatedTime String
    • Last updated time of the SAML Identity Provider.
    name String
    • Unique name of the IDP.
    usernameAttribute String

    Supporting Types

    GetSamlIdentityProviderV2IdpMetadata

    Certificate string
    • Certificate for verification.
    EntityId string
    • Entity Identifier of Identity provider.
    ErrorUrl string
    • Error URL of the Identity provider.
    LoginUrl string
    • Login URL of the Identity provider.
    LogoutUrl string
    • Logout URL of the Identity provider.
    NameIdPolicyFormat string
    • Name ID Policy format.
    • supported values:
    • emailAddress: - Uses email address as NameID format
    Certificate string
    • Certificate for verification.
    EntityId string
    • Entity Identifier of Identity provider.
    ErrorUrl string
    • Error URL of the Identity provider.
    LoginUrl string
    • Login URL of the Identity provider.
    LogoutUrl string
    • Logout URL of the Identity provider.
    NameIdPolicyFormat string
    • Name ID Policy format.
    • supported values:
    • emailAddress: - Uses email address as NameID format
    certificate String
    • Certificate for verification.
    entityId String
    • Entity Identifier of Identity provider.
    errorUrl String
    • Error URL of the Identity provider.
    loginUrl String
    • Login URL of the Identity provider.
    logoutUrl String
    • Logout URL of the Identity provider.
    nameIdPolicyFormat String
    • Name ID Policy format.
    • supported values:
    • emailAddress: - Uses email address as NameID format
    certificate string
    • Certificate for verification.
    entityId string
    • Entity Identifier of Identity provider.
    errorUrl string
    • Error URL of the Identity provider.
    loginUrl string
    • Login URL of the Identity provider.
    logoutUrl string
    • Logout URL of the Identity provider.
    nameIdPolicyFormat string
    • Name ID Policy format.
    • supported values:
    • emailAddress: - Uses email address as NameID format
    certificate str
    • Certificate for verification.
    entity_id str
    • Entity Identifier of Identity provider.
    error_url str
    • Error URL of the Identity provider.
    login_url str
    • Login URL of the Identity provider.
    logout_url str
    • Logout URL of the Identity provider.
    name_id_policy_format str
    • Name ID Policy format.
    • supported values:
    • emailAddress: - Uses email address as NameID format
    certificate String
    • Certificate for verification.
    entityId String
    • Entity Identifier of Identity provider.
    errorUrl String
    • Error URL of the Identity provider.
    loginUrl String
    • Login URL of the Identity provider.
    logoutUrl String
    • Logout URL of the Identity provider.
    nameIdPolicyFormat String
    • Name ID Policy format.
    • supported values:
    • emailAddress: - Uses email address as NameID format

    Package Details

    Repository
    nutanix pierskarsenbarg/pulumi-nutanix
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the nutanix Terraform Provider.
    nutanix logo
    Viewing docs for Nutanix v0.13.0
    published on Tuesday, Apr 28, 2026 by Piers Karsenbarg
      Try Pulumi Cloud free. Your team will thank you.