forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add managed Vnet to stable version (Azure#25729)
* Add managed Vnet to stable version * update missing parameter * Update missing ref * meaningless commit trigger pipeline again * Revert "meaningless commit trigger pipeline again" This reverts commit baa386b. * add missing ref * Update example version * trigger pipeline * Revert "trigger pipeline" This reverts commit f989c4c. * add force to purge parameter * trigger pipeline * Revert "trigger pipeline" This reverts commit 42ea0f8. * Update examples * Add format and update examples
- Loading branch information
Showing
6 changed files
with
735 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...MachineLearningServices/stable/2023-10-01/examples/ManagedNetwork/createOrUpdateRule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": { | ||
"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" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...crosoft.MachineLearningServices/stable/2023-10-01/examples/ManagedNetwork/deleteRule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
.../Microsoft.MachineLearningServices/stable/2023-10-01/examples/ManagedNetwork/getRule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...Microsoft.MachineLearningServices/stable/2023-10-01/examples/ManagedNetwork/listRule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...icrosoft.MachineLearningServices/stable/2023-10-01/examples/ManagedNetwork/provision.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.