1. Packages
  2. Packages
  3. Nutanix
  4. API Docs
  5. getCertificateV2
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

    Get the details of the SSL certificate which can be used to connect to an Object store.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nutanix from "@pierskarsenbarg/nutanix";
    
    const example = nutanix.getCertificateV2({
        objectStoreExtId: "ac91151a-28b4-4ffe-b150-6bcb2ec80cd4",
        extId: "ef0a9a54-e7e1-42e2-a59f-de779ec1c9ea",
    });
    
    import pulumi
    import pulumi_nutanix as nutanix
    
    example = nutanix.get_certificate_v2(object_store_ext_id="ac91151a-28b4-4ffe-b150-6bcb2ec80cd4",
        ext_id="ef0a9a54-e7e1-42e2-a59f-de779ec1c9ea")
    
    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.GetCertificateV2(ctx, &nutanix.GetCertificateV2Args{
    			ObjectStoreExtId: "ac91151a-28b4-4ffe-b150-6bcb2ec80cd4",
    			ExtId:            "ef0a9a54-e7e1-42e2-a59f-de779ec1c9ea",
    		}, 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 example = Nutanix.Index.GetCertificateV2.Invoke(new()
        {
            ObjectStoreExtId = "ac91151a-28b4-4ffe-b150-6bcb2ec80cd4",
            ExtId = "ef0a9a54-e7e1-42e2-a59f-de779ec1c9ea",
        });
    
    });
    
    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.GetCertificateV2Args;
    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 example = NutanixFunctions.getCertificateV2(GetCertificateV2Args.builder()
                .objectStoreExtId("ac91151a-28b4-4ffe-b150-6bcb2ec80cd4")
                .extId("ef0a9a54-e7e1-42e2-a59f-de779ec1c9ea")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: nutanix:getCertificateV2
          arguments:
            objectStoreExtId: ac91151a-28b4-4ffe-b150-6bcb2ec80cd4
            extId: ef0a9a54-e7e1-42e2-a59f-de779ec1c9ea
    

    Using getCertificateV2

    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 getCertificateV2(args: GetCertificateV2Args, opts?: InvokeOptions): Promise<GetCertificateV2Result>
    function getCertificateV2Output(args: GetCertificateV2OutputArgs, opts?: InvokeOptions): Output<GetCertificateV2Result>
    def get_certificate_v2(ext_id: Optional[str] = None,
                           object_store_ext_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetCertificateV2Result
    def get_certificate_v2_output(ext_id: pulumi.Input[Optional[str]] = None,
                           object_store_ext_id: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetCertificateV2Result]
    func GetCertificateV2(ctx *Context, args *GetCertificateV2Args, opts ...InvokeOption) (*GetCertificateV2Result, error)
    func GetCertificateV2Output(ctx *Context, args *GetCertificateV2OutputArgs, opts ...InvokeOption) GetCertificateV2ResultOutput

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

    public static class GetCertificateV2 
    {
        public static Task<GetCertificateV2Result> InvokeAsync(GetCertificateV2Args args, InvokeOptions? opts = null)
        public static Output<GetCertificateV2Result> Invoke(GetCertificateV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCertificateV2Result> getCertificateV2(GetCertificateV2Args args, InvokeOptions options)
    public static Output<GetCertificateV2Result> getCertificateV2(GetCertificateV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: nutanix:index/getCertificateV2:getCertificateV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ExtId string
    -(Required) The UUID of the certificate of an Object store.
    ObjectStoreExtId string
    -(Required) The UUID of the Object store.
    ExtId string
    -(Required) The UUID of the certificate of an Object store.
    ObjectStoreExtId string
    -(Required) The UUID of the Object store.
    extId String
    -(Required) The UUID of the certificate of an Object store.
    objectStoreExtId String
    -(Required) The UUID of the Object store.
    extId string
    -(Required) The UUID of the certificate of an Object store.
    objectStoreExtId string
    -(Required) The UUID of the Object store.
    ext_id str
    -(Required) The UUID of the certificate of an Object store.
    object_store_ext_id str
    -(Required) The UUID of the Object store.
    extId String
    -(Required) The UUID of the certificate of an Object store.
    objectStoreExtId String
    -(Required) The UUID of the Object store.

    getCertificateV2 Result

    The following output properties are available:

    AlternateFqdns List<PiersKarsenbarg.Nutanix.Outputs.GetCertificateV2AlternateFqdn>
    • The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g 'objects-0.pc_nutanix.com'.
    AlternateIps List<PiersKarsenbarg.Nutanix.Outputs.GetCertificateV2AlternateIp>
    • A list of the IPs included as Subject Alternative Names (SANs) in the certificate. The IPs must be among the public IPs of the Object store (publicNetworkIps).
    ExtId string
    • A globally unique identifier of an instance that is suitable for external consumption.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links List<PiersKarsenbarg.Nutanix.Outputs.GetCertificateV2Link>
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    Metadatas List<PiersKarsenbarg.Nutanix.Outputs.GetCertificateV2Metadata>
    • Metadata associated with this resource.
    ObjectStoreExtId string
    TenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    AlternateFqdns []GetCertificateV2AlternateFqdn
    • The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g 'objects-0.pc_nutanix.com'.
    AlternateIps []GetCertificateV2AlternateIp
    • A list of the IPs included as Subject Alternative Names (SANs) in the certificate. The IPs must be among the public IPs of the Object store (publicNetworkIps).
    ExtId string
    • A globally unique identifier of an instance that is suitable for external consumption.
    Id string
    The provider-assigned unique ID for this managed resource.
    Links []GetCertificateV2Link
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    Metadatas []GetCertificateV2Metadata
    • Metadata associated with this resource.
    ObjectStoreExtId string
    TenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    alternateFqdns List<GetCertificateV2AlternateFqdn>
    • The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g 'objects-0.pc_nutanix.com'.
    alternateIps List<GetCertificateV2AlternateIp>
    • A list of the IPs included as Subject Alternative Names (SANs) in the certificate. The IPs must be among the public IPs of the Object store (publicNetworkIps).
    extId String
    • A globally unique identifier of an instance that is suitable for external consumption.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<GetCertificateV2Link>
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    metadatas List<GetCertificateV2Metadata>
    • Metadata associated with this resource.
    objectStoreExtId String
    tenantId String
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    alternateFqdns GetCertificateV2AlternateFqdn[]
    • The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g 'objects-0.pc_nutanix.com'.
    alternateIps GetCertificateV2AlternateIp[]
    • A list of the IPs included as Subject Alternative Names (SANs) in the certificate. The IPs must be among the public IPs of the Object store (publicNetworkIps).
    extId string
    • A globally unique identifier of an instance that is suitable for external consumption.
    id string
    The provider-assigned unique ID for this managed resource.
    links GetCertificateV2Link[]
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    metadatas GetCertificateV2Metadata[]
    • Metadata associated with this resource.
    objectStoreExtId string
    tenantId string
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    alternate_fqdns Sequence[GetCertificateV2AlternateFqdn]
    • The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g 'objects-0.pc_nutanix.com'.
    alternate_ips Sequence[GetCertificateV2AlternateIp]
    • A list of the IPs included as Subject Alternative Names (SANs) in the certificate. The IPs must be among the public IPs of the Object store (publicNetworkIps).
    ext_id str
    • A globally unique identifier of an instance that is suitable for external consumption.
    id str
    The provider-assigned unique ID for this managed resource.
    links Sequence[GetCertificateV2Link]
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    metadatas Sequence[GetCertificateV2Metadata]
    • Metadata associated with this resource.
    object_store_ext_id str
    tenant_id str
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).
    alternateFqdns List<Property Map>
    • The list of alternate FQDNs for accessing the Object store. The FQDNs must consist of at least 2 parts separated by a '.'. Each part can contain upper and lower case letters, digits, hyphens or underscores but must begin and end with a letter. Each part can be up to 63 characters long. For e.g 'objects-0.pc_nutanix.com'.
    alternateIps List<Property Map>
    • A list of the IPs included as Subject Alternative Names (SANs) in the certificate. The IPs must be among the public IPs of the Object store (publicNetworkIps).
    extId String
    • A globally unique identifier of an instance that is suitable for external consumption.
    id String
    The provider-assigned unique ID for this managed resource.
    links List<Property Map>
    • A HATEOAS style link for the response. Each link contains a user-friendly name identifying the link and an address for retrieving the particular resource.
    metadatas List<Property Map>
    • Metadata associated with this resource.
    objectStoreExtId String
    tenantId String
    • A globally unique identifier that represents the tenant that owns this entity. The system automatically assigns it, and it and is immutable from an API consumer perspective (some use cases may cause this Id to change - For instance, a use case may require the transfer of ownership of the entity, but these cases are handled automatically on the server).

    Supporting Types

    GetCertificateV2AlternateFqdn

    Value string
    • The IPv4/IPv6 address of the host.
    Value string
    • The IPv4/IPv6 address of the host.
    value String
    • The IPv4/IPv6 address of the host.
    value string
    • The IPv4/IPv6 address of the host.
    value str
    • The IPv4/IPv6 address of the host.
    value String
    • The IPv4/IPv6 address of the host.

    GetCertificateV2AlternateIp

    Ipv4 PiersKarsenbarg.Nutanix.Inputs.GetCertificateV2AlternateIpIpv4
    An unique address that identifies a device on the internet or a local network in IPv4 format.
    Ipv6 PiersKarsenbarg.Nutanix.Inputs.GetCertificateV2AlternateIpIpv6
    An unique address that identifies a device on the internet or a local network in IPv6 format.
    Ipv4 GetCertificateV2AlternateIpIpv4
    An unique address that identifies a device on the internet or a local network in IPv4 format.
    Ipv6 GetCertificateV2AlternateIpIpv6
    An unique address that identifies a device on the internet or a local network in IPv6 format.
    ipv4 GetCertificateV2AlternateIpIpv4
    An unique address that identifies a device on the internet or a local network in IPv4 format.
    ipv6 GetCertificateV2AlternateIpIpv6
    An unique address that identifies a device on the internet or a local network in IPv6 format.
    ipv4 GetCertificateV2AlternateIpIpv4
    An unique address that identifies a device on the internet or a local network in IPv4 format.
    ipv6 GetCertificateV2AlternateIpIpv6
    An unique address that identifies a device on the internet or a local network in IPv6 format.
    ipv4 GetCertificateV2AlternateIpIpv4
    An unique address that identifies a device on the internet or a local network in IPv4 format.
    ipv6 GetCertificateV2AlternateIpIpv6
    An unique address that identifies a device on the internet or a local network in IPv6 format.
    ipv4 Property Map
    An unique address that identifies a device on the internet or a local network in IPv4 format.
    ipv6 Property Map
    An unique address that identifies a device on the internet or a local network in IPv6 format.

    GetCertificateV2AlternateIpIpv4

    Value string
    • The IPv4/IPv6 address of the host.
    PrefixLength int
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    Value string
    • The IPv4/IPv6 address of the host.
    PrefixLength int
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    value String
    • The IPv4/IPv6 address of the host.
    prefixLength Integer
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    value string
    • The IPv4/IPv6 address of the host.
    prefixLength number
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    value str
    • The IPv4/IPv6 address of the host.
    prefix_length int
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    value String
    • The IPv4/IPv6 address of the host.
    prefixLength Number
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.

    GetCertificateV2AlternateIpIpv6

    Value string
    • The IPv4/IPv6 address of the host.
    PrefixLength int
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    Value string
    • The IPv4/IPv6 address of the host.
    PrefixLength int
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    value String
    • The IPv4/IPv6 address of the host.
    prefixLength Integer
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    value string
    • The IPv4/IPv6 address of the host.
    prefixLength number
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    value str
    • The IPv4/IPv6 address of the host.
    prefix_length int
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    value String
    • The IPv4/IPv6 address of the host.
    prefixLength Number
    • The prefix length of the network to which this host IPv4 address belongs. Default for IPv4 is 32 and for IPv6 is 128.
    Href string
    • The URL at which the entity described by the link can be accessed.
    Rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    Href string
    • The URL at which the entity described by the link can be accessed.
    Rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    href String
    • The URL at which the entity described by the link can be accessed.
    rel String
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    href string
    • The URL at which the entity described by the link can be accessed.
    rel string
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    href str
    • The URL at which the entity described by the link can be accessed.
    rel str
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.
    href String
    • The URL at which the entity described by the link can be accessed.
    rel String
    • A name that identifies the relationship of the link to the object that is returned by the URL. The unique value of "self" identifies the URL for the object.

    GetCertificateV2Metadata

    CategoryIds List<string>
    • A list of globally unique identifiers that represent all the categories the resource is associated with.
    OwnerReferenceId string
    • A globally unique identifier that represents the owner of this resource.
    OwnerUserName string
    • The userName of the owner of this resource.
    ProjectName string
    • The name of the project this resource belongs to.
    ProjectReferenceId string
    • A globally unique identifier that represents the project this resource belongs to.
    CategoryIds []string
    • A list of globally unique identifiers that represent all the categories the resource is associated with.
    OwnerReferenceId string
    • A globally unique identifier that represents the owner of this resource.
    OwnerUserName string
    • The userName of the owner of this resource.
    ProjectName string
    • The name of the project this resource belongs to.
    ProjectReferenceId string
    • A globally unique identifier that represents the project this resource belongs to.
    categoryIds List<String>
    • A list of globally unique identifiers that represent all the categories the resource is associated with.
    ownerReferenceId String
    • A globally unique identifier that represents the owner of this resource.
    ownerUserName String
    • The userName of the owner of this resource.
    projectName String
    • The name of the project this resource belongs to.
    projectReferenceId String
    • A globally unique identifier that represents the project this resource belongs to.
    categoryIds string[]
    • A list of globally unique identifiers that represent all the categories the resource is associated with.
    ownerReferenceId string
    • A globally unique identifier that represents the owner of this resource.
    ownerUserName string
    • The userName of the owner of this resource.
    projectName string
    • The name of the project this resource belongs to.
    projectReferenceId string
    • A globally unique identifier that represents the project this resource belongs to.
    category_ids Sequence[str]
    • A list of globally unique identifiers that represent all the categories the resource is associated with.
    owner_reference_id str
    • A globally unique identifier that represents the owner of this resource.
    owner_user_name str
    • The userName of the owner of this resource.
    project_name str
    • The name of the project this resource belongs to.
    project_reference_id str
    • A globally unique identifier that represents the project this resource belongs to.
    categoryIds List<String>
    • A list of globally unique identifiers that represent all the categories the resource is associated with.
    ownerReferenceId String
    • A globally unique identifier that represents the owner of this resource.
    ownerUserName String
    • The userName of the owner of this resource.
    projectName String
    • The name of the project this resource belongs to.
    projectReferenceId String
    • A globally unique identifier that represents the project this resource belongs to.

    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.