Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
published on Wednesday, Apr 1, 2026 by dell
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
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 dictionaryThe following arguments are supported:
- Filter
Get
Synciq Peer Certificate Filter - 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
Get
Synciq Peer Certificate Filter - 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
Get
Synciq Peer Certificate Filter - 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
Get
Synciq Peer Certificate Filter - 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
Get
Synciq Peer Certificate Filter - 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<Get
Synciq Peer Certificate Certificate> - 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
Get
Synciq Peer Certificate Filter - Filters for fetching SyncIQ Peer Certificate.
- Certificates
[]Get
Synciq Peer Certificate Certificate - 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
Get
Synciq Peer Certificate Filter - Filters for fetching SyncIQ Peer Certificate.
- certificates
List<Get
Synciq Peer Certificate Certificate> - 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
Get
Synciq Peer Certificate Filter - Filters for fetching SyncIQ Peer Certificate.
- certificates
Get
Synciq Peer Certificate Certificate[] - 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
Get
Synciq Peer Certificate Filter - Filters for fetching SyncIQ Peer Certificate.
- certificates
Sequence[Get
Synciq Peer Certificate Certificate] - 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
Get
Synciq Peer Certificate Filter - 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<Get
Synciq Peer Certificate Certificate Fingerprint> - 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.
- Not
After double - Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
- Not
Before 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
[]Get
Synciq Peer Certificate Certificate Fingerprint - 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.
- Not
After float64 - Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
- Not
Before 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<Get
Synciq Peer Certificate Certificate Fingerprint> - 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.
- not
After Double - Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
- not
Before 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
Get
Synciq Peer Certificate Certificate Fingerprint[] - 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.
- not
After number - Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
- not
Before 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[Get
Synciq Peer Certificate Certificate Fingerprint] - 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.
- not
After Number - Certificate notAfter field extracted from the certificate encoded as a UNIX epoch timestamp. The certificate is not valid after this timestamp.
- not
Before 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
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
powerscaleTerraform Provider.
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
published on Wednesday, Apr 1, 2026 by dell
