@pulumi/scm
Version:
A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1
118 lines (117 loc) • 3.45 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "./types/output";
/**
* CertificateProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up a single certificate profile object by its ID.
* // The ID used here is from the API response log you provided.
* const scmCertificateProfileDs = scm.getCertificateProfile({
* id: "8e64859b-eba9-4e25-9005-754c90c2b02d",
* });
* export const exampleCpDsResult = scmCertificateProfileDs;
* ```
*/
export declare function getCertificateProfile(args: GetCertificateProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetCertificateProfileResult>;
/**
* A collection of arguments for invoking getCertificateProfile.
*/
export interface GetCertificateProfileArgs {
/**
* The UUID of the certificate profile
*/
id: string;
/**
* The name of the certificate profile
*/
name?: string;
}
/**
* A collection of values returned by getCertificateProfile.
*/
export interface GetCertificateProfileResult {
/**
* Block sessions with expired certificates?
*/
readonly blockExpiredCert: boolean;
/**
* Block session if certificate status cannot be retrieved within timeout?
*/
readonly blockTimeoutCert: boolean;
/**
* Block session if the certificate was not issued to the authenticating device?
*/
readonly blockUnauthenticatedCert: boolean;
/**
* Block session if certificate status is unknown?
*/
readonly blockUnknownCert: boolean;
/**
* An ordered list of CA certificates
*/
readonly caCertificates: outputs.GetCertificateProfileCaCertificate[];
/**
* Certificate status timeout
*/
readonly certStatusTimeout: string;
/**
* CRL receive timeout (seconds)
*/
readonly crlReceiveTimeout: string;
/**
* The device in which the resource is defined
*/
readonly device: string;
readonly domain: string;
readonly folder: string;
/**
* The UUID of the certificate profile
*/
readonly id: string;
/**
* The name of the certificate profile
*/
readonly name: string;
readonly ocspReceiveTimeout: string;
readonly snippet: string;
readonly tfid: string;
readonly useCrl: boolean;
readonly useOcsp: boolean;
readonly usernameField: outputs.GetCertificateProfileUsernameField;
}
/**
* CertificateProfile data source
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scm from "@pulumi/scm";
*
* // Look up a single certificate profile object by its ID.
* // The ID used here is from the API response log you provided.
* const scmCertificateProfileDs = scm.getCertificateProfile({
* id: "8e64859b-eba9-4e25-9005-754c90c2b02d",
* });
* export const exampleCpDsResult = scmCertificateProfileDs;
* ```
*/
export declare function getCertificateProfileOutput(args: GetCertificateProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCertificateProfileResult>;
/**
* A collection of arguments for invoking getCertificateProfile.
*/
export interface GetCertificateProfileOutputArgs {
/**
* The UUID of the certificate profile
*/
id: pulumi.Input<string>;
/**
* The name of the certificate profile
*/
name?: pulumi.Input<string>;
}