From d63f055636cf5d5cee79db429962950dff8110e9 Mon Sep 17 00:00:00 2001 From: Laura Galbraith Date: Tue, 4 Dec 2018 11:53:05 -0800 Subject: [PATCH] Update HanaOnAzure Swagger to support new SKU: S96 Update spec and validate examples - Make small correction to invalid HanaInstances_ListByResourceGroup example --- .../examples/HanaInstances_List.json | 30 +++++++++++++++++++ .../HanaInstances_ListByResourceGroup.json | 1 - .../2017-11-03-preview/hanaonazure.json | 1 + 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_List.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_List.json index 05b116de14da..11c30cc0a736 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_List.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_List.json @@ -102,6 +102,36 @@ "version": "12 SP1" } } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance4", + "name": "myHanaInstance4", + "type": "Microsoft.HanaOnAzure/hanaInstances", + "location": "westus", + "properties": { + "hanaInstanceId": "00000000-0000-0000-0000-000000000000", + "powerState": "started", + "hardwareProfile": { + "hardwareType": "Cisco_UCS", + "hanaInstanceSize": "S96" + }, + "networkProfile": { + "networkInterfaces": [ + { + "ipAddress": "100.100.100.103" + } + ], + "circuitId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup2/providers/Microsoft.Network/expressRouteCircuit" + }, + "storageProfile": { + "nfsIpAddress": "200.200.200.203" + }, + "osProfile": { + "computerName": "myComputerName4", + "osType": "SUSE", + "version": "12 SP1" + } + } } ] } diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_ListByResourceGroup.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_ListByResourceGroup.json index 5ccbac5a8b4a..816eb6e01f9a 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_ListByResourceGroup.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/examples/HanaInstances_ListByResourceGroup.json @@ -46,7 +46,6 @@ "name": "myHanaInstance2", "type": "Microsoft.HanaOnAzure/hanaInstances", "location": "westus", - "powerState": "started", "tags": { "key": "value" }, diff --git a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json index e68955be0e3c..25528e40009a 100644 --- a/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json +++ b/specification/hanaonazure/resource-manager/Microsoft.HanaOnAzure/preview/2017-11-03-preview/hanaonazure.json @@ -370,6 +370,7 @@ "S192", "S192m", "S192xm", + "S96", "S384", "S384m", "S384xm",