Skip to main content

endpoints

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

Overview

Nameendpoints
TypeResource
Idazure.hybrid_connectivity.endpoints

Fields

The following fields are returned by SELECT queries:

Endpoint details

NameDatatypeDescription
propertiesobjectThe endpoint properties.
systemDataobjectSystem data of endpoint resource

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceUri, endpointNameGets the endpoint to the resource.
list_ingress_gateway_credentialsselectresourceUri, endpointNameexpiresinGets the ingress gateway endpoint credentials
listselectresourceUriList of endpoints to the target resource.
create_or_updateinsertresourceUri, endpointNameCreate or update the endpoint to the target resource.
updateupdateresourceUri, endpointNameUpdate the endpoint to the target resource.
deletedeleteresourceUri, endpointNameDeletes the endpoint access to the target resource.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointNamestringThe endpoint name.
resourceUristringThe fully qualified Azure Resource manager identifier of the resource to be connected.
expiresininteger (int64)The is how long the endpoint access token is valid (in seconds).

SELECT examples

Gets the endpoint to the resource.

SELECT
properties,
systemData
FROM azure.hybrid_connectivity.endpoints
WHERE resourceUri = '{{ resourceUri }}' -- required
AND endpointName = '{{ endpointName }}' -- required
;

INSERT examples

Create or update the endpoint to the target resource.

INSERT INTO azure.hybrid_connectivity.endpoints (
data__properties,
resourceUri,
endpointName
)
SELECT
'{{ properties }}',
'{{ resourceUri }}',
'{{ endpointName }}'
RETURNING
properties,
systemData
;

UPDATE examples

Update the endpoint to the target resource.

UPDATE azure.hybrid_connectivity.endpoints
SET
data__properties = '{{ properties }}'
WHERE
resourceUri = '{{ resourceUri }}' --required
AND endpointName = '{{ endpointName }}' --required
RETURNING
properties,
systemData;

DELETE examples

Deletes the endpoint access to the target resource.

DELETE FROM azure.hybrid_connectivity.endpoints
WHERE resourceUri = '{{ resourceUri }}' --required
AND endpointName = '{{ endpointName }}' --required
;