public sealed class AccessConfig : IMessage<AccessConfig>, IEquatable<AccessConfig>, IDeepCloneable<AccessConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Backup and DR Service v1 API class AccessConfig.
An access configuration attached to an instance's network interface. Only one access config per instance is supported.
Implements
IMessageAccessConfig, IEquatableAccessConfig, IDeepCloneableAccessConfig, IBufferMessage, IMessageNamespace
Google.Cloud.BackupDR.V1Assembly
Google.Cloud.BackupDR.V1.dll
Constructors
AccessConfig()
public AccessConfig()
AccessConfig(AccessConfig)
public AccessConfig(AccessConfig other)
Parameter | |
---|---|
Name | Description |
other |
AccessConfig |
Properties
ExternalIp
public string ExternalIp { get; set; }
Optional. The external IP address of this access configuration.
Property Value | |
---|---|
Type | Description |
string |
ExternalIpv6
public string ExternalIpv6 { get; set; }
Optional. The external IPv6 address of this access configuration.
Property Value | |
---|---|
Type | Description |
string |
ExternalIpv6PrefixLength
public int ExternalIpv6PrefixLength { get; set; }
Optional. The prefix length of the external IPv6 range.
Property Value | |
---|---|
Type | Description |
int |
HasExternalIp
public bool HasExternalIp { get; }
Gets whether the "external_ip" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasExternalIpv6
public bool HasExternalIpv6 { get; }
Gets whether the "external_ipv6" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasExternalIpv6PrefixLength
public bool HasExternalIpv6PrefixLength { get; }
Gets whether the "external_ipv6_prefix_length" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasNetworkTier
public bool HasNetworkTier { get; }
Gets whether the "network_tier" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasPublicPtrDomainName
public bool HasPublicPtrDomainName { get; }
Gets whether the "public_ptr_domain_name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSetPublicPtr
public bool HasSetPublicPtr { get; }
Gets whether the "set_public_ptr" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasType
public bool HasType { get; }
Gets whether the "type" field is set
Property Value | |
---|---|
Type | Description |
bool |
Name
public string Name { get; set; }
Optional. The name of this access configuration.
Property Value | |
---|---|
Type | Description |
string |
NetworkTier
public AccessConfig.Types.NetworkTier NetworkTier { get; set; }
Optional. This signifies the networking tier used for configuring this access
Property Value | |
---|---|
Type | Description |
AccessConfigTypesNetworkTier |
PublicPtrDomainName
public string PublicPtrDomainName { get; set; }
Optional. The DNS domain name for the public PTR record.
Property Value | |
---|---|
Type | Description |
string |
SetPublicPtr
public bool SetPublicPtr { get; set; }
Optional. Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.
Property Value | |
---|---|
Type | Description |
bool |
Type
public AccessConfig.Types.AccessType Type { get; set; }
Optional. In accessConfigs (IPv4), the default and only option is ONE_TO_ONE_NAT. In ipv6AccessConfigs, the default and only option is DIRECT_IPV6.
Property Value | |
---|---|
Type | Description |
AccessConfigTypesAccessType |