Skip to main content

connectors

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

Overview

Nameconnectors
TypeResource
Idazure.service_connector.connectors

Fields

NameDatatypeDescription
auth_infotextfield from the properties object
client_typetextfield from the properties object
configuration_infotextfield from the properties object
connectorNametextfield from the properties object
locationtextfield from the properties object
provisioning_statetextfield from the properties object
public_network_solutiontextfield from the properties object
resourceGroupNametextfield from the properties object
scopetextfield from the properties object
secret_storetextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
target_servicetextfield from the properties object
vnet_solutiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectorName, location, resourceGroupName, subscriptionIdReturns Connector resource for a given name.
listSELECTlocation, resourceGroupName, subscriptionIdReturns list of connector which connects to the resource, which supports to config the target service during the resource provision.
create_or_updateINSERTconnectorName, location, resourceGroupName, subscriptionId, data__propertiesCreate or update Connector resource.
deleteDELETEconnectorName, location, resourceGroupName, subscriptionIdDelete a Connector.
updateUPDATEconnectorName, location, resourceGroupName, subscriptionIdOperation to update an existing Connector.
generate_configurationsEXECconnectorName, location, resourceGroupName, subscriptionIdGenerate configurations for a Connector.
validateEXECconnectorName, location, resourceGroupName, subscriptionIdValidate a Connector.

SELECT examples

Returns list of connector which connects to the resource, which supports to config the target service during the resource provision.

SELECT
auth_info,
client_type,
configuration_info,
connectorName,
location,
provisioning_state,
public_network_solution,
resourceGroupName,
scope,
secret_store,
subscriptionId,
system_data,
target_service,
vnet_solution
FROM azure.service_connector.vw_connectors
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.service_connector.connectors (
connectorName,
location,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ connectorName }}',
'{{ location }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

UPDATE example

Updates a connectors resource.

/*+ update */
UPDATE azure.service_connector.connectors
SET
properties = '{{ properties }}'
WHERE
connectorName = '{{ connectorName }}'
AND location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified connectors resource.

/*+ delete */
DELETE FROM azure.service_connector.connectors
WHERE connectorName = '{{ connectorName }}'
AND location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';