Skip to main content

endpoints

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

Overview

Nameendpoints
TypeResource
Idazure.traffic_manager.endpoints

Fields

NameDatatypeDescription
always_servetextfield from the properties object
custom_headerstextfield from the properties object
endpointNametextfield from the properties object
endpointTypetextfield from the properties object
endpoint_locationtextfield from the properties object
endpoint_monitor_statustextfield from the properties object
endpoint_statustextfield from the properties object
geo_mappingtextfield from the properties object
min_child_endpointstextfield from the properties object
min_child_endpoints_ipv4textfield from the properties object
min_child_endpoints_ipv6textfield from the properties object
prioritytextfield from the properties object
profileNametextfield from the properties object
resourceGroupNametextfield from the properties object
subnetstextfield from the properties object
subscriptionIdtextfield from the properties object
targettextfield from the properties object
target_resource_idtextfield from the properties object
weighttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTendpointName, endpointType, profileName, resourceGroupName, subscriptionIdGets a Traffic Manager endpoint.
create_or_updateINSERTendpointName, endpointType, profileName, resourceGroupName, subscriptionIdCreate or update a Traffic Manager endpoint.
deleteDELETEendpointName, endpointType, profileName, resourceGroupName, subscriptionIdDeletes a Traffic Manager endpoint.
updateUPDATEendpointName, endpointType, profileName, resourceGroupName, subscriptionIdUpdate a Traffic Manager endpoint.

SELECT examples

Gets a Traffic Manager endpoint.

SELECT
always_serve,
custom_headers,
endpointName,
endpointType,
endpoint_location,
endpoint_monitor_status,
endpoint_status,
geo_mapping,
min_child_endpoints,
min_child_endpoints_ipv4,
min_child_endpoints_ipv6,
priority,
profileName,
resourceGroupName,
subnets,
subscriptionId,
target,
target_resource_id,
weight
FROM azure.traffic_manager.vw_endpoints
WHERE endpointName = '{{ endpointName }}'
AND endpointType = '{{ endpointType }}'
AND profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.traffic_manager.endpoints (
endpointName,
endpointType,
profileName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ endpointName }}',
'{{ endpointType }}',
'{{ profileName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a endpoints resource.

/*+ update */
UPDATE azure.traffic_manager.endpoints
SET
properties = '{{ properties }}'
WHERE
endpointName = '{{ endpointName }}'
AND endpointType = '{{ endpointType }}'
AND profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified endpoints resource.

/*+ delete */
DELETE FROM azure.traffic_manager.endpoints
WHERE endpointName = '{{ endpointName }}'
AND endpointType = '{{ endpointType }}'
AND profileName = '{{ profileName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';