Skip to main content

outbound_endpoints

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

Overview

Nameoutbound_endpoints
TypeResource
Idazure.dns_resolver.outbound_endpoints

Fields

NameDatatypeDescription
dnsResolverNametextfield from the properties object
etagtextETag of the outbound endpoint.
locationtextThe geo-location where the resource lives
outboundEndpointNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_guidtextfield from the properties object
subnettextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTdnsResolverName, outboundEndpointName, resourceGroupName, subscriptionIdGets properties of an outbound endpoint for a DNS resolver.
listSELECTdnsResolverName, resourceGroupName, subscriptionIdLists outbound endpoints for a DNS resolver.
create_or_updateINSERTdnsResolverName, outboundEndpointName, resourceGroupName, subscriptionId, data__propertiesCreates or updates an outbound endpoint for a DNS resolver.
deleteDELETEdnsResolverName, outboundEndpointName, resourceGroupName, subscriptionIdDeletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.
updateUPDATEdnsResolverName, outboundEndpointName, resourceGroupName, subscriptionIdUpdates an outbound endpoint for a DNS resolver.

SELECT examples

Lists outbound endpoints for a DNS resolver.

SELECT
dnsResolverName,
etag,
location,
outboundEndpointName,
provisioning_state,
resourceGroupName,
resource_guid,
subnet,
subscriptionId,
system_data,
tags
FROM azure.dns_resolver.vw_outbound_endpoints
WHERE dnsResolverName = '{{ dnsResolverName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new outbound_endpoints resource.

/*+ create */
INSERT INTO azure.dns_resolver.outbound_endpoints (
dnsResolverName,
outboundEndpointName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ dnsResolverName }}',
'{{ outboundEndpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a outbound_endpoints resource.

/*+ update */
UPDATE azure.dns_resolver.outbound_endpoints
SET
tags = '{{ tags }}'
WHERE
dnsResolverName = '{{ dnsResolverName }}'
AND outboundEndpointName = '{{ outboundEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified outbound_endpoints resource.

/*+ delete */
DELETE FROM azure.dns_resolver.outbound_endpoints
WHERE dnsResolverName = '{{ dnsResolverName }}'
AND outboundEndpointName = '{{ outboundEndpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';