@pulumi/f5bigip
Version:
A Pulumi package for creating and managing F5 BigIP resources.
80 lines (79 loc) • 2.24 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source (`f5bigip.ssl.Certificate`) to get the ssl-certificate details available on BIG-IP
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as f5bigip from "@pulumi/f5bigip";
*
* const test = f5bigip.ssl.getCertificate({
* name: "terraform_ssl_certificate",
* partition: "Common",
* });
* export const bigipSslCertificateName = test.then(test => test.name);
* ```
*/
export declare function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise<GetCertificateResult>;
/**
* A collection of arguments for invoking getCertificate.
*/
export interface GetCertificateArgs {
/**
* Name of the ssl_certificate
*/
name: string;
/**
* partition of the ltm ssl_certificate
*/
partition: string;
}
/**
* A collection of values returned by getCertificate.
*/
export interface GetCertificateResult {
readonly certificate: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Name of sslCertificate configured on bigip with full path
*/
readonly name: string;
/**
* Bigip partition in which ssl-certificate is configured
*/
readonly partition: string;
}
/**
* Use this data source (`f5bigip.ssl.Certificate`) to get the ssl-certificate details available on BIG-IP
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as f5bigip from "@pulumi/f5bigip";
*
* const test = f5bigip.ssl.getCertificate({
* name: "terraform_ssl_certificate",
* partition: "Common",
* });
* export const bigipSslCertificateName = test.then(test => test.name);
* ```
*/
export declare function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCertificateResult>;
/**
* A collection of arguments for invoking getCertificate.
*/
export interface GetCertificateOutputArgs {
/**
* Name of the ssl_certificate
*/
name: pulumi.Input<string>;
/**
* partition of the ltm ssl_certificate
*/
partition: pulumi.Input<string>;
}