virtual_network_links
Creates, updates, deletes, gets or lists a virtual_network_links
resource.
Overview
Name | virtual_network_links |
Type | Resource |
Id | azure.dns_resolver.virtual_network_links |
Fields
The following fields are returned by SELECT
queries:
- get
- list
The virtual network link to DNS forwarding ruleset was found.
Name | Datatype | Description |
---|---|---|
etag | string | ETag of the virtual network link. |
properties | object | Properties of the virtual network link. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
List of virtual network links to a DNS forwarding ruleset.
Name | Datatype | Description |
---|---|---|
etag | string | ETag of the virtual network link. |
properties | object | Properties of the virtual network link. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , dnsForwardingRulesetName , virtualNetworkLinkName | Gets properties of a virtual network link to a DNS forwarding ruleset. | |
list | select | subscriptionId , resourceGroupName , dnsForwardingRulesetName | $top | Lists virtual network links to a DNS forwarding ruleset. |
create_or_update | insert | subscriptionId , resourceGroupName , dnsForwardingRulesetName , virtualNetworkLinkName , data__properties | If-Match , If-None-Match | Creates or updates a virtual network link to a DNS forwarding ruleset. |
update | update | subscriptionId , resourceGroupName , dnsForwardingRulesetName , virtualNetworkLinkName | If-Match | Updates a virtual network link to a DNS forwarding ruleset. |
delete | delete | subscriptionId , resourceGroupName , dnsForwardingRulesetName , virtualNetworkLinkName | If-Match | Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone. |
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 |
---|---|---|
dnsForwardingRulesetName | string | The name of the DNS forwarding ruleset. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
virtualNetworkLinkName | string | The name of the virtual network link. |
$top | integer (int32) | The maximum number of results to return. If not specified, returns up to 100 results. |
If-Match | string | ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes. |
If-None-Match | string | Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored. |
SELECT
examples
- get
- list
Gets properties of a virtual network link to a DNS forwarding ruleset.
SELECT
etag,
properties,
systemData
FROM azure.dns_resolver.virtual_network_links
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND dnsForwardingRulesetName = '{{ dnsForwardingRulesetName }}' -- required
AND virtualNetworkLinkName = '{{ virtualNetworkLinkName }}' -- required
;
Lists virtual network links to a DNS forwarding ruleset.
SELECT
etag,
properties,
systemData
FROM azure.dns_resolver.virtual_network_links
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND dnsForwardingRulesetName = '{{ dnsForwardingRulesetName }}' -- required
AND $top = '{{ $top }}'
;
INSERT
examples
- create_or_update
- Manifest
Creates or updates a virtual network link to a DNS forwarding ruleset.
INSERT INTO azure.dns_resolver.virtual_network_links (
data__properties,
subscriptionId,
resourceGroupName,
dnsForwardingRulesetName,
virtualNetworkLinkName,
If-Match,
If-None-Match
)
SELECT
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ dnsForwardingRulesetName }}',
'{{ virtualNetworkLinkName }}',
'{{ If-Match }}',
'{{ If-None-Match }}'
RETURNING
etag,
properties,
systemData
;
# Description fields are for documentation purposes
- name: virtual_network_links
props:
- name: subscriptionId
value: string
description: Required parameter for the virtual_network_links resource.
- name: resourceGroupName
value: string
description: Required parameter for the virtual_network_links resource.
- name: dnsForwardingRulesetName
value: string
description: Required parameter for the virtual_network_links resource.
- name: virtualNetworkLinkName
value: string
description: Required parameter for the virtual_network_links resource.
- name: properties
value: object
description: |
Properties of the virtual network link.
- name: If-Match
value: string
description: ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
- name: If-None-Match
value: string
description: Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.
UPDATE
examples
- update
Updates a virtual network link to a DNS forwarding ruleset.
UPDATE azure.dns_resolver.virtual_network_links
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND dnsForwardingRulesetName = '{{ dnsForwardingRulesetName }}' --required
AND virtualNetworkLinkName = '{{ virtualNetworkLinkName }}' --required
AND If-Match = '{{ If-Match}}'
RETURNING
etag,
properties,
systemData;
DELETE
examples
- delete
Deletes a virtual network link to a DNS forwarding ruleset. WARNING: This operation cannot be undone.
DELETE FROM azure.dns_resolver.virtual_network_links
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND dnsForwardingRulesetName = '{{ dnsForwardingRulesetName }}' --required
AND virtualNetworkLinkName = '{{ virtualNetworkLinkName }}' --required
AND If-Match = '{{ If-Match }}'
;