-
Notifications
You must be signed in to change notification settings - Fork 5.1k
/
webservices.json
1393 lines (1393 loc) · 47.1 KB
/
webservices.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"swagger": "2.0",
"info": {
"title": "Azure ML Web Services Management Client",
"description": "These APIs allow end users to operate on Azure Machine Learning Web Services resources. They support the following operations:<ul><li>Create or update a web service</li><li>Get a web service</li><li>Patch a web service</li><li>Delete a web service</li><li>Get All Web Services in a Resource Group </li><li>Get All Web Services in a Subscription</li><li>Get Web Services Keys</li></ul>",
"version": "2017-01-01"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"paths": {
"/providers/Microsoft.MachineLearning/operations": {
"get": {
"description": "Lists all the available REST API operations.",
"operationId": "Operations_List",
"parameters": [
{
"$ref": "#/parameters/APIVersionParameter"
}
],
"x-ms-pageable": {
"nextLinkName": null
},
"responses": {
"200": {
"description": "OK.",
"schema": {
"$ref": "#/definitions/OperationEntityListResult"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}": {
"put": {
"tags": [
"WebServices"
],
"operationId": "WebServices_CreateOrUpdate",
"x-ms-examples": {
"PUT WebService": {
"$ref": "./examples/putWebService.json"
}
},
"description": "Create or update a web service. This call will overwrite an existing web service. Note that there is no warning or confirmation. This is a nonrecoverable operation. If your intent is to create a new web service, call the Get operation first to verify that it does not exist.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WebServiceNameParameter"
},
{
"in": "body",
"name": "createOrUpdatePayload",
"description": "The payload that is used to create or update the web service.",
"required": true,
"schema": {
"$ref": "#/definitions/WebService"
}
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Success. This response is returned for an update web service operation. The response payload is identical to the response payload that is returned by the GET operation. The response includes the Provisioning State and the Azure-AsyncOperation header. To get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field. For more information about Asynchronous Operations, see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-async-operations.",
"schema": {
"$ref": "#/definitions/WebService"
}
},
"201": {
"description": "Created. This response is returned for a create web service operation. The response includes the Provisioning State and the Azure-AsyncOperation header. To get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field. For more information about Asynchronous Operations, see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-async-operations.",
"schema": {
"$ref": "#/definitions/WebService"
}
}
},
"x-ms-long-running-operation": true
},
"get": {
"tags": [
"WebServices"
],
"operationId": "WebServices_Get",
"x-ms-examples": {
"GET WebService": {
"$ref": "./examples/getWebService.json"
}
},
"description": "Gets the Web Service Definition as specified by a subscription, resource group, and name. Note that the storage credentials and web service keys are not returned by this call. To get the web service access keys, call List Keys.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WebServiceNameParameter"
},
{
"in": "query",
"name": "region",
"type": "string",
"description": "The region for which encrypted credential parameters are valid.",
"required": false
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Success. The response includes the Provisioning State and the Azure-AsyncOperation header. To get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field. For more informationFor more information about Asynchronous Operations, see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-async-operations.",
"schema": {
"$ref": "#/definitions/WebService"
}
}
}
},
"patch": {
"tags": [
"WebServices"
],
"operationId": "WebServices_Patch",
"x-ms-examples": {
"Patch WebService": {
"$ref": "./examples/patchWebService.json"
}
},
"description": "Modifies an existing web service resource. The PATCH API call is an asynchronous operation. To determine whether it has completed successfully, you must perform a Get operation.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WebServiceNameParameter"
},
{
"in": "body",
"name": "patchPayload",
"description": "The payload to use to patch the web service.",
"required": true,
"schema": {
"$ref": "#/definitions/PatchedWebService"
}
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Success. The response payload is identical to the response payload that is returned by the GET operation. The response includes the Provisioning State and the Azure-AsyncOperation header. To get the progress of the operation, call GET operation on the URL in Azure-AsyncOperation header field. For more information about Asynchronous Operations, see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-async-operations.",
"schema": {
"$ref": "#/definitions/WebService"
}
}
},
"x-ms-long-running-operation": true
},
"delete": {
"tags": [
"WebServices"
],
"operationId": "WebServices_Remove",
"x-ms-examples": {
"Delete WebService": {
"$ref": "./examples/deleteWebService.json"
}
},
"description": "Deletes the specified web service.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WebServiceNameParameter"
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"202": {
"description": "Accepted. Note that a 202 status is returned even if the service did not exist."
},
"204": {
"description": "No Content."
}
},
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/CreateRegionalBlob": {
"post": {
"tags": [
"WebServices"
],
"operationId": "WebServices_CreateRegionalProperties",
"x-ms-examples": {
"Create Regional Properties": {
"$ref": "./examples/createRegionalProperties.json"
}
},
"description": "Creates an encrypted credentials parameter blob for the specified region. To get the web service from a region other than the region in which it has been created, you must first call Create Regional Web Services Properties to create a copy of the encrypted credential parameter blob in that region. You only need to do this before the first time that you get the web service in the new region.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WebServiceNameParameter"
},
{
"in": "query",
"name": "region",
"type": "string",
"description": "The region for which encrypted credential parameters are created.",
"required": true
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"202": {
"description": "Accepted. The response includes the Azure-AsyncOperation header. To get the progress of the operation, call the GET operation on the URL in the Azure-AsyncOperation header field. For more information about Asynchronous Operations, see https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-async-operations."
},
"200": {
"description": "OK. Internal use only. Used for SDK return values.",
"schema": {
"$ref": "#/definitions/AsyncOperationStatus"
}
}
},
"x-ms-long-running-operation": true
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices/{webServiceName}/listKeys": {
"get": {
"tags": [
"WebServices"
],
"operationId": "WebServices_ListKeys",
"x-ms-examples": {
"GET WebService Keys": {
"$ref": "./examples/getWebServiceKeys.json"
}
},
"description": "Gets the access keys for the specified web service.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WebServiceNameParameter"
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Success.",
"schema": {
"$ref": "#/definitions/WebServiceKeys"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearning/webServices": {
"get": {
"tags": [
"WebServices"
],
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"operationId": "WebServices_ListByResourceGroup",
"x-ms-examples": {
"GET WebServices by Resource Group": {
"$ref": "./examples/getWebServicesByResourceGroup.json"
}
},
"description": "Gets the web services in the specified resource group.",
"parameters": [
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"in": "query",
"name": "$skiptoken",
"type": "string",
"description": "Continuation token for pagination.",
"required": false
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Success. The response includes a paginated array of web service objects and a URI to the next set of results, if any. For the more information the limits of the number of items in a resource group, see https://azure.microsoft.com/en-us/documentation/articles/azure-subscription-service-limits/. Note that the web service objects are sparsely populated to conserve space in the response content. To get the full web service object, call the GET operation on the web service.",
"schema": {
"$ref": "#/definitions/PaginatedWebServicesList"
}
}
}
}
},
"/subscriptions/{subscriptionId}/providers/Microsoft.MachineLearning/webServices": {
"get": {
"tags": [
"WebServices"
],
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"operationId": "WebServices_ListBySubscriptionId",
"x-ms-examples": {
"GET WebServices by Subscription Id": {
"$ref": "./examples/getWebServicesBySubscriptionId.json"
}
},
"description": "Gets the web services in the specified subscription.",
"parameters": [
{
"in": "query",
"name": "$skiptoken",
"type": "string",
"description": "Continuation token for pagination.",
"required": false
},
{
"$ref": "#/parameters/APIVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
}
],
"responses": {
"200": {
"description": "Success. The response includes a paginated array of web service objects and a URI to the next set of results, if any. Note that the web service objects are sparsely populated to conserve space in the response content. To get the full web service object, call the GET operation on the web service.",
"schema": {
"$ref": "#/definitions/PaginatedWebServicesList"
}
}
}
}
}
},
"parameters": {
"SubscriptionIdParameter": {
"name": "subscriptionId",
"description": "The Azure subscription ID.",
"in": "path",
"type": "string",
"required": true
},
"ResourceGroupNameParameter": {
"name": "resourceGroupName",
"description": "Name of the resource group in which the web service is located.",
"in": "path",
"type": "string",
"required": true,
"x-ms-parameter-location": "method"
},
"WebServiceNameParameter": {
"name": "webServiceName",
"description": "The name of the web service.",
"in": "path",
"type": "string",
"required": true,
"x-ms-parameter-location": "method"
},
"APIVersionParameter": {
"in": "query",
"name": "api-version",
"type": "string",
"description": "The version of the Microsoft.MachineLearning resource provider API to use.",
"required": true
}
},
"definitions": {
"Resource": {
"description": "Azure resource.",
"x-ms-azure-resource": true,
"required": [
"location"
],
"properties": {
"id": {
"description": "Specifies the resource ID.",
"type": "string",
"readOnly": true
},
"name": {
"description": "Specifies the name of the resource.",
"type": "string",
"readOnly": true
},
"location": {
"description": "Specifies the location of the resource.",
"type": "string"
},
"type": {
"description": "Specifies the type of the resource.",
"type": "string",
"readOnly": true
},
"tags": {
"description": "Contains resource tags defined as key/value pairs.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"PatchedResource": {
"description": "Azure resource.",
"x-ms-azure-resource": true,
"properties": {
"id": {
"description": "Specifies the resource ID.",
"type": "string",
"readOnly": true
},
"name": {
"description": "Specifies the name of the resource.",
"type": "string",
"readOnly": true
},
"location": {
"description": "Specifies the location of the resource.",
"type": "string",
"readOnly": true
},
"type": {
"description": "Specifies the type of the resource.",
"type": "string",
"readOnly": true
},
"tags": {
"description": "Contains resource tags defined as key/value pairs.",
"type": "object",
"additionalProperties": {
"type": "string"
}
}
}
},
"WebService": {
"type": "object",
"description": "Instance of an Azure ML web service resource.",
"allOf": [
{
"$ref": "#/definitions/Resource"
}
],
"properties": {
"properties": {
"$ref": "#/definitions/WebServiceProperties",
"description": "Contains the property payload that describes the web service."
}
},
"required": [
"properties"
]
},
"PatchedWebService": {
"type": "object",
"description": "Instance of an Patched Azure ML web service resource.",
"allOf": [
{
"$ref": "#/definitions/PatchedResource"
}
],
"properties": {
"properties": {
"$ref": "#/definitions/WebServiceProperties",
"description": "Contains the property payload that describes the web service."
}
}
},
"WebServiceProperties": {
"type": "object",
"description": "The set of properties specific to the Azure ML web service resource.",
"required": [
"packageType"
],
"discriminator": "packageType",
"properties": {
"title": {
"type": "string",
"description": "The title of the web service."
},
"description": {
"type": "string",
"description": "The description of the web service."
},
"createdOn": {
"type": "string",
"description": "Read Only: The date and time when the web service was created.",
"format": "date-time",
"readOnly": true
},
"modifiedOn": {
"type": "string",
"description": "Read Only: The date and time when the web service was last modified.",
"format": "date-time",
"readOnly": true
},
"provisioningState": {
"type": "string",
"description": "Read Only: The provision state of the web service. Valid values are Unknown, Provisioning, Succeeded, and Failed.",
"enum": [
"Unknown",
"Provisioning",
"Succeeded",
"Failed"
],
"x-ms-enum": {
"name": "ProvisioningState",
"modelAsString": true
},
"readOnly": true
},
"keys": {
"$ref": "#/definitions/WebServiceKeys",
"description": "Contains the web service provisioning keys. If you do not specify provisioning keys, the Azure Machine Learning system generates them for you. Note: The keys are not returned from calls to GET operations."
},
"readOnly": {
"type": "boolean",
"description": "When set to true, indicates that the web service is read-only and can no longer be updated or patched, only removed. Default, is false. Note: Once set to true, you cannot change its value."
},
"swaggerLocation": {
"type": "string",
"description": "Read Only: Contains the URI of the swagger spec associated with this web service.",
"readOnly": true
},
"exposeSampleData": {
"type": "boolean",
"description": "When set to true, sample data is included in the web service's swagger definition. The default value is true."
},
"realtimeConfiguration": {
"$ref": "#/definitions/RealtimeConfiguration",
"description": "Contains the configuration settings for the web service endpoint."
},
"diagnostics": {
"$ref": "#/definitions/DiagnosticsConfiguration",
"description": "Settings controlling the diagnostics traces collection for the web service."
},
"storageAccount": {
"$ref": "#/definitions/StorageAccount",
"description": "Specifies the storage account that Azure Machine Learning uses to store information about the web service. Only the name of the storage account is returned from calls to GET operations. When updating the storage account information, you must ensure that all necessary assets are available in the new storage account or calls to your web service will fail."
},
"machineLearningWorkspace": {
"$ref": "#/definitions/MachineLearningWorkspace",
"description": "Specifies the Machine Learning workspace containing the experiment that is source for the web service."
},
"commitmentPlan": {
"$ref": "#/definitions/CommitmentPlan",
"description": "Contains the commitment plan associated with this web service. Set at creation time. Once set, this value cannot be changed. Note: The commitment plan is not returned from calls to GET operations."
},
"input": {
"$ref": "#/definitions/ServiceInputOutputSpecification",
"description": "Contains the Swagger 2.0 schema describing one or more of the web service's inputs. For more information, see the Swagger specification."
},
"output": {
"$ref": "#/definitions/ServiceInputOutputSpecification",
"description": "Contains the Swagger 2.0 schema describing one or more of the web service's outputs. For more information, see the Swagger specification."
},
"exampleRequest": {
"$ref": "#/definitions/ExampleRequest",
"description": "Defines sample input data for one or more of the service's inputs."
},
"assets": {
"type": "object",
"description": "Contains user defined properties describing web service assets. Properties are expressed as Key/Value pairs.",
"additionalProperties": {
"$ref": "#/definitions/AssetItem"
}
},
"parameters": {
"type": "object",
"description": "The set of global parameters values defined for the web service, given as a global parameter name to default value map. If no default value is specified, the parameter is considered to be required.",
"additionalProperties": {
"$ref": "#/definitions/WebServiceParameter"
}
},
"packageType": {
"type": "string",
"description": "Specifies the package type. Valid values are Graph (Specifies a web service published through the Machine Learning Studio) and Code (Specifies a web service published using code such as Python). Note: Code is not supported at this time.",
"enum": [
"Graph"
]
},
"payloadsInBlobStorage": {
"type": "boolean",
"description": "When set to true, indicates that the payload size is larger than 3 MB. Otherwise false. If the payload size exceed 3 MB, the payload is stored in a blob and the PayloadsLocation parameter contains the URI of the blob. Otherwise, this will be set to false and Assets, Input, Output, Package, Parameters, ExampleRequest are inline. The Payload sizes is determined by adding the size of the Assets, Input, Output, Package, Parameters, and the ExampleRequest."
},
"payloadsLocation": {
"$ref": "#/definitions/BlobLocation",
"description": "The URI of the payload blob. This parameter contains a value only if the payloadsInBlobStorage parameter is set to true. Otherwise is set to null."
}
}
},
"WebServicePropertiesForGraph": {
"description": "Properties specific to a Graph based web service.",
"x-ms-discriminator-value": "Graph",
"allOf": [
{
"$ref": "#/definitions/WebServiceProperties"
}
],
"properties": {
"package": {
"description": "The definition of the graph package making up this web service.",
"$ref": "#/definitions/GraphPackage"
}
}
},
"WebServiceKeys": {
"type": "object",
"description": "Access keys for the web service calls.",
"properties": {
"primary": {
"type": "string",
"description": "The primary access key."
},
"secondary": {
"type": "string",
"description": "The secondary access key."
}
}
},
"PaginatedWebServicesList": {
"type": "object",
"description": "Paginated list of web services.",
"properties": {
"value": {
"type": "array",
"description": "An array of web service objects.",
"items": {
"$ref": "#/definitions/WebService"
}
},
"nextLink": {
"type": "string",
"description": "A continuation link (absolute URI) to the next page of results in the list."
}
}
},
"RealtimeConfiguration": {
"type": "object",
"description": "Holds the available configuration options for an Azure ML web service endpoint.",
"properties": {
"maxConcurrentCalls": {
"type": "integer",
"minimum": 4,
"maximum": 200,
"description": "Specifies the maximum concurrent calls that can be made to the web service. Minimum value: 4, Maximum value: 200."
}
}
},
"DiagnosticsConfiguration": {
"type": "object",
"description": "Diagnostics settings for an Azure ML web service.",
"properties": {
"level": {
"type": "string",
"description": "Specifies the verbosity of the diagnostic output. Valid values are: None - disables tracing; Error - collects only error (stderr) traces; All - collects all traces (stdout and stderr).",
"enum": [
"None",
"Error",
"All"
],
"x-ms-enum": {
"name": "DiagnosticsLevel",
"modelAsString": true
}
},
"expiry": {
"type": "string",
"description": "Specifies the date and time when the logging will cease. If null, diagnostic collection is not time limited.",
"format": "date-time"
}
},
"required": [
"level"
]
},
"StorageAccount": {
"type": "object",
"description": "Access information for a storage account.",
"properties": {
"name": {
"type": "string",
"description": "Specifies the name of the storage account."
},
"key": {
"type": "string",
"description": "Specifies the key used to access the storage account."
}
}
},
"MachineLearningWorkspace": {
"type": "object",
"description": "Information about the machine learning workspace containing the experiment that is source for the web service.",
"properties": {
"id": {
"type": "string",
"description": "Specifies the workspace ID of the machine learning workspace associated with the web service"
}
},
"required": [
"id"
]
},
"CommitmentPlan": {
"type": "object",
"description": "Information about the machine learning commitment plan associated with the web service.",
"properties": {
"id": {
"type": "string",
"description": "Specifies the Azure Resource Manager ID of the commitment plan associated with the web service."
}
},
"required": [
"id"
]
},
"ServiceInputOutputSpecification": {
"type": "object",
"description": "The swagger 2.0 schema describing the service's inputs or outputs. See Swagger specification: http://swagger.io/specification/",
"properties": {
"title": {
"type": "string",
"description": "The title of your Swagger schema."
},
"description": {
"type": "string",
"description": "The description of the Swagger schema."
},
"type": {
"type": "string",
"description": "The type of the entity described in swagger. Always 'object'.",
"default": "object"
},
"properties": {
"type": "object",
"description": "Specifies a collection that contains the column schema for each input or output of the web service. For more information, see the Swagger specification.",
"additionalProperties": {
"$ref": "#/definitions/TableSpecification"
}
}
},
"required": [
"type",
"properties"
]
},
"TableSpecification": {
"type": "object",
"description": "The swagger 2.0 schema describing a single service input or output. See Swagger specification: http://swagger.io/specification/",
"properties": {
"title": {
"type": "string",
"description": "Swagger schema title."
},
"description": {
"type": "string",
"description": "Swagger schema description."
},
"type": {
"type": "string",
"description": "The type of the entity described in swagger.",
"default": "object"
},
"format": {
"type": "string",
"description": "The format, if 'type' is not 'object'"
},
"properties": {
"type": "object",
"description": "The set of columns within the data table.",
"additionalProperties": {
"$ref": "#/definitions/ColumnSpecification"
}
}
},
"required": [
"type"
]
},
"ColumnSpecification": {
"type": "object",
"description": "Swagger 2.0 schema for a column within the data table representing a web service input or output. See Swagger specification: http://swagger.io/specification/",
"properties": {
"type": {
"type": "string",
"description": "Data type of the column.",
"enum": [
"Boolean",
"Integer",
"Number",
"String"
],
"x-ms-enum": {
"name": "ColumnType",
"modelAsString": true
}
},
"format": {
"type": "string",
"description": "Additional format information for the data type.",
"enum": [
"Byte",
"Char",
"Complex64",
"Complex128",
"Date-time",
"Date-timeOffset",
"Double",
"Duration",
"Float",
"Int8",
"Int16",
"Int32",
"Int64",
"Uint8",
"Uint16",
"Uint32",
"Uint64"
],
"x-ms-enum": {
"name": "ColumnFormat",
"modelAsString": true
}
},
"enum": {
"type": "array",
"description": "If the data type is categorical, this provides the list of accepted categories.",
"items": {
"type": "object"
},
"x-ms-identifiers": []
},
"x-ms-isnullable": {
"type": "boolean",
"description": "Flag indicating if the type supports null values or not."
},
"x-ms-isordered": {
"type": "boolean",
"description": "Flag indicating whether the categories are treated as an ordered set or not, if this is a categorical column."
}
},
"required": [
"type"
]
},
"ExampleRequest": {
"type": "object",
"description": "Sample input data for the service's input(s).",
"properties": {
"inputs": {
"type": "object",
"description": "Sample input data for the web service's input(s) given as an input name to sample input values matrix map.",
"additionalProperties": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "object"
},
"x-ms-identifiers": []
},
"x-ms-identifiers": []
}
},
"globalParameters": {
"type": "object",
"description": "Sample input data for the web service's global parameters",
"additionalProperties": {
"type": "object"
}
}
}
},
"AssetItem": {
"type": "object",
"description": "Information about an asset associated with the web service.",
"properties": {
"name": {
"type": "string",
"description": "Asset's friendly name."
},
"id": {
"type": "string",
"description": "Asset's Id."
},
"type": {
"type": "string",
"description": "Asset's type.",
"enum": [
"Module",
"Resource"
],
"x-ms-enum": {
"name": "AssetType",
"modelAsString": true
}
},
"locationInfo": {
"description": "Access information for the asset.",
"$ref": "#/definitions/BlobLocation"
},
"inputPorts": {
"type": "object",
"description": "Information about the asset's input ports.",
"additionalProperties": {
"$ref": "#/definitions/InputPort"
}
},
"outputPorts": {
"type": "object",
"description": "Information about the asset's output ports.",
"additionalProperties": {
"$ref": "#/definitions/OutputPort"
}
},
"metadata": {
"type": "object",
"description": "If the asset is a custom module, this holds the module's metadata.",
"additionalProperties": {
"type": "string"
}
},
"parameters": {
"type": "array",
"description": "If the asset is a custom module, this holds the module's parameters.",
"items": {
"$ref": "#/definitions/ModuleAssetParameter"
},
"x-ms-identifiers": [
"name"
]
}
},
"required": [
"name",
"type",
"locationInfo"
]
},
"BlobLocation": {
"type": "object",
"description": "Describes the access location for a blob.",
"properties": {
"uri": {
"type": "string",
"description": "The URI from which the blob is accessible from. For example, aml://abc for system assets or https://xyz for user assets or payload."
},
"credentials": {
"type": "string",
"description": "Access credentials for the blob, if applicable (e.g. blob specified by storage account connection string + blob URI)"
}
},
"required": [
"uri"
]