dns_private_views
Creates, updates, deletes, gets or lists a dns_private_views resource.
Overview
| Name | dns_private_views |
| Type | Resource |
| Id | azure_isv.oracledatabase.dns_private_views |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_location
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
displayName | string | The display name of the view resource. Required. |
isProtected | boolean | A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed. Required. |
lifecycleState | string | Views lifecycleState. Required. Known values are: "Active", "Deleted", "Deleting", and "Updating". (Active, Deleted, Deleting, Updating) |
ocid | string | The OCID of the view. Required. |
provisioningState | string | Azure resource provisioning state. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled) |
self | string | The canonical absolute URL of the resource. Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
timeCreated | string (date-time) | views timeCreated. Required. |
timeUpdated | string (date-time) | views timeCreated. Required. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
displayName | string | The display name of the view resource. Required. |
isProtected | boolean | A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed. Required. |
lifecycleState | string | Views lifecycleState. Required. Known values are: "Active", "Deleted", "Deleting", and "Updating". (Active, Deleted, Deleting, Updating) |
ocid | string | The OCID of the view. Required. |
provisioningState | string | Azure resource provisioning state. Known values are: "Succeeded", "Failed", and "Canceled". (Succeeded, Failed, Canceled) |
self | string | The canonical absolute URL of the resource. Required. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
timeCreated | string (date-time) | views timeCreated. Required. |
timeUpdated | string (date-time) | views timeCreated. Required. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | location, dnsprivateviewocid, subscription_id | Get a DnsPrivateView. | |
list_by_location | select | location, subscription_id | List 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.
| Name | Datatype | Description |
|---|---|---|
dnsprivateviewocid | string | DnsPrivateView OCID. Required. |
location | string | The name of the Azure region. Required. |
subscription_id | string |
SELECT examples
- get
- list_by_location
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
;
List DnsPrivateView resources by SubscriptionLocationResource.
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 subscription_id = '{{ subscription_id }}' -- required
;