Skip to content

Commit 23c1a43

Browse files
author
SDKAuto
committed
CodeGen from PR 21604 in Azure/azure-rest-api-specs
ACSS Swagger Changes in PUT SVI API and child resources (#21604) * @shreyas : SAP Trans Changes for Swagger * @Divyani: SAP Disk Customization - Adding DiskConfiguration in PUTSVI * @bharath: Adding LB, Storage details to child resources
1 parent a995a29 commit 23c1a43

File tree

1 file changed

+214
-0
lines changed

1 file changed

+214
-0
lines changed

schemas/2021-12-01-preview/Microsoft.Workloads.json

Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,29 @@
694694
],
695695
"description": "Gets or sets the central server configuration."
696696
},
697+
"CreateAndMountFileShareConfiguration": {
698+
"type": "object",
699+
"properties": {
700+
"configurationType": {
701+
"type": "string",
702+
"enum": [
703+
"CreateAndMount"
704+
]
705+
},
706+
"resourceGroup": {
707+
"type": "string",
708+
"description": "The name of file share resource group. The app rg is used in case of missing input."
709+
},
710+
"storageAccountName": {
711+
"type": "string",
712+
"description": "The name of file share storage account name . A custom name is used in case of missing input."
713+
}
714+
},
715+
"required": [
716+
"configurationType"
717+
],
718+
"description": "Gets or sets the file share configuration for file share created with the VIS case."
719+
},
697720
"DatabaseConfiguration": {
698721
"type": "object",
699722
"properties": {
@@ -712,6 +735,17 @@
712735
],
713736
"description": "The database type."
714737
},
738+
"diskConfiguration": {
739+
"oneOf": [
740+
{
741+
"$ref": "#/definitions/DiskConfiguration"
742+
},
743+
{
744+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
745+
}
746+
],
747+
"description": "The Disk Configuration Details."
748+
},
715749
"instanceCount": {
716750
"oneOf": [
717751
{
@@ -1055,6 +1089,27 @@
10551089
],
10561090
"description": "Discovery Details."
10571091
},
1092+
"DiskConfiguration": {
1093+
"type": "object",
1094+
"properties": {
1095+
"diskVolumeConfigurations": {
1096+
"oneOf": [
1097+
{
1098+
"type": "object",
1099+
"additionalProperties": {
1100+
"$ref": "#/definitions/DiskVolumeConfiguration"
1101+
},
1102+
"properties": {}
1103+
},
1104+
{
1105+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1106+
}
1107+
],
1108+
"description": "The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup']."
1109+
}
1110+
},
1111+
"description": "The Disk Configuration Details."
1112+
},
10581113
"DiskInfo": {
10591114
"type": "object",
10601115
"properties": {
@@ -1091,6 +1146,70 @@
10911146
],
10921147
"description": "Disk resource creation details"
10931148
},
1149+
"DiskSku": {
1150+
"type": "object",
1151+
"properties": {
1152+
"name": {
1153+
"oneOf": [
1154+
{
1155+
"type": "string",
1156+
"enum": [
1157+
"Standard_LRS",
1158+
"Premium_LRS",
1159+
"StandardSSD_LRS",
1160+
"UltraSSD_LRS",
1161+
"Premium_ZRS",
1162+
"StandardSSD_ZRS",
1163+
"PremiumV2_LRS"
1164+
]
1165+
},
1166+
{
1167+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1168+
}
1169+
]
1170+
}
1171+
},
1172+
"description": "The disk sku."
1173+
},
1174+
"DiskVolumeConfiguration": {
1175+
"type": "object",
1176+
"properties": {
1177+
"count": {
1178+
"oneOf": [
1179+
{
1180+
"type": "integer"
1181+
},
1182+
{
1183+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1184+
}
1185+
],
1186+
"description": "The total number of disks required for the concerned volume."
1187+
},
1188+
"sizeGB": {
1189+
"oneOf": [
1190+
{
1191+
"type": "integer"
1192+
},
1193+
{
1194+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1195+
}
1196+
],
1197+
"description": "The disk size in GB."
1198+
},
1199+
"sku": {
1200+
"oneOf": [
1201+
{
1202+
"$ref": "#/definitions/DiskSku"
1203+
},
1204+
{
1205+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
1206+
}
1207+
],
1208+
"description": "The disk sku."
1209+
}
1210+
},
1211+
"description": "The disk configuration required for the selected volume."
1212+
},
10941213
"EnqueueReplicationServerProperties": {
10951214
"type": "object",
10961215
"properties": {},
@@ -1120,6 +1239,22 @@
11201239
],
11211240
"description": "The SAP Software configuration Input when the software is installed externally outside the service."
11221241
},
1242+
"FileShareConfiguration": {
1243+
"type": "object",
1244+
"oneOf": [
1245+
{
1246+
"$ref": "#/definitions/SkipFileShareConfiguration"
1247+
},
1248+
{
1249+
"$ref": "#/definitions/CreateAndMountFileShareConfiguration"
1250+
},
1251+
{
1252+
"$ref": "#/definitions/MountFileShareConfiguration"
1253+
}
1254+
],
1255+
"properties": {},
1256+
"description": "File Share configuration details, populated with information on storage configuration mounted on the VIS. The createAndMount option is selected in case of missing input."
1257+
},
11231258
"FileshareProfile": {
11241259
"type": "object",
11251260
"properties": {
@@ -1499,6 +1634,31 @@
14991634
],
15001635
"description": "Microsoft.Workloads/monitors/providerInstances"
15011636
},
1637+
"MountFileShareConfiguration": {
1638+
"type": "object",
1639+
"properties": {
1640+
"configurationType": {
1641+
"type": "string",
1642+
"enum": [
1643+
"Mount"
1644+
]
1645+
},
1646+
"id": {
1647+
"type": "string",
1648+
"description": "The fileshare resource ID"
1649+
},
1650+
"privateEndpointId": {
1651+
"type": "string",
1652+
"description": "The private endpoint resource ID"
1653+
}
1654+
},
1655+
"required": [
1656+
"configurationType",
1657+
"id",
1658+
"privateEndpointId"
1659+
],
1660+
"description": "Gets or sets the file share configuration for externally mounted cases."
1661+
},
15021662
"MsSqlServerProviderInstanceProperties": {
15031663
"type": "object",
15041664
"properties": {
@@ -2773,6 +2933,17 @@
27732933
],
27742934
"description": "The database type."
27752935
},
2936+
"dbDiskConfiguration": {
2937+
"oneOf": [
2938+
{
2939+
"$ref": "#/definitions/DiskConfiguration"
2940+
},
2941+
{
2942+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
2943+
}
2944+
],
2945+
"description": "The Disk Configuration Details."
2946+
},
27762947
"deploymentType": {
27772948
"type": "string",
27782949
"enum": [
@@ -2823,6 +2994,21 @@
28232994
},
28242995
"description": "Workload website profile"
28252996
},
2997+
"SkipFileShareConfiguration": {
2998+
"type": "object",
2999+
"properties": {
3000+
"configurationType": {
3001+
"type": "string",
3002+
"enum": [
3003+
"Skip"
3004+
]
3005+
}
3006+
},
3007+
"required": [
3008+
"configurationType"
3009+
],
3010+
"description": "Gets or sets the skip file share configuration"
3011+
},
28263012
"Sku": {
28273013
"type": "object",
28283014
"properties": {
@@ -2931,6 +3117,23 @@
29313117
},
29323118
"description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed."
29333119
},
3120+
"StorageConfiguration": {
3121+
"type": "object",
3122+
"properties": {
3123+
"transportFileShareConfiguration": {
3124+
"oneOf": [
3125+
{
3126+
"$ref": "#/definitions/FileShareConfiguration"
3127+
},
3128+
{
3129+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
3130+
}
3131+
],
3132+
"description": "File Share configuration details, populated with information on storage configuration mounted on the VIS. The createAndMount option is selected in case of missing input."
3133+
}
3134+
},
3135+
"description": "Gets or sets the storage configuration."
3136+
},
29343137
"ThreeTierConfiguration": {
29353138
"type": "object",
29363139
"properties": {
@@ -2994,6 +3197,17 @@
29943197
}
29953198
],
29963199
"description": "Defines the network configuration type for SAP system infrastructure that is being deployed "
3200+
},
3201+
"storageConfiguration": {
3202+
"oneOf": [
3203+
{
3204+
"$ref": "#/definitions/StorageConfiguration"
3205+
},
3206+
{
3207+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
3208+
}
3209+
],
3210+
"description": "Gets or sets the storage configuration."
29973211
}
29983212
},
29993213
"required": [

0 commit comments

Comments
 (0)