From 662daadfcf7be0fe977934ee367918a3009f742f Mon Sep 17 00:00:00 2001 From: stankovski Date: Mon, 2 Nov 2015 11:04:04 -0800 Subject: [PATCH 1/2] Regenerated compute spec --- arm-compute/2015-06-15/swagger/compute.json | 3313 ++++++++++++++----- 1 file changed, 2496 insertions(+), 817 deletions(-) diff --git a/arm-compute/2015-06-15/swagger/compute.json b/arm-compute/2015-06-15/swagger/compute.json index 31fc7fe15189..e8197cfd6534 100644 --- a/arm-compute/2015-06-15/swagger/compute.json +++ b/arm-compute/2015-06-15/swagger/compute.json @@ -171,6 +171,9 @@ "$ref": "#/definitions/AvailabilitySetListResult" } } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -210,6 +213,9 @@ "$ref": "#/definitions/VirtualMachineSizeListResult" } } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -343,7 +349,7 @@ "format": "int32" }, { - "name": "$orderby", + "name": "$orderBy", "in": "query", "required": false, "type": "string" @@ -415,13 +421,13 @@ } ], "responses": { - "200": { + "201": { "description": "", "schema": { "$ref": "#/definitions/VirtualMachineExtension" } }, - "201": { + "200": { "description": "", "schema": { "$ref": "#/definitions/VirtualMachineExtension" @@ -466,10 +472,10 @@ } ], "responses": { - "200": { + "204": { "description": "" }, - "204": { + "200": { "description": "" }, "202": { @@ -791,7 +797,8 @@ "in": "path", "required": true, "type": "string", - "description": "The location upon which resource usage is queried." + "description": "The location upon which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" }, { "$ref": "#/parameters/ApiVersionParameter" @@ -807,6 +814,9 @@ "$ref": "#/definitions/ListUsagesResult" } } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -823,7 +833,8 @@ "in": "path", "required": true, "type": "string", - "description": "The location upon which virtual-machine-sizes is queried." + "description": "The location upon which virtual-machine-sizes is queried.", + "pattern": "^[-\\w\\._]+$" }, { "$ref": "#/parameters/ApiVersionParameter" @@ -839,6 +850,9 @@ "$ref": "#/definitions/VirtualMachineSizeListResult" } } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -881,14 +895,14 @@ } ], "responses": { - "202": { - "description": "" - }, "200": { "description": "", "schema": { "$ref": "#/definitions/ComputeLongRunningOperationResult" } + }, + "202": { + "description": "" } }, "x-ms-long-running-operation": true @@ -977,14 +991,14 @@ } ], "responses": { - "200": { - "description": "" - }, "204": { "description": "" }, "202": { "description": "" + }, + "200": { + "description": "" } }, "x-ms-long-running-operation": true @@ -1206,6 +1220,9 @@ "$ref": "#/definitions/VirtualMachineSizeListResult" } } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -1319,779 +1336,2363 @@ }, "x-ms-long-running-operation": true } - } - }, - "definitions": { - "InstanceViewStatus": { - "properties": { - "code": { - "type": "string", - "description": "Gets or sets the status Code." - }, - "level": { - "type": "string", - "description": "Gets or sets the level Code.", - "enum": [ - "Info", - "Warning", - "Error" - ], - "x-ms-enum": { - "name": "StatusLevelTypes", - "modelAsString": "True" + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{name}": { + "put": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_CreateOrUpdate", + "description": "The operation to create or update a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "name", + "in": "path", + "required": true, + "type": "string", + "description": "Parameters supplied to the Create Virtual Machine Scale Set operation." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSet" + }, + "description": "Parameters supplied to the Create Virtual Machine Scale Set operation." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSet" + } + }, + "201": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSet" + } } }, - "displayStatus": { - "type": "string", - "description": "Gets or sets the short localizable label for the status." - }, - "message": { - "type": "string", - "description": "Gets or sets the optional detailed Message, including for alerts and error messages." - }, - "time": { - "type": "string", - "format": "date-time", - "description": "Gets or sets the time of the status." - } - }, - "description": "Instance view status." + "x-ms-long-running-operation": true + } }, - "AvailabilitySetProperties": { - "properties": { - "platformUpdateDomainCount": { - "type": "integer", - "format": "int32", - "description": "Gets or sets Update Domain count." - }, - "platformFaultDomainCount": { - "type": "integer", - "format": "int32", - "description": "Gets or sets Fault Domain count." - }, - "virtualMachines": { - "type": "array", - "items": { - "$ref": "#/definitions/SubResource" + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate": { + "post": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_Deallocate", + "description": "The operation to deallocate virtual machines in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "description": "Gets or sets a list containing reference to all Virtual Machines created under this Availability Set." - }, - "statuses": { - "type": "array", - "items": { - "$ref": "#/definitions/InstanceViewStatus" + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." }, - "description": "Gets or sets the resource status information." - } - }, - "description": "The instance view of a resource." + { + "name": "vmInstanceIDs", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs" + }, + "description": "The list of virtual machine scale set instance IDs." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } }, - "AvailabilitySet": { - "properties": { - "properties": { - "$ref": "#/definitions/AvailabilitySetProperties" - } + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}": { + "delete": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_Delete", + "description": "The operation to delete a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "200": { + "description": "" + }, + "204": { + "description": "" + } + }, + "x-ms-long-running-operation": true }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Create or update Availability Set parameters." - }, - "AvailabilitySetListResult": { - "properties": { - "value": { - "type": "array", - "items": { - "$ref": "#/definitions/AvailabilitySet" + "get": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_Get", + "description": "The operation to get a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." }, - "description": "Gets or sets the list of availability sets" + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSet" + } + } } - }, - "description": "The List Availability Set operation response." + } }, - "VirtualMachineSize": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete": { + "post": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_DeleteInstances", + "description": "The operation to delete virtual machines in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "vmInstanceIDs", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceRequiredIDs" + }, + "description": "The list of virtual machine scale set instance IDs." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/instanceView": { + "get": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_GetInstanceView", + "description": "The operation to get a virtual machine scale set instance view.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetInstanceView" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets": { + "get": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_List", + "description": "The operation to list virtual machine scale sets under a resource group.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets": { + "get": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_ListAll", + "description": "Gets the list of Virtual Machine Scale Sets in the subscription. Use nextLink property in the response to get the next page of Virtual Machine Scale Sets. Do this till nextLink is not null to fetch all the Virtual Machine Scale Sets.", + "parameters": [ + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetListWithLinkResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus": { + "get": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_ListSkus", + "description": "The operation to list available skus for a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetListSkusResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff": { + "post": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_PowerOff", + "description": "The operation to power off (stop) virtual machines in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "vmInstanceIDs", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs" + }, + "description": "The list of virtual machine scale set instance IDs." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/restart": { + "post": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_Restart", + "description": "The operation to restart virtual machines in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "vmInstanceIDs", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs" + }, + "description": "The list of virtual machine scale set instance IDs." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/start": { + "post": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_Start", + "description": "The operation to start virtual machines in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "vmInstanceIDs", + "in": "body", + "required": false, + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceIDs" + }, + "description": "The list of virtual machine scale set instance IDs." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/manualupgrade": { + "post": { + "tags": [ + "VirtualMachineScaleSets" + ], + "operationId": "VirtualMachineScaleSets_UpdateInstances", + "description": "The operation to manually upgrade virtual machines in a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "vmInstanceIDs", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceRequiredIDs" + }, + "description": "The list of virtual machine scale set instance IDs." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/deallocate": { + "post": { + "tags": [ + "VirtualMachineScaleSetVMs" + ], + "operationId": "VirtualMachineScaleSetVMs_Deallocate", + "description": "The operation to deallocate a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "instanceId", + "in": "path", + "required": true, + "type": "string", + "description": "The instance id of the virtual machine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}": { + "delete": { + "tags": [ + "VirtualMachineScaleSetVMs" + ], + "operationId": "VirtualMachineScaleSetVMs_Delete", + "description": "The operation to delete a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "instanceId", + "in": "path", + "required": true, + "type": "string", + "description": "The instance id of the virtual machine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + }, + "200": { + "description": "" + }, + "204": { + "description": "" + } + }, + "x-ms-long-running-operation": true + }, + "get": { + "tags": [ + "VirtualMachineScaleSetVMs" + ], + "operationId": "VirtualMachineScaleSetVMs_Get", + "description": "The operation to get a virtual machine scale set virtual machine.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "instanceId", + "in": "path", + "required": true, + "type": "string", + "description": "The instance id of the virtual machine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetVM" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/instanceView": { + "get": { + "tags": [ + "VirtualMachineScaleSetVMs" + ], + "operationId": "VirtualMachineScaleSetVMs_GetInstanceView", + "description": "The operation to get a virtual machine scale set virtual machine.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "instanceId", + "in": "path", + "required": true, + "type": "string", + "description": "The instance id of the virtual machine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetVMInstanceView" + } + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines": { + "get": { + "tags": [ + "VirtualMachineScaleSetVMs" + ], + "operationId": "VirtualMachineScaleSetVMs_List", + "description": "The operation to list virtual machine scale sets VMs.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "virtualMachineScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "$filter", + "in": "query", + "required": false, + "type": "string", + "description": "The filter to apply on the operation." + }, + { + "name": "$select", + "in": "query", + "required": false, + "type": "string", + "description": "The list parameters." + }, + { + "name": "$expand", + "in": "query", + "required": false, + "type": "string", + "description": "The list parameters." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "", + "schema": { + "$ref": "#/definitions/VirtualMachineScaleSetVMListResult" + } + } + }, + "x-ms-pageable": { + "nextLinkName": null + }, + "x-ms-odata": "#/definitions/VirtualMachineScaleSetVM" + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff": { + "post": { + "tags": [ + "VirtualMachineScaleSetVMs" + ], + "operationId": "VirtualMachineScaleSetVMs_PowerOff", + "description": "The operation to power off (stop) a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "instanceId", + "in": "path", + "required": true, + "type": "string", + "description": "The instance id of the virtual machine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart": { + "post": { + "tags": [ + "VirtualMachineScaleSetVMs" + ], + "operationId": "VirtualMachineScaleSetVMs_Restart", + "description": "The operation to restart a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "instanceId", + "in": "path", + "required": true, + "type": "string", + "description": "The instance id of the virtual machine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start": { + "post": { + "tags": [ + "VirtualMachineScaleSetVMs" + ], + "operationId": "VirtualMachineScaleSetVMs_Start", + "description": "The operation to start a virtual machine scale set.", + "parameters": [ + { + "name": "resourceGroupName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the resource group." + }, + { + "name": "vmScaleSetName", + "in": "path", + "required": true, + "type": "string", + "description": "The name of the virtual machine scale set." + }, + { + "name": "instanceId", + "in": "path", + "required": true, + "type": "string", + "description": "The instance id of the virtual machine." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "202": { + "description": "" + } + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "InstanceViewStatus": { + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the status Code." + }, + "level": { + "type": "string", + "description": "Gets or sets the level Code.", + "enum": [ + "Info", + "Warning", + "Error" + ], + "x-ms-enum": { + "name": "StatusLevelTypes", + "modelAsString": "True" + } + }, + "displayStatus": { + "type": "string", + "description": "Gets or sets the short localizable label for the status." + }, + "message": { + "type": "string", + "description": "Gets or sets the optional detailed Message, including for alerts and error messages." + }, + "time": { + "type": "string", + "format": "date-time", + "description": "Gets or sets the time of the status." + } + }, + "description": "Instance view status." + }, + "AvailabilitySetProperties": { + "properties": { + "platformUpdateDomainCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets Update Domain count." + }, + "platformFaultDomainCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets Fault Domain count." + }, + "virtualMachines": { + "type": "array", + "items": { + "$ref": "#/definitions/SubResource" + }, + "description": "Gets or sets a list containing reference to all Virtual Machines created under this Availability Set." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." + } + }, + "description": "The instance view of a resource." + }, + "AvailabilitySet": { + "properties": { + "properties": { + "$ref": "#/definitions/AvailabilitySetProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Create or update Availability Set parameters." + }, + "AvailabilitySetListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/AvailabilitySet" + }, + "description": "Gets or sets the list of availability sets" + } + }, + "description": "The List Availability Set operation response." + }, + "VirtualMachineSize": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the VM size name." + }, + "numberOfCores": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Number of cores supported by a VM size." + }, + "osDiskSizeInMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the OS disk size allowed by a VM size." + }, + "resourceDiskSizeInMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Resource disk size allowed by a VM size." + }, + "memoryInMB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Memory size supported by a VM size." + }, + "maxDataDiskCount": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Maximum number of data disks allowed by a VM size." + } + }, + "description": "Describes the properties of a VM size." + }, + "VirtualMachineSizeListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineSize" + }, + "description": "Gets or sets the list of virtual machine sizes." + } + }, + "description": "The List Virtual Machine operation response." + }, + "VirtualMachineExtensionImageProperties": { + "properties": { + "operatingSystem": { + "type": "string", + "description": "Gets or sets the operating system this extension supports." + }, + "computeRole": { + "type": "string", + "description": "Gets or sets the type of role (IaaS or PaaS) this extension supports." + }, + "handlerSchema": { + "type": "string", + "description": "Gets or sets the schema defined by publisher, where extension consumers should provide settings in a matching schema." + }, + "vmScaleSetEnabled": { + "type": "boolean", + "description": "Gets or sets whether the extension can be used on xRP VMScaleSets.By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS." + }, + "supportsMultipleExtensions": { + "type": "boolean", + "description": "Gets or sets whether the handler can support multiple extensions." + } + }, + "required": [ + "operatingSystem", + "computeRole", + "handlerSchema" + ], + "description": "Describes the properties of a Virtual Machine Extension Image." + }, + "VirtualMachineExtensionImage": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineExtensionImageProperties" + }, + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "required": [ + "name", + "location" + ], + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "description": "Describes a Virtual Machine Extension Image." + }, + "VirtualMachineImageResource": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "required": [ + "name", + "location" + ], + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "description": "Virtual machine image resource information." + }, + "VirtualMachineExtensionInstanceView": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the virtual machine extension name." + }, + "type": { + "type": "string", + "description": "Gets or sets the full type of the extension handler which includes both publisher and type." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Gets or sets the type version of the extension handler." + }, + "substatuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." + } + }, + "description": "The instance view of a virtual machine extension." + }, + "VirtualMachineExtensionProperties": { + "properties": { + "publisher": { + "type": "string", + "description": "Gets or sets the name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Gets or sets the type of the extension handler." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Gets or sets the type version of the extension handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Gets or sets whether the extension handler should be automatically upgraded across minor versions." + }, + "settings": { + "type": "object", + "description": "Gets or sets Json formatted public settings for the extension." + }, + "protectedSettings": { + "type": "object", + "description": "Gets or sets Json formatted protected settings for the extension." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView", + "description": "Gets or sets the virtual machine extension instance view." + } + }, + "description": "Describes the properties of a Virtual Machine Extension." + }, + "VirtualMachineExtension": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineExtensionProperties" + } + }, + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Describes a Virtual Machine Extension." + }, + "PurchasePlan": { "properties": { + "publisher": { + "type": "string", + "description": "Gets or sets the publisher ID." + }, "name": { "type": "string", - "description": "Gets or sets the VM size name." + "description": "Gets or sets the plan ID." }, - "numberOfCores": { + "product": { + "type": "string", + "description": "Gets or sets the product ID." + } + }, + "required": [ + "publisher", + "name", + "product" + ], + "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace." + }, + "OSDiskImage": { + "properties": { + "operatingSystem": { + "type": "string", + "description": "Gets or sets the operating system of the osDiskImage.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": "True" + } + } + }, + "required": [ + "operatingSystem" + ], + "description": "Contains the os disk image information." + }, + "DataDiskImage": { + "properties": { + "lun": { "type": "integer", "format": "int32", - "description": "Gets or sets the Number of cores supported by a VM size." + "description": "Gets the LUN number for a data disk.This value is used to identify data disk image inside the VMImage therefore it must be unique for each data disk.The allowed character for the value is digit." + } + }, + "required": [ + "lun" + ], + "description": "Contains the data disk images information." + }, + "VirtualMachineImageProperties": { + "properties": { + "plan": { + "$ref": "#/definitions/PurchasePlan" }, - "osDiskSizeInMB": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the OS disk size allowed by a VM size." + "osDiskImage": { + "$ref": "#/definitions/OSDiskImage" }, - "resourceDiskSizeInMB": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the Resource disk size allowed by a VM size." + "dataDiskImages": { + "type": "array", + "items": { + "$ref": "#/definitions/DataDiskImage" + } + } + }, + "description": "Describes the properties of a Virtual Machine Image." + }, + "VirtualMachineImage": { + "properties": { + "properties": { + "$ref": "#/definitions/VirtualMachineImageProperties" }, - "memoryInMB": { + "name": { + "type": "string", + "description": "Gets or sets the name of the resource." + }, + "location": { + "type": "string", + "description": "Gets or sets the location of the resource." + }, + "tags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Gets or sets the tags attached to the resource." + } + }, + "required": [ + "name", + "location" + ], + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "description": "Describes a Virtual Machine Image." + }, + "UsageName": { + "properties": { + "value": { + "type": "string", + "description": "Gets or sets a string describing the resource name." + }, + "localizedValue": { + "type": "string", + "description": "Gets or sets a localized string describing the resource name." + } + }, + "description": "The Usage Names." + }, + "Usage": { + "properties": { + "unit": { + "type": "string", + "description": "Gets or sets an enum describing the unit of measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": "False" + } + }, + "currentValue": { "type": "integer", "format": "int32", - "description": "Gets or sets the Memory size supported by a VM size." + "description": "Gets or sets the current value of the usage." }, - "maxDataDiskCount": { + "limit": { "type": "integer", - "format": "int32", - "description": "Gets or sets the Maximum number of data disks allowed by a VM size." + "format": "int64", + "description": "Gets or sets the limit of usage." + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "Gets or sets the name of the type of usage." } }, - "description": "Describes the properties of a VM size." + "required": [ + "unit", + "currentValue", + "limit", + "name" + ], + "description": "Describes Compute Resource Usage." }, - "VirtualMachineSizeListResult": { + "ListUsagesResult": { "properties": { "value": { "type": "array", "items": { - "$ref": "#/definitions/VirtualMachineSize" + "$ref": "#/definitions/Usage" + }, + "description": "Gets or sets the list Compute Resource Usages." + } + }, + "description": "The List Usages operation response." + }, + "VirtualMachineCaptureParameters": { + "properties": { + "vhdPrefix": { + "type": "string", + "description": "Gets or sets the captured VirtualHardDisk's name prefix." + }, + "destinationContainerName": { + "type": "string", + "description": "Gets or sets the destination container name." + }, + "overwriteVhds": { + "type": "boolean", + "description": "Gets or sets whether it overwrites destination VirtualHardDisk if true, in case of conflict." + } + }, + "required": [ + "vhdPrefix", + "destinationContainerName", + "overwriteVhds" + ], + "description": "Capture Virtual Machine parameters." + }, + "ComputeLongRunningOperationProperties": { + "properties": { + "output": { + "type": "object", + "description": "Operation output data (raw JSON)" + } + }, + "description": "Compute-specific operation properties, including output" + }, + "ApiErrorBase": { + "properties": { + "code": { + "type": "string", + "description": "Gets or sets the error code." + }, + "target": { + "type": "string", + "description": "Gets or sets the target of the particular error." + }, + "message": { + "type": "string", + "description": "Gets or sets the error message." + } + }, + "description": "Api error base." + }, + "InnerError": { + "properties": { + "exceptiontype": { + "type": "string", + "description": "Gets or sets the exception type." + }, + "errordetail": { + "type": "string", + "description": "Gets or sets the internal error message or exception dump." + } + }, + "description": "Inner error details." + }, + "ApiError": { + "properties": { + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/ApiErrorBase" }, - "description": "Gets or sets the list of virtual machine sizes." + "description": "Gets or sets the Api error details" + }, + "innererror": { + "$ref": "#/definitions/InnerError", + "description": "Gets or sets the Api inner error" + }, + "code": { + "type": "string", + "description": "Gets or sets the error code." + }, + "target": { + "type": "string", + "description": "Gets or sets the target of the particular error." + }, + "message": { + "type": "string", + "description": "Gets or sets the error message." } }, - "description": "The List Virtual Machine operation response." + "description": "Api error." }, - "VirtualMachineExtensionImageProperties": { + "ComputeLongRunningOperationResult": { "properties": { - "operatingSystem": { + "operationId": { "type": "string", - "description": "Gets or sets the operating system this extension supports." + "description": "Gets the operation identifier." }, - "computeRole": { + "status": { "type": "string", - "description": "Gets or sets the type of role (IaaS or PaaS) this extension supports." + "description": "Gets the operation status.", + "enum": [ + "InProgress", + "Failed", + "Succeeded", + "Preempted" + ], + "x-ms-enum": { + "name": "ComputeOperationStatus", + "modelAsString": "False" + } }, - "handlerSchema": { + "startTime": { "type": "string", - "description": "Gets or sets the schema defined by publisher, where extension consumers should provide settings in a matching schema." + "format": "date-time", + "description": "Gets the operation start time" }, - "vmScaleSetEnabled": { - "type": "boolean", - "description": "Gets or sets whether the extension can be used on xRP VMScaleSets.By default existing extensions are usable on scalesets, but there might be cases where a publisher wants to explicitly indicate the extension is only enabled for CRP VMs but not VMSS." + "endTime": { + "type": "string", + "format": "date-time", + "description": "Gets the operation end time" }, - "supportsMultipleExtensions": { - "type": "boolean", - "description": "Gets or sets whether the handler can support multiple extensions." + "properties": { + "$ref": "#/definitions/ComputeLongRunningOperationProperties" + }, + "error": { + "$ref": "#/definitions/ApiError", + "description": "Gets the operation error, if any occurred." } }, - "description": "Describes the properties of a Virtual Machine Extension Image." + "description": "The Compute service response for long-running operations." }, - "VirtualMachineExtensionImage": { + "Plan": { "properties": { - "properties": { - "$ref": "#/definitions/VirtualMachineExtensionImageProperties" - }, "name": { "type": "string", - "description": "Gets or sets the name of the resource." + "description": "Gets or sets the plan ID." }, - "location": { + "publisher": { "type": "string", - "description": "Gets or sets the location of the resource." + "description": "Gets or sets the publisher ID." }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Gets or sets the tags attached to the resource." + "product": { + "type": "string", + "description": "Gets or sets the offer ID." + }, + "promotionCode": { + "type": "string", + "description": "Gets or sets the promotion code." } }, - "allOf": [ - { - "$ref": "#/definitions/SubResource" + "description": "Plan for the resource." + }, + "HardwareProfile": { + "properties": { + "vmSize": { + "type": "string", + "description": "The virtual machine size name.", + "enum": [ + "Basic_A0", + "Basic_A1", + "Basic_A2", + "Basic_A3", + "Basic_A4", + "Standard_A0", + "Standard_A1", + "Standard_A2", + "Standard_A3", + "Standard_A4", + "Standard_A5", + "Standard_A6", + "Standard_A7", + "Standard_A8", + "Standard_A9", + "Standard_G1", + "Standard_G2", + "Standard_G3", + "Standard_G4", + "Standard_G5" + ], + "x-ms-enum": { + "name": "VirtualMachineSizeTypes", + "modelAsString": "True" + } } - ], - "description": "Describes a Virtual Machine Extension Image." + }, + "description": "Describes a hardware profile." }, - "VirtualMachineImageResource": { + "ImageReference": { "properties": { - "name": { + "publisher": { "type": "string", - "description": "Gets or sets the name of the resource." + "description": "Gets or sets the image publisher." }, - "location": { + "offer": { "type": "string", - "description": "Gets or sets the location of the resource." + "description": "Gets or sets the image offer." }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Gets or sets the tags attached to the resource." + "sku": { + "type": "string", + "description": "Gets or sets the image sku." + }, + "version": { + "type": "string", + "description": "Gets or sets the image version. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor and Build being decimal numbers. Specify 'latest' to use the latest version of image." } }, - "allOf": [ - { - "$ref": "#/definitions/SubResource" + "description": "The image reference." + }, + "KeyVaultSecretReference": { + "properties": { + "secretUrl": { + "type": "string", + "description": "Gets or sets the URL referencing a secret in a Key Vault." + }, + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the Relative URL of the Key Vault containing the secret." } + }, + "required": [ + "secretUrl", + "sourceVault" ], - "description": "Virtual machine image resource information." + "description": "Describes a reference to Key Vault Secret" }, - "VirtualMachineExtensionInstanceView": { + "KeyVaultKeyReference": { "properties": { - "name": { + "keyUrl": { "type": "string", - "description": "Gets or sets the virtual machine extension name." + "description": "Gets or sets the URL referencing a key in a Key Vault." }, - "type": { + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the Relative URL of the Key Vault containing the key" + } + }, + "required": [ + "keyUrl", + "sourceVault" + ], + "description": "Describes a reference to Key Vault Key" + }, + "DiskEncryptionSettings": { + "properties": { + "diskEncryptionKey": { + "$ref": "#/definitions/KeyVaultSecretReference", + "description": "Gets or sets the disk encryption key which is a KeyVault Secret." + }, + "keyEncryptionKey": { + "$ref": "#/definitions/KeyVaultKeyReference", + "description": "Gets or sets the key encryption key which is KeyVault Key." + } + }, + "required": [ + "diskEncryptionKey" + ], + "description": "Describes a Encryption Settings for a Disk" + }, + "VirtualHardDisk": { + "properties": { + "uri": { "type": "string", - "description": "Gets or sets the full type of the extension handler which includes both publisher and type." + "description": "Gets or sets the virtual hard disk's uri. It should be a valid Uri to a virtual hard disk." + } + }, + "description": "Describes the uri of a disk." + }, + "OSDisk": { + "properties": { + "osType": { + "type": "string", + "description": "Gets or sets the Operating System type.", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": "True" + } }, - "typeHandlerVersion": { + "encryptionSettings": { + "$ref": "#/definitions/DiskEncryptionSettings", + "description": "Gets or sets the disk encryption settings." + }, + "name": { "type": "string", - "description": "Gets or sets the type version of the extension handler." + "description": "Gets or sets the disk name." }, - "substatuses": { - "type": "array", - "items": { - "$ref": "#/definitions/InstanceViewStatus" - }, - "description": "Gets or sets the resource status information." + "vhd": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Gets or sets the Virtual Hard Disk." + }, + "image": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Gets or sets the Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine.If SourceImage is provided, the destination VirtualHardDisk should not exist." + }, + "caching": { + "type": "string", + "description": "Gets or sets the caching type.", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "CachingTypes", + "modelAsString": "True" + } }, - "statuses": { - "type": "array", - "items": { - "$ref": "#/definitions/InstanceViewStatus" - }, - "description": "Gets or sets the resource status information." + "createOption": { + "type": "string", + "description": "Gets or sets the create option.", + "enum": [ + "fromImage", + "empty", + "attach" + ], + "x-ms-enum": { + "name": "DiskCreateOptionTypes", + "modelAsString": "True" + } + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks." } }, - "description": "The instance view of a virtual machine extension." + "required": [ + "name", + "vhd", + "createOption" + ], + "description": "Describes an Operating System disk." }, - "VirtualMachineExtensionProperties": { + "DataDisk": { "properties": { - "publisher": { - "type": "string", - "description": "Gets or sets the name of the extension handler publisher." - }, - "type": { - "type": "string", - "description": "Gets or sets the type of the extension handler." + "lun": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the logical unit number." }, - "typeHandlerVersion": { + "name": { "type": "string", - "description": "Gets or sets the type version of the extension handler." + "description": "Gets or sets the disk name." }, - "autoUpgradeMinorVersion": { - "type": "boolean", - "description": "Gets or sets whether the extension handler should be automatically upgraded across minor versions." + "vhd": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Gets or sets the Virtual Hard Disk." }, - "settings": { - "type": "object", - "description": "Gets or sets Json formatted public settings for the extension." + "image": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Gets or sets the Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine.If SourceImage is provided, the destination VirtualHardDisk should not exist." }, - "protectedSettings": { - "type": "object", - "description": "Gets or sets Json formatted protected settings for the extension." + "caching": { + "type": "string", + "description": "Gets or sets the caching type.", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "CachingTypes", + "modelAsString": "True" + } }, - "provisioningState": { + "createOption": { "type": "string", - "description": "Gets or sets the provisioning state, which only appears in the response." + "description": "Gets or sets the create option.", + "enum": [ + "fromImage", + "empty", + "attach" + ], + "x-ms-enum": { + "name": "DiskCreateOptionTypes", + "modelAsString": "True" + } }, - "instanceView": { - "$ref": "#/definitions/VirtualMachineExtensionInstanceView", - "description": "Gets or sets the virtual machine extension instance view." + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks." } }, - "description": "Describes the properties of a Virtual Machine Extension." + "required": [ + "lun", + "name", + "vhd", + "createOption" + ], + "description": "Describes a data disk." }, - "VirtualMachineExtension": { + "StorageProfile": { "properties": { - "properties": { - "$ref": "#/definitions/VirtualMachineExtensionProperties" + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Gets or sets the image reference." + }, + "osDisk": { + "$ref": "#/definitions/OSDisk", + "description": "Gets or sets the OS disk." + }, + "dataDisks": { + "type": "array", + "items": { + "$ref": "#/definitions/DataDisk" + }, + "description": "Gets or sets the data disks." } }, - "allOf": [ - { - "$ref": "#/definitions/Resource" - } - ], - "description": "Describes a Virtual Machine Extension." + "description": "Describes a storage profile." }, - "PurchasePlan": { + "AdditionalUnattendContent": { "properties": { - "publisher": { + "passName": { "type": "string", - "description": "Gets or sets the publisher ID." + "description": "Gets or sets the pass name. Currently, the only allowable value is oobeSystem.", + "enum": [ + "oobeSystem" + ], + "x-ms-enum": { + "name": "PassNames", + "modelAsString": "True" + } }, - "name": { + "componentName": { "type": "string", - "description": "Gets or sets the plan ID." + "description": "Gets or sets the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.", + "enum": [ + "Microsoft-Windows-Shell-Setup" + ], + "x-ms-enum": { + "name": "ComponentNames", + "modelAsString": "True" + } }, - "product": { + "settingName": { "type": "string", - "description": "Gets or sets the product ID." + "description": "Gets or sets setting name (e.g. FirstLogonCommands, AutoLogon )", + "enum": [ + "AutoLogon", + "FirstLogonCommands" + ], + "x-ms-enum": { + "name": "SettingNames", + "modelAsString": "True" + } + }, + "content": { + "type": "string", + "description": "Gets or sets XML formatted content that is added to the unattend.xml file in the specified pass and component.The XML must be less than 4 KB and must include the root element for the setting or feature that is being inserted." } }, - "description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace." + "description": "Gets or sets additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is a applied." }, - "OSDiskImage": { + "WinRMListener": { "properties": { - "operatingSystem": { + "protocol": { "type": "string", - "description": "Gets or sets the operating system of the osDiskImage.", + "description": "Gets or sets the Protocol used by WinRM listener. Currently only Http and Https are supported.", "enum": [ - "Windows", - "Linux" + "Http", + "Https" ], "x-ms-enum": { - "name": "OperatingSystemTypes", + "name": "ProtocolTypes", "modelAsString": "True" } + }, + "certificateUrl": { + "type": "string", + "description": "Gets or sets the Certificate URL in KMS for Https listeners. Should be null for Http listeners." } }, - "description": "Contains the os disk image information." + "description": "Describes Protocol and thumbprint of Windows Remote Management listener" }, - "DataDiskImage": { + "WinRMConfiguration": { "properties": { - "lun": { - "type": "integer", - "format": "int32", - "description": "Gets the LUN number for a data disk.This value is used to identify data disk image inside the VMImage therefore it must be unique for each data disk.The allowed character for the value is digit." + "listeners": { + "type": "array", + "items": { + "$ref": "#/definitions/WinRMListener" + }, + "description": "Gets or sets the list of Windows Remote Management listeners" } }, - "description": "Contains the data disk images information." + "description": "Describes Windows Remote Management configuration of the VM" }, - "VirtualMachineImageProperties": { + "WindowsConfiguration": { "properties": { - "plan": { - "$ref": "#/definitions/PurchasePlan" + "provisionVMAgent": { + "type": "boolean", + "description": "Gets or sets whether VM Agent should be provisioned on the Virtual Machine." }, - "osDiskImage": { - "$ref": "#/definitions/OSDiskImage" + "enableAutomaticUpdates": { + "type": "boolean", + "description": "Gets or sets whether Windows updates are automatically installed on the VM" }, - "dataDiskImages": { + "timeZone": { + "type": "string", + "description": "Gets or sets the Time Zone of the VM" + }, + "additionalUnattendContent": { "type": "array", "items": { - "$ref": "#/definitions/DataDiskImage" - } + "$ref": "#/definitions/AdditionalUnattendContent" + }, + "description": "Gets or sets the additional base-64 encoded XML formatted information that can be included in the Unattend.xml file." + }, + "winRM": { + "$ref": "#/definitions/WinRMConfiguration", + "description": "Gets or sets the Windows Remote Management configuration of the VM" } }, - "description": "Describes the properties of a Virtual Machine Image." + "description": "Describes Windows Configuration of the OS Profile." }, - "VirtualMachineImage": { + "SshPublicKey": { "properties": { - "properties": { - "$ref": "#/definitions/VirtualMachineImageProperties" - }, - "name": { + "path": { "type": "string", - "description": "Gets or sets the name of the resource." + "description": "Gets or sets the full path on the created VM where SSH public key is stored. If the file already exists, the specified key is appended to the file." }, - "location": { + "keyData": { "type": "string", - "description": "Gets or sets the location of the resource." - }, - "tags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Gets or sets the tags attached to the resource." + "description": "Gets or sets Certificate public key used to authenticate with VM through SSH.The certificate must be in Pem format with or without headers." } }, - "allOf": [ - { - "$ref": "#/definitions/SubResource" + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed." + }, + "SshConfiguration": { + "properties": { + "publicKeys": { + "type": "array", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "description": "Gets or sets the list of SSH public keys used to authenticate with linux based VMs" } - ], - "description": "Describes a Virtual Machine Image." + }, + "description": "SSH configuration for Linux based VMs running on Azure" }, - "UsageName": { + "LinuxConfiguration": { "properties": { - "value": { - "type": "string", - "description": "Gets or sets a string describing the resource name." + "disablePasswordAuthentication": { + "type": "boolean", + "description": "Gets or sets whether Authentication using user name and password is allowed or not" }, - "localizedValue": { - "type": "string", - "description": "Gets or sets a localized string describing the resource name." + "ssh": { + "$ref": "#/definitions/SshConfiguration", + "description": "Gets or sets the SSH configuration for linux VMs" } }, - "description": "The Usage Names." + "description": "Describes Windows Configuration of the OS Profile." }, - "Usage": { + "VaultCertificate": { "properties": { - "unit": { + "certificateUrl": { "type": "string", - "description": "Gets or sets an enum describing the unit of measurement.", - "enum": [ - "Count" - ], - "x-ms-enum": { - "name": "UsageUnit", - "modelAsString": "False" - } - }, - "currentValue": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the current value of the usage." - }, - "limit": { - "type": "integer", - "format": "int64", - "description": "Gets or sets the limit of usage." + "description": "Gets or sets the URL referencing a secret in a Key Vault which contains a properly formatted certificate." }, - "name": { - "$ref": "#/definitions/UsageName", - "description": "Gets or sets the name of the type of usage." + "certificateStore": { + "type": "string", + "description": "Gets or sets the Certificate store in LocalMachine to add the certificate to on Windows, leave empty on Linux." } }, - "description": "Describes Compute Resource Usage." + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." }, - "ListUsagesResult": { + "VaultSecretGroup": { "properties": { - "value": { + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "Gets or sets the Relative URL of the Key Vault containing all of the certificates in VaultCertificates." + }, + "vaultCertificates": { "type": "array", "items": { - "$ref": "#/definitions/Usage" + "$ref": "#/definitions/VaultCertificate" }, - "description": "Gets or sets the list Compute Resource Usages." + "description": "Gets or sets the list of key vault references in SourceVault which contain certificates" } }, - "description": "The List Usages operation response." + "description": "Describes a set of certificates which are all in the same Key Vault." }, - "VirtualMachineCaptureParameters": { + "OSProfile": { "properties": { - "vhdPrefix": { + "computerName": { "type": "string", - "description": "Gets or sets the captured VirtualHardDisk's name prefix." + "description": "Gets or sets the computer name." }, - "destinationContainerName": { + "adminUsername": { "type": "string", - "description": "Gets or sets the destination container name." + "description": "Gets or sets the admin user name." }, - "overwriteVhds": { + "adminPassword": { + "type": "string", + "description": "Gets or sets the admin user password." + }, + "customData": { + "type": "string", + "description": "Gets or sets a base-64 encoded string of custom data." + }, + "windowsConfiguration": { + "$ref": "#/definitions/WindowsConfiguration", + "description": "Gets or sets the Windows Configuration of the OS profile." + }, + "linuxConfiguration": { + "$ref": "#/definitions/LinuxConfiguration", + "description": "Gets or sets the Linux Configuration of the OS profile." + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + }, + "description": "Gets or sets the List of certificates for addition to the VM." + } + }, + "description": "Describes an OS profile." + }, + "NetworkInterfaceReferenceProperties": { + "properties": { + "primary": { "type": "boolean", - "description": "Gets or sets whether it overwrites destination VirtualHardDisk if true, in case of conflict." + "description": "Gets or sets whether this is a primary NIC on a virtual machine" } }, - "description": "Capture Virtual Machine parameters." + "description": "Describes a network interface reference properties." }, - "ComputeLongRunningOperationProperties": { + "NetworkInterfaceReference": { "properties": { - "output": { - "type": "object", - "description": "Operation output data (raw JSON)" + "properties": { + "$ref": "#/definitions/NetworkInterfaceReferenceProperties" } }, - "description": "Compute-specific operation properties, including output" + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ], + "description": "Describes a network interface reference." }, - "ApiErrorBase": { + "NetworkProfile": { "properties": { - "code": { - "type": "string", - "description": "Gets or sets the error code." - }, - "target": { - "type": "string", - "description": "Gets or sets the target of the particular error." - }, - "message": { - "type": "string", - "description": "Gets or sets the error message." + "networkInterfaces": { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkInterfaceReference" + }, + "description": "Gets or sets the network interfaces." } }, - "description": "Api error base." + "description": "Describes a network profile." }, - "InnerError": { + "BootDiagnostics": { "properties": { - "exceptiontype": { - "type": "string", - "description": "Gets or sets the exception type." + "enabled": { + "type": "boolean", + "description": "Gets or sets whether VM Agent should be provisioned on the Virtual Machine." }, - "errordetail": { + "storageUri": { "type": "string", - "description": "Gets or sets the internal error message or exception dump." + "description": "Gets or sets the boot diagnostics storage Uri. It should be a valid Uri" } }, - "description": "Inner error details." + "description": "Describes Boot Diagnostics." }, - "ApiError": { + "DiagnosticsProfile": { "properties": { - "details": { - "type": "array", - "items": { - "$ref": "#/definitions/ApiErrorBase" - }, - "description": "Gets or sets the Api error details" - }, - "innererror": { - "$ref": "#/definitions/InnerError", - "description": "Gets or sets the Api inner error" - }, - "code": { - "type": "string", - "description": "Gets or sets the error code." - }, - "target": { - "type": "string", - "description": "Gets or sets the target of the particular error." - }, - "message": { - "type": "string", - "description": "Gets or sets the error message." + "bootDiagnostics": { + "$ref": "#/definitions/BootDiagnostics", + "description": "Gets or sets the boot diagnostics." } }, - "description": "Api error." + "description": "Describes a diagnostics profile." }, - "ComputeLongRunningOperationResult": { + "VirtualMachineExtensionHandlerInstanceView": { "properties": { - "operationId": { - "type": "string", - "description": "Gets the operation identifier." - }, - "status": { - "type": "string", - "description": "Gets the operation status.", - "enum": [ - "InProgress", - "Failed", - "Succeeded", - "Preempted" - ], - "x-ms-enum": { - "name": "ComputeOperationStatus", - "modelAsString": "False" - } - }, - "startTime": { + "type": { "type": "string", - "format": "date-time", - "description": "Gets the operation start time" + "description": "Gets or sets full type of the extension handler which includes both publisher and type." }, - "endTime": { + "typeHandlerVersion": { "type": "string", - "format": "date-time", - "description": "Gets the operation end time" - }, - "properties": { - "$ref": "#/definitions/ComputeLongRunningOperationProperties" + "description": "Gets or sets the type version of the extension handler." }, - "error": { - "$ref": "#/definitions/ApiError", - "description": "Gets the operation error, if any occurred." + "status": { + "$ref": "#/definitions/InstanceViewStatus", + "description": "Gets or sets the extension handler status." } }, - "description": "The Compute service response for long-running operations." + "description": "The instance view of a virtual machine extension handler." }, - "Plan": { + "VirtualMachineAgentInstanceView": { "properties": { - "name": { - "type": "string", - "description": "Gets or sets the plan ID." - }, - "publisher": { + "vmAgentVersion": { "type": "string", - "description": "Gets or sets the publisher ID." + "description": "Gets or sets the VM Agent full version." }, - "product": { - "type": "string", - "description": "Gets or sets the offer ID." + "extensionHandlers": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineExtensionHandlerInstanceView" + }, + "description": "Gets or sets the virtual machine extension handler instance view." }, - "promotionCode": { - "type": "string", - "description": "Gets or sets the promotion code." + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." } }, - "description": "Plan for the resource." + "description": "The instance view of the VM Agent running on the virtual machine." }, - "HardwareProfile": { + "DiskInstanceView": { "properties": { - "vmSize": { + "name": { "type": "string", - "description": "The virtual machine size name.", - "enum": [ - "Basic_A0", - "Basic_A1", - "Basic_A2", - "Basic_A3", - "Basic_A4", - "Standard_A0", - "Standard_A1", - "Standard_A2", - "Standard_A3", - "Standard_A4", - "Standard_A5", - "Standard_A6", - "Standard_A7", - "Standard_A8", - "Standard_A9", - "Standard_G1", - "Standard_G2", - "Standard_G3", - "Standard_G4", - "Standard_G5" - ], - "x-ms-enum": { - "name": "VirtualMachineSizeTypes", - "modelAsString": "True" - } + "description": "Gets or sets the disk name." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." } }, - "description": "Describes a hardware profile." + "description": "The instance view of the disk." }, - "ImageReference": { + "BootDiagnosticsInstanceView": { "properties": { - "publisher": { + "consoleScreenshotBlobUri": { "type": "string", - "description": "Gets or sets the image publisher." + "description": "Gets or sets the console screenshot blob Uri." }, - "offer": { + "serialConsoleLogBlobUri": { "type": "string", - "description": "Gets or sets the image offer." + "description": "Gets or sets the Linux serial console log blob Uri." + } + }, + "description": "The instance view of a virtual machine boot diagnostics." + }, + "VirtualMachineInstanceView": { + "properties": { + "platformUpdateDomain": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Update Domain count." }, - "sku": { - "type": "string", - "description": "Gets or sets the image sku." + "platformFaultDomain": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Fault Domain count." }, - "version": { + "rdpThumbPrint": { "type": "string", - "description": "Gets or sets the image version. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor and Build being decimal numbers. Specify 'latest' to use the latest version of image." + "description": "Gets or sets the Remote desktop certificate thumbprint." + }, + "vmAgent": { + "$ref": "#/definitions/VirtualMachineAgentInstanceView", + "description": "Gets or sets the VM Agent running on the virtual machine." + }, + "disks": { + "type": "array", + "items": { + "$ref": "#/definitions/DiskInstanceView" + }, + "description": "Gets or sets the the disks information." + }, + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView" + }, + "description": "Gets or sets the extensions information." + }, + "bootDiagnostics": { + "$ref": "#/definitions/BootDiagnosticsInstanceView", + "description": "Gets or sets the boot diagnostics." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." } }, - "description": "The image reference." + "description": "The instance view of a virtual machine." }, - "KeyVaultSecretReference": { + "VirtualMachineProperties": { "properties": { - "secretUrl": { - "type": "string", - "description": "Gets or sets the URL referencing a secret in a Key Vault." + "hardwareProfile": { + "$ref": "#/definitions/HardwareProfile", + "description": "Gets or sets the hardware profile." }, - "sourceVault": { + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Gets or sets the storage profile." + }, + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "Gets or sets the OS profile." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "Gets or sets the network profile." + }, + "diagnosticsProfile": { + "$ref": "#/definitions/DiagnosticsProfile", + "description": "Gets or sets the diagnostics profile." + }, + "availabilitySet": { "$ref": "#/definitions/SubResource", - "description": "Gets or sets the Relative URL of the Key Vault containing the secret." + "description": "Gets or sets the reference Id of the availailbity set to which this virtual machine belongs." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state, which only appears in the response." + }, + "instanceView": { + "$ref": "#/definitions/VirtualMachineInstanceView", + "description": "Gets the virtual machine instance view." } }, - "description": "Describes a reference to Key Vault Secret" + "description": "Describes the properties of a Virtual Machine." }, - "KeyVaultKeyReference": { + "VirtualMachine": { "properties": { - "keyUrl": { - "type": "string", - "description": "Gets or sets the URL referencing a key in a Key Vault." + "plan": { + "$ref": "#/definitions/Plan", + "description": "Gets or sets the purchase plan when deploying virtual machine from VM Marketplace images." }, - "sourceVault": { - "$ref": "#/definitions/SubResource", - "description": "Gets or sets the Relative URL of the Key Vault containing the key" + "properties": { + "$ref": "#/definitions/VirtualMachineProperties" + }, + "resources": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineExtension" + }, + "description": "Gets the virtual machine child extension resources." } }, - "description": "Describes a reference to Key Vault Key" + "allOf": [ + { + "$ref": "#/definitions/Resource" + } + ], + "description": "Describes a Virtual Machine." }, - "DiskEncryptionSettings": { + "VirtualMachineListResult": { "properties": { - "diskEncryptionKey": { - "$ref": "#/definitions/KeyVaultSecretReference", - "description": "Gets or sets the disk encryption key which is a KeyVault Secret." + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachine" + }, + "description": "Gets or sets the list of virtual machines." }, - "keyEncryptionKey": { - "$ref": "#/definitions/KeyVaultKeyReference", - "description": "Gets or sets the key encryption key which is KeyVault Key." + "nextLink": { + "type": "string", + "description": "Gets or sets the uri to fetch the next page of VMs. Call ListNext() with this to fetch the next page of Virtual Machines." } }, - "description": "Describes a Encryption Settings for a Disk" + "description": "The List Virtual Machine operation response." }, - "VirtualHardDisk": { + "Sku": { "properties": { - "uri": { + "name": { "type": "string", - "description": "Gets or sets the virtual hard disk's uri. It should be a valid Uri to a virtual hard disk." + "description": "Gets or sets the sku name." + }, + "tier": { + "type": "string", + "description": "Gets or sets the sku tier." + }, + "capacity": { + "type": "integer", + "format": "int64", + "description": "Gets or sets the sku capacity." } }, - "description": "Describes the uri of a disk." + "description": "Describes a virtual machine scale set sku." }, - "OSDisk": { + "UpgradePolicy": { "properties": { - "osType": { + "mode": { "type": "string", - "description": "Gets or sets the Operating System type.", + "description": "Gets or sets the upgrade mode.", "enum": [ - "Windows", - "Linux" + "Automatic", + "Manual" ], "x-ms-enum": { - "name": "OperatingSystemTypes", + "name": "UpgradeMode", "modelAsString": "True" } - }, - "encryptionSettings": { - "$ref": "#/definitions/DiskEncryptionSettings", - "description": "Gets or sets the disk encryption settings." - }, - "name": { + } + }, + "description": "Describes an upgrade policy - automatic or manual." + }, + "VirtualMachineScaleSetOSProfile": { + "properties": { + "computerNamePrefix": { "type": "string", - "description": "Gets or sets the disk name." - }, - "vhd": { - "$ref": "#/definitions/VirtualHardDisk", - "description": "Gets or sets the Virtual Hard Disk." + "description": "Gets or sets the computer name prefix." }, - "image": { - "$ref": "#/definitions/VirtualHardDisk", - "description": "Gets or sets the Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine.If SourceImage is provided, the destination VirtualHardDisk should not exist." + "adminUsername": { + "type": "string", + "description": "Gets or sets the admin user name." }, - "caching": { + "adminPassword": { "type": "string", - "description": "Gets or sets the caching type.", - "enum": [ - "None", - "ReadOnly", - "ReadWrite" - ], - "x-ms-enum": { - "name": "CachingTypes", - "modelAsString": "True" - } + "description": "Gets or sets the admin user password." }, - "createOption": { + "customData": { "type": "string", - "description": "Gets or sets the create option.", - "enum": [ - "fromImage", - "empty", - "attach" - ], - "x-ms-enum": { - "name": "DiskCreateOptionTypes", - "modelAsString": "True" - } + "description": "Gets or sets a base-64 encoded string of custom data." + }, + "windowsConfiguration": { + "$ref": "#/definitions/WindowsConfiguration", + "description": "Gets or sets the Windows Configuration of the OS profile." }, - "diskSizeGB": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks." + "linuxConfiguration": { + "$ref": "#/definitions/LinuxConfiguration", + "description": "Gets or sets the Linux Configuration of the OS profile." + }, + "secrets": { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + }, + "description": "Gets or sets the List of certificates for addition to the VM." } }, - "description": "Describes an Operating System disk." + "description": "Describes a virtual machine scale set OS profile." }, - "DataDisk": { + "VirtualMachineScaleSetOSDisk": { "properties": { - "lun": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the logical unit number." - }, "name": { "type": "string", "description": "Gets or sets the disk name." }, - "vhd": { - "$ref": "#/definitions/VirtualHardDisk", - "description": "Gets or sets the Virtual Hard Disk." - }, - "image": { - "$ref": "#/definitions/VirtualHardDisk", - "description": "Gets or sets the Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine.If SourceImage is provided, the destination VirtualHardDisk should not exist." - }, "caching": { "type": "string", "description": "Gets or sets the caching type.", @@ -2118,326 +3719,331 @@ "modelAsString": "True" } }, - "diskSizeGB": { - "type": "integer", - "format": "int32", - "description": "Gets or sets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks." - } - }, - "description": "Describes a data disk." - }, - "StorageProfile": { - "properties": { - "imageReference": { - "$ref": "#/definitions/ImageReference", - "description": "Gets or sets the image reference." - }, - "osDisk": { - "$ref": "#/definitions/OSDisk", - "description": "Gets or sets the OS disk." - }, - "dataDisks": { - "type": "array", - "items": { - "$ref": "#/definitions/DataDisk" - }, - "description": "Gets or sets the data disks." - } - }, - "description": "Describes a storage profile." - }, - "AdditionalUnattendContent": { - "properties": { - "passName": { - "type": "string", - "description": "Gets or sets the pass name. Currently, the only allowable value is oobeSystem.", - "enum": [ - "oobeSystem" - ], - "x-ms-enum": { - "name": "PassNames", - "modelAsString": "True" - } - }, - "componentName": { + "osType": { "type": "string", - "description": "Gets or sets the component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.", + "description": "Gets or sets the Operating System type.", "enum": [ - "Microsoft-Windows-Shell-Setup" + "Windows", + "Linux" ], "x-ms-enum": { - "name": "ComponentNames", + "name": "OperatingSystemTypes", "modelAsString": "True" } }, - "settingName": { - "type": "string", - "description": "Gets or sets setting name (e.g. FirstLogonCommands, AutoLogon )", - "enum": [ - "AutoLogon", - "FirstLogonCommands" - ], - "x-ms-enum": { - "name": "SettingNames", - "modelAsString": "True" - } + "image": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "Gets or sets the Source User Image VirtualHardDisk. This VirtualHardDisk will be copied before using it to attach to the Virtual Machine.If SourceImage is provided, the destination VirtualHardDisk should not exist." }, - "content": { - "type": "string", - "description": "Gets or sets XML formatted content that is added to the unattend.xml file in the specified pass and component.The XML must be less than 4 KB and must include the root element for the setting or feature that is being inserted." + "vhdContainers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the list of virtual hard disk container uris." } }, - "description": "Gets or sets additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is a applied." + "required": [ + "name", + "createOption" + ], + "description": "Describes a virtual machine scale set operating system disk." }, - "WinRMListener": { + "VirtualMachineScaleSetStorageProfile": { "properties": { - "protocol": { - "type": "string", - "description": "Gets or sets the Protocol used by WinRM listener. Currently only Http and Https are supported.", - "enum": [ - "Http", - "Https" - ], - "x-ms-enum": { - "name": "ProtocolTypes", - "modelAsString": "True" - } + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Gets or sets the image reference." }, - "certificateUrl": { - "type": "string", - "description": "Gets or sets the Certificate URL in KMS for Https listeners. Should be null for Http listeners." + "osDisk": { + "$ref": "#/definitions/VirtualMachineScaleSetOSDisk", + "description": "Gets or sets the OS disk." } }, - "description": "Describes Protocol and thumbprint of Windows Remote Management listener" + "description": "Describes a virtual machine scale set storage profile." }, - "WinRMConfiguration": { + "ApiEntityReference": { "properties": { - "listeners": { - "type": "array", - "items": { - "$ref": "#/definitions/WinRMListener" - }, - "description": "Gets or sets the list of Windows Remote Management listeners" + "id": { + "type": "string", + "description": "Gets or sets the relative URL in the previous Service Management API's namespace. For Example: /subscriptions/{SubcriptionId}/resourceGroups/{ResourceGroupName}/..." } }, - "description": "Describes Windows Remote Management configuration of the VM" + "description": "The API entity reference." }, - "WindowsConfiguration": { + "VirtualMachineScaleSetIPConfigurationProperties": { "properties": { - "provisionVMAgent": { - "type": "boolean", - "description": "Gets or sets whether VM Agent should be provisioned on the Virtual Machine." - }, - "enableAutomaticUpdates": { - "type": "boolean", - "description": "Gets or sets whether Windows updates are automatically installed on the VM" + "subnet": { + "$ref": "#/definitions/ApiEntityReference", + "description": "Gets or sets the subnet." }, - "timeZone": { - "type": "string", - "description": "Gets or sets the Time Zone of the VM" - }, - "additionalUnattendContent": { + "loadBalancerBackendAddressPools": { "type": "array", "items": { - "$ref": "#/definitions/AdditionalUnattendContent" + "$ref": "#/definitions/SubResource" }, - "description": "Gets or sets the additional base-64 encoded XML formatted information that can be included in the Unattend.xml file." - }, - "winRM": { - "$ref": "#/definitions/WinRMConfiguration", - "description": "Gets or sets the Windows Remote Management configuration of the VM" + "description": "Gets or sets the load balancer backend address pools." } }, - "description": "Describes Windows Configuration of the OS Profile." + "required": [ + "subnet" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration properties." }, - "SshPublicKey": { + "VirtualMachineScaleSetIPConfiguration": { "properties": { - "path": { + "name": { "type": "string", - "description": "Gets or sets the full path on the created VM where SSH public key is stored. If the file already exists, the specified key is appended to the file." + "description": "Gets or sets the IP configuration name." }, - "keyData": { - "type": "string", - "description": "Gets or sets Certificate public key used to authenticate with VM through SSH.The certificate must be in Pem format with or without headers." + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetIPConfigurationProperties" } }, - "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed." + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." }, - "SshConfiguration": { + "VirtualMachineScaleSetNetworkConfigurationProperties": { "properties": { - "publicKeys": { + "primary": { + "type": "boolean", + "description": "Gets or sets whether this is a primary NIC on a virtual machine." + }, + "ipConfigurations": { "type": "array", "items": { - "$ref": "#/definitions/SshPublicKey" + "$ref": "#/definitions/VirtualMachineScaleSetIPConfiguration" }, - "description": "Gets or sets the list of SSH public keys used to authenticate with linux based VMs" - } - }, - "description": "SSH configuration for Linux based VMs running on Azure" - }, - "LinuxConfiguration": { - "properties": { - "disablePasswordAuthentication": { - "type": "boolean", - "description": "Gets or sets whether Authentication using user name and password is allowed or not" - }, - "ssh": { - "$ref": "#/definitions/SshConfiguration", - "description": "Gets or sets the SSH configuration for linux VMs" + "description": "Gets or sets the virtual machine scale set IP Configuration." } }, - "description": "Describes Windows Configuration of the OS Profile." + "required": [ + "ipConfigurations" + ], + "description": "Describes a virtual machine scale set network profile's IP configuration." }, - "VaultCertificate": { + "VirtualMachineScaleSetNetworkConfiguration": { "properties": { - "certificateUrl": { + "name": { "type": "string", - "description": "Gets or sets the URL referencing a secret in a Key Vault which contains a properly formatted certificate." + "description": "Gets or sets the network configuration name." }, - "certificateStore": { - "type": "string", - "description": "Gets or sets the Certificate store in LocalMachine to add the certificate to on Windows, leave empty on Linux." + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfigurationProperties" } }, - "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + "required": [ + "name" + ], + "description": "Describes a virtual machine scale set network profile's network configurations." }, - "VaultSecretGroup": { + "VirtualMachineScaleSetNetworkProfile": { "properties": { - "sourceVault": { - "$ref": "#/definitions/SubResource", - "description": "Gets or sets the Relative URL of the Key Vault containing all of the certificates in VaultCertificates." - }, - "vaultCertificates": { + "networkInterfaceConfigurations": { "type": "array", "items": { - "$ref": "#/definitions/VaultCertificate" + "$ref": "#/definitions/VirtualMachineScaleSetNetworkConfiguration" }, - "description": "Gets or sets the list of key vault references in SourceVault which contain certificates" + "description": "Gets or sets the list of network configurations." } }, - "description": "Describes a set of certificates which are all in the same Key Vault." + "description": "Describes a virtual machine scale set network profile." }, - "OSProfile": { + "VirtualMachineScaleSetExtensionProperties": { "properties": { - "computerName": { + "publisher": { "type": "string", - "description": "Gets or sets the computer name." + "description": "Gets or sets the name of the extension handler publisher." }, - "adminUsername": { + "type": { "type": "string", - "description": "Gets or sets the admin user name." + "description": "Gets or sets the type of the extension handler." }, - "adminPassword": { + "typeHandlerVersion": { "type": "string", - "description": "Gets or sets the admin user password." + "description": "Gets or sets the type version of the extension handler." }, - "customData": { - "type": "string", - "description": "Gets or sets a base-64 encoded string of custom data." + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Gets or sets whether the extension handler should be automatically upgraded across minor versions." }, - "windowsConfiguration": { - "$ref": "#/definitions/WindowsConfiguration", - "description": "Gets or sets the Windows Configuration of the OS profile." + "settings": { + "type": "object", + "description": "Gets or sets Json formatted public settings for the extension." }, - "linuxConfiguration": { - "$ref": "#/definitions/LinuxConfiguration", - "description": "Gets or sets the Linux Configuration of the OS profile." + "protectedSettings": { + "type": "object", + "description": "Gets or sets Json formatted protected settings for the extension." }, - "secrets": { + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state, which only appears in the response." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetExtension": { + "properties": { + "name": { + "type": "string", + "description": "Gets or sets the name of the extension." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProperties" + } + }, + "description": "Describes a Virtual Machine Scale Set Extension." + }, + "VirtualMachineScaleSetExtensionProfile": { + "properties": { + "extensions": { "type": "array", "items": { - "$ref": "#/definitions/VaultSecretGroup" + "$ref": "#/definitions/VirtualMachineScaleSetExtension" }, - "description": "Gets or sets the List of certificates for addition to the VM." + "description": "Gets the virtual machine scale set child extension resources." } }, - "description": "Describes an OS profile." + "description": "Describes a virtual machine scale set extension profile." }, - "NetworkInterfaceReferenceProperties": { + "VirtualMachineScaleSetVMProfile": { "properties": { - "primary": { - "type": "boolean", - "description": "Gets or sets whether this is a primary NIC on a virtual machine" + "osProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetOSProfile", + "description": "Gets or sets the virtual machine scale set OS profile." + }, + "storageProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetStorageProfile", + "description": "Gets or sets the virtual machine scale set storage profile." + }, + "networkProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetNetworkProfile", + "description": "Gets or sets the virtual machine scale set network profile." + }, + "extensionProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetExtensionProfile", + "description": "Gets the virtual machine scale set extension profile." } }, - "description": "Describes a network interface reference properties." + "description": "Describes a virtual machine scale set virtual machine profile." }, - "NetworkInterfaceReference": { + "VirtualMachineScaleSetProperties": { + "properties": { + "upgradePolicy": { + "$ref": "#/definitions/UpgradePolicy", + "description": "Gets or sets the upgrade policy." + }, + "virtualMachineProfile": { + "$ref": "#/definitions/VirtualMachineScaleSetVMProfile", + "description": "Gets or sets the virtual machine profile." + }, + "provisioningState": { + "type": "string", + "description": "Gets or sets the provisioning state, which only appears in the response." + } + }, + "description": "Describes the properties of a Virtual Machine Scale Set." + }, + "VirtualMachineScaleSet": { "properties": { + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets or sets the virtual machine scale set sku." + }, "properties": { - "$ref": "#/definitions/NetworkInterfaceReferenceProperties" + "$ref": "#/definitions/VirtualMachineScaleSetProperties" } }, "allOf": [ { - "$ref": "#/definitions/SubResource" + "$ref": "#/definitions/Resource" } ], - "description": "Describes a network interface reference." + "description": "Describes a Virtual Machine Scale Set." }, - "NetworkProfile": { + "VirtualMachineScaleSetVMInstanceIDs": { "properties": { - "networkInterfaces": { + "instanceIds": { "type": "array", "items": { - "$ref": "#/definitions/NetworkInterfaceReference" + "type": "string" }, - "description": "Gets or sets the network interfaces." + "description": "Gets or sets the virtual machine scale set instance ids." } }, - "description": "Describes a network profile." + "description": "Specifies the list of virtual machine scale set instance IDs." }, - "BootDiagnostics": { + "VirtualMachineScaleSetVMInstanceRequiredIDs": { "properties": { - "enabled": { - "type": "boolean", - "description": "Gets or sets whether VM Agent should be provisioned on the Virtual Machine." - }, - "storageUri": { + "instanceIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Gets or sets the virtual machine scale set instance ids." + } + }, + "required": [ + "instanceIds" + ], + "description": "Specifies the list of virtual machine scale set instance IDs." + }, + "VirtualMachineStatusCodeCount": { + "properties": { + "code": { "type": "string", - "description": "Gets or sets the boot diagnostics storage Uri. It should be a valid Uri" + "description": "Gets the instance view status code." + }, + "count": { + "type": "integer", + "format": "int32", + "description": "Gets the number of instances having a particular status code." } }, - "description": "Describes Boot Diagnostics." + "description": "The status code and count of the virtual machine scale set instance view status summary." }, - "DiagnosticsProfile": { + "VirtualMachineScaleSetInstanceViewStatusesSummary": { "properties": { - "bootDiagnostics": { - "$ref": "#/definitions/BootDiagnostics", - "description": "Gets or sets the boot diagnostics." + "statusesSummary": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineStatusCodeCount" + }, + "description": "Gets or sets the extensions information." } }, - "description": "Describes a diagnostics profile." + "description": "Instance view statuses summary for virtual machines of a virtual machine scale set." }, - "VirtualMachineExtensionHandlerInstanceView": { + "VirtualMachineScaleSetVMExtensionsSummary": { "properties": { - "type": { - "type": "string", - "description": "Gets or sets full type of the extension handler which includes both publisher and type." - }, - "typeHandlerVersion": { + "name": { "type": "string", - "description": "Gets or sets the type version of the extension handler." + "description": "Gets the extension name." }, - "status": { - "$ref": "#/definitions/InstanceViewStatus", - "description": "Gets or sets the extension handler status." + "statusesSummary": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineStatusCodeCount" + }, + "description": "Gets or sets the extensions information." } }, - "description": "The instance view of a virtual machine extension handler." + "description": "Extensions summary for virtual machines of a virtual machine scale set." }, - "VirtualMachineAgentInstanceView": { + "VirtualMachineScaleSetInstanceView": { "properties": { - "vmAgentVersion": { - "type": "string", - "description": "Gets or sets the VM Agent full version." + "virtualMachine": { + "$ref": "#/definitions/VirtualMachineScaleSetInstanceViewStatusesSummary", + "description": "Gets the instance view status summary for the virtual machine scale set." }, - "extensionHandlers": { + "extensions": { "type": "array", "items": { - "$ref": "#/definitions/VirtualMachineExtensionHandlerInstanceView" + "$ref": "#/definitions/VirtualMachineScaleSetVMExtensionsSummary" }, - "description": "Gets or sets the virtual machine extension handler instance view." + "description": "Gets or sets the extensions information." }, "statuses": { "type": "array", @@ -2447,87 +4053,107 @@ "description": "Gets or sets the resource status information." } }, - "description": "The instance view of the VM Agent running on the virtual machine." + "description": "The instance view of a virtual machine scale set." }, - "DiskInstanceView": { + "VirtualMachineScaleSetListResult": { "properties": { - "name": { - "type": "string", - "description": "Gets or sets the disk name." - }, - "statuses": { + "value": { "type": "array", "items": { - "$ref": "#/definitions/InstanceViewStatus" + "$ref": "#/definitions/VirtualMachineScaleSet" }, - "description": "Gets or sets the resource status information." + "description": "Gets or sets the list of virtual machine scale sets." } }, - "description": "The instance view of the disk." + "description": "The List Virtual Machine operation response." }, - "BootDiagnosticsInstanceView": { + "VirtualMachineScaleSetListWithLinkResult": { "properties": { - "consoleScreenshotBlobUri": { - "type": "string", - "description": "Gets or sets the console screenshot blob Uri." + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSet" + }, + "description": "Gets or sets the list of virtual machine scale sets." }, - "serialConsoleLogBlobUri": { + "nextLink": { "type": "string", - "description": "Gets or sets the Linux serial console log blob Uri." + "description": "Gets or sets the uri to fetch the next page of Virtual Machine Scale Sets. Call ListNext() with this to fetch the next page of Virtual Machine Scale Sets." } }, - "description": "The instance view of a virtual machine boot diagnostics." + "description": "The List Virtual Machine operation response." }, - "VirtualMachineInstanceView": { + "VirtualMachineScaleSetSkuCapacity": { "properties": { - "platformUpdateDomain": { + "minimum": { "type": "integer", - "format": "int32", - "description": "Gets or sets the Update Domain count." + "format": "int64", + "description": "Gets the minimum capacity." }, - "platformFaultDomain": { + "maximum": { "type": "integer", - "format": "int32", - "description": "Gets or sets the Fault Domain count." - }, - "rdpThumbPrint": { - "type": "string", - "description": "Gets or sets the Remote desktop certificate thumbprint." - }, - "vmAgent": { - "$ref": "#/definitions/VirtualMachineAgentInstanceView", - "description": "Gets or sets the VM Agent running on the virtual machine." + "format": "int64", + "description": "Gets the maximum capacity that can be set." }, - "disks": { - "type": "array", - "items": { - "$ref": "#/definitions/DiskInstanceView" - }, - "description": "Gets or sets the the disks information." + "defaultCapacity": { + "type": "integer", + "format": "int64", + "description": "Gets the default capacity." }, - "extensions": { - "type": "array", - "items": { - "$ref": "#/definitions/VirtualMachineExtensionInstanceView" - }, - "description": "Gets or sets the extensions information." + "scaleType": { + "type": "string", + "description": "Gets the scale type applicable to the sku.", + "enum": [ + "Automatic", + "None" + ], + "x-ms-enum": { + "name": "VirtualMachineScaleSetSkuScaleType", + "modelAsString": "True" + } + } + }, + "description": "Describes scaling information of a sku." + }, + "VirtualMachineScaleSetSku": { + "properties": { + "resourceType": { + "type": "string", + "description": "Gets the type of resource the sku applies to." }, - "bootDiagnostics": { - "$ref": "#/definitions/BootDiagnosticsInstanceView", - "description": "Gets or sets the boot diagnostics." + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets the Sku." }, - "statuses": { + "capacity": { + "$ref": "#/definitions/VirtualMachineScaleSetSkuCapacity", + "description": "Gets available scaling information." + } + }, + "description": "Describes an available virtual machine scale set sku." + }, + "VirtualMachineScaleSetListSkusResult": { + "properties": { + "value": { "type": "array", "items": { - "$ref": "#/definitions/InstanceViewStatus" + "$ref": "#/definitions/VirtualMachineScaleSetSku" }, - "description": "Gets or sets the resource status information." + "description": "Gets the list of skus available for the virtual machine scale set." } }, - "description": "The instance view of a virtual machine." + "description": "The Virtual Machine Scale Set List Skus operation response." }, - "VirtualMachineProperties": { + "VirtualMachineScaleSetVMProperties": { "properties": { + "latestModelApplied": { + "type": "boolean", + "description": "Specifies whether the latest model has been applied to the virtual machine." + }, + "instanceView": { + "$ref": "#/definitions/VirtualMachineInstanceView", + "description": "Gets the virtual machine instance view." + }, "hardwareProfile": { "$ref": "#/definitions/HardwareProfile", "description": "Gets or sets the hardware profile." @@ -2555,23 +4181,27 @@ "provisioningState": { "type": "string", "description": "Gets or sets the provisioning state, which only appears in the response." - }, - "instanceView": { - "$ref": "#/definitions/VirtualMachineInstanceView", - "description": "Gets the virtual machine instance view." } }, - "description": "Describes the properties of a Virtual Machine." + "description": "Describes the properties of a virtual machine scale set virtual machine." }, - "VirtualMachine": { + "VirtualMachineScaleSetVM": { "properties": { + "instanceId": { + "type": "string", + "description": "Gets the virtual machine instance id." + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "Gets the virtual machine sku." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineScaleSetVMProperties" + }, "plan": { "$ref": "#/definitions/Plan", "description": "Gets or sets the purchase plan when deploying virtual machine from VM Marketplace images." }, - "properties": { - "$ref": "#/definitions/VirtualMachineProperties" - }, "resources": { "type": "array", "items": { @@ -2585,23 +4215,67 @@ "$ref": "#/definitions/Resource" } ], - "description": "Describes a Virtual Machine." + "description": "Describes a virtual machine scale set virtual machine." }, - "VirtualMachineListResult": { + "VirtualMachineScaleSetVMInstanceView": { "properties": { - "value": { + "platformUpdateDomain": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Update Domain count." + }, + "platformFaultDomain": { + "type": "integer", + "format": "int32", + "description": "Gets or sets the Fault Domain count." + }, + "rdpThumbPrint": { + "type": "string", + "description": "Gets or sets the Remote desktop certificate thumbprint." + }, + "vmAgent": { + "$ref": "#/definitions/VirtualMachineAgentInstanceView", + "description": "Gets or sets the VM Agent running on the virtual machine." + }, + "disks": { "type": "array", "items": { - "$ref": "#/definitions/VirtualMachine" + "$ref": "#/definitions/DiskInstanceView" }, - "description": "Gets or sets the list of virtual machines." + "description": "Gets or sets the the disks information." }, - "nextLink": { - "type": "string", - "description": "Gets or sets the uri to fetch the next page of VMs. Call ListNext() with this to fetch the next page of Virtual Machines." + "extensions": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineExtensionInstanceView" + }, + "description": "Gets or sets the extensions information." + }, + "bootDiagnostics": { + "$ref": "#/definitions/BootDiagnosticsInstanceView", + "description": "Gets or sets the boot diagnostics." + }, + "statuses": { + "type": "array", + "items": { + "$ref": "#/definitions/InstanceViewStatus" + }, + "description": "Gets or sets the resource status information." } }, - "description": "The List Virtual Machine operation response." + "description": "The instance view of a virtual machine scale set VM." + }, + "VirtualMachineScaleSetVMListResult": { + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualMachineScaleSetVM" + }, + "description": "Gets or sets the list of virtual machine scale sets VMs." + } + }, + "description": "The List Virtual Machine Scale Set VMs operation response." }, "DeleteOperationResult": { "properties": { @@ -2637,6 +4311,11 @@ "description": "Gets or sets the operation error if any occurred" } }, + "required": [ + "operationId", + "status", + "startTime" + ], "description": "The compute long running operation response." }, "Resource": { From e9bede93d8129cc4f4f69489fd86de54cdc1f6da Mon Sep 17 00:00:00 2001 From: stankovski Date: Mon, 2 Nov 2015 11:56:00 -0800 Subject: [PATCH 2/2] Regenerated specs --- .../2015-05-01-preview/swagger/network.json | 62 +++++++++++++++++-- .../2014-04-01-preview/swagger/resources.json | 33 +++++++++- arm-storage/2015-06-15/swagger/storage.json | 14 ++++- .../swagger/subscriptions.json | 6 ++ 4 files changed, 108 insertions(+), 7 deletions(-) diff --git a/arm-network/2015-05-01-preview/swagger/network.json b/arm-network/2015-05-01-preview/swagger/network.json index d895a3573a8a..34f85a966ac3 100644 --- a/arm-network/2015-05-01-preview/swagger/network.json +++ b/arm-network/2015-05-01-preview/swagger/network.json @@ -2928,7 +2928,8 @@ "in": "path", "required": true, "type": "string", - "description": "The location upon which resource usage is queried." + "description": "The location upon which resource usage is queried.", + "pattern": "^[-\\w\\._]+$" }, { "$ref": "#/parameters/ApiVersionParameter" @@ -2944,6 +2945,9 @@ "$ref": "#/definitions/UsagesListResult" } } + }, + "x-ms-pageable": { + "nextLinkName": null } } }, @@ -4635,6 +4639,9 @@ "description": "Gets AsPath." } }, + "required": [ + "nextHopType" + ], "description": "The routes table associated with the ExpressRouteCircuit" }, "ExpressRouteCircuitsRoutesTableListResult": { @@ -4967,6 +4974,12 @@ "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" } }, + "required": [ + "backendAddressPool", + "protocol", + "frontendPort", + "enableFloatingIP" + ], "description": "Properties of the load balancer" }, "LoadBalancingRule": { @@ -5034,7 +5047,11 @@ "type": "string", "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" } - } + }, + "required": [ + "protocol", + "port" + ] }, "Probe": { "properties": { @@ -5103,6 +5120,11 @@ "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" } }, + "required": [ + "protocol", + "frontendPort", + "enableFloatingIP" + ], "description": "Properties of Inbound NAT rule" }, "InboundNatRule": { @@ -5164,6 +5186,12 @@ "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" } }, + "required": [ + "protocol", + "frontendPortRangeStart", + "frontendPortRangeEnd", + "backendPort" + ], "description": "Properties of Inbound NAT pool" }, "InboundNatPool": { @@ -5210,6 +5238,10 @@ "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" } }, + "required": [ + "allocatedOutboundPorts", + "backendAddressPool" + ], "description": "Outbound NAT pool of the loadbalancer" }, "OutboundNatRule": { @@ -5596,6 +5628,9 @@ "description": "Gets or sets Provisioning state of the resource Updating/Deleting/Failed" } }, + "required": [ + "nextHopType" + ], "description": "Route resource" }, "Route": { @@ -5743,7 +5778,14 @@ "type": "string", "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" } - } + }, + "required": [ + "protocol", + "sourceAddressPrefix", + "destinationAddressPrefix", + "access", + "direction" + ] }, "SecurityRule": { "properties": { @@ -5897,6 +5939,9 @@ "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" } }, + "required": [ + "publicIPAllocationMethod" + ], "description": "PublicIpAddress properties" }, "PublicIpAddress": { @@ -6005,7 +6050,10 @@ "type": "string", "description": "Gets or sets Provisioning state of the PublicIP resource Updating/Deleting/Failed" } - } + }, + "required": [ + "addressPrefix" + ] }, "Subnet": { "properties": { @@ -6085,6 +6133,12 @@ "description": "Gets or sets the name of the type of usage." } }, + "required": [ + "unit", + "currentValue", + "limit", + "name" + ], "description": "Describes Network Resource Usage." }, "UsagesListResult": { diff --git a/arm-resources/2014-04-01-preview/swagger/resources.json b/arm-resources/2014-04-01-preview/swagger/resources.json index 89be66e0a498..86b57ea93363 100644 --- a/arm-resources/2014-04-01-preview/swagger/resources.json +++ b/arm-resources/2014-04-01-preview/swagger/resources.json @@ -1560,6 +1560,9 @@ "description": "If included it must match the ContentVersion in the template." } }, + "required": [ + "uri" + ], "description": "Entity representing the reference to the template." }, "ParametersLink": { @@ -1573,6 +1576,9 @@ "description": "If included it must match the ContentVersion in the template." } }, + "required": [ + "uri" + ], "description": "Entity representing the reference to the deployment paramaters." }, "DeploymentProperties": { @@ -1631,7 +1637,11 @@ "type": "string", "description": "Gets or sets the target of the error." } - } + }, + "required": [ + "code", + "message" + ] }, "ResourceManagementErrorWithDetails": { "properties": { @@ -1654,7 +1664,11 @@ "type": "string", "description": "Gets or sets the target of the error." } - } + }, + "required": [ + "code", + "message" + ] }, "ProviderResourceType": { "properties": { @@ -1843,6 +1857,9 @@ "description": "Gets or sets deployment properties." } }, + "required": [ + "name" + ], "description": "Deployment information." }, "DeploymentListResult": { @@ -2022,6 +2039,9 @@ "description": "Gets or sets the URL to get the next set of results." } }, + "required": [ + "nextLink" + ], "description": "List of resource groups." }, "ResourceGroup": { @@ -2050,6 +2070,9 @@ "description": "Gets or sets the tags attached to the resource group." } }, + "required": [ + "location" + ], "description": "Resource group information." }, "ResourceGroupProperties": { @@ -2076,6 +2099,9 @@ "description": "Gets or sets the URL to get the next set of results." } }, + "required": [ + "nextLink" + ], "description": "List of resource groups." }, "ResourcesMoveInfo": { @@ -2162,6 +2188,9 @@ "description": "Gets or sets the URL to get the next set of results." } }, + "required": [ + "nextLink" + ], "description": "List of subscription tags." }, "TargetResource": { diff --git a/arm-storage/2015-06-15/swagger/storage.json b/arm-storage/2015-06-15/swagger/storage.json index f8784adc9f65..cafb9fed714f 100644 --- a/arm-storage/2015-06-15/swagger/storage.json +++ b/arm-storage/2015-06-15/swagger/storage.json @@ -475,7 +475,10 @@ "modelAsString": "False" } } - } + }, + "required": [ + "accountType" + ] }, "StorageAccountCreateParameters": { "properties": { @@ -522,6 +525,9 @@ "description": "Indicates whether indirect CName validation is enabled. Default value is false. This should only be set on updates" } }, + "required": [ + "name" + ], "description": "The custom domain assigned to this storage account. This can be set via Update." }, "StorageAccountProperties": { @@ -740,6 +746,12 @@ "description": "Gets the name of the type of usage." } }, + "required": [ + "unit", + "currentValue", + "limit", + "name" + ], "description": "Describes Storage Resource Usage." }, "UsageListResult": { diff --git a/arm-subscriptions/2014-04-01-preview/swagger/subscriptions.json b/arm-subscriptions/2014-04-01-preview/swagger/subscriptions.json index a52cf10dc677..eca329df21c3 100644 --- a/arm-subscriptions/2014-04-01-preview/swagger/subscriptions.json +++ b/arm-subscriptions/2014-04-01-preview/swagger/subscriptions.json @@ -251,6 +251,9 @@ "description": "Gets or sets the URL to get the next set of results." } }, + "required": [ + "nextLink" + ], "description": "Subscription list operation response." }, "TenantIdDescription": { @@ -280,6 +283,9 @@ "description": "Gets or sets the URL to get the next set of results." } }, + "required": [ + "nextLink" + ], "description": "Tenant Ids information." }, "Resource": {