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

Add managed Vnet to stable version #25729

Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "aml-workspace-name",
"ruleName": "rule_name_1",
"api-version": "2023-10-01",
"body": {
"properties": {
"type": "FQDN",
"destination": "destination_endpoint",
"status": "Active",
"category": "UserDefined"
}
}
},
"responses": {
"202": {
Copy link
Member

@TimLovellSmith TimLovellSmith Sep 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why doesn't create or update have an example 201 response? #Resolved

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Our service structure returns 202+ location header for all long-running operations. I don't think that's something we can change easily.

"headers": {
"Location": "example_location"
}
},
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/outboundRules/rule_name_1",
"name": "rule_name_1",
"type": "workspace/outboundRules",
"properties": {
"type": "FQDN",
"destination": "destination_endpoint",
"status": "Active",
"category": "UserDefined"
}
}
ZhidaLiu marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "aml-workspace-name",
"ruleName": "rule-name",
"api-version": "2023-10-01"
},
"responses": {
"202": {
"headers": {
"Location": "location_url_to_poll_for_status"
}
},
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "aml-workspace-name",
"ruleName": "name_of_the_fqdn_rule",
"api-version": "2023-10-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/outboundRules/rule_name_1",
"name": "rule_name_1",
"type": "workspace/outboundRules",
"properties": {
"type": "FQDN",
"destination": "destination_of_the_fqdn_rule",
"status": "Active",
"category": "UserDefined"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "aml-workspace-name",
"api-version": "2023-10-01"
},
"responses": {
"200": {
"headers": {},
"body": {
"value": [
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/outboundRules/rule_name_1",
"name": "rule_name_1",
"type": "workspace/outboundRules",
"properties": {
"type": "FQDN",
"destination": "destination_of_the_fqdn_rule",
"status": "Inactive",
"category": "Required"
}
},
{
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/test-rg/providers/Microsoft.MachineLearningServices/workspaces/aml-workspace-name/outboundRules/rule_name_2",
"name": "rule_name_2",
"type": "workspace/outboundRules",
"properties": {
"type": "FQDN",
"destination": "destination_of_the_fqdn_rule",
"status": "Inactive",
"category": "Required"
ZhidaLiu marked this conversation as resolved.
Show resolved Hide resolved
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "aml-workspace-name",
"api-version": "2023-10-01",
"body": {
"includeSpark": false
}
},
"responses": {
"202": {
"headers": {
"Location": "location_url_to_poll_for_status"
}
},
"200": {
"body": {
"status": "Active",
"sparkReady": true
}
}
}
}
Loading