Skip to main content

dns_private_zones

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

Overview

Namedns_private_zones
TypeResource
Idazure_isv.oracledatabase.dns_private_zones

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
isProtectedbooleanA Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed. Required.
lifecycleStatestringZones lifecycleState. Required. Known values are: "Active", "Creating", "Deleted", "Deleting", and "Updating". (Active, Creating, Deleted, Deleting, Updating)
ocidstringThe OCID of the Zone. Required.
provisioningStatestringAzure resource provisioning state. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled)
selfstringThe canonical absolute URL of the resource. Required.
serialintegerThe current serial of the zone. As seen in the zone's SOA record. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
timeCreatedstring (date-time)Zones timeCreated. Required.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
versionstringVersion is the never-repeating, totally-orderable, version of the zone, from which the serial field of the zone's SOA record is derived. Required.
viewIdstringThe OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view.
zoneTypestringThe type of the zone. Must be either PRIMARY or SECONDARY. SECONDARY is only supported for GLOBAL zones. Required. Known values are: "Primary" and "Secondary". (Primary, Secondary)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, dnsprivatezonename, subscription_idGet a DnsPrivateZone.
list_by_locationselectlocation, subscription_idList DnsPrivateZone resources by SubscriptionLocationResource.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
dnsprivatezonenamestringDnsPrivateZone name. Required.
locationstringThe name of the Azure region. Required.
subscription_idstring

SELECT examples

Get a DnsPrivateZone.

SELECT
id,
name,
isProtected,
lifecycleState,
ocid,
provisioningState,
self,
serial,
systemData,
timeCreated,
type,
version,
viewId,
zoneType
FROM azure_isv.oracledatabase.dns_private_zones
WHERE location = '{{ location }}' -- required
AND dnsprivatezonename = '{{ dnsprivatezonename }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;