Skip to main content

inbound_endpoints

Creates, updates, deletes, gets or lists an inbound_endpoints resource.

Overview

Nameinbound_endpoints
TypeResource
Idazure.dns_resolver.inbound_endpoints

Fields

The following fields are returned by SELECT queries:

The inbound endpoint for the DNS resolver was found.

NameDatatypeDescription
etagstringETag of the inbound endpoint.
locationstringThe geo-location where the resource lives
propertiesobjectProperties of the inbound endpoint.
systemDataobjectMetadata pertaining to creation and last modification of the resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, dnsResolverName, inboundEndpointNameGets properties of an inbound endpoint for a DNS resolver.
listselectsubscriptionId, resourceGroupName, dnsResolverName$topLists inbound endpoints for a DNS resolver.
create_or_updateinsertsubscriptionId, resourceGroupName, dnsResolverName, inboundEndpointName, data__propertiesIf-Match, If-None-MatchCreates or updates an inbound endpoint for a DNS resolver.
updateupdatesubscriptionId, resourceGroupName, dnsResolverName, inboundEndpointNameIf-MatchUpdates an inbound endpoint for a DNS resolver.
deletedeletesubscriptionId, resourceGroupName, dnsResolverName, inboundEndpointNameIf-MatchDeletes an inbound endpoint for a DNS resolver. 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.

NameDatatypeDescription
dnsResolverNamestringThe name of the DNS resolver.
inboundEndpointNamestringThe name of the inbound endpoint for the DNS resolver.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
$topinteger (int32)The maximum number of results to return. If not specified, returns up to 100 results.
If-MatchstringETag 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-MatchstringSet to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.

SELECT examples

Gets properties of an inbound endpoint for a DNS resolver.

SELECT
etag,
location,
properties,
systemData,
tags
FROM azure.dns_resolver.inbound_endpoints
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND dnsResolverName = '{{ dnsResolverName }}' -- required
AND inboundEndpointName = '{{ inboundEndpointName }}' -- required
;

INSERT examples

Creates or updates an inbound endpoint for a DNS resolver.

INSERT INTO azure.dns_resolver.inbound_endpoints (
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
dnsResolverName,
inboundEndpointName,
If-Match,
If-None-Match
)
SELECT
'{{ properties }}' /* required */,
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ dnsResolverName }}',
'{{ inboundEndpointName }}',
'{{ If-Match }}',
'{{ If-None-Match }}'
RETURNING
etag,
location,
properties,
systemData,
tags
;

UPDATE examples

Updates an inbound endpoint for a DNS resolver.

UPDATE azure.dns_resolver.inbound_endpoints
SET
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND dnsResolverName = '{{ dnsResolverName }}' --required
AND inboundEndpointName = '{{ inboundEndpointName }}' --required
AND If-Match = '{{ If-Match}}'
RETURNING
etag,
location,
properties,
systemData,
tags;

DELETE examples

Deletes an inbound endpoint for a DNS resolver. WARNING: This operation cannot be undone.

DELETE FROM azure.dns_resolver.inbound_endpoints
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND dnsResolverName = '{{ dnsResolverName }}' --required
AND inboundEndpointName = '{{ inboundEndpointName }}' --required
AND If-Match = '{{ If-Match }}'
;