Files
fabric-rest-api-specs/platform/examples/connections/CreateCloudConnectionWithKeyPair.json
T

62 lines
2.2 KiB
JSON

{
"parameters": {
"createConnectionRequest": {
"connectivityType": "ShareableCloud",
"displayName": "SnowflakeCloudConnection",
"connectionDetails": {
"type": "SQL",
"creationMethod": "SQL",
"parameters": [
{
"dataType": "Text",
"name": "server",
"value": "contoso.database.windows.net"
},
{
"dataType": "Text",
"name": "warehouse",
"value": "snowflake-warehouse"
}
]
},
"privacyLevel": "Organizational",
"credentialDetails": {
"singleSignOnType": "None",
"connectionEncryption": "NotEncrypted",
"skipTestConnection": false,
"credentials": {
"credentialType": "KeyPair",
"identifier": "admin",
"privateKey": "-----BEGIN ENCRYPTED PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ...\\n-----END ENCRYPTED PRIVATE KEY-----",
"passphrase": "********"
}
}
}
},
"responses": {
"201": {
"body": {
"id": "eeec9a3a-6ef5-4e2b-bb6a-0060bd2f0172",
"gatewayId": "8f72eea3-d989-4a5a-aeed-02b3aaa2ddd0",
"displayName": "ContosoCloudConnection",
"connectivityType": "ShareableCloud",
"connectionDetails": {
"type": "SQL",
"path": "contoso.database.windows.net;snowflake-warehouse"
},
"privacyLevel": "Organizational",
"credentialDetails": {
"credentialType": "KeyPair",
"singleSignOnType": "None",
"connectionEncryption": "NotEncrypted",
"skipTestConnection": false
},
"connectionRecency": {
"createdDateTime": "2023-05-23T16:22:20Z"
},
"myRole": "Owner"
}
}
}
}