Skip to main content

endpoints

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

Overview

Nameendpoints
TypeResource
Idazure.storage_mover.endpoints

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
endpointNametextfield from the properties object
endpoint_typetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
storageMoverNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTendpointName, resourceGroupName, storageMoverName, subscriptionIdGets an Endpoint resource.
listSELECTresourceGroupName, storageMoverName, subscriptionIdLists all Endpoints in a Storage Mover.
create_or_updateINSERTendpointName, resourceGroupName, storageMoverName, subscriptionId, data__propertiesCreates or updates an Endpoint resource, which represents a data transfer source or destination.
deleteDELETEendpointName, resourceGroupName, storageMoverName, subscriptionIdDeletes an Endpoint resource.
updateUPDATEendpointName, resourceGroupName, storageMoverName, subscriptionIdUpdates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.

SELECT examples

Lists all Endpoints in a Storage Mover.

SELECT
description,
endpointName,
endpoint_type,
provisioning_state,
resourceGroupName,
storageMoverName,
subscriptionId,
system_data
FROM azure.storage_mover.vw_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND storageMoverName = '{{ storageMoverName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.storage_mover.endpoints (
endpointName,
resourceGroupName,
storageMoverName,
subscriptionId,
data__properties,
properties,
systemData
)
SELECT
'{{ endpointName }}',
'{{ resourceGroupName }}',
'{{ storageMoverName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ systemData }}'
;

UPDATE example

Updates a endpoints resource.

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

DELETE example

Deletes the specified endpoints resource.

/*+ delete */
DELETE FROM azure.storage_mover.endpoints
WHERE endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND storageMoverName = '{{ storageMoverName }}'
AND subscriptionId = '{{ subscriptionId }}';