Skip to main content

connector

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

Overview

Nameconnector
TypeResource
Idazure.service_linker.connector

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
namestringThe name of the resource.
authInfoobjectThe authentication type.
clientTypestringThe application client type. Known values are: "none", "dotnet", "java", "python", "go", "php", "ruby", "django", "nodejs", "springBoot", "kafka-springBoot", "jms-springBoot", and "dapr".
configurationInfoobjectThe connection information consumed by applications, including secrets, connection strings.
provisioningStatestringThe provisioning state.
publicNetworkSolutionobjectThe network solution.
scopestringconnection scope in source service.
secretStoreobjectAn option to store secret value in secure place.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
targetServiceobjectThe target service properties.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
vNetSolutionobjectThe VNet solution.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscription_id, resource_group_name, location, connector_nameReturns Connector resource for a given name.
get_dryrunselectsubscription_id, resource_group_name, location, dryrun_nameget a dryrun job.
listselectsubscription_id, resource_group_name, locationReturns list of connector which connects to the resource, which supports to config the target service during the resource provision.
create_or_updateinsertsubscription_id, resource_group_name, location, connector_nameCreate or update Connector resource.
updateupdatesubscription_id, resource_group_name, location, connector_nameOperation to update an existing Connector.
create_or_updatereplacesubscription_id, resource_group_name, location, connector_nameCreate or update Connector resource.
deletedeletesubscription_id, resource_group_name, location, connector_nameDelete a Connector.
list_dryrunexecsubscription_id, resource_group_name, locationlist dryrun jobs.
create_dryrunexecsubscription_id, resource_group_name, location, dryrun_namecreate a dryrun job to do necessary check before actual creation.
update_dryrunexecsubscription_id, resource_group_name, location, dryrun_nameupdate a dryrun job to do necessary check before actual creation.
delete_dryrunexecsubscription_id, resource_group_name, location, dryrun_namedelete a dryrun job.
validateexecsubscription_id, resource_group_name, location, connector_nameValidate a Connector.
generate_configurationsexecsubscription_id, resource_group_name, location, connector_nameGenerate configurations for a Connector.

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
connector_namestringThe name of resource. Required.
dryrun_namestringThe name of dryrun. Required.
locationstringThe name of Azure region. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstringThe ID of the target subscription. Required.

SELECT examples

Returns Connector resource for a given name.

SELECT
id,
name,
authInfo,
clientType,
configurationInfo,
provisioningState,
publicNetworkSolution,
scope,
secretStore,
systemData,
targetService,
type,
vNetSolution
FROM azure.service_linker.connector
WHERE subscription_id = '{{ subscription_id }}' -- required
AND resource_group_name = '{{ resource_group_name }}' -- required
AND location = '{{ location }}' -- required
AND connector_name = '{{ connector_name }}' -- required
;

INSERT examples

Create or update Connector resource.

INSERT INTO azure.service_linker.connector (
properties,
subscription_id,
resource_group_name,
location,
connector_name
)
SELECT
'{{ properties }}',
'{{ subscription_id }}',
'{{ resource_group_name }}',
'{{ location }}',
'{{ connector_name }}'
RETURNING
id,
name,
properties,
systemData,
type
;

UPDATE examples

Operation to update an existing Connector.

UPDATE azure.service_linker.connector
SET
properties = '{{ properties }}'
WHERE
subscription_id = '{{ subscription_id }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND location = '{{ location }}' --required
AND connector_name = '{{ connector_name }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

REPLACE examples

Create or update Connector resource.

REPLACE azure.service_linker.connector
SET
properties = '{{ properties }}'
WHERE
subscription_id = '{{ subscription_id }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND location = '{{ location }}' --required
AND connector_name = '{{ connector_name }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Delete a Connector.

DELETE FROM azure.service_linker.connector
WHERE subscription_id = '{{ subscription_id }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND location = '{{ location }}' --required
AND connector_name = '{{ connector_name }}' --required
;

Lifecycle Methods

list dryrun jobs.

EXEC azure.service_linker.connector.list_dryrun 
@subscription_id='{{ subscription_id }}' --required,
@resource_group_name='{{ resource_group_name }}' --required,
@location='{{ location }}' --required
;