import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets details of a single ClientTlsPolicy. */ export declare function getClientTlsPolicy(args: GetClientTlsPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetClientTlsPolicyArgs { clientTlsPolicyId: string; location: string; project?: string; } export interface GetClientTlsPolicyResult { /** * Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS. */ readonly clientCertificate: outputs.networksecurity.v1.GoogleCloudNetworksecurityV1CertificateProviderResponse; /** * The timestamp when the resource was created. */ readonly createTime: string; /** * Optional. Free-text description of the resource. */ readonly description: string; /** * Optional. Set of label tags associated with the resource. */ readonly labels: { [key: string]: string; }; /** * Name of the ClientTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}` */ readonly name: string; /** * Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate. */ readonly serverValidationCa: outputs.networksecurity.v1.ValidationCAResponse[]; /** * Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com". */ readonly sni: string; /** * The timestamp when the resource was updated. */ readonly updateTime: string; } /** * Gets details of a single ClientTlsPolicy. */ export declare function getClientTlsPolicyOutput(args: GetClientTlsPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetClientTlsPolicyOutputArgs { clientTlsPolicyId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }