Skip to content

Commit

Permalink
Sync examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Shail Paragbhai Shah committed Sep 20, 2023
1 parent 34d88e0 commit 4d88297
Show file tree
Hide file tree
Showing 26 changed files with 226 additions and 1,080 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"registryName": "registryName",
"name": "string",
"version": "string",
"api-version": "2023-10-01",
"body": {
"assetId": "string",
"blobUri": "https://www.contoso.com/example"
}
},
"responses": {
"200": {
"headers": {},
"body": {
"blobReferenceForConsumption": {
"blobUri": "https://www.contoso.com/example",
"storageAccountArmId": "string",
"credential": {
"credentialType": "NoCredentials"
}
}
}
}
}
}

This file was deleted.

This file was deleted.

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"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"name": "string",
"workspaceName": "aml-workspace-name",
"ruleName": "rule-name",
"api-version": "2023-10-01"
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "example_location"
"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"
}
}
]
}
}
}
}
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
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@
"workspaceName": "my-aml-workspace",
"name": "string",
"version": "string",
"api-version": "2023-10-01"
"api-version": "2023-10-01",
"body": {
"registryName": "string",
"destinationName": "string",
"destinationVersion": "string"
}
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "example_location"
}
},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,19 @@
"workspaceName": "my-aml-workspace",
"name": "string",
"version": "string",
"api-version": "2023-10-01"
"api-version": "2023-10-01",
"body": {
"registryName": "string",
"destinationName": "string",
"destinationVersion": "string"
}
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "example_location"
}
},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,20 @@
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"name": "string",
"api-version": "2023-10-01"
"version": "string",
"api-version": "2023-10-01",
"body": {
"registryName": "string",
"destinationName": "string",
"destinationVersion": "string"
}
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "example_location"
}
},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"resourceGroupName": "test-rg",
"workspaceName": "my-aml-workspace",
"name": "string",
"version": "string",
"api-version": "2023-10-01",
"body": {
"registryName": "string",
"destinationName": "string",
"destinationVersion": "string"
}
},
"responses": {
"200": {},
"202": {
"headers": {
"Location": "example_location"
}
}
}
}
Loading

0 comments on commit 4d88297

Please sign in to comment.