Skip to main content

dns_private_views

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

Overview

Namedns_private_views
TypeResource
Idazure_isv.oracledatabase.dns_private_views

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.
displayNamestringThe display name of the view resource. Required.
isProtectedbooleanA Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed. Required.
lifecycleStatestringViews lifecycleState. Required. Known values are: "Active", "Deleted", "Deleting", and "Updating". (Active, Deleted, Deleting, Updating)
ocidstringThe OCID of the view. Required.
provisioningStatestringAzure resource provisioning state. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled)
selfstringThe canonical absolute URL of the resource. Required.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
timeCreatedstring (date-time)views timeCreated. Required.
timeUpdatedstring (date-time)views timeCreated. Required.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectlocation, dnsprivateviewocid, subscription_idGet a DnsPrivateView.
list_by_locationselectlocation, subscription_idList DnsPrivateView 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
dnsprivateviewocidstringDnsPrivateView OCID. Required.
locationstringThe name of the Azure region. Required.
subscription_idstring

SELECT examples

Get a DnsPrivateView.

SELECT
id,
name,
displayName,
isProtected,
lifecycleState,
ocid,
provisioningState,
self,
systemData,
timeCreated,
timeUpdated,
type
FROM azure_isv.oracledatabase.dns_private_views
WHERE location = '{{ location }}' -- required
AND dnsprivateviewocid = '{{ dnsprivateviewocid }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;