Skip to main content

linker

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

Overview

Namelinker
TypeResource
Idazure.service_linker.linker

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
getselectresource_uri, linker_nameReturns Linker resource for a given name.
listselectresource_uriReturns list of Linkers which connects to the resource. which supports to config both application and target service during the resource provision.
create_or_updateinsertresource_uri, linker_nameCreate or update Linker resource.
updateupdateresource_uri, linker_nameOperation to update an existing Linker.
create_or_updatereplaceresource_uri, linker_nameCreate or update Linker resource.
deletedeleteresource_uri, linker_nameDelete a Linker.
list_configurationsexecresource_uri, linker_namelist source configurations for a Linker.
validateexecresource_uri, linker_nameValidate a Linker.

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
linker_namestringThe name Linker resource. Required.
resource_uristringThe fully qualified Azure Resource manager identifier of the resource to be connected. Required.

SELECT examples

Returns Linker resource for a given name.

SELECT
id,
name,
authInfo,
clientType,
configurationInfo,
provisioningState,
publicNetworkSolution,
scope,
secretStore,
systemData,
targetService,
type,
vNetSolution
FROM azure.service_linker.linker
WHERE resource_uri = '{{ resource_uri }}' -- required
AND linker_name = '{{ linker_name }}' -- required
;

INSERT examples

Create or update Linker resource.

INSERT INTO azure.service_linker.linker (
properties,
resource_uri,
linker_name
)
SELECT
'{{ properties }}',
'{{ resource_uri }}',
'{{ linker_name }}'
RETURNING
id,
name,
properties,
systemData,
type
;

UPDATE examples

Operation to update an existing Linker.

UPDATE azure.service_linker.linker
SET
properties = '{{ properties }}'
WHERE
resource_uri = '{{ resource_uri }}' --required
AND linker_name = '{{ linker_name }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

REPLACE examples

Create or update Linker resource.

REPLACE azure.service_linker.linker
SET
properties = '{{ properties }}'
WHERE
resource_uri = '{{ resource_uri }}' --required
AND linker_name = '{{ linker_name }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Delete a Linker.

DELETE FROM azure.service_linker.linker
WHERE resource_uri = '{{ resource_uri }}' --required
AND linker_name = '{{ linker_name }}' --required
;

Lifecycle Methods

list source configurations for a Linker.

EXEC azure.service_linker.linker.list_configurations 
@resource_uri='{{ resource_uri }}' --required,
@linker_name='{{ linker_name }}' --required
;