Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notebooks swagger spec #9841

Merged
merged 20 commits into from
Aug 3, 2020
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ autoscaling
Avro
avrodeflate
AZFW
AZNB
azns
azpkg
azureaccounts
Expand Down Expand Up @@ -1021,6 +1022,7 @@ nopublicipaddresses
northcentralus
northeurope
nostore
notebookapis
notificationchannels
notificationhubs
notstarted
Expand Down Expand Up @@ -1566,6 +1568,7 @@ testall
testallroutes
testnew
testnewroute
testpl
testresultfile
textanalytics
TFIDF
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"resourceName": "testResource",
"resourceGroupName": "testRP",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"parameters": {
"properties": {
"hostname": "Azure Notebooks"
}
}
},
"responses": {
"201": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRP/providers/Microsoft.Notebooks/NotebookProxies/testResource",
"name": "testResource",
"type": "Microsoft.Notebooks/NotebookProxies",
"properties": {
"resourceId": "acc07b62291e4a4a800f71ff252e0654",
"hostname": "Azure Notebooks"
}
}
},
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRP/providers/Microsoft.Notebooks/NotebookProxies/testResource",
"name": "testResource",
"type": "Microsoft.Notebooks/NotebookProxies",
"properties": {
"resourceId": "acc07b62291e4a4a800f71ff252e0654",
"hostname": "Azure Notebooks"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"resourceName": "testResource",
"resourceGroupName": "testRP",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"parameters": {
"properties": {
"hostname": "Azure Notebooks"
}
}
},
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRP/providers/Microsoft.Notebooks/NotebookProxies/testResource",
"name": "testResource",
"type": "Microsoft.Notebooks/NotebookProxies",
"properties": {
"resourceId": "acc07b62291e4a4a800f71ff252e0654",
"hostname": "Azure Notebooks"
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"resourceName": "testResource",
"resourceGroupName": "testRP",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"parameters": {
"properties": {
"hostname": "Azure Notebooks"
}
}
},
"responses": {
"200": {
"body": {
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRP/providers/Microsoft.Notebooks/NotebookProxies/testResource",
"name": "testResource",
"type": "Microsoft.Notebooks/NotebookProxies",
"properties": {
"resourceId": "acc07b62291e4a4a800f71ff252e0654",
"hostname": "Azure Notebooks"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"resourceName": "testResource",
"resourceGroupName": "testRP",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"parameters": {
"properties": {
"hostname": "Azure Notebooks"
}
}
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRP/providers/Microsoft.Notebooks/NotebookProxies/testResource",
"name": "testResource",
"type": "Microsoft.Notebooks/NotebookProxies",
"properties": {
"resourceId": "acc07b62291e4a4a800f71ff252e0654",
"hostname": "Azure Notebooks"
}
},
{
"id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRP/providers/Microsoft.Notebooks/NotebookProxies/testResource2",
"name": "testResource2",
"type": "Microsoft.Notebooks/NotebookProxies",
"properties": {
"resourceId": "bcc07b62291e4a4a800f71ff252e0654",
"hostname": "Azure Notebooks"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"resourceName": "testResource",
"resourceGroupName": "testRP",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
"200": {
"body": {
"resourceId": "acc07b62291e4a4a800f71ff252e0654",
"primaryAccessKey": "42c43f86f937487dbc84256fab515bf2d80754b249154ded8ede0f5ded3733be",
"secondaryAccessKey": "1cef8965a0224bd896d27f87a7cabf1687e99f6412cd4c2ca25e5908d2105f79",
"hostname": "Azure Notebooks"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"resourceName": "testPL1-1",
"resourceGroupName": "testRP",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"privateLinkId": "testPL1-proxy.dc9bcc9d-dbd2-48ba-bbbb-bcbdaed437ae",
"parameters": {
"properties": {
"hostname": "Azure Notebooks"
},
"connectionDetails": [
{
"id": "f6124779c97049738cc02655385b62ab_1111",
"privateIpAddress": "10.10.10.1",
"linkIdentifier": 1111,
"groupId": "f6124779c97049738cc02655385b62ab",
"memberName": "f6124779c97049738cc02655385b62ab_member"
}
]
}
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"parameters": {
"resourceName": "testPL1-1",
"resourceGroupName": "testRP",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"privateLinkId": "testPL1-proxy.dc9bcc9d-dbd2-48ba-bbbb-bcbdaed437ae",
"parameters": {
"properties": {
"hostname": "Azure Notebooks",
"connectionDetails": [
{
"id": "f6124779c97049738cc02655385b62ab_1111",
"privateIpAddress": "10.10.10.1",
"linkIdentifier": 1111,
"groupId": "f6124779c97049738cc02655385b62ab",
"memberName": "f6124779c97049738cc02655385b62ab_member"
}
]
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRp/providers/Microsoft.Network/privateEndpoints/testPL1-1",
"privateLinkServiceProxies": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000//resourceGroups/testRp/providers/Microsoft.Network/privateEndpoints/testPL1-1/privateLinkServiceProxies/testPL1-proxy.dc9bcc9d-dbd2-48ba-bbbb-bcbdaed437ae",
"groupConnectivityInformation": [
{
"groupId": "f6124779c97049738cc02655385b62ab",
"memberName": "f6124779c97049738cc02655385b62ab_member",
"customerVisibleFqdns": [
"testpl1.notebooks-test.azure.net"
],
"internalFqdn": "privatelink.notebookapis-dev2.azure.com"
}
]
}
],
"connectionDetails": [
{
"id": "f6124779c97049738cc02655385b62ab_1111",
"privateIpAddress": "10.10.10.1",
"linkIdentifier": 1111,
"groupId": "f6124779c97049738cc02655385b62ab",
"memberName": "f6124779c97049738cc02655385b62ab_member"
}
]
}
},
"201": {
"body": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testRp/providers/Microsoft.Network/privateEndpoints/testPL1-1",
"privateLinkServiceProxies": [
{
"id": "/subscriptions/00000000-0000-0000-0000-000000000000//resourceGroups/testRp/providers/Microsoft.Network/privateEndpoints/testPL1-1/privateLinkServiceProxies/testPL1-proxy.dc9bcc9d-dbd2-48ba-bbbb-bcbdaed437ae",
"groupConnectivityInformation": [
{
"groupId": "f6124779c97049738cc02655385b62ab",
"memberName": "f6124779c97049738cc02655385b62ab_member",
"customerVisibleFqdns": [
"testpl1.notebooks-test.azure.net"
],
"internalFqdn": "privatelink.notebookapis-dev2.azure.com"
}
]
}
],
"connectionDetails": [
{
"id": "f6124779c97049738cc02655385b62ab_1111",
"privateIpAddress": "10.10.10.1",
"linkIdentifier": 1111,
"groupId": "f6124779c97049738cc02655385b62ab",
"memberName": "f6124779c97049738cc02655385b62ab_member"
}
]
}
}
}
}
Loading