Skip to content
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2017-01-01",
"webServiceName": "TargetWebServiceName",
"region": "Southeast Asia"
},
"responses": {
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
20 changes: 20 additions & 0 deletions arm-machinelearning/2017-01-01/examples/deleteWebService.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2017-01-01",
"webServiceName": "TargetWebServiceName"
},
"responses": {
"202": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
},
"204": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
}
}
}
}
194 changes: 194 additions & 0 deletions arm-machinelearning/2017-01-01/examples/getWebService.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2017-01-01",
"webServiceName": "TargetWebServiceName"
},
"responses": {
"200": {
"headers": {
},
"body": {
"id": "TheWebServiceId",
"location": "West US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"title": "Web Service Title",
"description": "Web Service Description",
"readOnly": false,
"exposeSampleData": true,
"storageAccount": {
"name": "Storage_Name"
},
"commitmentPlan": {
"id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName"
},
"createdOn": "2017-01-01T01:01:01Z",
"modifiedOn": "2017-01-01T02:02:02Z",
"provisioningState": "Provisioning",
"swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json",
"realtimeConfiguration": {
"maxConcurrentCalls": 4
},
"diagnostics": {
"level": "None"
},
"payloadsInBlobStorage": false,
"machineLearningWorkspace": {
"id": "workspaceId"
},
"packageType": "Graph",
"assets": {
"asset1": {
"name": "Execute R Script",
"type": "Module",
"locationInfo": {
"uri": "aml://module/moduleId-1",
"credentials": ""
}
},
"asset2": {
"name": "Import Data",
"type": "Module",
"locationInfo": {
"uri": "aml://module/moduleId-2",
"credentials": ""
}
}
},
"parameters": {},
"input": {
"title": "",
"description": "",
"type": "object",
"properties": {
"input1": {
"title": "",
"description": "",
"type": "object",
"properties": {
"column_name": {
"type": "String",
"x-ms-isnullable": false
}
}
}
}
},
"output": {
"title": "",
"description": "",
"type": "object",
"properties": {
"output1": {
"title": "",
"description": "",
"type": "object",
"properties": {
"age": {
"type": "Integer",
"format": "Int32",
"x-ms-isnullable": true
},
"workclass": {
"type": "String",
"x-ms-isnullable": false
}
}
}
}
},
"package": {
"Nodes": {
"node1": {
"AssetId": "asset1",
"Parameters": {
"R Script": {
"Value": "The R Script",
"CertificateThumbprint": ""
},
"R Version": {
"Value": "CRAN R 3.1.0",
"CertificateThumbprint": ""
}
}
},
"node2": {
"AssetId": "asset2",
"Parameters": {
"Please Specify Data Source": {
"Value": "AzureBlobStorage",
"CertificateThumbprint": ""
},
"Please Specify Authentication Type": {
"Value": "Account",
"CertificateThumbprint": ""
},
"Account Name": {
"Value": "accountName",
"CertificateThumbprint": ""
},
"Account Key": {
"Value": "Encrypted Key",
"CertificateThumbprint": "TheThumbprint"
}
}
},
"node3": {
"InputId": "input1"
},
"node4": {
"OutputId": "output1"
}
},
"Edges": [
{
"SourceNodeId": "node2",
"SourcePortId": "Results dataset",
"TargetNodeId": "node1",
"TargetPortId": "Dataset2"
},
{
"SourceNodeId": "node3",
"TargetNodeId": "node1",
"TargetPortId": "Dataset1"
},
{
"SourceNodeId": "node1",
"SourcePortId": "Result Dataset",
"TargetNodeId": "node4"
}
],
"GraphParameters": {}
},
"exampleRequest": {
"inputs": {
"input1": [
[
"age"
],
[
"workclass"
],
[
"fnlwgt"
],
[
"education"
],
[
"education-num"
]
]
},
"globalParameters": null
}
}
}
}
}
}
18 changes: 18 additions & 0 deletions arm-machinelearning/2017-01-01/examples/getWebServiceKeys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2017-01-01",
"webServiceName": "TargetWebServiceName"
},
"responses": {
"200": {
"headers": {
},
"body": {
"primary": "The Primary key",
"secondary": "The Secondary key"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"parameters": {
"subscriptionId": "subscription-id",
"resourceGroupName": "OneResourceGroupName",
"api-version": "2017-01-01"
},
"responses": {
"200": {
"headers": {
"azure-asyncoperation": "http://azure.async.operation/status"
},
"body": {
"value": [
{
"id": "TheWebServiceId",
"location": "West US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"title": "New Web Service Title",
"description": "New Web Service Description",
"readOnly": false,
"exposeSampleData": true,
"storageAccount": {
"name": "Storage_Name"
},
"commitmentPlan": {
"id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName"
},
"createdOn": "2017-01-01T01:01:01Z",
"modifiedOn": "2017-01-01T02:02:02Z",
"provisioningState": "Provisioning",
"swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json",
"realtimeConfiguration": {
"maxConcurrentCalls": 4
},
"diagnostics": {
"level": "None"
},
"payloadsInBlobStorage": false,
"packageType": "Graph"
}
},
{
"id": "TheWebServiceId2",
"location": "West US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"title": "New Web Service Title2",
"description": "New Web Service Description2",
"readOnly": false,
"exposeSampleData": true,
"storageAccount": {
"name": "Storage_Name"
},
"commitmentPlan": {
"id": "/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.MachineLearning/commitmentPlans/commitmentPlanName"
},
"createdOn": "2017-01-01T01:01:01Z",
"modifiedOn": "2017-01-01T02:02:02Z",
"provisioningState": "Provisioning",
"swaggerLocation": "https://ussouthcentral.services.azureml.net/subscriptions/subscriptionId/services/serviceId/swagger.json",
"realtimeConfiguration": {
"maxConcurrentCalls": 4
},
"diagnostics": {
"level": "None"
},
"payloadsInBlobStorage": false,
"packageType": "Graph"
}
}
],
"nextLink": "https://the.next/link"
}
}
}
}
Loading