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

[Hub Generated] Review request for Microsoft.Notebooks to add version preview/2019-10-11-preview #15642

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
}
},
"responses": {
"200": {}
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
}
]
}
}
},
"404": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"resourceName": "testResource",
"resourceGroupName": "testRP",
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"parameters": {
"properties": {
"publicNetworkAccess": "Enabled"
}
}
},
"responses": {
"200": {},
"404": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,59 @@
}
}
}
},
"patch": {
"tags": [
"NotebookProxy"
],
"operationId": "NotebookProxies_Update",
"x-ms-examples": {
"Update Notebook Proxy": {
"$ref": "./examples/NBResourcePatch.json"
}
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"summary": "Patch NotebookProxy resource.",
"description": "Patch NotebookProxy resource with specified configuration.",
"parameters": [
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/ResourceNameParameter"
},
{
"name": "parameters",
"description": "The properties of the NotebookProxy to be created or updated.",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/MutableNotebookProxy"
}
}
],
"responses": {
"200": {
"description": "OK"
},
"404": {
"description": "NotFound"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Notebooks/notebookProxies": {
Expand Down Expand Up @@ -400,6 +453,9 @@
"$ref": "#/definitions/NotebookPEResponse"
}
},
"404": {
"description": "Not found"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -461,6 +517,9 @@
"200": {
"description": "Success"
},
"204": {
"description": "No Content"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
Expand Down Expand Up @@ -512,6 +571,31 @@
"publicDns": {
"description": "The public DNS name",
"type": "string"
},
"publicNetworkAccess": {
"description": "Allow public network access on a V-Net locked notebook resource",
"type": "string"
}
}
},
"MutableNotebookProxy": {
"description": "The mutable properties on a NotebookProxy resource ",
"type": "object",
"properties": {
"properties": {
"$ref": "#/definitions/MutableNotebookResource",
"description": "The mutable properties of NotebookProxy resource.",
"x-ms-client-flatten": true
}
}
},
"MutableNotebookResource": {
"description": "Properties of NotebookProxy resource",
"type": "object",
"properties": {
"publicNetworkAccess": {
"description": "A flag that allows public network access to a private link locked notebook resource.",
"type": "string"
}
}
},
Expand Down