1. Packages
  2. Packages
  3. Powerscale Provider
  4. API Docs
  5. getSynciqPeerCertificate
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell

    This datasource is used to query the existing SyncIQ Peer Certificates from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as powerscale from "@pulumi/powerscale";
    
    //Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
    //
    //Licensed under the Mozilla Public License Version 2.0 (the "License");
    //you may not use this file except in compliance with the License.
    //You may obtain a copy of the License at
    //
    //    http://mozilla.org/MPL/2.0/
    //
    //
    //Unless required by applicable law or agreed to in writing, software
    //distributed under the License is distributed on an "AS IS" BASIS,
    //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    //See the License for the specific language governing permissions and
    //limitations under the License.
    // PowerScale SyncIQ Certificate allows you to get a list of SyncIQ Peer Certificates or a peer certificate by its ID.
    // Returns a list of PowerScale SyncIQ Certificates
    const allCertificates = powerscale.getSynciqPeerCertificate({});
    // Returns a the PowerScale SyncIQ Certificate with given ID
    const oneCertificate = powerscale.getSynciqPeerCertificate({
        id: "g23j9a1f83h12n5j4",
    });
    // Returns the PowerScale SyncIQ Certificate with given name
    const oneCertificateByName = powerscale.getSynciqPeerCertificate({
        filter: {
            name: "tfaccTest",
        },
    });
    export const powerscaleSynciqAllCertificates = allCertificates.then(allCertificates => allCertificates.certificates);
    export const certificateByID = oneCertificate.then(oneCertificate => oneCertificate.certificates?.[0]);
    export const certificateByName = oneCertificateByName.then(oneCertificateByName => oneCertificateByName.certificates?.[0]);
    export const certificatesByStatus = {
        valid: allCertificates.then(allCertificates => .filter(certificate => certificate.status == "valid").map(certificate => (certificate))),
        invalid: allCertificates.then(allCertificates => .filter(certificate => certificate.status == "invalid").map(certificate => (certificate))),
        expired: allCertificates.then(allCertificates => .filter(certificate => certificate.status == "expired").map(certificate => (certificate))),
        expiring: allCertificates.then(allCertificates => .filter(certificate => certificate.status == "expiring").map(certificate => (certificate))),
    };
    
    import pulumi
    import pulumi_powerscale as powerscale
    
    #Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
    #
    #Licensed under the Mozilla Public License Version 2.0 (the "License");
    #you may not use this file except in compliance with the License.
    #You may obtain a copy of the License at
    #
    #    http://mozilla.org/MPL/2.0/
    #
    #
    #Unless required by applicable law or agreed to in writing, software
    #distributed under the License is distributed on an "AS IS" BASIS,
    #WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    #See the License for the specific language governing permissions and
    #limitations under the License.
    # PowerScale SyncIQ Certificate allows you to get a list of SyncIQ Peer Certificates or a peer certificate by its ID.
    # Returns a list of PowerScale SyncIQ Certificates
    all_certificates = powerscale.get_synciq_peer_certificate()
    # Returns a the PowerScale SyncIQ Certificate with given ID
    one_certificate = powerscale.get_synciq_peer_certificate(id="g23j9a1f83h12n5j4")
    # Returns the PowerScale SyncIQ Certificate with given name
    one_certificate_by_name = powerscale.get_synciq_peer_certificate(filter={
        "name": "tfaccTest",
    })
    pulumi.export("powerscaleSynciqAllCertificates", all_certificates.certificates)
    pulumi.export("certificateByID", one_certificate.certificates[0])
    pulumi.export("certificateByName", one_certificate_by_name.certificates[0])
    pulumi.export("certificatesByStatus", {
        "valid": [certificate for certificate in all_certificates.certificates if certificate.status == "valid"],
        "invalid": [certificate for certificate in all_certificates.certificates if certificate.status == "invalid"],
        "expired": [certificate for certificate in all_certificates.certificates if certificate.status == "expired"],
        "expiring": [certificate for certificate in all_certificates.certificates if certificate.status == "expiring"],
    })
    
    Example coming soon!
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Powerscale = Pulumi.Powerscale;
    
    return await Deployment.RunAsync(() => 
    {
        //Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
        //
        //Licensed under the Mozilla Public License Version 2.0 (the "License");
        //you may not use this file except in compliance with the License.
        //You may obtain a copy of the License at
        //
        //    http://mozilla.org/MPL/2.0/
        //
        //
        //Unless required by applicable law or agreed to in writing, software
        //distributed under the License is distributed on an "AS IS" BASIS,
        //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        //See the License for the specific language governing permissions and
        //limitations under the License.
        // PowerScale SyncIQ Certificate allows you to get a list of SyncIQ Peer Certificates or a peer certificate by its ID.
        // Returns a list of PowerScale SyncIQ Certificates
        var allCertificates = Powerscale.GetSynciqPeerCertificate.Invoke();
    
        // Returns a the PowerScale SyncIQ Certificate with given ID
        var oneCertificate = Powerscale.GetSynciqPeerCertificate.Invoke(new()
        {
            Id = "g23j9a1f83h12n5j4",
        });
    
        // Returns the PowerScale SyncIQ Certificate with given name
        var oneCertificateByName = Powerscale.GetSynciqPeerCertificate.Invoke(new()
        {
            Filter = new Powerscale.Inputs.GetSynciqPeerCertificateFilterInputArgs
            {
                Name = "tfaccTest",
            },
        });
    
        return new Dictionary<string, object?>
        {
            ["powerscaleSynciqAllCertificates"] = allCertificates.Apply(getSynciqPeerCertificateResult => getSynciqPeerCertificateResult.Certificates),
            ["certificateByID"] = oneCertificate.Apply(getSynciqPeerCertificateResult => getSynciqPeerCertificateResult.Certificates[0]),
            ["certificateByName"] = oneCertificateByName.Apply(getSynciqPeerCertificateResult => getSynciqPeerCertificateResult.Certificates[0]),
            ["certificatesByStatus"] = 
            {
                { "valid", .Where(certificate => certificate.Status == "valid").Select(certificate => 
                {
                    return certificate;
                }).ToList() },
                { "invalid", .Where(certificate => certificate.Status == "invalid").Select(certificate => 
                {
                    return certificate;
                }).ToList() },
                { "expired", .Where(certificate => certificate.Status == "expired").Select(certificate => 
                {
                    return certificate;
                }).ToList() },
                { "expiring", .Where(certificate => certificate.Status == "expiring").Select(certificate => 
                {
                    return certificate;
                }).ToList() },
            },
        };
    });
    
    Example coming soon!
    
    Example coming soon!
    

    Using getSynciqPeerCertificate

    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 getSynciqPeerCertificate(args: GetSynciqPeerCertificateArgs, opts?: InvokeOptions): Promise<GetSynciqPeerCertificateResult>
    function getSynciqPeerCertificateOutput(args: GetSynciqPeerCertificateOutputArgs, opts?: InvokeOptions): Output<GetSynciqPeerCertificateResult>
    def get_synciq_peer_certificate(filter: Optional[GetSynciqPeerCertificateFilter] = None,
                                    id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetSynciqPeerCertificateResult
    def get_synciq_peer_certificate_output(filter: pulumi.Input[Optional[GetSynciqPeerCertificateFilterArgs]] = None,
                                    id: pulumi.Input[Optional[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetSynciqPeerCertificateResult]
    func LookupSynciqPeerCertificate(ctx *Context, args *LookupSynciqPeerCertificateArgs, opts ...InvokeOption) (*LookupSynciqPeerCertificateResult, error)
    func LookupSynciqPeerCertificateOutput(ctx *Context, args *LookupSynciqPeerCertificateOutputArgs, opts ...InvokeOption) LookupSynciqPeerCertificateResultOutput

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

    public static class GetSynciqPeerCertificate 
    {
        public static Task<GetSynciqPeerCertificateResult> InvokeAsync(GetSynciqPeerCertificateArgs args, InvokeOptions? opts = null)
        public static Output<GetSynciqPeerCertificateResult> Invoke(GetSynciqPeerCertificateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSynciqPeerCertificateResult> getSynciqPeerCertificate(GetSynciqPeerCertificateArgs args, InvokeOptions options)
    public static Output<GetSynciqPeerCertificateResult> getSynciqPeerCertificate(GetSynciqPeerCertificateArgs args, InvokeOptions options)
    
    fn::invoke:
      function: powerscale:index/getSynciqPeerCertificate:getSynciqPeerCertificate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    Id string
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    Filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    Id string
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    id String
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    id string
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    id str
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    filter Property Map
    Filters for fetching SyncIQ Peer Certificate.
    id String
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.

    getSynciqPeerCertificate Result

    The following output properties are available:

    Certificates List<GetSynciqPeerCertificateCertificate>
    List of certificates fetched.
    Id string
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    Filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    Certificates []GetSynciqPeerCertificateCertificate
    List of certificates fetched.
    Id string
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    Filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    certificates List<GetSynciqPeerCertificateCertificate>
    List of certificates fetched.
    id String
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    certificates GetSynciqPeerCertificateCertificate[]
    List of certificates fetched.
    id string
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    certificates Sequence[GetSynciqPeerCertificateCertificate]
    List of certificates fetched.
    id str
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    filter GetSynciqPeerCertificateFilter
    Filters for fetching SyncIQ Peer Certificate.
    certificates List<Property Map>
    List of certificates fetched.
    id String
    ID of the SyncIQ Peer Certificate to be fetched. If not provided, all the certificates will be fetched.
    filter Property Map
    Filters for fetching SyncIQ Peer Certificate.

    Supporting Types

    GetSynciqPeerCertificateCertificate

    Description string
    Description field associated with a certificate provided for administrative convenience.
    Fingerprints List<GetSynciqPeerCertificateCertificateFingerprint>
    A list of zero or more certificate fingerprints which can be used for certificate identification.
    Id string
    Unique server certificate identifier.
    Issuer string
    Certificate issuer field extracted from the certificate.
    Name string
    Administrator specified name identifier.
    NotAfter double
    Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
    NotBefore double
    Certificate notBefore field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid before this timestamp.
    Status string
    Certificate validity status
    Subject string
    Certificate subject field extracted from the certificate.
    Description string
    Description field associated with a certificate provided for administrative convenience.
    Fingerprints []GetSynciqPeerCertificateCertificateFingerprint
    A list of zero or more certificate fingerprints which can be used for certificate identification.
    Id string
    Unique server certificate identifier.
    Issuer string
    Certificate issuer field extracted from the certificate.
    Name string
    Administrator specified name identifier.
    NotAfter float64
    Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
    NotBefore float64
    Certificate notBefore field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid before this timestamp.
    Status string
    Certificate validity status
    Subject string
    Certificate subject field extracted from the certificate.
    description String
    Description field associated with a certificate provided for administrative convenience.
    fingerprints List<GetSynciqPeerCertificateCertificateFingerprint>
    A list of zero or more certificate fingerprints which can be used for certificate identification.
    id String
    Unique server certificate identifier.
    issuer String
    Certificate issuer field extracted from the certificate.
    name String
    Administrator specified name identifier.
    notAfter Double
    Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
    notBefore Double
    Certificate notBefore field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid before this timestamp.
    status String
    Certificate validity status
    subject String
    Certificate subject field extracted from the certificate.
    description string
    Description field associated with a certificate provided for administrative convenience.
    fingerprints GetSynciqPeerCertificateCertificateFingerprint[]
    A list of zero or more certificate fingerprints which can be used for certificate identification.
    id string
    Unique server certificate identifier.
    issuer string
    Certificate issuer field extracted from the certificate.
    name string
    Administrator specified name identifier.
    notAfter number
    Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
    notBefore number
    Certificate notBefore field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid before this timestamp.
    status string
    Certificate validity status
    subject string
    Certificate subject field extracted from the certificate.
    description str
    Description field associated with a certificate provided for administrative convenience.
    fingerprints Sequence[GetSynciqPeerCertificateCertificateFingerprint]
    A list of zero or more certificate fingerprints which can be used for certificate identification.
    id str
    Unique server certificate identifier.
    issuer str
    Certificate issuer field extracted from the certificate.
    name str
    Administrator specified name identifier.
    not_after float
    Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
    not_before float
    Certificate notBefore field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid before this timestamp.
    status str
    Certificate validity status
    subject str
    Certificate subject field extracted from the certificate.
    description String
    Description field associated with a certificate provided for administrative convenience.
    fingerprints List<Property Map>
    A list of zero or more certificate fingerprints which can be used for certificate identification.
    id String
    Unique server certificate identifier.
    issuer String
    Certificate issuer field extracted from the certificate.
    name String
    Administrator specified name identifier.
    notAfter Number
    Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
    notBefore Number
    Certificate notBefore field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid before this timestamp.
    status String
    Certificate validity status
    subject String
    Certificate subject field extracted from the certificate.

    GetSynciqPeerCertificateCertificateFingerprint

    Type string
    Fingerprint hash algorithm
    Value string
    Fingerprint value
    Type string
    Fingerprint hash algorithm
    Value string
    Fingerprint value
    type String
    Fingerprint hash algorithm
    value String
    Fingerprint value
    type string
    Fingerprint hash algorithm
    value string
    Fingerprint value
    type str
    Fingerprint hash algorithm
    value str
    Fingerprint value
    type String
    Fingerprint hash algorithm
    value String
    Fingerprint value

    GetSynciqPeerCertificateFilter

    Name string
    Name of the SyncIQ Peer Certificate to be fetched.
    Name string
    Name of the SyncIQ Peer Certificate to be fetched.
    name String
    Name of the SyncIQ Peer Certificate to be fetched.
    name string
    Name of the SyncIQ Peer Certificate to be fetched.
    name str
    Name of the SyncIQ Peer Certificate to be fetched.
    name String
    Name of the SyncIQ Peer Certificate to be fetched.

    Package Details

    Repository
    powerscale dell/terraform-provider-powerscale
    License
    Notes
    This Pulumi package is based on the powerscale Terraform Provider.
    Viewing docs for powerscale 1.8.1
    published on Wednesday, Apr 1, 2026 by dell
      Try Pulumi Cloud free. Your team will thank you.