Class SslPolicy
Represents an SSL Policy resource. Use SSL policies to control SSL features, such as versions and cipher suites, that are offered by Application Load Balancers and proxy Network Load Balancers. For more information, read SSL policies overview.
Implements
Inherited Members
Namespace: Google.Apis.Compute.v1.Data
Assembly: Google.Apis.Compute.v1.dll
Syntax
public class SslPolicy : IDirectResponseSchema
Properties
CreationTimestamp
[Output Only] Creation timestamp in RFC3339 text format.
Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomFeatures
A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.
Declaration
[JsonProperty("customFeatures")]
public virtual IList<string> CustomFeatures { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Description
An optional description of this resource. Provide this property when you create the resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnabledFeatures
[Output Only] The list of features enabled in the SSL policy.
Declaration
[JsonProperty("enabledFeatures")]
public virtual IList<string> EnabledFeatures { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
Fingerprint
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy.
Declaration
[JsonProperty("fingerprint")]
public virtual string Fingerprint { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type | Description |
---|---|
ulong? |
Kind
[Output only] Type of the resource. Always compute#sslPolicyfor SSL policies.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
MinTlsVersion
The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2.
Declaration
[JsonProperty("minTlsVersion")]
public virtual string MinTlsVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name
must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?
which means the
first character must be a lowercase letter, and all following characters must be a dash, lowercase letter,
or digit, except the last character, which cannot be a dash.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Profile
Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field.
Declaration
[JsonProperty("profile")]
public virtual string Profile { get; set; }
Property Value
Type | Description |
---|---|
string |
Region
[Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies.
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type | Description |
---|---|
string |
SelfLink
[Output Only] Server-defined URL for the resource.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
Warnings
[Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages.
Declaration
[JsonProperty("warnings")]
public virtual IList<SslPolicy.WarningsData> Warnings { get; set; }
Property Value
Type | Description |
---|---|
IList<SslPolicy.WarningsData> |