Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.networksecurity/v1.getClientTlsPolicy
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single ClientTlsPolicy.
Using getClientTlsPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getClientTlsPolicy(args: GetClientTlsPolicyArgs, opts?: InvokeOptions): Promise<GetClientTlsPolicyResult>
function getClientTlsPolicyOutput(args: GetClientTlsPolicyOutputArgs, opts?: InvokeOptions): Output<GetClientTlsPolicyResult>
def get_client_tls_policy(client_tls_policy_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetClientTlsPolicyResult
def get_client_tls_policy_output(client_tls_policy_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetClientTlsPolicyResult]
func LookupClientTlsPolicy(ctx *Context, args *LookupClientTlsPolicyArgs, opts ...InvokeOption) (*LookupClientTlsPolicyResult, error)
func LookupClientTlsPolicyOutput(ctx *Context, args *LookupClientTlsPolicyOutputArgs, opts ...InvokeOption) LookupClientTlsPolicyResultOutput
> Note: This function is named LookupClientTlsPolicy
in the Go SDK.
public static class GetClientTlsPolicy
{
public static Task<GetClientTlsPolicyResult> InvokeAsync(GetClientTlsPolicyArgs args, InvokeOptions? opts = null)
public static Output<GetClientTlsPolicyResult> Invoke(GetClientTlsPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetClientTlsPolicyResult> getClientTlsPolicy(GetClientTlsPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:networksecurity/v1:getClientTlsPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Client
Tls stringPolicy Id - Location string
- Project string
- Client
Tls stringPolicy Id - Location string
- Project string
- client
Tls StringPolicy Id - location String
- project String
- client
Tls stringPolicy Id - location string
- project string
- client_
tls_ strpolicy_ id - location str
- project str
- client
Tls StringPolicy Id - location String
- project String
getClientTlsPolicy Result
The following output properties are available:
- Client
Certificate Pulumi.Google Native. Network Security. V1. Outputs. Google Cloud Networksecurity V1Certificate Provider Response - Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
- Create
Time string - The timestamp when the resource was created.
- Description string
- Optional. Free-text description of the resource.
- Labels Dictionary<string, string>
- Optional. Set of label tags associated with the resource.
- Name string
- Name of the ClientTlsPolicy resource. It matches the pattern
projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
- Server
Validation List<Pulumi.Ca Google Native. Network Security. V1. Outputs. Validation CAResponse> - Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
- Sni string
- Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".
- Update
Time string - The timestamp when the resource was updated.
- Client
Certificate GoogleCloud Networksecurity V1Certificate Provider Response - Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
- Create
Time string - The timestamp when the resource was created.
- Description string
- Optional. Free-text description of the resource.
- Labels map[string]string
- Optional. Set of label tags associated with the resource.
- Name string
- Name of the ClientTlsPolicy resource. It matches the pattern
projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
- Server
Validation []ValidationCa CAResponse - Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
- Sni string
- Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".
- Update
Time string - The timestamp when the resource was updated.
- client
Certificate GoogleCloud Networksecurity V1Certificate Provider Response - Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
- create
Time String - The timestamp when the resource was created.
- description String
- Optional. Free-text description of the resource.
- labels Map<String,String>
- Optional. Set of label tags associated with the resource.
- name String
- Name of the ClientTlsPolicy resource. It matches the pattern
projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
- server
Validation List<ValidationCa CAResponse> - Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
- sni String
- Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".
- update
Time String - The timestamp when the resource was updated.
- client
Certificate GoogleCloud Networksecurity V1Certificate Provider Response - Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
- create
Time string - The timestamp when the resource was created.
- description string
- Optional. Free-text description of the resource.
- labels {[key: string]: string}
- Optional. Set of label tags associated with the resource.
- name string
- Name of the ClientTlsPolicy resource. It matches the pattern
projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
- server
Validation ValidationCa CAResponse[] - Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
- sni string
- Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".
- update
Time string - The timestamp when the resource was updated.
- client_
certificate GoogleCloud Networksecurity V1Certificate Provider Response - Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
- create_
time str - The timestamp when the resource was created.
- description str
- Optional. Free-text description of the resource.
- labels Mapping[str, str]
- Optional. Set of label tags associated with the resource.
- name str
- Name of the ClientTlsPolicy resource. It matches the pattern
projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
- server_
validation_ Sequence[Validationca CAResponse] - Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
- sni str
- Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".
- update_
time str - The timestamp when the resource was updated.
- client
Certificate Property Map - Optional. Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
- create
Time String - The timestamp when the resource was created.
- description String
- Optional. Free-text description of the resource.
- labels Map<String>
- Optional. Set of label tags associated with the resource.
- name String
- Name of the ClientTlsPolicy resource. It matches the pattern
projects/*/locations/{location}/clientTlsPolicies/{client_tls_policy}
- server
Validation List<Property Map>Ca - Optional. Defines the mechanism to obtain the Certificate Authority certificate to validate the server certificate. If empty, client does not validate the server certificate.
- sni String
- Optional. Server Name Indication string to present to the server during TLS handshake. E.g: "secure.example.com".
- update
Time String - The timestamp when the resource was updated.
Supporting Types
CertificateProviderInstanceResponse
- Plugin
Instance string - Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.
- Plugin
Instance string - Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.
- plugin
Instance String - Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.
- plugin
Instance string - Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.
- plugin_
instance str - Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.
- plugin
Instance String - Plugin instance name, used to locate and load CertificateProvider instance configuration. Set to "google_cloud_private_spiffe" to use Certificate Authority Service certificate provider instance.
GoogleCloudNetworksecurityV1CertificateProviderResponse
- Certificate
Provider Pulumi.Instance Google Native. Network Security. V1. Inputs. Certificate Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- Grpc
Endpoint Pulumi.Google Native. Network Security. V1. Inputs. Google Cloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the cert and private key.
- Certificate
Provider CertificateInstance Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- Grpc
Endpoint GoogleCloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the cert and private key.
- certificate
Provider CertificateInstance Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- grpc
Endpoint GoogleCloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the cert and private key.
- certificate
Provider CertificateInstance Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- grpc
Endpoint GoogleCloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the cert and private key.
- certificate_
provider_ Certificateinstance Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- grpc_
endpoint GoogleCloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the cert and private key.
- certificate
Provider Property MapInstance - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- grpc
Endpoint Property Map - gRPC specific configuration to access the gRPC server to obtain the cert and private key.
GoogleCloudNetworksecurityV1GrpcEndpointResponse
- Target
Uri string - The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".
- Target
Uri string - The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".
- target
Uri String - The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".
- target
Uri string - The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".
- target_
uri str - The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".
- target
Uri String - The target URI of the gRPC endpoint. Only UDS path is supported, and should start with "unix:".
ValidationCAResponse
- Certificate
Provider Pulumi.Instance Google Native. Network Security. V1. Inputs. Certificate Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- Grpc
Endpoint Pulumi.Google Native. Network Security. V1. Inputs. Google Cloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the CA certificate.
- Certificate
Provider CertificateInstance Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- Grpc
Endpoint GoogleCloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the CA certificate.
- certificate
Provider CertificateInstance Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- grpc
Endpoint GoogleCloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the CA certificate.
- certificate
Provider CertificateInstance Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- grpc
Endpoint GoogleCloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the CA certificate.
- certificate_
provider_ Certificateinstance Provider Instance Response - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- grpc_
endpoint GoogleCloud Networksecurity V1Grpc Endpoint Response - gRPC specific configuration to access the gRPC server to obtain the CA certificate.
- certificate
Provider Property MapInstance - The certificate provider instance specification that will be passed to the data plane, which will be used to load necessary credential information.
- grpc
Endpoint Property Map - gRPC specific configuration to access the gRPC server to obtain the CA certificate.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi