Skip to content

Commit

Permalink
Merge pull request #7 from zhaomuzhi/spSupportForWSConnection
Browse files Browse the repository at this point in the history
add serviceprincipal support
  • Loading branch information
debuggerXi authored Apr 12, 2022
2 parents ad068ac + 7688249 commit 61b8fbe
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
"publicNetworkAccess": "Disabled"
}
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4875,7 +4875,8 @@
"ManagedIdentity",
"UsernamePassword",
"None",
"SAS"
"SAS",
"ServicePrincipal"
],
"type": "string",
"description": "Authentication type of the connection target",
Expand Down Expand Up @@ -4943,6 +4944,39 @@
"additionalProperties": false,
"x-ms-discriminator-value": "PAT"
},
"ServicePrincipal": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Credentials"
}
],
"properties": {
"clientId": {
"type": "string"
},
"clientSecret": {
"type": "string"
},
"tenantId": {
"type": "string"
}
}
},
"ServicePrincipalAuthTypeWorkspaceConnectionProperties": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/WorkspaceConnectionPropertiesV2"
}
],
"properties": {
"credentials": {
"$ref": "#/definitions/ServicePrincipal"
}
},
"x-ms-discriminator-value": "ServicePrincipal"
},
"SharedAccessSignature": {
"type": "object",
"allOf": [
Expand Down Expand Up @@ -5020,6 +5054,11 @@
"name": "ValueFormat",
"modelAsString": true
}
},
"metadata": {
"description": "Other Metadata that we would like to store with workspace connection.",
"type": "object",
"additionalProperties": true
}
},
"additionalProperties": false,
Expand Down Expand Up @@ -5471,4 +5510,3 @@
}
}
}

0 comments on commit 61b8fbe

Please sign in to comment.