endpoints
Creates, updates, deletes, gets or lists a endpoints
resource.
Overview
Name | endpoints |
Type | Resource |
Id | azure.storage_mover.endpoints |
Fields
- vw_endpoints
- endpoints
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
endpointName | text | field from the properties object |
endpoint_type | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
storageMoverName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The resource specific properties for the Storage Mover resource. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | endpointName, resourceGroupName, storageMoverName, subscriptionId | Gets an Endpoint resource. |
list | SELECT | resourceGroupName, storageMoverName, subscriptionId | Lists all Endpoints in a Storage Mover. |
create_or_update | INSERT | endpointName, resourceGroupName, storageMoverName, subscriptionId, data__properties | Creates or updates an Endpoint resource, which represents a data transfer source or destination. |
delete | DELETE | endpointName, resourceGroupName, storageMoverName, subscriptionId | Deletes an Endpoint resource. |
update | UPDATE | endpointName, resourceGroupName, storageMoverName, subscriptionId | Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged. |
SELECT
examples
Lists all Endpoints in a Storage Mover.
- vw_endpoints
- endpoints
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 }}';
SELECT
properties,
systemData
FROM azure.storage_mover.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.storage_mover.endpoints (
endpointName,
resourceGroupName,
storageMoverName,
subscriptionId,
data__properties,
properties,
systemData
)
SELECT
'{{ endpointName }}',
'{{ resourceGroupName }}',
'{{ storageMoverName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ systemData }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: endpointType
value: []
- name: description
value: string
- name: provisioningState
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
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 }}';