diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-05-15-preview/examples/ListVMSizesResult.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-05-15-preview/examples/ListVMSizesResult.json index 005c8211e663..2ddc7f03fa3d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-05-15-preview/examples/ListVMSizesResult.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-05-15-preview/examples/ListVMSizesResult.json @@ -8,445 +8,338 @@ "200": { "body": { "amlCompute": [ - { - "name": "Standard_F2s_v2", - "family": "standardFSv2Family", - "vCPUs": 2, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 16384, - "memoryGB": 4.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_F4s_v2", - "family": "standardFSv2Family", - "vCPUs": 4, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 32768, - "memoryGB": 8.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_F8s_v2", - "family": "standardFSv2Family", - "vCPUs": 8, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 65536, - "memoryGB": 16.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_F16s_v2", - "family": "standardFSv2Family", - "vCPUs": 16, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 131072, - "memoryGB": 32.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_F32s_v2", - "family": "standardFSv2Family", - "vCPUs": 32, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 262144, - "memoryGB": 64.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_F64s_v2", - "family": "standardFSv2Family", - "vCPUs": 64, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 524288, - "memoryGB": 128.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_F72s_v2", - "family": "standardFSv2Family", - "vCPUs": 72, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 589824, - "memoryGB": 144.0, - "lowPriorityCapable": true, - "premiumIO": true - }, { "name": "Standard_D1_v2", "family": "standardDv2Family", "vCPUs": 1, + "gpus": 0, "osVhdSizeMB": 1047552, "maxResourceVolumeMB": 51200, "memoryGB": 3.5, "lowPriorityCapable": true, - "premiumIO": false + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } }, { "name": "Standard_D2_v2", "family": "standardDv2Family", "vCPUs": 2, + "gpus": 0, "osVhdSizeMB": 1047552, "maxResourceVolumeMB": 102400, - "memoryGB": 7.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_D3_v2", - "family": "standardDv2Family", - "vCPUs": 4, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 204800, - "memoryGB": 14.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_D4_v2", - "family": "standardDv2Family", - "vCPUs": 8, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 409600, - "memoryGB": 28.0, - "lowPriorityCapable": true, - "premiumIO": false + "memoryGB": 7, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.09, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.23, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.11, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + } + ] + } }, { "name": "Standard_D11_v2", "family": "standardDv2Family", "vCPUs": 2, + "gpus": 0, "osVhdSizeMB": 1047552, "maxResourceVolumeMB": 102400, - "memoryGB": 14.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_D12_v2", - "family": "standardDv2Family", - "vCPUs": 4, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 204800, - "memoryGB": 28.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_D13_v2", - "family": "standardDv2Family", - "vCPUs": 8, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 409600, - "memoryGB": 56.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_D14_v2", - "family": "standardDv2Family", - "vCPUs": 16, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 819200, - "memoryGB": 112.0, - "lowPriorityCapable": true, - "premiumIO": false + "memoryGB": 14, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.15, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.1, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.03, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.24, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } }, { "name": "Standard_DS1_v2", "family": "standardDSv2Family", "vCPUs": 1, + "gpus": 0, "osVhdSizeMB": 1047552, "maxResourceVolumeMB": 7168, "memoryGB": 3.5, "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_DS2_v2", - "family": "standardDSv2Family", - "vCPUs": 2, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 14336, - "memoryGB": 7.0, - "lowPriorityCapable": true, - "premiumIO": true + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.05, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.12, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.01, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.06, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } }, { - "name": "Standard_DS3_v2", - "family": "standardDSv2Family", - "vCPUs": 4, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 28672, - "memoryGB": 14.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_DS4_v2", - "family": "standardDSv2Family", - "vCPUs": 8, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 57344, - "memoryGB": 28.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_DS5_v2", - "family": "standardDSv2Family", - "vCPUs": 16, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 114688, - "memoryGB": 56.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_DS11_v2", - "family": "standardDSv2Family", + "name": "Standard_F2s_v2", + "family": "standardFSv2Family", "vCPUs": 2, + "gpus": 0, "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 28672, - "memoryGB": 14.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_DS12_v2", - "family": "standardDSv2Family", - "vCPUs": 4, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 57344, - "memoryGB": 28.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_DS13_v2", - "family": "standardDSv2Family", - "vCPUs": 8, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 114688, - "memoryGB": 56.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_DS14_v2", - "family": "standardDSv2Family", - "vCPUs": 16, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 229376, - "memoryGB": 112.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_DS15_v2", - "family": "standardDSv2Family", - "vCPUs": 20, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 286720, - "memoryGB": 140.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_NC6s_v2", - "family": "standardNCSv2Family", - "vCPUs": 6, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 344064, - "memoryGB": 112.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_NC12s_v2", - "family": "standardNCSv2Family", - "vCPUs": 12, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 688128, - "memoryGB": 224.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_NC24rs_v2", - "family": "standardNCSv2Family", - "vCPUs": 24, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1376256, - "memoryGB": 448.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_NC24s_v2", - "family": "standardNCSv2Family", - "vCPUs": 24, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1376256, - "memoryGB": 448.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_NC6s_v3", - "family": "standardNCSv3Family", - "vCPUs": 6, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 344064, - "memoryGB": 112.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_NC12s_v3", - "family": "standardNCSv3Family", - "vCPUs": 12, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 688128, - "memoryGB": 224.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_NC24rs_v3", - "family": "standardNCSv3Family", - "vCPUs": 24, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1376256, - "memoryGB": 448.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_NC24s_v3", - "family": "standardNCSv3Family", - "vCPUs": 24, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1376256, - "memoryGB": 448.0, - "lowPriorityCapable": true, - "premiumIO": true + "maxResourceVolumeMB": 16384, + "memoryGB": 4, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.02, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.08, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.06, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.16, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } + }, + { + "name": "Standard_M32-8ms", + "family": "standardMSFamily", + "vCPUs": 32, + "gpus": 0, + "osVhdSizeMB": 1047552, + "maxResourceVolumeMB": 1024000, + "memoryGB": 875, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 8.43, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 1.23, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 3.37, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 6.15, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } }, { "name": "Standard_NC6", "family": "standardNCFamily", "vCPUs": 6, + "gpus": 1, "osVhdSizeMB": 1047552, "maxResourceVolumeMB": 389120, - "memoryGB": 56.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_NC12", - "family": "standardNCFamily", - "vCPUs": 12, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 696320, - "memoryGB": 112.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_NC24", - "family": "standardNCFamily", - "vCPUs": 24, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1474560, - "memoryGB": 224.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_NC24r", - "family": "standardNCFamily", - "vCPUs": 24, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1474560, - "memoryGB": 224.0, - "lowPriorityCapable": true, - "premiumIO": false + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 0.18, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.43, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.9, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 1.08, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } }, { "name": "Standard_NV6", "family": "standardNVFamily", "vCPUs": 6, + "gpus": 1, "osVhdSizeMB": 1047552, "maxResourceVolumeMB": 389120, - "memoryGB": 56.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_NV12", - "family": "standardNVFamily", - "vCPUs": 12, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 696320, - "memoryGB": 112.0, - "lowPriorityCapable": true, - "premiumIO": false - }, - { - "name": "Standard_NV24", - "family": "standardNVFamily", - "vCPUs": 24, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1474560, - "memoryGB": 224.0, - "lowPriorityCapable": true, - "premiumIO": false + "memoryGB": 56, + "lowPriorityCapable": true, + "premiumIO": false, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 1.28, + "osType": "Windows", + "vmTier": "Standard" + }, + { + "retailPrice": 0.51, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.22, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 1.09, + "osType": "Linux", + "vmTier": "Standard" + } + ] + } }, { "name": "Standard_ND6s", "family": "standardNDSFamily", "vCPUs": 6, + "gpus": 1, "osVhdSizeMB": 1047552, "maxResourceVolumeMB": 344064, - "memoryGB": 112.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_ND12s", - "family": "standardNDSFamily", - "vCPUs": 12, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 688128, - "memoryGB": 224.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_ND24rs", - "family": "standardNDSFamily", - "vCPUs": 24, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1376256, - "memoryGB": 448.0, - "lowPriorityCapable": true, - "premiumIO": true - }, - { - "name": "Standard_ND24s", - "family": "standardNDSFamily", - "vCPUs": 24, - "osVhdSizeMB": 1047552, - "maxResourceVolumeMB": 1376256, - "memoryGB": 448.0, - "lowPriorityCapable": true, - "premiumIO": true + "memoryGB": 112, + "lowPriorityCapable": true, + "premiumIO": true, + "estimatedVMPrices": { + "billingCurrency": "USD", + "unitOfMeasure": "OneHour", + "values": [ + { + "retailPrice": 2.07, + "osType": "Linux", + "vmTier": "Standard" + }, + { + "retailPrice": 0.36, + "osType": "Linux", + "vmTier": "LowPriority" + }, + { + "retailPrice": 0.87, + "osType": "Windows", + "vmTier": "LowPriority" + }, + { + "retailPrice": 2.49, + "osType": "Windows", + "vmTier": "Standard" + } + ] + } } ] } diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-05-15-preview/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-05-15-preview/machineLearningServices.json index 1d2e9855d69e..b1b68191222d 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-05-15-preview/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2020-05-15-preview/machineLearningServices.json @@ -1711,10 +1711,100 @@ "title": "Premium IO supported", "description": "Specifies if the virtual machine size supports premium IO.", "readOnly": true + }, + "estimatedVMPrices": { + "title": "Estimated VM prices", + "description": "The estimated price information for using a VM.", + "$ref": "#/definitions/EstimatedVMPrices" } }, "description": "Describes the properties of a VM size." }, + "EstimatedVMPrices": { + "properties": { + "billingCurrency": { + "type": "string", + "title": "Billing currency", + "description": "Three lettered code specifying the currency of the VM price. Example: USD", + "enum": [ + "USD" + ], + "x-ms-enum": { + "name": "BillingCurrency", + "modelAsString": true + } + }, + "unitOfMeasure": { + "type": "string", + "title": "Unit of time measure", + "description": "The unit of time measurement for the specified VM price. Example: OneHour", + "enum": [ + "OneHour" + ], + "x-ms-enum": { + "name": "UnitOfMeasure", + "modelAsString": true + } + }, + "values": { + "type": "array", + "items": { + "$ref": "#/definitions/EstimatedVMPrice" + }, + "title": "List of estimated VM prices.", + "description": "The list of estimated prices for using a VM of a particular OS type, tier, etc." + } + }, + "required": [ + "billingCurrency", + "unitOfMeasure", + "values" + ], + "description": "The estimated price info for using a VM." + }, + "EstimatedVMPrice": { + "properties": { + "retailPrice": { + "type": "number", + "format": "double", + "title": "Retail price", + "description": "The price charged for using the VM." + }, + "osType": { + "type": "string", + "title": "OS type", + "description": "Operating system type used by the VM.", + "enum": [ + "Linux", + "Windows" + ], + "x-ms-enum": { + "name": "VMPriceOSType", + "modelAsString": true + } + }, + "vmTier": { + "type": "string", + "title": "VM tier", + "description": "The type of the VM.", + "enum": [ + "Standard", + "LowPriority", + "Spot" + ], + "x-ms-enum": { + "name": "VMTier", + "modelAsString": true + } + } + }, + "required": [ + "retailPrice", + "osType", + "vmTier" + ], + "description": "The estimated price info for using a VM of a particular OS type, tier, etc." + }, "VirtualMachineSizeListResult": { "properties": { "amlCompute": {