diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json
index 46bf1e33c5dc..ef7e20c53a47 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/SAPVirtualInstance.json
@@ -287,6 +287,15 @@
"Create Infrastructure only for Single Server System": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_SingleServer.json"
},
+ "Create Infrastructure without SAP Trans Fileshare": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json"
+ },
+ "Create Infrastructure with a new SAP Trans Fileshare": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json"
+ },
+ "Create Infrastructure with an existing SAP Trans Fileshare": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json"
+ },
"Detect SAP Software Installation on a Single Server System": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_DetectInstallation_SingleServer.json"
},
@@ -304,6 +313,18 @@
},
"Install SAP Software on Distributed System": {
"$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Install_Distributed.json"
+ },
+ "Create Infrastructure with Disk and OS configurations for Single Server System (Recommended)": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json"
+ },
+ "Create Infrastructure with Disk and OS configuration for Distributed System (Recommended)": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json"
+ },
+ "Create Infrastructure with Disk and OS configuration for HA System with Availability Set (Recommended)": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json"
+ },
+ "Create Infrastructure with Disk and OS configuration for HA System with Availability Zone (Recommended)": {
+ "$ref": "./examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json"
}
},
"description": "Creates a Virtual Instance for SAP solutions (VIS) resource",
@@ -632,6 +653,9 @@
"x-ms-examples": {
"SAPCentralInstances_Create": {
"$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Create.json"
+ },
+ "Create SAP Central Instances for HA System with Availability Set": {
+ "$ref": "./examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json"
}
},
"description": "Creates the SAP Central Services Instance resource.
This will be used by service only. PUT operation on this resource by end user will return a Bad Request error.",
@@ -906,6 +930,9 @@
"x-ms-examples": {
"SAPDatabaseInstances_Create": {
"$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Create.json"
+ },
+ "Create SAP Database Instances for HA System with Availability Set": {
+ "$ref": "./examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json"
}
},
"description": "Creates the Database resource corresponding to the Virtual Instance for SAP solutions resource.
This will be used by service only. PUT by end user will return a Bad Request error.",
@@ -1180,6 +1207,9 @@
"x-ms-examples": {
"SAPApplicationServerInstances_Create": {
"$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Create.json"
+ },
+ "Create SAP Application Server Instances for HA System with Availability Set": {
+ "$ref": "./examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json"
}
},
"description": "Puts the SAP Application Server Instance resource.
This will be used by service only. PUT by end user will return a Bad Request error.",
@@ -1744,6 +1774,23 @@
"modelAsString": true
}
},
+ "DiskSkuName": {
+ "description": "Defines the disk sku name.",
+ "enum": [
+ "Standard_LRS",
+ "Premium_LRS",
+ "StandardSSD_LRS",
+ "UltraSSD_LRS",
+ "Premium_ZRS",
+ "StandardSSD_ZRS",
+ "PremiumV2_LRS"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "DiskSkuName",
+ "modelAsString": true
+ }
+ },
"SAPVirtualInstanceError": {
"type": "object",
"properties": {
@@ -2271,6 +2318,48 @@
}
}
},
+ "DiskSku": {
+ "description": "The disk sku.",
+ "type": "object",
+ "properties": {
+ "name": {
+ "$ref": "#/definitions/DiskSkuName"
+ }
+ }
+ },
+ "DiskVolumeConfiguration": {
+ "description": "The disk configuration required for the selected volume.",
+ "type": "object",
+ "properties": {
+ "count": {
+ "description": "The total number of disks required for the concerned volume.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "sizeGB": {
+ "description": "The disk size in GB.",
+ "type": "integer",
+ "format": "int64"
+ },
+ "sku": {
+ "description": "The disk SKU details.",
+ "$ref": "#/definitions/DiskSku"
+ }
+ }
+ },
+ "DiskConfiguration": {
+ "description": "The Disk Configuration Details.",
+ "type": "object",
+ "properties": {
+ "diskVolumeConfigurations": {
+ "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'].",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/DiskVolumeConfiguration"
+ }
+ }
+ }
+ },
"VirtualMachineConfiguration": {
"description": "Defines the virtual machine configuration.",
"type": "object",
@@ -2319,6 +2408,10 @@
"virtualMachineConfiguration": {
"description": "Gets or sets the virtual machine configuration.",
"$ref": "#/definitions/VirtualMachineConfiguration"
+ },
+ "dbDiskConfiguration": {
+ "description": "Gets or sets the disk configuration.",
+ "$ref": "#/definitions/DiskConfiguration"
}
},
"required": [
@@ -2370,6 +2463,10 @@
"description": "The number of database VMs.",
"type": "integer",
"format": "int64"
+ },
+ "diskConfiguration": {
+ "description": "Gets or sets the disk configuration.",
+ "$ref": "#/definitions/DiskConfiguration"
}
},
"required": [
@@ -2415,6 +2512,100 @@
"highAvailabilityType"
]
},
+ "FileShareConfigurationType": {
+ "description": "The type of file share config.",
+ "enum": [
+ "Skip",
+ "CreateAndMount",
+ "Mount"
+ ],
+ "type": "string",
+ "x-ms-enum": {
+ "name": "configurationType",
+ "modelAsString": true
+ },
+ "x-ms-mutability": [
+ "create",
+ "read"
+ ]
+ },
+ "SkipFileShareConfiguration": {
+ "x-ms-discriminator-value": "Skip",
+ "description": "Gets or sets the skip file share configuration",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FileShareConfiguration"
+ }
+ ]
+ },
+ "CreateAndMountFileShareConfiguration": {
+ "x-ms-discriminator-value": "CreateAndMount",
+ "description": "Gets or sets the file share configuration for file share created with the VIS case.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FileShareConfiguration"
+ }
+ ],
+ "properties": {
+ "resourceGroup": {
+ "type": "string",
+ "description": "The name of file share resource group. The app rg is used in case of missing input."
+ },
+ "storageAccountName": {
+ "type": "string",
+ "description": "The name of file share storage account name . A custom name is used in case of missing input."
+ }
+ }
+ },
+ "MountFileShareConfiguration": {
+ "x-ms-discriminator-value": "Mount",
+ "description": "Gets or sets the file share configuration for externally mounted cases.",
+ "type": "object",
+ "allOf": [
+ {
+ "$ref": "#/definitions/FileShareConfiguration"
+ }
+ ],
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "The fileshare resource ID"
+ },
+ "privateEndpointId": {
+ "type": "string",
+ "description": "The private endpoint resource ID"
+ }
+ },
+ "required": [
+ "id",
+ "privateEndpointId"
+ ]
+ },
+ "FileShareConfiguration": {
+ "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.",
+ "type": "object",
+ "properties": {
+ "configurationType": {
+ "$ref": "#/definitions/FileShareConfigurationType"
+ }
+ },
+ "discriminator": "configurationType",
+ "required": [
+ "configurationType"
+ ]
+ },
+ "StorageConfiguration": {
+ "description": "Gets or sets the storage configuration.",
+ "type": "object",
+ "properties": {
+ "transportFileShareConfiguration": {
+ "description": "The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.",
+ "$ref": "#/definitions/FileShareConfiguration"
+ }
+ }
+ },
"ThreeTierConfiguration": {
"x-ms-discriminator-value": "ThreeTier",
"x-ms-client-flatten": true,
@@ -2445,6 +2636,10 @@
"highAvailabilityConfig": {
"description": "The high availability configuration.",
"$ref": "#/definitions/HighAvailabilityConfiguration"
+ },
+ "storageConfiguration": {
+ "description": "The storage configuration.",
+ "$ref": "#/definitions/StorageConfiguration"
}
},
"required": [
@@ -2737,6 +2932,26 @@
},
"discriminator": "configurationType"
},
+ "LoadBalancerDetails": {
+ "description": "The Load Balancer details such as Load Balancer ID.",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
+ "StorageInformation": {
+ "description": "Storage details of all the Storage accounts attached to the VM. For e.g. NFS on AFS Shared Storage. ",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "readOnly": true
+ }
+ }
+ },
"CentralServerVmDetails": {
"description": "The SAP Central Services Instance VM details.",
"type": "object",
@@ -2748,6 +2963,15 @@
"virtualMachineId": {
"type": "string",
"readOnly": true
+ },
+ "storageDetails": {
+ "description": "Storage details of all the Storage Accounts attached to the ASCS Virtual Machine. For e.g. NFS on AFS Shared Storage.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageInformation"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
}
}
},
@@ -2762,6 +2986,15 @@
"status": {
"$ref": "#/definitions/SAPVirtualInstanceStatus",
"readOnly": true
+ },
+ "storageDetails": {
+ "description": "Storage details of all the Storage Accounts attached to the Database Virtual Machine. For e.g. NFS on AFS Shared Storage.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageInformation"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
}
}
},
@@ -2986,6 +3219,15 @@
"$ref": "#/definitions/SAPVirtualInstanceStatus",
"readOnly": true
},
+ "storageDetails": {
+ "description": "Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/StorageInformation"
+ },
+ "x-ms-identifiers": [],
+ "readOnly": true
+ },
"health": {
"$ref": "#/definitions/HealthState",
"readOnly": true
@@ -3185,6 +3427,11 @@
"readOnly": true,
"x-nullable": true
},
+ "loadBalancerDetails": {
+ "description": "The Load Balancer details such as LoadBalancer ID attached to ASCS Virtual Machines",
+ "$ref": "#/definitions/LoadBalancerDetails",
+ "readOnly": true
+ },
"vmDetails": {
"description": "The list of virtual machines corresponding to the Central Services instance.",
"type": "array",
@@ -3252,6 +3499,11 @@
"description": "Database IP Address.",
"readOnly": true
},
+ "loadBalancerDetails": {
+ "description": "The Load Balancer details such as LoadBalancer ID attached to Database Virtual Machines",
+ "$ref": "#/definitions/LoadBalancerDetails",
+ "readOnly": true
+ },
"vmDetails": {
"description": "The list of virtual machines corresponding to the Database resource.",
"type": "array",
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
new file mode 100644
index 000000000000..26c7c74ce941
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Create_HA_AvSet.json
@@ -0,0 +1,92 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "applicationInstanceName": "app01",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "instanceNo": "01",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01",
+ "name": "app01",
+ "type": "Microsoft.Workloads/sapVirtualInstances/applicationInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "instanceNo": "01",
+ "subnet": null,
+ "hostname": "vh-nw1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "gatewayPort": 3300,
+ "icmHttpPort": 3312,
+ "icmHttpsPort": 3313,
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/app01-vm",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
index 3528155eea77..6f94557f38f1 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPApplicationServerInstances_Delete.json
@@ -17,7 +17,15 @@
"error": null
}
},
- "202": {},
- "204": {}
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json
new file mode 100644
index 000000000000..bbd2705ff6f9
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Create_HA_AvSet.json
@@ -0,0 +1,172 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "centralInstanceName": "centralServer",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Healthy"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1",
+ "type": "Primary",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ },
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2",
+ "type": "Primary",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/centralInstances/centralServer",
+ "name": "centralServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/centralInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "instanceNo": "00",
+ "subnet": null,
+ "messageServerProperties": {
+ "msPort": 3600,
+ "internalMsPort": 3900,
+ "httpPort": 8100,
+ "httpsPort": 44400,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "enqueueServerProperties": {
+ "port": 3600,
+ "hostname": "vh-ascs1",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "gatewayServerProperties": {
+ "port": 3300,
+ "health": "Healthy"
+ },
+ "enqueueReplicationServerProperties": {
+ "ersVersion": "EnqueueReplicator1",
+ "instanceNo": "00",
+ "hostname": "vh-ers1",
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "ipAddress": "10.0.0.5",
+ "health": "Healthy"
+ },
+ "kernelVersion": "777",
+ "kernelPatch": "patch 300",
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/cs-ASCS-loadBalancer"
+ },
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm1",
+ "type": "Primary",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ },
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/cs-vm2",
+ "type": "Primary",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ }
+ ],
+ "status": "Running",
+ "health": "Unknown",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
index 034aa95c73f8..34ffc2c9370c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPCentralInstances_Delete.json
@@ -17,7 +17,15 @@
"error": null
}
},
- "202": {},
- "204": {}
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json
new file mode 100644
index 000000000000..0896f4a9f8d6
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Create_HA_AvSet.json
@@ -0,0 +1,94 @@
+{
+ "parameters": {
+ "subscriptionId": "6d875e77-e412-4d7d-9af4-8895278b4443",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "databaseInstanceName": "databaseServer",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "location": "westcentralus",
+ "tags": {},
+ "properties": {}
+ }
+ },
+ "responses": {
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer"
+ },
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/databaseInstances/databaseServer",
+ "name": "databaseServer",
+ "type": "Microsoft.Workloads/sapVirtualInstances/databaseInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "databaseSid": "X00",
+ "databaseType": "hdb",
+ "ipAddress": "10.0.0.5",
+ "subnet": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1",
+ "loadBalancerDetails": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Network/loadBalancers/db-loadBalancer"
+ },
+ "vmDetails": [
+ {
+ "virtualMachineId": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/db-vm",
+ "storageDetails": [
+ {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/nfsstorageaccount"
+ }
+ ]
+ }
+ ],
+ "status": "Running",
+ "errors": null,
+ "provisioningState": "Succeeded"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
index 66da688ccdaf..fb823f628156 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPDatabaseInstances_Delete.json
@@ -17,7 +17,15 @@
"error": null
}
},
- "202": {},
- "204": {}
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
new file mode 100644
index 000000000000..dad25d343ca2
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_Distributed.json
@@ -0,0 +1,452 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "SoftwareInstallationPending",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json
new file mode 100644
index 000000000000..a0a73615f865
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvSet.json
@@ -0,0 +1,461 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilitySet"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilitySet"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "SoftwareInstallationPending",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilitySet"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json
new file mode 100644
index 000000000000..e98ab2b35f6f
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_HA_AvZone.json
@@ -0,0 +1,461 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilityZone"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilityZone"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "SoftwareInstallationPending",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "appResourceGroup": "X00-RG",
+ "deploymentType": "ThreeTier",
+ "highAvailabilityConfig": {
+ "highAvailabilityType": "AvailabilityZone"
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "diskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ },
+ "instanceCount": 2
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
new file mode 100644
index 000000000000..fc1de72381f4
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_DiskDetails_SingleServer.json
@@ -0,0 +1,312 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "SingleServer",
+ "appResourceGroup": "X00-RG",
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "networkConfiguration": {
+ "isSecondaryIpEnabled": true
+ },
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "dbDiskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "SingleServer",
+ "appResourceGroup": "X00-RG",
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "networkConfiguration": {
+ "isSecondaryIpEnabled": true
+ },
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "dbDiskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "SoftwareInstallationPending",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "NonProd",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "SingleServer",
+ "appResourceGroup": "X00-RG",
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "networkConfiguration": {
+ "isSecondaryIpEnabled": true
+ },
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "dbDiskConfiguration": {
+ "diskVolumeConfigurations": {
+ "hana/data": {
+ "count": 4,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/log": {
+ "count": 3,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "hana/shared": {
+ "count": 1,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "usr/sap": {
+ "count": 1,
+ "sizeGB": 128,
+ "sku": {
+ "name": "Premium_LRS"
+ }
+ },
+ "backup": {
+ "count": 2,
+ "sizeGB": 256,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ },
+ "os": {
+ "count": 1,
+ "sizeGB": 64,
+ "sku": {
+ "name": "StandardSSD_LRS"
+ }
+ }
+ }
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json
new file mode 100644
index 000000000000..5bd391ff2261
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_CreateTrans.json
@@ -0,0 +1,335 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Mount",
+ "id": "fileshareID",
+ "privateEndpointId": "pe-arm-id"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Mount",
+ "id": "fileshareID",
+ "privateEndpointId": "pe-arm-id"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "SoftwareInstallationPending",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Mount",
+ "id": "fileshareID",
+ "privateEndpointId": "pe-arm-id"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json
new file mode 100644
index 000000000000..5bd391ff2261
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_MountTrans.json
@@ -0,0 +1,335 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Mount",
+ "id": "fileshareID",
+ "privateEndpointId": "pe-arm-id"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Mount",
+ "id": "fileshareID",
+ "privateEndpointId": "pe-arm-id"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "SoftwareInstallationPending",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Mount",
+ "id": "fileshareID",
+ "privateEndpointId": "pe-arm-id"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json
new file mode 100644
index 000000000000..d41658b72639
--- /dev/null
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Create_Distributed_SkipTransMount.json
@@ -0,0 +1,329 @@
+{
+ "parameters": {
+ "subscriptionId": "8e17e36c-42e9-4cd5-a078-7b44883414e0",
+ "resourceGroupName": "test-rg",
+ "sapVirtualInstanceName": "X00",
+ "api-version": "2021-12-01-preview",
+ "body": {
+ "tags": {},
+ "location": "westcentralus",
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Skip"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc",
+ "privateKey": "xyz"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Skip"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "SoftwareInstallationPending",
+ "provisioningState": "Succeeded"
+ }
+ }
+ },
+ "201": {
+ "body": {
+ "id": "/subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00",
+ "name": "X00",
+ "type": "Microsoft.Workloads/sapVirtualInstances",
+ "tags": {},
+ "location": "westcentralus",
+ "systemData": {
+ "createdBy": "user@xyz.com",
+ "createdByType": "User",
+ "createdAt": "2021-08-19T15:10:46.196Z",
+ "lastModifiedBy": "user@xyz.com",
+ "lastModifiedByType": "User",
+ "lastModifiedAt": "2021-08-19T15:10:46.196Z"
+ },
+ "properties": {
+ "environment": "Prod",
+ "sapProduct": "S4HANA",
+ "configuration": {
+ "configurationType": "DeploymentWithOSConfig",
+ "appLocation": "eastus",
+ "infrastructureConfiguration": {
+ "deploymentType": "ThreeTier",
+ "appResourceGroup": "X00-RG",
+ "storageConfiguration": {
+ "transportFileShareConfiguration": {
+ "configurationType": "Skip"
+ }
+ },
+ "centralServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E16ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ },
+ "applicationServer": {
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_E32ds_v4",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 6
+ },
+ "databaseServer": {
+ "databaseType": "HANA",
+ "subnetId": "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
+ "virtualMachineConfiguration": {
+ "vmSize": "Standard_M32ts",
+ "imageReference": {
+ "sku": "7.4",
+ "publisher": "RedHat",
+ "version": "7.4.2019062505",
+ "offer": "RHEL-SAP"
+ },
+ "osProfile": {
+ "adminUsername": "{your-username}",
+ "osConfiguration": {
+ "osType": "Linux",
+ "disablePasswordAuthentication": true,
+ "sshKeyPair": {
+ "publicKey": "abc"
+ }
+ }
+ }
+ },
+ "instanceCount": 1
+ }
+ },
+ "osSapConfiguration": {
+ "sapFqdn": "xyz.test.com"
+ }
+ },
+ "status": "Unknown",
+ "health": "Unknown",
+ "state": "InfrastructureDeploymentInProgress",
+ "provisioningState": "Updating"
+ }
+ }
+ }
+ }
+}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json
index 424b892913e4..62e0ba46f78c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Delete.json
@@ -16,7 +16,15 @@
"error": null
}
},
- "202": {},
- "204": {}
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ },
+ "204": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
index dce5b06f94e5..c2d32582542d 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Start.json
@@ -16,6 +16,10 @@
"error": null
}
},
- "202": {}
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
}
}
diff --git a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
index 578ac573fe3d..23c0689a457c 100644
--- a/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
+++ b/specification/workloads/resource-manager/Microsoft.Workloads/preview/2021-12-01-preview/examples/sapvirtualinstances/SAPVirtualInstances_Stop.json
@@ -19,6 +19,10 @@
"error": null
}
},
- "202": {}
+ "202": {
+ "headers": {
+ "azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Workloads/locations/EASTUS2EUAP/operationStatuses/b7d35156-cfc9-419f-838a-b1e7eff64474*465BB862DF6F3B58F4A29B409D4197F48D5A22B67E126174D4C11F42B19263E5?api-version=2021-12-01-preview"
+ }
+ }
}
}