outbound_endpoints
Creates, updates, deletes, gets or lists a outbound_endpoints
resource.
Overview
Name | outbound_endpoints |
Type | Resource |
Id | azure.dns_resolver.outbound_endpoints |
Fields
- vw_outbound_endpoints
- outbound_endpoints
Name | Datatype | Description |
---|---|---|
dnsResolverName | text | field from the properties object |
etag | text | ETag of the outbound endpoint. |
location | text | The geo-location where the resource lives |
outboundEndpointName | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
resource_guid | text | field from the properties object |
subnet | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
etag | string | ETag of the outbound endpoint. |
location | string | The geo-location where the resource lives |
properties | object | Represents the properties of an outbound endpoint for a DNS resolver. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | dnsResolverName, outboundEndpointName, resourceGroupName, subscriptionId | Gets properties of an outbound endpoint for a DNS resolver. |
list | SELECT | dnsResolverName, resourceGroupName, subscriptionId | Lists outbound endpoints for a DNS resolver. |
create_or_update | INSERT | dnsResolverName, outboundEndpointName, resourceGroupName, subscriptionId, data__properties | Creates or updates an outbound endpoint for a DNS resolver. |
delete | DELETE | dnsResolverName, outboundEndpointName, resourceGroupName, subscriptionId | Deletes an outbound endpoint for a DNS resolver. WARNING: This operation cannot be undone. |
update | UPDATE | dnsResolverName, outboundEndpointName, resourceGroupName, subscriptionId | Updates an outbound endpoint for a DNS resolver. |
SELECT
examples
Lists outbound endpoints for a DNS resolver.
- vw_outbound_endpoints
- outbound_endpoints
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 }}';
SELECT
etag,
location,
properties,
systemData,
tags
FROM azure.dns_resolver.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: etag
value: string
- name: properties
value:
- name: subnet
value:
- name: id
value: string
- name: provisioningState
value: []
- name: resourceGuid
value: []
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: tags
value: object
- name: location
value: string
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 }}';