Skip to content

Commit

Permalink
Added missing properties for managed Private endpoints (#15014)
Browse files Browse the repository at this point in the history
* Added missing properties for managed Private endpoints

Added missing properties for managed private endpoints in stable version.
Added the missing swagger files for managed private endpoints in the latest  preview version.

* fixed indentation issues

* fix indentation issues1

* ran prettier-fix

* Added missing examples files

* fixed examples

* fixed version in preview swagger

* Update readme.md

Updated readme.md

* Update readme.md

Co-authored-by: Sai-Kumar-1901 <saikumar@microsoft.com>
  • Loading branch information
Sai-Kumar-1901 and saikumar-ms authored Jul 3, 2021
1 parent 7b8e287 commit 0658a96
Show file tree
Hide file tree
Showing 8 changed files with 466 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
"api-version": "2020-12-01",
"managedVirtualNetworkName": "default",
"managedPrivateEndpointName": "myPrivateEndpoint",
"managedPrivateEndpoint": {
"properties": {
"privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/myStorageAccount",
"groupId": "blob"
}
}
},
"responses": {
"200": {
"body": {
"type": "Microsoft.Synapse/workspaces/managedVirtualNetworks/managedPrivateEndpoints",
"name": "myPrivateEndpoint",
"properties": {
"privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/myStorageAccount",
"groupId": "blob",
"provisioningState": "Provisioning",
"connectionState": {
"status": "Pending",
"description": "",
"actionsRequired": ""
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
"api-version": "2020-12-01",
"managedVirtualNetworkName": "default",
"managedPrivateEndpointName": "myPrivateEndpoint"
},
"responses": {
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
"api-version": "2020-12-01",
"managedVirtualNetworkName": "default",
"managedPrivateEndpointName": "myPrivateEndpoint"
},
"responses": {
"200": {
"body": {
"type": "Microsoft.Synapse/workspaces/managedVirtualNetworks/managedPrivateEndpoints",
"name": "myPrivateEndpoint",
"properties": {
"name": "myPrivateEndpoint",
"privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/myStorageAccount",
"groupId": "blob",
"provisioningState": "Succeeded",
"connectionState": {
"status": "Approved",
"description": "",
"actionsRequired": ""
},
"fqdns": [
"[hostname1].[domain].[tld]",
"[hostname2].[domain].[tld]"
],
"isCompliant": true
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"endpoint": "exampleWorkspace.dev.azuresynapse.net",
"api-version": "2020-12-01",
"managedVirtualNetworkName": "default"
},
"responses": {
"200": {
"body": {
"value": [
{
"type": "Microsoft.Synapse/workspaces/managedVirtualNetworks/managedPrivateEndpoints",
"name": "myPrivateEndpoint1",
"properties": {
"privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/myStorageAccount1",
"groupId": "blob",
"provisioningState": "Succeeded",
"connectionState": {
"status": "Approved",
"description": "",
"actionsRequired": ""
}
}
},
{
"type": "Microsoft.Synapse/workspaces/managedVirtualNetworks/managedPrivateEndpoints",
"name": "myPrivateEndpoint2",
"properties": {
"privateLinkResourceId": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/myResourceGroup/providers/Microsoft.Storage/accounts/myStorageAccount2",
"groupId": "blob",
"provisioningState": "Succeeded",
"connectionState": {
"status": "Pending",
"description": "",
"actionsRequired": ""
}
}
}
],
"nextLink": ""
}
}
}
}
Loading

0 comments on commit 0658a96

Please sign in to comment.