UNPKG

@pulumi/scm

Version:

A Pulumi package for managing resources on Strata Cloud Manager.. Based on terraform-provider-scm: version v0.2.1

172 lines (171 loc) 5.2 kB
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 device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: string; /** * The UUID of the certificate profile */ id: string; /** * The name of the certificate profile */ name?: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: 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 * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly device: string; /** * User domain */ readonly domain: string; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly folder: string; /** * The UUID of the certificate profile */ readonly id: string; /** * The name of the certificate profile */ readonly name: string; /** * OCSP receive timeout (seconds) */ readonly ocspReceiveTimeout: string; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ readonly snippet: string; readonly tfid: string; /** * Use CRL? */ readonly useCrl: boolean; /** * Use OCSP? */ readonly useOcsp: boolean; /** * Certificate username field */ 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 device in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ device?: pulumi.Input<string>; /** * The folder in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ folder?: pulumi.Input<string>; /** * The UUID of the certificate profile */ id: pulumi.Input<string>; /** * The name of the certificate profile */ name?: pulumi.Input<string>; /** * The snippet in which the resource is defined * > ℹ️ **Note:** You must specify exactly one of `device`, `folder`, and `snippet`. */ snippet?: pulumi.Input<string>; }