Skip to main content

server_endpoints

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

Overview

Nameserver_endpoints
TypeResource
Idazure.storage_sync.server_endpoints

Fields

NameDatatypeDescription
cloud_tieringtextfield from the properties object
cloud_tiering_statustextfield from the properties object
friendly_nametextfield from the properties object
initial_download_policytextfield from the properties object
initial_upload_policytextfield from the properties object
last_operation_nametextfield from the properties object
last_workflow_idtextfield from the properties object
local_cache_modetextfield from the properties object
offline_data_transfertextfield from the properties object
offline_data_transfer_share_nametextfield from the properties object
offline_data_transfer_storage_account_resource_idtextfield from the properties object
offline_data_transfer_storage_account_tenant_idtextfield from the properties object
provisioning_statetextfield from the properties object
recall_statustextfield from the properties object
resourceGroupNametextfield from the properties object
serverEndpointNametextfield from the properties object
server_endpoint_provisioning_statustextfield from the properties object
server_local_pathtextfield from the properties object
server_nametextfield from the properties object
server_resource_idtextfield from the properties object
storageSyncServiceNametextfield from the properties object
subscriptionIdtextfield from the properties object
syncGroupNametextfield from the properties object
sync_statustextfield from the properties object
tier_files_older_than_daystextfield from the properties object
volume_free_space_percenttextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, serverEndpointName, storageSyncServiceName, subscriptionId, syncGroupNameGet a ServerEndpoint.
list_by_sync_groupSELECTresourceGroupName, storageSyncServiceName, subscriptionId, syncGroupNameGet a ServerEndpoint list.
createINSERTresourceGroupName, serverEndpointName, storageSyncServiceName, subscriptionId, syncGroupNameCreate a new ServerEndpoint.
deleteDELETEresourceGroupName, serverEndpointName, storageSyncServiceName, subscriptionId, syncGroupNameDelete a given ServerEndpoint.
updateUPDATEresourceGroupName, serverEndpointName, storageSyncServiceName, subscriptionId, syncGroupNamePatch a given ServerEndpoint.
recall_actionEXECresourceGroupName, serverEndpointName, storageSyncServiceName, subscriptionId, syncGroupNameRecall a server endpoint.

SELECT examples

Get a ServerEndpoint list.

SELECT
cloud_tiering,
cloud_tiering_status,
friendly_name,
initial_download_policy,
initial_upload_policy,
last_operation_name,
last_workflow_id,
local_cache_mode,
offline_data_transfer,
offline_data_transfer_share_name,
offline_data_transfer_storage_account_resource_id,
offline_data_transfer_storage_account_tenant_id,
provisioning_state,
recall_status,
resourceGroupName,
serverEndpointName,
server_endpoint_provisioning_status,
server_local_path,
server_name,
server_resource_id,
storageSyncServiceName,
subscriptionId,
syncGroupName,
sync_status,
tier_files_older_than_days,
volume_free_space_percent
FROM azure.storage_sync.vw_server_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND storageSyncServiceName = '{{ storageSyncServiceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND syncGroupName = '{{ syncGroupName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.storage_sync.server_endpoints (
resourceGroupName,
serverEndpointName,
storageSyncServiceName,
subscriptionId,
syncGroupName,
properties
)
SELECT
'{{ resourceGroupName }}',
'{{ serverEndpointName }}',
'{{ storageSyncServiceName }}',
'{{ subscriptionId }}',
'{{ syncGroupName }}',
'{{ properties }}'
;

UPDATE example

Updates a server_endpoints resource.

/*+ update */
UPDATE azure.storage_sync.server_endpoints
SET
properties = '{{ properties }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}'
AND serverEndpointName = '{{ serverEndpointName }}'
AND storageSyncServiceName = '{{ storageSyncServiceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND syncGroupName = '{{ syncGroupName }}';

DELETE example

Deletes the specified server_endpoints resource.

/*+ delete */
DELETE FROM azure.storage_sync.server_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND serverEndpointName = '{{ serverEndpointName }}'
AND storageSyncServiceName = '{{ storageSyncServiceName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND syncGroupName = '{{ syncGroupName }}';