ServerTlsPolicyArgs class

The set of arguments for ServerTlsPolicy. The set of arguments for ServerTlsPolicy.

Constructors

ServerTlsPolicyArgs({Input<bool?>? allowOpen, Input<String?>? deletionPolicy, Input<String?>? description, Input<Map<String, String>?>? labels, Input<String?>? location, Input<ServerTlsPolicyMtlsPolicy?>? mtlsPolicy, Input<String?>? name, Input<String?>? project, Input<ServerTlsPolicyServerCertificate?>? serverCertificate})
Creates a new ServerTlsPolicyArgs. allowOpen This field applies only for Traffic Director policies. It is must be set to false for external HTTPS load balancer policies. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description A free-text description of the resource. Max length 1024 characters. labels Set of label tags associated with the ServerTlsPolicy resource. location The location of the server tls policy. mtlsPolicy This field is required if the policy is used with external HTTPS load balancers. This field can be empty for Traffic Director. name Name of the ServerTlsPolicy resource. project The ID of the project in which the resource belongs. serverCertificate Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS.
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 allowOpen and mtlsPolicy are 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
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
A free-text description of the resource. Max length 1024 characters.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>?>?
Set of label tags associated with the ServerTlsPolicy resource. Note: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field effectiveLabels for all of the labels present on the resource.
final
location → Input<String?>?
The location of the server tls policy. The default value is global.
final
mtlsPolicy → Input<ServerTlsPolicyMtlsPolicy?>?
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 allowOpen and mtlsPolicy are set, server allows both plain text and mTLS connections. Structure is documented below.
final
name → Input<String?>?
Name of the ServerTlsPolicy resource.
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverCertificate → Input<ServerTlsPolicyServerCertificate?>?
Defines a mechanism to provision client identity (public and private keys) for peer to peer authentication. The presence of this dictates mTLS. Structure is documented below.
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