Skip to main content

managed_zone_operations

Creates, updates, deletes, gets or lists a managed_zone_operations resource.

Overview

Namemanaged_zone_operations
TypeResource
Idgoogle.dns.managed_zone_operations

Fields

NameDatatypeDescription
idstringUnique identifier for the resource. This is the client_operation_id if the client specified it when the mutation was initiated, otherwise, it is generated by the server. The name must be 1-63 characters long and match the regular expression [-a-z0-9]? (output only)
dnsKeyContextobject
kindstring
startTimestringThe time that this operation was started by the server. This is in RFC3339 text format (output only).
statusstringStatus of the operation. Can be one of the following: "PENDING" or "DONE" (output only). A status of "DONE" means that the request to update the authoritative servers has been sent, but the servers might not be updated yet.
typestringType of the operation. Operations include insert, update, and delete (output only).
userstringUser who requested the operation, for example: user@example.com. cloud-dns-system for operations automatically done by the system. (output only)
zoneContextobject

Methods

NameAccessible byRequired ParamsDescription
getSELECTmanagedZone, operation, projectFetches the representation of an existing Operation.
listSELECTmanagedZone, projectEnumerates Operations for the given ManagedZone.

SELECT examples

Enumerates Operations for the given ManagedZone.

SELECT
id,
dnsKeyContext,
kind,
startTime,
status,
type,
user,
zoneContext
FROM google.dns.managed_zone_operations
WHERE managedZone = '{{ managedZone }}'
AND project = '{{ project }}';