Skip to main content

Connection

Properties

PropertyTypeAttributesDescription
connectionDetailsConnectionDetailsModelRequiredThe Connection connection details
connectivityType'ShareableCloud' | 'VirtualNetworkGateway'RequiredThe Connection connectivity type
credentialDetailsConnectionCredentialDetailsRequiredThe Connection credential details
displayNamestringRequiredThe Connection display name
allowConnectionUsageInGatewayboolAllow this connection to be utilized with on-premises or VNet data gateways. Not applicable when connectivityType is VirtualNetworkGateway
allowUsageInUserControlledCodeboolAllow this connection to be used with items that allow user-controlled code such as Notebook. Not applicable when connectivityType is VirtualNetworkGateway
gatewayIdstringThe Connection gateway object ID. Required when connectivityType is VirtualNetworkGateway
idstringRead-only, IdentifierThe Connection ID
privacyLevel'None' | 'Organizational' | 'Private' | 'Public'The Connection privacy level. Defaults to Organizational

ConnectionDetailsModel

PropertyTypeAttributesDescription
creationMethodstringRequiredThe creation method used to create the connection
typestringRequiredThe type of the connection
parametersConnectionDetailsParameter[]The connection parameters
pathstringRead-onlyThe path of the connection

ConnectionCredentialDetails

PropertyTypeAttributesDescription
credentialType'Anonymous' | 'Basic' | 'Key' | 'KeyPair' | 'ServicePrincipal' | 'SharedAccessSignature' | 'Windows' | 'WindowsWithoutImpersonation' | 'WorkspaceIdentity'RequiredThe credential type
basicConnectionBasicCredentialsThe basic credentials. Required when credentialType is Basic
connectionEncryption'Any' | 'Encrypted' | 'NotEncrypted'The connection encryption type. Defaults to NotEncrypted
keyConnectionKeyCredentialsThe key credentials. Required when credentialType is Key
keyPairConnectionKeyPairCredentialsThe key pair credentials. Required when credentialType is KeyPair
servicePrincipalConnectionServicePrincipalCredentialsThe service principal credentials. Required when credentialType is ServicePrincipal
sharedAccessSignatureConnectionSharedAccessSignatureCredentialsThe shared access signature credentials. Required when credentialType is SharedAccessSignature
singleSignOnType'None' | 'Kerberos' | 'KerberosDirectQueryAndRefresh' | 'MicrosoftEntraID' | 'SecurityAssertionMarkupLanguage'The single sign-on type. Defaults to None
skipTestConnectionboolWhether the connection should skip the test connection during creation and update. Defaults to false
windowsConnectionWindowsCredentialsThe Windows credentials. Required when credentialType is Windows

ConnectionDetailsParameter

PropertyTypeAttributesDescription
namestringRequiredThe name of the parameter
valuestringRequiredThe value of the parameter, expressed as a string. Numbers use invariant formatting, booleans use 'true'/'false', and date, time and duration values use ISO 8601.
dataType'Text' | 'Number' | 'Boolean' | 'Date' | 'DateTime' | 'DateTimeZone' | 'Duration' | 'Time'The data type of the parameter. Defaults to Text.

ConnectionBasicCredentials

PropertyTypeAttributesDescription
usernamestringRequiredThe username
passwordstringSensitiveThe password
passwordReferenceConnectionKeyVaultSecretReferenceThe Key Vault reference for the password secret

ConnectionKeyCredentials

PropertyTypeAttributesDescription
keystringSensitiveThe key
keyReferenceConnectionKeyVaultSecretReferenceThe Key Vault reference for the key secret

ConnectionKeyPairCredentials

PropertyTypeAttributesDescription
identifierstringRequiredThe identifier for the key
privateKeystringRequired, SensitiveThe private key based on the PKCS #8 standard
passphrasestringSensitiveThe passphrase for the private key if it is encrypted

ConnectionServicePrincipalCredentials

PropertyTypeAttributesDescription
clientIdstringRequiredThe client ID
tenantIdstringRequiredThe tenant ID
clientSecretstringSensitiveThe client secret
clientSecretReferenceConnectionKeyVaultSecretReferenceThe Key Vault reference for the client secret

ConnectionSharedAccessSignatureCredentials

PropertyTypeAttributesDescription
tokenstringSensitiveThe token
tokenReferenceConnectionKeyVaultSecretReferenceThe Key Vault reference for the SAS token secret

ConnectionWindowsCredentials

PropertyTypeAttributesDescription
passwordstringRequired, SensitiveThe password
usernamestringRequiredThe username

ConnectionKeyVaultSecretReference

PropertyTypeAttributesDescription
connectionIdstringRequiredThe connection ID of the Key Vault connection
secretNamestringRequiredThe name of the secret in Key Vault
versionstringThe version of the secret in Key Vault