Show / Hide Table of Contents

Class AutomatedDnsRecord

Represents a DNS record managed by the AutomatedDnsRecord API.

Inheritance
object
AutomatedDnsRecord
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Networkconnectivity.v1.Data
Assembly: Google.Apis.Networkconnectivity.v1.dll
Syntax
public class AutomatedDnsRecord : IDirectResponseSchema

Properties

ConsumerNetwork

Required. Immutable. The full resource path of the consumer network this AutomatedDnsRecord is visible to. Example: "projects/{projectNumOrId}/global/networks/{networkName}".

Declaration
[JsonProperty("consumerNetwork")]
public virtual string ConsumerNetwork { get; set; }
Property Value
Type Description
string

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The timestamp of when the record was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

CreationMode

Required. Immutable. The creation mode of the AutomatedDnsRecord. This field is immutable.

Declaration
[JsonProperty("creationMode")]
public virtual string CreationMode { get; set; }
Property Value
Type Description
string

CurrentConfig

Output only. The current settings for this record as identified by (hostname, dns_suffix, type) in Cloud DNS. The current_config field reflects the actual settings of the DNS record in Cloud DNS based on the hostname, dns_suffix, and type. * Absence: If current_config is unset, it means a DNS record with the specified hostname, dns_suffix, and type does not currently exist in Cloud DNS. This could be because the AutomatedDnsRecord has never been successfully programmed, has been deleted, or there was an error during provisioning. * Presence: If current_config is present: * It can be different from the original_config. This can happen due to several reasons: * Out-of-band changes: A consumer might have directly modified the DNS record in Cloud DNS. * OVERWRITE operations from other AutomatedDnsRecord resources: Another AutomatedDnsRecord with the same identifying attributes (hostname, dns_suffix, type) but a different configuration might have overwritten the record using insert_mode: OVERWRITE. Therefore, the presence of current_config indicates that a corresponding DNS record exists, but its values (TTL and RRData) might not always align with the original_config of the AutomatedDnsRecord.

Declaration
[JsonProperty("currentConfig")]
public virtual Config CurrentConfig { get; set; }
Property Value
Type Description
Config

Description

A human-readable description of the record.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

DnsSuffix

Required. Immutable. The dns suffix for this record to use in longest-suffix matching. Requires a trailing dot. Example: "example.com."

Declaration
[JsonProperty("dnsSuffix")]
public virtual string DnsSuffix { get; set; }
Property Value
Type Description
string

DnsZone

Output only. DnsZone is the DNS zone managed by automation. Format: projects/{project}/managedZones/{managedZone}

Declaration
[JsonProperty("dnsZone")]
public virtual string DnsZone { get; set; }
Property Value
Type Description
string

ETag

Optional. The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
string

Fqdn

Output only. The FQDN created by combining the hostname and dns suffix. Should include a trailing dot.

Declaration
[JsonProperty("fqdn")]
public virtual string Fqdn { get; set; }
Property Value
Type Description
string

Hostname

Required. Immutable. The hostname for the DNS record. This value will be prepended to the dns_suffix to create the full domain name (FQDN) for the record. For example, if hostname is "corp.db" and dns_suffix is "example.com.", the resulting record will be "corp.db.example.com.". Should not include a trailing dot.

Declaration
[JsonProperty("hostname")]
public virtual string Hostname { get; set; }
Property Value
Type Description
string

Labels

Optional. User-defined labels.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

Name

Immutable. Identifier. The name of an AutomatedDnsRecord. Format: projects/{project}/locations/{location}/automatedDnsRecords/{automated_dns_record} See: https://google.aip.dev/122#fields-representing-resource-names

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

OriginalConfig

Required. Immutable. The configuration settings used to create this DNS record. These settings define the desired state of the record as specified by the producer.

Declaration
[JsonProperty("originalConfig")]
public virtual Config OriginalConfig { get; set; }
Property Value
Type Description
Config

RecordType

Required. Immutable. The identifier of a supported record type.

Declaration
[JsonProperty("recordType")]
public virtual string RecordType { get; set; }
Property Value
Type Description
string

ServiceClass

Required. Immutable. The service class identifier which authorizes this AutomatedDnsRecord. Any API calls targeting this AutomatedDnsRecord must have networkconnectivity.serviceclasses.use IAM permission for the provided service class.

Declaration
[JsonProperty("serviceClass")]
public virtual string ServiceClass { get; set; }
Property Value
Type Description
string

State

Output only. The current operational state of this AutomatedDnsRecord as managed by Service Connectivity Automation.

Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type Description
string

StateDetails

Output only. A human-readable message providing more context about the current state, such as an error description if the state is FAILED_DEPROGRAMMING.

Declaration
[JsonProperty("stateDetails")]
public virtual string StateDetails { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The timestamp of when the record was updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX