Class IpConfiguration
IP Management configuration.
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class IpConfiguration : IDirectResponseSchema
Properties
AllocatedIpRange
The name of the allocated ip range for the private ip Cloud SQL instance. For example:
"google-managed-services-default". If set, the instance ip will be created in the allocated range. The range
name must comply with RFC 1035. Specifically, the name must be 1-63
characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?.
Declaration
[JsonProperty("allocatedIpRange")]
public virtual string AllocatedIpRange { get; set; }
Property Value
Type | Description |
---|---|
string |
AuthorizedNetworks
The list of external networks that are allowed to connect to the instance using the IP. In 'CIDR' notation,
also known as 'slash' notation (for example: 157.197.200.0/24
).
Declaration
[JsonProperty("authorizedNetworks")]
public virtual IList<AclEntry> AuthorizedNetworks { get; set; }
Property Value
Type | Description |
---|---|
IList<AclEntry> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnablePrivatePathForGoogleCloudServices
Controls connectivity to private IP instances from Google services, such as BigQuery.
Declaration
[JsonProperty("enablePrivatePathForGoogleCloudServices")]
public virtual bool? EnablePrivatePathForGoogleCloudServices { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Ipv4Enabled
Whether the instance is assigned a public IP address or not.
Declaration
[JsonProperty("ipv4Enabled")]
public virtual bool? Ipv4Enabled { get; set; }
Property Value
Type | Description |
---|---|
bool? |
PrivateNetwork
The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For
example, /projects/myProject/global/networks/default
. This setting can be updated, but it cannot be
removed after it is set.
Declaration
[JsonProperty("privateNetwork")]
public virtual string PrivateNetwork { get; set; }
Property Value
Type | Description |
---|---|
string |
PscConfig
PSC settings for this instance.
Declaration
[JsonProperty("pscConfig")]
public virtual PscConfig PscConfig { get; set; }
Property Value
Type | Description |
---|---|
PscConfig |
RequireSsl
Use ssl_mode
instead. Whether SSL/TLS connections over IP are enforced. If set to false, then allow both
non-SSL/non-TLS and SSL/TLS connections. For SSL/TLS connections, the client certificate won't be verified.
If set to true, then only allow connections encrypted with SSL/TLS and with valid client certificates. If
you want to enforce SSL/TLS without enforcing the requirement for valid client certificates, then use the
ssl_mode
flag instead of the legacy require_ssl
flag.
Declaration
[JsonProperty("requireSsl")]
public virtual bool? RequireSsl { get; set; }
Property Value
Type | Description |
---|---|
bool? |
ServerCaMode
Specify what type of CA is used for the server certificate.
Declaration
[JsonProperty("serverCaMode")]
public virtual string ServerCaMode { get; set; }
Property Value
Type | Description |
---|---|
string |
SslMode
Specify how SSL/TLS is enforced in database connections. If you must use the require_ssl
flag for backward
compatibility, then only the following value pairs are valid: For PostgreSQL and MySQL: *
ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED
and require_ssl=false
* ssl_mode=ENCRYPTED_ONLY
and
require_ssl=false
* ssl_mode=TRUSTED_CLIENT_CERTIFICATE_REQUIRED
and require_ssl=true
For SQL Server:
ssl_mode=ALLOW_UNENCRYPTED_AND_ENCRYPTED
andrequire_ssl=false
*ssl_mode=ENCRYPTED_ONLY
andrequire_ssl=true
The value ofssl_mode
has priority over the value ofrequire_ssl
. For example, for the pairssl_mode=ENCRYPTED_ONLY
andrequire_ssl=false
,ssl_mode=ENCRYPTED_ONLY
means accept only SSL connections, whilerequire_ssl=false
means accept both non-SSL and SSL connections. In this case, MySQL and PostgreSQL databases respectssl_mode
and accepts only SSL connections.
Declaration
[JsonProperty("sslMode")]
public virtual string SslMode { get; set; }
Property Value
Type | Description |
---|---|
string |