import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new ClientTlsPolicy in a given project and location. */ export declare class ClientTlsPolicy extends pulumi.CustomResource { /** * Get an existing ClientTlsPolicy resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): ClientTlsPolicy; /** * Returns true if the given object is an instance of ClientTlsPolicy. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ClientTlsPolicy; /** * 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: pulumi.Output; /** * Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy". */ readonly clientTlsPolicyId: pulumi.Output; /** * The timestamp when the resource was created. */ readonly createTime: pulumi.Output; /** * Optional. Free-text description of the resource. */ readonly description: pulumi.Output; /** * Optional. Set of label tags associated with the resource. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Name of the ClientTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}` */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * 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: pulumi.Output; /** * Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com". */ readonly sni: pulumi.Output; /** * The timestamp when the resource was updated. */ readonly updateTime: pulumi.Output; /** * Create a ClientTlsPolicy resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ClientTlsPolicyArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a ClientTlsPolicy resource. */ export interface ClientTlsPolicyArgs { /** * Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS. */ clientCertificate?: pulumi.Input; /** * Required. Short name of the ClientTlsPolicy resource to be created. This value should be 1-63 characters long, containing only letters, numbers, hyphens, and underscores, and should not start with a number. E.g. "client_mtls_policy". */ clientTlsPolicyId: pulumi.Input; /** * Optional. Free-text description of the resource. */ description?: pulumi.Input; /** * Optional. Set of label tags associated with the resource. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Name of the ClientTlsPolicy resource. It matches the pattern `projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}` */ name?: pulumi.Input; project?: pulumi.Input; /** * Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate. */ serverValidationCa?: pulumi.Input[]>; /** * Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com". */ sni?: pulumi.Input; }