ServerTlsPolicyArgs class
The set of arguments for ServerTlsPolicy. The set of arguments for ServerTlsPolicy.
Constructors
-
ServerTlsPolicyArgs({Input<
bool> ? allowOpen, Input<String> ? description, Input<Map< ? labels, Input<String, String> >String> ? location, Input<MTLSPolicy> ? mtlsPolicy, Input<String> ? name, Input<String> ? project, Input<GoogleCloudNetworksecurityV1CertificateProvider> ? serverCertificate, required Input<String> serverTlsPolicyId}) -
Creates a new ServerTlsPolicyArgs.
allowOpenThis field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, ifallow_openandmtls_policyare set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.descriptionFree-text description of the resource.labelsSet of label tags associated with the resource.locationOptional.mtlsPolicyThis field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. Ifallow_openandmtls_policyare set, server allows both plain text and mTLS connections.nameName of the ServerTlsPolicy resource. It matches the patternprojects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}projectOptional.serverCertificateOptional if policy is to be used with Traffic Director. For external HTTPS load balancer must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined withallow_openas a permissive mode that allows both plain text and TLS is not supported.serverTlsPolicyIdRequired. Short name of the ServerTlsPolicy 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. "server_mtls_policy".const -
ServerTlsPolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
allowOpen
→ Input<
bool> ? -
This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. Determines if server allows plaintext connections. If set to true, server allows plain text connections. By default, it is set to false. This setting is not exclusive of other encryption modes. For example, if
allow_openandmtls_policyare set, server allows both plain text and mTLS connections. See documentation of other encryption modes to confirm compatibility. Consider using it if you wish to upgrade in place your deployment to TLS while having mixed TLS and non-TLS traffic reaching port :80.final -
description
→ Input<
String> ? -
Free-text description of the resource.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Input<
Map< ?String, String> > -
Set of label tags associated with the resource.
final
-
location
→ Input<
String> ? -
final
-
mtlsPolicy
→ Input<
MTLSPolicy> ? -
This field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. Defines a mechanism to provision peer validation certificates for peer to peer authentication (Mutual TLS - mTLS). If not specified, client certificate will not be requested. The connection is treated as TLS and not mTLS. If
allow_openandmtls_policyare set, server allows both plain text and mTLS connections.final -
name
→ Input<
String> ? -
Name of the ServerTlsPolicy resource. It matches the pattern
projects/*/locations/{location}/serverTlsPolicies/{server_tls_policy}final -
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serverCertificate
→ Input<
GoogleCloudNetworksecurityV1CertificateProvider> ? -
Optional if policy is to be used with Traffic Director. For external HTTPS load balancer must be empty. Defines a mechanism to provision server identity (public and private keys). Cannot be combined with
allow_openas a permissive mode that allows both plain text and TLS is not supported.final -
serverTlsPolicyId
→ Input<
String> -
Required. Short name of the ServerTlsPolicy 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. "server_mtls_policy".
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited