1. Packages
  2. Azure Native v1
  3. API Docs
  4. workloads
  5. SAPVirtualInstance
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.workloads.SAPVirtualInstance

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Define the Virtual Instance for SAP solutions resource. API Version: 2021-12-01-preview.

    Example Usage

    Create Infrastructure for Distributed System

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "X00-RG",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 6,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E32ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E16ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						DatabaseType:  "HANA",
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier")
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure for HA System with Availability Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                    {
                        HighAvailabilityType = "AvailabilitySet",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "X00-RG",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 6,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E32ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E16ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						DatabaseType:  "HANA",
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					HighAvailabilityConfig: workloads.HighAvailabilityConfiguration{
    						HighAvailabilityType: "AvailabilitySet",
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("highAvailabilityConfig", Map.of("highAvailabilityType", "AvailabilitySet"))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                    high_availability_type="AvailabilitySet",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                highAvailabilityConfig: {
                    highAvailabilityType: "AvailabilitySet",
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              highAvailabilityConfig:
                highAvailabilityType: AvailabilitySet
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure for HA System with Availability Zone

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                    {
                        HighAvailabilityType = "AvailabilityZone",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "X00-RG",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 6,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E32ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E16ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						DatabaseType:  "HANA",
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					HighAvailabilityConfig: workloads.HighAvailabilityConfiguration{
    						HighAvailabilityType: "AvailabilityZone",
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("highAvailabilityConfig", Map.of("highAvailabilityType", "AvailabilityZone"))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                    high_availability_type="AvailabilityZone",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                highAvailabilityConfig: {
                    highAvailabilityType: "AvailabilityZone",
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              highAvailabilityConfig:
                highAvailabilityType: AvailabilityZone
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure for Single Server System

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.SingleServerConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    DatabaseType = "HANA",
                    DeploymentType = "SingleServer",
                    NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                    {
                        IsSecondaryIpEnabled = true,
                    },
                    SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                    {
                        ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                        {
                            Offer = "RHEL-SAP-HA",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "8.4.2021091202",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                {
                                    PrivateKey = "xyz",
                                    PublicKey = "abc",
                                },
                            },
                        },
                        VmSize = "Standard_E32ds_v4",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "NonProd",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.SingleServerConfiguration{
    					AppResourceGroup: "X00-RG",
    					DatabaseType:     "HANA",
    					DeploymentType:   "SingleServer",
    					NetworkConfiguration: workloads.NetworkConfiguration{
    						IsSecondaryIpEnabled: true,
    					},
    					SubnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    					VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    						ImageReference: workloads.ImageReference{
    							Offer:     "RHEL-SAP-HA",
    							Publisher: "RedHat",
    							Sku:       "84sapha-gen2",
    							Version:   "8.4.2021091202",
    						},
    						OsProfile: workloads.OSProfile{
    							AdminUsername: "{your-username}",
    							OsConfiguration: workloads.LinuxConfiguration{
    								DisablePasswordAuthentication: true,
    								OsType:                        "Linux",
    								SshKeyPair: workloads.SshKeyPair{
    									PrivateKey: "xyz",
    									PublicKey:  "abc",
    								},
    							},
    						},
    						VmSize: "Standard_E32ds_v4",
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    			},
    			Environment:            pulumi.String("NonProd"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("databaseType", "HANA"),
                        Map.entry("deploymentType", "SingleServer"),
                        Map.entry("networkConfiguration", Map.of("isSecondaryIpEnabled", true)),
                        Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                        Map.entry("virtualMachineConfiguration", Map.ofEntries(
                            Map.entry("imageReference", Map.ofEntries(
                                Map.entry("offer", "RHEL-SAP-HA"),
                                Map.entry("publisher", "RedHat"),
                                Map.entry("sku", "84sapha-gen2"),
                                Map.entry("version", "8.4.2021091202")
                            )),
                            Map.entry("osProfile", Map.ofEntries(
                                Map.entry("adminUsername", "{your-username}"),
                                Map.entry("osConfiguration", Map.ofEntries(
                                    Map.entry("disablePasswordAuthentication", true),
                                    Map.entry("osType", "Linux"),
                                    Map.entry("sshKeyPair", Map.ofEntries(
                                        Map.entry("privateKey", "xyz"),
                                        Map.entry("publicKey", "abc")
                                    ))
                                ))
                            )),
                            Map.entry("vmSize", "Standard_E32ds_v4")
                        ))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("NonProd")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.SingleServerConfigurationArgs(
                app_resource_group="X00-RG",
                database_type="HANA",
                deployment_type="SingleServer",
                network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                    is_secondary_ip_enabled=True,
                ),
                subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                    image_reference=azure_native.workloads.ImageReferenceArgs(
                        offer="RHEL-SAP-HA",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="8.4.2021091202",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                private_key="xyz",
                                public_key="abc",
                            ),
                        ),
                    ),
                    vm_size="Standard_E32ds_v4",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="NonProd",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                databaseType: "HANA",
                deploymentType: "SingleServer",
                networkConfiguration: {
                    isSecondaryIpEnabled: true,
                },
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP-HA",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "8.4.2021091202",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E32ds_v4",
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "NonProd",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              databaseType: HANA
              deploymentType: SingleServer
              networkConfiguration:
                isSecondaryIpEnabled: true
              subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
              virtualMachineConfiguration:
                imageReference:
                  offer: RHEL-SAP-HA
                  publisher: RedHat
                  sku: 84sapha-gen2
                  version: 8.4.2021091202
                osProfile:
                  adminUsername: '{your-username}'
                  osConfiguration:
                    disablePasswordAuthentication: true
                    osType: Linux
                    sshKeyPair:
                      privateKey: xyz
                      publicKey: abc
                vmSize: Standard_E32ds_v4
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: NonProd
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure with Disk and OS configuration for HA System with Availability Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        DiskConfiguration = new AzureNative.Workloads.Inputs.DiskConfigurationArgs
                        {
                            DiskVolumeConfigurations = 
                            {
                                { "backup", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 2,
                                    SizeGB = 256,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "StandardSSD_LRS",
                                    },
                                } },
                                { "hana/data", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 4,
                                    SizeGB = 128,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "Premium_LRS",
                                    },
                                } },
                                { "hana/log", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 3,
                                    SizeGB = 128,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "Premium_LRS",
                                    },
                                } },
                                { "hana/shared", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 1,
                                    SizeGB = 256,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "StandardSSD_LRS",
                                    },
                                } },
                                { "os", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 1,
                                    SizeGB = 64,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "StandardSSD_LRS",
                                    },
                                } },
                                { "usr/sap", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 1,
                                    SizeGB = 128,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "Premium_LRS",
                                    },
                                } },
                            },
                        },
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                    {
                        HighAvailabilityType = "AvailabilitySet",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("diskConfiguration", Map.of("diskVolumeConfigurations", Map.ofEntries(
                                Map.entry("backup", Map.ofEntries(
                                    Map.entry("count", 2),
                                    Map.entry("sizeGB", 256),
                                    Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                                )),
                                Map.entry("hana/data", Map.ofEntries(
                                    Map.entry("count", 4),
                                    Map.entry("sizeGB", 128),
                                    Map.entry("sku", Map.of("name", "Premium_LRS"))
                                )),
                                Map.entry("hana/log", Map.ofEntries(
                                    Map.entry("count", 3),
                                    Map.entry("sizeGB", 128),
                                    Map.entry("sku", Map.of("name", "Premium_LRS"))
                                )),
                                Map.entry("hana/shared", Map.ofEntries(
                                    Map.entry("count", 1),
                                    Map.entry("sizeGB", 256),
                                    Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                                )),
                                Map.entry("os", Map.ofEntries(
                                    Map.entry("count", 1),
                                    Map.entry("sizeGB", 64),
                                    Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                                )),
                                Map.entry("usr/sap", Map.ofEntries(
                                    Map.entry("count", 1),
                                    Map.entry("sizeGB", 128),
                                    Map.entry("sku", Map.of("name", "Premium_LRS"))
                                ))
                            ))),
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("highAvailabilityConfig", Map.of("highAvailabilityType", "AvailabilitySet"))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    disk_configuration=azure_native.workloads.DiskConfigurationArgs(
                        disk_volume_configurations={
                            "backup": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=2,
                                size_gb=256,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="StandardSSD_LRS",
                                ),
                            ),
                            "hana/data": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=4,
                                size_gb=128,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="Premium_LRS",
                                ),
                            ),
                            "hana/log": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=3,
                                size_gb=128,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="Premium_LRS",
                                ),
                            ),
                            "hana/shared": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=1,
                                size_gb=256,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="StandardSSD_LRS",
                                ),
                            ),
                            "os": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=1,
                                size_gb=64,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="StandardSSD_LRS",
                                ),
                            ),
                            "usr/sap": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=1,
                                size_gb=128,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="Premium_LRS",
                                ),
                            ),
                        },
                    ),
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                    high_availability_type="AvailabilitySet",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    diskConfiguration: {
                        diskVolumeConfigurations: {
                            backup: {
                                count: 2,
                                sizeGB: 256,
                                sku: {
                                    name: "StandardSSD_LRS",
                                },
                            },
                            "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",
                                },
                            },
                            os: {
                                count: 1,
                                sizeGB: 64,
                                sku: {
                                    name: "StandardSSD_LRS",
                                },
                            },
                            "usr/sap": {
                                count: 1,
                                sizeGB: 128,
                                sku: {
                                    name: "Premium_LRS",
                                },
                            },
                        },
                    },
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                highAvailabilityConfig: {
                    highAvailabilityType: "AvailabilitySet",
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                diskConfiguration:
                  diskVolumeConfigurations:
                    backup:
                      count: 2
                      sizeGB: 256
                      sku:
                        name: StandardSSD_LRS
                    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
                    os:
                      count: 1
                      sizeGB: 64
                      sku:
                        name: StandardSSD_LRS
                    usr/sap:
                      count: 1
                      sizeGB: 128
                      sku:
                        name: Premium_LRS
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              highAvailabilityConfig:
                highAvailabilityType: AvailabilitySet
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure with Disk and OS configuration for HA System with Availability Zone without backup disk

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        DiskConfiguration = new AzureNative.Workloads.Inputs.DiskConfigurationArgs
                        {
                            DiskVolumeConfigurations = 
                            {
                                { "hana/data", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 4,
                                    SizeGB = 128,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "Premium_LRS",
                                    },
                                } },
                                { "hana/log", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 3,
                                    SizeGB = 128,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "Premium_LRS",
                                    },
                                } },
                                { "hana/shared", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 1,
                                    SizeGB = 256,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "StandardSSD_LRS",
                                    },
                                } },
                                { "os", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 1,
                                    SizeGB = 64,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "StandardSSD_LRS",
                                    },
                                } },
                                { "usr/sap", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 1,
                                    SizeGB = 128,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "Premium_LRS",
                                    },
                                } },
                            },
                        },
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                    {
                        HighAvailabilityType = "AvailabilityZone",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("diskConfiguration", Map.of("diskVolumeConfigurations", Map.ofEntries(
                                Map.entry("hana/data", Map.ofEntries(
                                    Map.entry("count", 4),
                                    Map.entry("sizeGB", 128),
                                    Map.entry("sku", Map.of("name", "Premium_LRS"))
                                )),
                                Map.entry("hana/log", Map.ofEntries(
                                    Map.entry("count", 3),
                                    Map.entry("sizeGB", 128),
                                    Map.entry("sku", Map.of("name", "Premium_LRS"))
                                )),
                                Map.entry("hana/shared", Map.ofEntries(
                                    Map.entry("count", 1),
                                    Map.entry("sizeGB", 256),
                                    Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                                )),
                                Map.entry("os", Map.ofEntries(
                                    Map.entry("count", 1),
                                    Map.entry("sizeGB", 64),
                                    Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                                )),
                                Map.entry("usr/sap", Map.ofEntries(
                                    Map.entry("count", 1),
                                    Map.entry("sizeGB", 128),
                                    Map.entry("sku", Map.of("name", "Premium_LRS"))
                                ))
                            ))),
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("highAvailabilityConfig", Map.of("highAvailabilityType", "AvailabilityZone"))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    disk_configuration=azure_native.workloads.DiskConfigurationArgs(
                        disk_volume_configurations={
                            "hana/data": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=4,
                                size_gb=128,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="Premium_LRS",
                                ),
                            ),
                            "hana/log": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=3,
                                size_gb=128,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="Premium_LRS",
                                ),
                            ),
                            "hana/shared": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=1,
                                size_gb=256,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="StandardSSD_LRS",
                                ),
                            ),
                            "os": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=1,
                                size_gb=64,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="StandardSSD_LRS",
                                ),
                            ),
                            "usr/sap": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=1,
                                size_gb=128,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="Premium_LRS",
                                ),
                            ),
                        },
                    ),
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                    high_availability_type="AvailabilityZone",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    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",
                                },
                            },
                            os: {
                                count: 1,
                                sizeGB: 64,
                                sku: {
                                    name: "StandardSSD_LRS",
                                },
                            },
                            "usr/sap": {
                                count: 1,
                                sizeGB: 128,
                                sku: {
                                    name: "Premium_LRS",
                                },
                            },
                        },
                    },
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                highAvailabilityConfig: {
                    highAvailabilityType: "AvailabilityZone",
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                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
                    os:
                      count: 1
                      sizeGB: 64
                      sku:
                        name: StandardSSD_LRS
                    usr/sap:
                      count: 1
                      sizeGB: 128
                      sku:
                        name: Premium_LRS
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              highAvailabilityConfig:
                highAvailabilityType: AvailabilityZone
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure with Disk and OS configurations for Single Server System

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.SingleServerConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    DatabaseType = "HANA",
                    DbDiskConfiguration = new AzureNative.Workloads.Inputs.DiskConfigurationArgs
                    {
                        DiskVolumeConfigurations = 
                        {
                            { "backup", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 2,
                                SizeGB = 256,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = "StandardSSD_LRS",
                                },
                            } },
                            { "hana/data", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 4,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = "Premium_LRS",
                                },
                            } },
                            { "hana/log", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 3,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = "Premium_LRS",
                                },
                            } },
                            { "hana/shared", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 256,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = "StandardSSD_LRS",
                                },
                            } },
                            { "os", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 64,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = "StandardSSD_LRS",
                                },
                            } },
                            { "usr/sap", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                            {
                                Count = 1,
                                SizeGB = 128,
                                Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                {
                                    Name = "Premium_LRS",
                                },
                            } },
                        },
                    },
                    DeploymentType = "SingleServer",
                    NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                    {
                        IsSecondaryIpEnabled = true,
                    },
                    SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                    {
                        ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                        {
                            Offer = "RHEL-SAP-HA",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "8.4.2021091202",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                {
                                    PrivateKey = "xyz",
                                    PublicKey = "abc",
                                },
                            },
                        },
                        VmSize = "Standard_E32ds_v4",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "NonProd",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("databaseType", "HANA"),
                        Map.entry("dbDiskConfiguration", Map.of("diskVolumeConfigurations", Map.ofEntries(
                            Map.entry("backup", Map.ofEntries(
                                Map.entry("count", 2),
                                Map.entry("sizeGB", 256),
                                Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                            )),
                            Map.entry("hana/data", Map.ofEntries(
                                Map.entry("count", 4),
                                Map.entry("sizeGB", 128),
                                Map.entry("sku", Map.of("name", "Premium_LRS"))
                            )),
                            Map.entry("hana/log", Map.ofEntries(
                                Map.entry("count", 3),
                                Map.entry("sizeGB", 128),
                                Map.entry("sku", Map.of("name", "Premium_LRS"))
                            )),
                            Map.entry("hana/shared", Map.ofEntries(
                                Map.entry("count", 1),
                                Map.entry("sizeGB", 256),
                                Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                            )),
                            Map.entry("os", Map.ofEntries(
                                Map.entry("count", 1),
                                Map.entry("sizeGB", 64),
                                Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                            )),
                            Map.entry("usr/sap", Map.ofEntries(
                                Map.entry("count", 1),
                                Map.entry("sizeGB", 128),
                                Map.entry("sku", Map.of("name", "Premium_LRS"))
                            ))
                        ))),
                        Map.entry("deploymentType", "SingleServer"),
                        Map.entry("networkConfiguration", Map.of("isSecondaryIpEnabled", true)),
                        Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                        Map.entry("virtualMachineConfiguration", Map.ofEntries(
                            Map.entry("imageReference", Map.ofEntries(
                                Map.entry("offer", "RHEL-SAP-HA"),
                                Map.entry("publisher", "RedHat"),
                                Map.entry("sku", "84sapha-gen2"),
                                Map.entry("version", "8.4.2021091202")
                            )),
                            Map.entry("osProfile", Map.ofEntries(
                                Map.entry("adminUsername", "{your-username}"),
                                Map.entry("osConfiguration", Map.ofEntries(
                                    Map.entry("disablePasswordAuthentication", true),
                                    Map.entry("osType", "Linux"),
                                    Map.entry("sshKeyPair", Map.ofEntries(
                                        Map.entry("privateKey", "xyz"),
                                        Map.entry("publicKey", "abc")
                                    ))
                                ))
                            )),
                            Map.entry("vmSize", "Standard_E32ds_v4")
                        ))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("NonProd")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.SingleServerConfigurationArgs(
                app_resource_group="X00-RG",
                database_type="HANA",
                db_disk_configuration=azure_native.workloads.DiskConfigurationArgs(
                    disk_volume_configurations={
                        "backup": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=2,
                            size_gb=256,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name="StandardSSD_LRS",
                            ),
                        ),
                        "hana/data": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=4,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name="Premium_LRS",
                            ),
                        ),
                        "hana/log": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=3,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name="Premium_LRS",
                            ),
                        ),
                        "hana/shared": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=256,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name="StandardSSD_LRS",
                            ),
                        ),
                        "os": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=64,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name="StandardSSD_LRS",
                            ),
                        ),
                        "usr/sap": azure_native.workloads.DiskVolumeConfigurationArgs(
                            count=1,
                            size_gb=128,
                            sku=azure_native.workloads.DiskSkuArgs(
                                name="Premium_LRS",
                            ),
                        ),
                    },
                ),
                deployment_type="SingleServer",
                network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                    is_secondary_ip_enabled=True,
                ),
                subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                    image_reference=azure_native.workloads.ImageReferenceArgs(
                        offer="RHEL-SAP-HA",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="8.4.2021091202",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                private_key="xyz",
                                public_key="abc",
                            ),
                        ),
                    ),
                    vm_size="Standard_E32ds_v4",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="NonProd",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                databaseType: "HANA",
                dbDiskConfiguration: {
                    diskVolumeConfigurations: {
                        backup: {
                            count: 2,
                            sizeGB: 256,
                            sku: {
                                name: "StandardSSD_LRS",
                            },
                        },
                        "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",
                            },
                        },
                        os: {
                            count: 1,
                            sizeGB: 64,
                            sku: {
                                name: "StandardSSD_LRS",
                            },
                        },
                        "usr/sap": {
                            count: 1,
                            sizeGB: 128,
                            sku: {
                                name: "Premium_LRS",
                            },
                        },
                    },
                },
                deploymentType: "SingleServer",
                networkConfiguration: {
                    isSecondaryIpEnabled: true,
                },
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP-HA",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "8.4.2021091202",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E32ds_v4",
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "NonProd",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              databaseType: HANA
              dbDiskConfiguration:
                diskVolumeConfigurations:
                  backup:
                    count: 2
                    sizeGB: 256
                    sku:
                      name: StandardSSD_LRS
                  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
                  os:
                    count: 1
                    sizeGB: 64
                    sku:
                      name: StandardSSD_LRS
                  usr/sap:
                    count: 1
                    sizeGB: 128
                    sku:
                      name: Premium_LRS
              deploymentType: SingleServer
              networkConfiguration:
                isSecondaryIpEnabled: true
              subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
              virtualMachineConfiguration:
                imageReference:
                  offer: RHEL-SAP-HA
                  publisher: RedHat
                  sku: 84sapha-gen2
                  version: 8.4.2021091202
                osProfile:
                  adminUsername: '{your-username}'
                  osConfiguration:
                    disablePasswordAuthentication: true
                    osType: Linux
                    sshKeyPair:
                      privateKey: xyz
                      publicKey: abc
                vmSize: Standard_E32ds_v4
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: NonProd
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure with Disk, OS and Storage configuration for Distributed System

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        DiskConfiguration = new AzureNative.Workloads.Inputs.DiskConfigurationArgs
                        {
                            DiskVolumeConfigurations = 
                            {
                                { "backup", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 2,
                                    SizeGB = 256,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "StandardSSD_LRS",
                                    },
                                } },
                                { "hana/data", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 4,
                                    SizeGB = 128,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "Premium_LRS",
                                    },
                                } },
                                { "hana/log", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 3,
                                    SizeGB = 128,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "Premium_LRS",
                                    },
                                } },
                                { "hana/shared", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 1,
                                    SizeGB = 256,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "StandardSSD_LRS",
                                    },
                                } },
                                { "os", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 1,
                                    SizeGB = 64,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "StandardSSD_LRS",
                                    },
                                } },
                                { "usr/sap", new AzureNative.Workloads.Inputs.DiskVolumeConfigurationArgs
                                {
                                    Count = 1,
                                    SizeGB = 128,
                                    Sku = new AzureNative.Workloads.Inputs.DiskSkuArgs
                                    {
                                        Name = "Premium_LRS",
                                    },
                                } },
                            },
                        },
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    StorageConfiguration = new AzureNative.Workloads.Inputs.StorageConfigurationArgs
                    {
                        TransportFileShareConfiguration = new AzureNative.Workloads.Inputs.MountFileShareConfigurationArgs
                        {
                            ConfigurationType = "Mount",
                            Id = "fileshareID",
                            PrivateEndpointId = "pe-arm-id",
                        },
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    

    Coming soon!

    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("diskConfiguration", Map.of("diskVolumeConfigurations", Map.ofEntries(
                                Map.entry("backup", Map.ofEntries(
                                    Map.entry("count", 2),
                                    Map.entry("sizeGB", 256),
                                    Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                                )),
                                Map.entry("hana/data", Map.ofEntries(
                                    Map.entry("count", 4),
                                    Map.entry("sizeGB", 128),
                                    Map.entry("sku", Map.of("name", "Premium_LRS"))
                                )),
                                Map.entry("hana/log", Map.ofEntries(
                                    Map.entry("count", 3),
                                    Map.entry("sizeGB", 128),
                                    Map.entry("sku", Map.of("name", "Premium_LRS"))
                                )),
                                Map.entry("hana/shared", Map.ofEntries(
                                    Map.entry("count", 1),
                                    Map.entry("sizeGB", 256),
                                    Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                                )),
                                Map.entry("os", Map.ofEntries(
                                    Map.entry("count", 1),
                                    Map.entry("sizeGB", 64),
                                    Map.entry("sku", Map.of("name", "StandardSSD_LRS"))
                                )),
                                Map.entry("usr/sap", Map.ofEntries(
                                    Map.entry("count", 1),
                                    Map.entry("sizeGB", 128),
                                    Map.entry("sku", Map.of("name", "Premium_LRS"))
                                ))
                            ))),
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("storageConfiguration", Map.of("transportFileShareConfiguration", Map.ofEntries(
                            Map.entry("configurationType", "Mount"),
                            Map.entry("id", "fileshareID"),
                            Map.entry("privateEndpointId", "pe-arm-id")
                        )))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    disk_configuration=azure_native.workloads.DiskConfigurationArgs(
                        disk_volume_configurations={
                            "backup": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=2,
                                size_gb=256,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="StandardSSD_LRS",
                                ),
                            ),
                            "hana/data": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=4,
                                size_gb=128,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="Premium_LRS",
                                ),
                            ),
                            "hana/log": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=3,
                                size_gb=128,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="Premium_LRS",
                                ),
                            ),
                            "hana/shared": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=1,
                                size_gb=256,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="StandardSSD_LRS",
                                ),
                            ),
                            "os": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=1,
                                size_gb=64,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="StandardSSD_LRS",
                                ),
                            ),
                            "usr/sap": azure_native.workloads.DiskVolumeConfigurationArgs(
                                count=1,
                                size_gb=128,
                                sku=azure_native.workloads.DiskSkuArgs(
                                    name="Premium_LRS",
                                ),
                            ),
                        },
                    ),
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                storage_configuration=azure_native.workloads.StorageConfigurationArgs(
                    transport_file_share_configuration=azure_native.workloads.MountFileShareConfigurationArgs(
                        configuration_type="Mount",
                        id="fileshareID",
                        private_endpoint_id="pe-arm-id",
                    ),
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    diskConfiguration: {
                        diskVolumeConfigurations: {
                            backup: {
                                count: 2,
                                sizeGB: 256,
                                sku: {
                                    name: "StandardSSD_LRS",
                                },
                            },
                            "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",
                                },
                            },
                            os: {
                                count: 1,
                                sizeGB: 64,
                                sku: {
                                    name: "StandardSSD_LRS",
                                },
                            },
                            "usr/sap": {
                                count: 1,
                                sizeGB: 128,
                                sku: {
                                    name: "Premium_LRS",
                                },
                            },
                        },
                    },
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                storageConfiguration: {
                    transportFileShareConfiguration: {
                        configurationType: "Mount",
                        id: "fileshareID",
                        privateEndpointId: "pe-arm-id",
                    },
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                diskConfiguration:
                  diskVolumeConfigurations:
                    backup:
                      count: 2
                      sizeGB: 256
                      sku:
                        name: StandardSSD_LRS
                    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
                    os:
                      count: 1
                      sizeGB: 64
                      sku:
                        name: StandardSSD_LRS
                    usr/sap:
                      count: 1
                      sizeGB: 128
                      sku:
                        name: Premium_LRS
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              storageConfiguration:
                transportFileShareConfiguration:
                  configurationType: Mount
                  id: fileshareID
                  privateEndpointId: pe-arm-id
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure with a new SAP Transport Directory Fileshare

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    StorageConfiguration = new AzureNative.Workloads.Inputs.StorageConfigurationArgs
                    {
                        TransportFileShareConfiguration = new AzureNative.Workloads.Inputs.CreateAndMountFileShareConfigurationArgs
                        {
                            ConfigurationType = "CreateAndMount",
                            ResourceGroup = "rgName",
                            StorageAccountName = "storageName",
                        },
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "X00-RG",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 6,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E32ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E16ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						DatabaseType:  "HANA",
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					StorageConfiguration: workloads.StorageConfiguration{
    						TransportFileShareConfiguration: workloads.CreateAndMountFileShareConfiguration{
    							ConfigurationType:  "CreateAndMount",
    							ResourceGroup:      "rgName",
    							StorageAccountName: "storageName",
    						},
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("storageConfiguration", Map.of("transportFileShareConfiguration", Map.ofEntries(
                            Map.entry("configurationType", "CreateAndMount"),
                            Map.entry("resourceGroup", "rgName"),
                            Map.entry("storageAccountName", "storageName")
                        )))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                storage_configuration=azure_native.workloads.StorageConfigurationArgs(
                    transport_file_share_configuration=azure_native.workloads.CreateAndMountFileShareConfigurationArgs(
                        configuration_type="CreateAndMount",
                        resource_group="rgName",
                        storage_account_name="storageName",
                    ),
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                storageConfiguration: {
                    transportFileShareConfiguration: {
                        configurationType: "CreateAndMount",
                        resourceGroup: "rgName",
                        storageAccountName: "storageName",
                    },
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              storageConfiguration:
                transportFileShareConfiguration:
                  configurationType: CreateAndMount
                  resourceGroup: rgName
                  storageAccountName: storageName
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure with an existing SAP Transport Directory Fileshare

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    StorageConfiguration = new AzureNative.Workloads.Inputs.StorageConfigurationArgs
                    {
                        TransportFileShareConfiguration = new AzureNative.Workloads.Inputs.MountFileShareConfigurationArgs
                        {
                            ConfigurationType = "Mount",
                            Id = "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
                            PrivateEndpointId = "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint",
                        },
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "X00-RG",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 6,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E32ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E16ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						DatabaseType:  "HANA",
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					StorageConfiguration: workloads.StorageConfiguration{
    						TransportFileShareConfiguration: workloads.MountFileShareConfiguration{
    							ConfigurationType: "Mount",
    							Id:                "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
    							PrivateEndpointId: "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint",
    						},
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("storageConfiguration", Map.of("transportFileShareConfiguration", Map.ofEntries(
                            Map.entry("configurationType", "Mount"),
                            Map.entry("id", "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare"),
                            Map.entry("privateEndpointId", "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint")
                        )))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                storage_configuration=azure_native.workloads.StorageConfigurationArgs(
                    transport_file_share_configuration=azure_native.workloads.MountFileShareConfigurationArgs(
                        configuration_type="Mount",
                        id="/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
                        private_endpoint_id="/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint",
                    ),
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                storageConfiguration: {
                    transportFileShareConfiguration: {
                        configurationType: "Mount",
                        id: "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare",
                        privateEndpointId: "/subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint",
                    },
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              storageConfiguration:
                transportFileShareConfiguration:
                  configurationType: Mount
                  id: /subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Storage/storageAccounts/storageaccountname/fileServices/default/shares/transfileshare
                  privateEndpointId: /subscriptions/49d64d54-e888-4c46-a868-1936802b762c/resourceGroups/testrg/providers/Microsoft.Network/privateEndpoints/endpoint
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Create Infrastructure without SAP Trans Fileshare

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    StorageConfiguration = new AzureNative.Workloads.Inputs.StorageConfigurationArgs
                    {
                        TransportFileShareConfiguration = new AzureNative.Workloads.Inputs.SkipFileShareConfigurationArgs
                        {
                            ConfigurationType = "Skip",
                        },
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "X00-RG",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 6,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E32ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E16ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						DatabaseType:  "HANA",
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					StorageConfiguration: workloads.StorageConfiguration{
    						TransportFileShareConfiguration: workloads.SkipFileShareConfiguration{
    							ConfigurationType: "Skip",
    						},
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("storageConfiguration", Map.of("transportFileShareConfiguration", Map.of("configurationType", "Skip")))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com"))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                storage_configuration=azure_native.workloads.StorageConfigurationArgs(
                    transport_file_share_configuration=azure_native.workloads.SkipFileShareConfigurationArgs(
                        configuration_type="Skip",
                    ),
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                storageConfiguration: {
                    transportFileShareConfiguration: {
                        configurationType: "Skip",
                    },
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              storageConfiguration:
                transportFileShareConfiguration:
                  configurationType: Skip
            osSapConfiguration:
              sapFqdn: xyz.test.com
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Detect SAP Software Installation on a Distributed System

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "{{resourcegrp}}",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_E4ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_E4ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                    {
                        IsSecondaryIpEnabled = true,
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "sap.bpaas.com",
                },
                SoftwareConfiguration = new AzureNative.Workloads.Inputs.ExternalInstallationSoftwareConfigurationArgs
                {
                    CentralServerVmId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                    SoftwareInstallationType = "External",
                },
            },
            Environment = "Prod",
            Location = "eastus2",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = 
            {
                { "created by", "azureuser" },
            },
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "{{resourcegrp}}",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_E4ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_E4ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					NetworkConfiguration: workloads.NetworkConfiguration{
    						IsSecondaryIpEnabled: true,
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "sap.bpaas.com",
    				},
    				SoftwareConfiguration: workloads.ExternalInstallationSoftwareConfiguration{
    					CentralServerVmId:        "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
    					SoftwareInstallationType: "External",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("eastus2"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags: pulumi.StringMap{
    				"created by": pulumi.String("azureuser"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "{{resourcegrp}}"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E4ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E4ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("networkConfiguration", Map.of("isSecondaryIpEnabled", true))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "sap.bpaas.com")),
                    Map.entry("softwareConfiguration", Map.ofEntries(
                        Map.entry("centralServerVmId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"),
                        Map.entry("softwareInstallationType", "External")
                    ))
                ))
                .environment("Prod")
                .location("eastus2")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags(Map.of("created by", "azureuser"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="{{resourcegrp}}",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_E4ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_E4ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    instance_count=1,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                    is_secondary_ip_enabled=True,
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="sap.bpaas.com",
            ),
            software_configuration=azure_native.workloads.ExternalInstallationSoftwareConfigurationArgs(
                central_server_vm_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                software_installation_type="External",
            ),
        ),
        environment="Prod",
        location="eastus2",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={
            "created by": "azureuser",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "{{resourcegrp}}",
                applicationServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_E4ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_E4ds_v4",
                    },
                },
                databaseServer: {
                    instanceCount: 1,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                networkConfiguration: {
                    isSecondaryIpEnabled: true,
                },
            },
            osSapConfiguration: {
                sapFqdn: "sap.bpaas.com",
            },
            softwareConfiguration: {
                centralServerVmId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                softwareInstallationType: "External",
            },
        },
        environment: "Prod",
        location: "eastus2",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {
            "created by": "azureuser",
        },
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: '{{resourcegrp}}'
              applicationServer:
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_E4ds_v4
              centralServer:
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_E4ds_v4
              databaseServer:
                instanceCount: 1
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              networkConfiguration:
                isSecondaryIpEnabled: true
            osSapConfiguration:
              sapFqdn: sap.bpaas.com
            softwareConfiguration:
              centralServerVmId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0
              softwareInstallationType: External
          environment: Prod
          location: eastus2
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags:
            created by: azureuser
    

    Detect SAP Software Installation on a Single Server System

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.SingleServerConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    DatabaseType = "HANA",
                    DeploymentType = "SingleServer",
                    NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                    {
                        IsSecondaryIpEnabled = true,
                    },
                    SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                    {
                        ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                        {
                            Offer = "RHEL-SAP-HA",
                            Publisher = "RedHat",
                            Sku = "84sapha-gen2",
                            Version = "8.4.2021091202",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "{your-username}",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                {
                                    PrivateKey = "xyz",
                                    PublicKey = "abc",
                                },
                            },
                        },
                        VmSize = "Standard_E32ds_v4",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
                SoftwareConfiguration = new AzureNative.Workloads.Inputs.ExternalInstallationSoftwareConfigurationArgs
                {
                    CentralServerVmId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                    SoftwareInstallationType = "External",
                },
            },
            Environment = "NonProd",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.SingleServerConfiguration{
    					AppResourceGroup: "X00-RG",
    					DatabaseType:     "HANA",
    					DeploymentType:   "SingleServer",
    					NetworkConfiguration: workloads.NetworkConfiguration{
    						IsSecondaryIpEnabled: true,
    					},
    					SubnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    					VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    						ImageReference: workloads.ImageReference{
    							Offer:     "RHEL-SAP-HA",
    							Publisher: "RedHat",
    							Sku:       "84sapha-gen2",
    							Version:   "8.4.2021091202",
    						},
    						OsProfile: workloads.OSProfile{
    							AdminUsername: "{your-username}",
    							OsConfiguration: workloads.LinuxConfiguration{
    								DisablePasswordAuthentication: true,
    								OsType:                        "Linux",
    								SshKeyPair: workloads.SshKeyPair{
    									PrivateKey: "xyz",
    									PublicKey:  "abc",
    								},
    							},
    						},
    						VmSize: "Standard_E32ds_v4",
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    				SoftwareConfiguration: workloads.ExternalInstallationSoftwareConfiguration{
    					CentralServerVmId:        "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
    					SoftwareInstallationType: "External",
    				},
    			},
    			Environment:            pulumi.String("NonProd"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("databaseType", "HANA"),
                        Map.entry("deploymentType", "SingleServer"),
                        Map.entry("networkConfiguration", Map.of("isSecondaryIpEnabled", true)),
                        Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                        Map.entry("virtualMachineConfiguration", Map.ofEntries(
                            Map.entry("imageReference", Map.ofEntries(
                                Map.entry("offer", "RHEL-SAP-HA"),
                                Map.entry("publisher", "RedHat"),
                                Map.entry("sku", "84sapha-gen2"),
                                Map.entry("version", "8.4.2021091202")
                            )),
                            Map.entry("osProfile", Map.ofEntries(
                                Map.entry("adminUsername", "{your-username}"),
                                Map.entry("osConfiguration", Map.ofEntries(
                                    Map.entry("disablePasswordAuthentication", true),
                                    Map.entry("osType", "Linux"),
                                    Map.entry("sshKeyPair", Map.ofEntries(
                                        Map.entry("privateKey", "xyz"),
                                        Map.entry("publicKey", "abc")
                                    ))
                                ))
                            )),
                            Map.entry("vmSize", "Standard_E32ds_v4")
                        ))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com")),
                    Map.entry("softwareConfiguration", Map.ofEntries(
                        Map.entry("centralServerVmId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"),
                        Map.entry("softwareInstallationType", "External")
                    ))
                ))
                .environment("NonProd")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.SingleServerConfigurationArgs(
                app_resource_group="X00-RG",
                database_type="HANA",
                deployment_type="SingleServer",
                network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                    is_secondary_ip_enabled=True,
                ),
                subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                    image_reference=azure_native.workloads.ImageReferenceArgs(
                        offer="RHEL-SAP-HA",
                        publisher="RedHat",
                        sku="84sapha-gen2",
                        version="8.4.2021091202",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="{your-username}",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                private_key="xyz",
                                public_key="abc",
                            ),
                        ),
                    ),
                    vm_size="Standard_E32ds_v4",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
            software_configuration=azure_native.workloads.ExternalInstallationSoftwareConfigurationArgs(
                central_server_vm_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                software_installation_type="External",
            ),
        ),
        environment="NonProd",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                databaseType: "HANA",
                deploymentType: "SingleServer",
                networkConfiguration: {
                    isSecondaryIpEnabled: true,
                },
                subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "RHEL-SAP-HA",
                        publisher: "RedHat",
                        sku: "84sapha-gen2",
                        version: "8.4.2021091202",
                    },
                    osProfile: {
                        adminUsername: "{your-username}",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "xyz",
                                publicKey: "abc",
                            },
                        },
                    },
                    vmSize: "Standard_E32ds_v4",
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
            softwareConfiguration: {
                centralServerVmId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                softwareInstallationType: "External",
            },
        },
        environment: "NonProd",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              databaseType: HANA
              deploymentType: SingleServer
              networkConfiguration:
                isSecondaryIpEnabled: true
              subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
              virtualMachineConfiguration:
                imageReference:
                  offer: RHEL-SAP-HA
                  publisher: RedHat
                  sku: 84sapha-gen2
                  version: 8.4.2021091202
                osProfile:
                  adminUsername: '{your-username}'
                  osConfiguration:
                    disablePasswordAuthentication: true
                    osType: Linux
                    sshKeyPair:
                      privateKey: xyz
                      publicKey: abc
                vmSize: Standard_E32ds_v4
            osSapConfiguration:
              sapFqdn: xyz.test.com
            softwareConfiguration:
              centralServerVmId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0
              softwareInstallationType: External
          environment: NonProd
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Detect SAP Software Installation on an HA System with Availability Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                    {
                        HighAvailabilityType = "AvailabilitySet",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
                SoftwareConfiguration = new AzureNative.Workloads.Inputs.ExternalInstallationSoftwareConfigurationArgs
                {
                    CentralServerVmId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                    SoftwareInstallationType = "External",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "X00-RG",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 6,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E32ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E16ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						DatabaseType:  "HANA",
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					HighAvailabilityConfig: workloads.HighAvailabilityConfiguration{
    						HighAvailabilityType: "AvailabilitySet",
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    				SoftwareConfiguration: workloads.ExternalInstallationSoftwareConfiguration{
    					CentralServerVmId:        "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
    					SoftwareInstallationType: "External",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("highAvailabilityConfig", Map.of("highAvailabilityType", "AvailabilitySet"))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com")),
                    Map.entry("softwareConfiguration", Map.ofEntries(
                        Map.entry("centralServerVmId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"),
                        Map.entry("softwareInstallationType", "External")
                    ))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                    high_availability_type="AvailabilitySet",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
            software_configuration=azure_native.workloads.ExternalInstallationSoftwareConfigurationArgs(
                central_server_vm_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                software_installation_type="External",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                highAvailabilityConfig: {
                    highAvailabilityType: "AvailabilitySet",
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
            softwareConfiguration: {
                centralServerVmId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                softwareInstallationType: "External",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              highAvailabilityConfig:
                highAvailabilityType: AvailabilitySet
            osSapConfiguration:
              sapFqdn: xyz.test.com
            softwareConfiguration:
              centralServerVmId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0
              softwareInstallationType: External
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Detect SAP Software Installation on an HA System with Availability Zone

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "X00-RG",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 6,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E32ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_E16ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        DatabaseType = "HANA",
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "84sapha-gen2",
                                Version = "8.4.2021091202",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "{your-username}",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "xyz",
                                        PublicKey = "abc",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                    {
                        HighAvailabilityType = "AvailabilityZone",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "xyz.test.com",
                },
                SoftwareConfiguration = new AzureNative.Workloads.Inputs.ExternalInstallationSoftwareConfigurationArgs
                {
                    CentralServerVmId = "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                    SoftwareInstallationType = "External",
                },
            },
            Environment = "Prod",
            Location = "westcentralus",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "X00-RG",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 6,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E32ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_E16ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						DatabaseType:  "HANA",
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "84sapha-gen2",
    								Version:   "8.4.2021091202",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "{your-username}",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "xyz",
    										PublicKey:  "abc",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					HighAvailabilityConfig: workloads.HighAvailabilityConfiguration{
    						HighAvailabilityType: "AvailabilityZone",
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "xyz.test.com",
    				},
    				SoftwareConfiguration: workloads.ExternalInstallationSoftwareConfiguration{
    					CentralServerVmId:        "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
    					SoftwareInstallationType: "External",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("westcentralus"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "X00-RG"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 6),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E32ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E16ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("databaseType", "HANA"),
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "84sapha-gen2"),
                                    Map.entry("version", "8.4.2021091202")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "{your-username}"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "xyz"),
                                            Map.entry("publicKey", "abc")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("highAvailabilityConfig", Map.of("highAvailabilityType", "AvailabilityZone"))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "xyz.test.com")),
                    Map.entry("softwareConfiguration", Map.ofEntries(
                        Map.entry("centralServerVmId", "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"),
                        Map.entry("softwareInstallationType", "External")
                    ))
                ))
                .environment("Prod")
                .location("westcentralus")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="X00-RG",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=6,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E32ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_E16ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    database_type="HANA",
                    instance_count=2,
                    subnet_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="84sapha-gen2",
                            version="8.4.2021091202",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="{your-username}",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="xyz",
                                    public_key="abc",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                    high_availability_type="AvailabilityZone",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="xyz.test.com",
            ),
            software_configuration=azure_native.workloads.ExternalInstallationSoftwareConfigurationArgs(
                central_server_vm_id="/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                software_installation_type="External",
            ),
        ),
        environment="Prod",
        location="westcentralus",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "X00-RG",
                applicationServer: {
                    instanceCount: 6,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E32ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_E16ds_v4",
                    },
                },
                databaseServer: {
                    databaseType: "HANA",
                    instanceCount: 2,
                    subnetId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "84sapha-gen2",
                            version: "8.4.2021091202",
                        },
                        osProfile: {
                            adminUsername: "{your-username}",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "xyz",
                                    publicKey: "abc",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                highAvailabilityConfig: {
                    highAvailabilityType: "AvailabilityZone",
                },
            },
            osSapConfiguration: {
                sapFqdn: "xyz.test.com",
            },
            softwareConfiguration: {
                centralServerVmId: "/subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                softwareInstallationType: "External",
            },
        },
        environment: "Prod",
        location: "westcentralus",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: X00-RG
              applicationServer:
                instanceCount: 6
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E32ds_v4
              centralServer:
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/appsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_E16ds_v4
              databaseServer:
                databaseType: HANA
                instanceCount: 2
                subnetId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/dindurkhya-e2etesting/providers/Microsoft.Networks/virtualNetworks/test-vnet/subnets/dbsubnet
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: 84sapha-gen2
                    version: 8.4.2021091202
                  osProfile:
                    adminUsername: '{your-username}'
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: xyz
                        publicKey: abc
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              highAvailabilityConfig:
                highAvailabilityType: AvailabilityZone
            osSapConfiguration:
              sapFqdn: xyz.test.com
            softwareConfiguration:
              centralServerVmId: /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0
              softwareInstallationType: External
          environment: Prod
          location: westcentralus
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Install SAP Software on Distributed System

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "{{resourcegrp}}",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "8.2",
                                Version = "8.2.2021091201",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_E4ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "8.2",
                                Version = "8.2.2021091201",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_E4ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        InstanceCount = 1,
                        SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "8.2",
                                Version = "8.2.2021091201",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                    {
                        IsSecondaryIpEnabled = true,
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "sap.bpaas.com",
                },
                SoftwareConfiguration = new AzureNative.Workloads.Inputs.SAPInstallWithoutOSConfigSoftwareConfigurationArgs
                {
                    BomUrl = "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                    SapBitsStorageAccountId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                    SoftwareInstallationType = "SAPInstallWithoutOSConfig",
                    SoftwareVersion = "SAP S/4HANA 1909 SPS 03",
                },
            },
            Environment = "Prod",
            Location = "eastus2",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = 
            {
                { "created by", "azureuser" },
            },
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "{{resourcegrp}}",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "8.2",
    								Version:   "8.2.2021091201",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_E4ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "8.2",
    								Version:   "8.2.2021091201",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_E4ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						InstanceCount: 1,
    						SubnetId:      "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "8.2",
    								Version:   "8.2.2021091201",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					NetworkConfiguration: workloads.NetworkConfiguration{
    						IsSecondaryIpEnabled: true,
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "sap.bpaas.com",
    				},
    				SoftwareConfiguration: workloads.SAPInstallWithoutOSConfigSoftwareConfiguration{
    					BomUrl:                   "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
    					SapBitsStorageAccountId:  "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
    					SoftwareInstallationType: "SAPInstallWithoutOSConfig",
    					SoftwareVersion:          "SAP S/4HANA 1909 SPS 03",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("eastus2"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags: pulumi.StringMap{
    				"created by": pulumi.String("azureuser"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "{{resourcegrp}}"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "8.2"),
                                    Map.entry("version", "8.2.2021091201")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E4ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "8.2"),
                                    Map.entry("version", "8.2.2021091201")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E4ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("instanceCount", 1),
                            Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "8.2"),
                                    Map.entry("version", "8.2.2021091201")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("networkConfiguration", Map.of("isSecondaryIpEnabled", true))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "sap.bpaas.com")),
                    Map.entry("softwareConfiguration", Map.ofEntries(
                        Map.entry("bomUrl", "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml"),
                        Map.entry("sapBitsStorageAccountId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount"),
                        Map.entry("softwareInstallationType", "SAPInstallWithoutOSConfig"),
                        Map.entry("softwareVersion", "SAP S/4HANA 1909 SPS 03")
                    ))
                ))
                .environment("Prod")
                .location("eastus2")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags(Map.of("created by", "azureuser"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="{{resourcegrp}}",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="8.2",
                            version="8.2.2021091201",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_E4ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=1,
                    subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="8.2",
                            version="8.2.2021091201",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_E4ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    instance_count=1,
                    subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="8.2",
                            version="8.2.2021091201",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                    is_secondary_ip_enabled=True,
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="sap.bpaas.com",
            ),
            software_configuration=azure_native.workloads.SAPInstallWithoutOSConfigSoftwareConfigurationArgs(
                bom_url="https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                sap_bits_storage_account_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                software_installation_type="SAPInstallWithoutOSConfig",
                software_version="SAP S/4HANA 1909 SPS 03",
            ),
        ),
        environment="Prod",
        location="eastus2",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={
            "created by": "azureuser",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "{{resourcegrp}}",
                applicationServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "8.2",
                            version: "8.2.2021091201",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_E4ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 1,
                    subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "8.2",
                            version: "8.2.2021091201",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_E4ds_v4",
                    },
                },
                databaseServer: {
                    instanceCount: 1,
                    subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "8.2",
                            version: "8.2.2021091201",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                networkConfiguration: {
                    isSecondaryIpEnabled: true,
                },
            },
            osSapConfiguration: {
                sapFqdn: "sap.bpaas.com",
            },
            softwareConfiguration: {
                bomUrl: "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                sapBitsStorageAccountId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                softwareInstallationType: "SAPInstallWithoutOSConfig",
                softwareVersion: "SAP S/4HANA 1909 SPS 03",
            },
        },
        environment: "Prod",
        location: "eastus2",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {
            "created by": "azureuser",
        },
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: '{{resourcegrp}}'
              applicationServer:
                instanceCount: 2
                subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: '8.2'
                    version: 8.2.2021091201
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_E4ds_v4
              centralServer:
                instanceCount: 1
                subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: '8.2'
                    version: 8.2.2021091201
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_E4ds_v4
              databaseServer:
                instanceCount: 1
                subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: '8.2'
                    version: 8.2.2021091201
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              networkConfiguration:
                isSecondaryIpEnabled: true
            osSapConfiguration:
              sapFqdn: sap.bpaas.com
            softwareConfiguration:
              bomUrl: https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml
              sapBitsStorageAccountId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount
              softwareInstallationType: SAPInstallWithoutOSConfig
              softwareVersion: SAP S/4HANA 1909 SPS 03
          environment: Prod
          location: eastus2
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags:
            created by: azureuser
    

    Install SAP Software on HA System with Availability Set

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "{{resourcegrp}}",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "8.2",
                                Version = "8.2.2021091201",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_E4ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "8.2",
                                Version = "8.2.2021091201",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_E4ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "8.2",
                                Version = "8.2.2021091201",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                    {
                        HighAvailabilityType = "AvailabilitySet",
                    },
                    NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                    {
                        IsSecondaryIpEnabled = true,
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "sap.bpaas.com",
                },
                SoftwareConfiguration = new AzureNative.Workloads.Inputs.SAPInstallWithoutOSConfigSoftwareConfigurationArgs
                {
                    BomUrl = "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                    HighAvailabilitySoftwareConfiguration = new AzureNative.Workloads.Inputs.HighAvailabilitySoftwareConfigurationArgs
                    {
                        FencingClientId = "serviceprincipalID",
                        FencingClientPassword = "serviceprincipalPassword",
                    },
                    SapBitsStorageAccountId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                    SoftwareInstallationType = "SAPInstallWithoutOSConfig",
                    SoftwareVersion = "SAP S/4HANA 1909 SPS 03",
                },
            },
            Environment = "Prod",
            Location = "eastus2",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = 
            {
                { "created by", "azureuser" },
            },
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "{{resourcegrp}}",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "8.2",
    								Version:   "8.2.2021091201",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_E4ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "8.2",
    								Version:   "8.2.2021091201",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_E4ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "8.2",
    								Version:   "8.2.2021091201",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					HighAvailabilityConfig: workloads.HighAvailabilityConfiguration{
    						HighAvailabilityType: "AvailabilitySet",
    					},
    					NetworkConfiguration: workloads.NetworkConfiguration{
    						IsSecondaryIpEnabled: true,
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "sap.bpaas.com",
    				},
    				SoftwareConfiguration: workloads.SAPInstallWithoutOSConfigSoftwareConfiguration{
    					BomUrl: "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
    					HighAvailabilitySoftwareConfiguration: workloads.HighAvailabilitySoftwareConfiguration{
    						FencingClientId:       "serviceprincipalID",
    						FencingClientPassword: "serviceprincipalPassword",
    					},
    					SapBitsStorageAccountId:  "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
    					SoftwareInstallationType: "SAPInstallWithoutOSConfig",
    					SoftwareVersion:          "SAP S/4HANA 1909 SPS 03",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("eastus2"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags: pulumi.StringMap{
    				"created by": pulumi.String("azureuser"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "{{resourcegrp}}"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "8.2"),
                                    Map.entry("version", "8.2.2021091201")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E4ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "8.2"),
                                    Map.entry("version", "8.2.2021091201")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E4ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "8.2"),
                                    Map.entry("version", "8.2.2021091201")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("highAvailabilityConfig", Map.of("highAvailabilityType", "AvailabilitySet")),
                        Map.entry("networkConfiguration", Map.of("isSecondaryIpEnabled", true))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "sap.bpaas.com")),
                    Map.entry("softwareConfiguration", Map.ofEntries(
                        Map.entry("bomUrl", "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml"),
                        Map.entry("highAvailabilitySoftwareConfiguration", Map.ofEntries(
                            Map.entry("fencingClientId", "serviceprincipalID"),
                            Map.entry("fencingClientPassword", "serviceprincipalPassword")
                        )),
                        Map.entry("sapBitsStorageAccountId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount"),
                        Map.entry("softwareInstallationType", "SAPInstallWithoutOSConfig"),
                        Map.entry("softwareVersion", "SAP S/4HANA 1909 SPS 03")
                    ))
                ))
                .environment("Prod")
                .location("eastus2")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags(Map.of("created by", "azureuser"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="{{resourcegrp}}",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="8.2",
                            version="8.2.2021091201",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_E4ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="8.2",
                            version="8.2.2021091201",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_E4ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="8.2",
                            version="8.2.2021091201",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                    high_availability_type="AvailabilitySet",
                ),
                network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                    is_secondary_ip_enabled=True,
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="sap.bpaas.com",
            ),
            software_configuration=azure_native.workloads.SAPInstallWithoutOSConfigSoftwareConfigurationArgs(
                bom_url="https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                high_availability_software_configuration=azure_native.workloads.HighAvailabilitySoftwareConfigurationArgs(
                    fencing_client_id="serviceprincipalID",
                    fencing_client_password="serviceprincipalPassword",
                ),
                sap_bits_storage_account_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                software_installation_type="SAPInstallWithoutOSConfig",
                software_version="SAP S/4HANA 1909 SPS 03",
            ),
        ),
        environment="Prod",
        location="eastus2",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={
            "created by": "azureuser",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "{{resourcegrp}}",
                applicationServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "8.2",
                            version: "8.2.2021091201",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_E4ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "8.2",
                            version: "8.2.2021091201",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_E4ds_v4",
                    },
                },
                databaseServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "8.2",
                            version: "8.2.2021091201",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                highAvailabilityConfig: {
                    highAvailabilityType: "AvailabilitySet",
                },
                networkConfiguration: {
                    isSecondaryIpEnabled: true,
                },
            },
            osSapConfiguration: {
                sapFqdn: "sap.bpaas.com",
            },
            softwareConfiguration: {
                bomUrl: "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                highAvailabilitySoftwareConfiguration: {
                    fencingClientId: "serviceprincipalID",
                    fencingClientPassword: "serviceprincipalPassword",
                },
                sapBitsStorageAccountId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                softwareInstallationType: "SAPInstallWithoutOSConfig",
                softwareVersion: "SAP S/4HANA 1909 SPS 03",
            },
        },
        environment: "Prod",
        location: "eastus2",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {
            "created by": "azureuser",
        },
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: '{{resourcegrp}}'
              applicationServer:
                instanceCount: 2
                subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: '8.2'
                    version: 8.2.2021091201
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_E4ds_v4
              centralServer:
                instanceCount: 2
                subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: '8.2'
                    version: 8.2.2021091201
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_E4ds_v4
              databaseServer:
                instanceCount: 2
                subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: '8.2'
                    version: 8.2.2021091201
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              highAvailabilityConfig:
                highAvailabilityType: AvailabilitySet
              networkConfiguration:
                isSecondaryIpEnabled: true
            osSapConfiguration:
              sapFqdn: sap.bpaas.com
            softwareConfiguration:
              bomUrl: https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml
              highAvailabilitySoftwareConfiguration:
                fencingClientId: serviceprincipalID
                fencingClientPassword: serviceprincipalPassword
              sapBitsStorageAccountId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount
              softwareInstallationType: SAPInstallWithoutOSConfig
              softwareVersion: SAP S/4HANA 1909 SPS 03
          environment: Prod
          location: eastus2
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags:
            created by: azureuser
    

    Install SAP Software on HA System with Availability Zone

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.ThreeTierConfigurationArgs
                {
                    AppResourceGroup = "{{resourcegrp}}",
                    ApplicationServer = new AzureNative.Workloads.Inputs.ApplicationServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "8.2",
                                Version = "8.2.2021091201",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_E4ds_v4",
                        },
                    },
                    CentralServer = new AzureNative.Workloads.Inputs.CentralServerConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "8.2",
                                Version = "8.2.2021091201",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_E4ds_v4",
                        },
                    },
                    DatabaseServer = new AzureNative.Workloads.Inputs.DatabaseConfigurationArgs
                    {
                        InstanceCount = 2,
                        SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                        VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                        {
                            ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                            {
                                Offer = "RHEL-SAP-HA",
                                Publisher = "RedHat",
                                Sku = "8.2",
                                Version = "8.2.2021091201",
                            },
                            OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                            {
                                AdminUsername = "azureuser",
                                OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                                {
                                    DisablePasswordAuthentication = true,
                                    OsType = "Linux",
                                    SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                    {
                                        PrivateKey = "{{privateKey}}",
                                        PublicKey = "{{sshkey}}",
                                    },
                                },
                            },
                            VmSize = "Standard_M32ts",
                        },
                    },
                    DeploymentType = "ThreeTier",
                    HighAvailabilityConfig = new AzureNative.Workloads.Inputs.HighAvailabilityConfigurationArgs
                    {
                        HighAvailabilityType = "AvailabilityZone",
                    },
                    NetworkConfiguration = new AzureNative.Workloads.Inputs.NetworkConfigurationArgs
                    {
                        IsSecondaryIpEnabled = true,
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "sap.bpaas.com",
                },
                SoftwareConfiguration = new AzureNative.Workloads.Inputs.SAPInstallWithoutOSConfigSoftwareConfigurationArgs
                {
                    BomUrl = "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                    HighAvailabilitySoftwareConfiguration = new AzureNative.Workloads.Inputs.HighAvailabilitySoftwareConfigurationArgs
                    {
                        FencingClientId = "serviceprincipalID",
                        FencingClientPassword = "serviceprincipalPassword",
                    },
                    SapBitsStorageAccountId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                    SoftwareInstallationType = "SAPInstallWithoutOSConfig",
                    SoftwareVersion = "SAP S/4HANA 1909 SPS 03",
                },
            },
            Environment = "Prod",
            Location = "eastus2",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = 
            {
                { "created by", "azureuser" },
            },
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.ThreeTierConfiguration{
    					AppResourceGroup: "{{resourcegrp}}",
    					ApplicationServer: workloads.ApplicationServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "8.2",
    								Version:   "8.2.2021091201",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_E4ds_v4",
    						},
    					},
    					CentralServer: workloads.CentralServerConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "8.2",
    								Version:   "8.2.2021091201",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_E4ds_v4",
    						},
    					},
    					DatabaseServer: workloads.DatabaseConfiguration{
    						InstanceCount: 2,
    						SubnetId:      "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
    						VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    							ImageReference: workloads.ImageReference{
    								Offer:     "RHEL-SAP-HA",
    								Publisher: "RedHat",
    								Sku:       "8.2",
    								Version:   "8.2.2021091201",
    							},
    							OsProfile: workloads.OSProfile{
    								AdminUsername: "azureuser",
    								OsConfiguration: workloads.LinuxConfiguration{
    									DisablePasswordAuthentication: true,
    									OsType:                        "Linux",
    									SshKeyPair: workloads.SshKeyPair{
    										PrivateKey: "{{privateKey}}",
    										PublicKey:  "{{sshkey}}",
    									},
    								},
    							},
    							VmSize: "Standard_M32ts",
    						},
    					},
    					DeploymentType: "ThreeTier",
    					HighAvailabilityConfig: workloads.HighAvailabilityConfiguration{
    						HighAvailabilityType: "AvailabilityZone",
    					},
    					NetworkConfiguration: workloads.NetworkConfiguration{
    						IsSecondaryIpEnabled: true,
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "sap.bpaas.com",
    				},
    				SoftwareConfiguration: workloads.SAPInstallWithoutOSConfigSoftwareConfiguration{
    					BomUrl: "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
    					HighAvailabilitySoftwareConfiguration: workloads.HighAvailabilitySoftwareConfiguration{
    						FencingClientId:       "serviceprincipalID",
    						FencingClientPassword: "serviceprincipalPassword",
    					},
    					SapBitsStorageAccountId:  "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
    					SoftwareInstallationType: "SAPInstallWithoutOSConfig",
    					SoftwareVersion:          "SAP S/4HANA 1909 SPS 03",
    				},
    			},
    			Environment:            pulumi.String("Prod"),
    			Location:               pulumi.String("eastus2"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags: pulumi.StringMap{
    				"created by": pulumi.String("azureuser"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "{{resourcegrp}}"),
                        Map.entry("applicationServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "8.2"),
                                    Map.entry("version", "8.2.2021091201")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E4ds_v4")
                            ))
                        )),
                        Map.entry("centralServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "8.2"),
                                    Map.entry("version", "8.2.2021091201")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_E4ds_v4")
                            ))
                        )),
                        Map.entry("databaseServer", Map.ofEntries(
                            Map.entry("instanceCount", 2),
                            Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app"),
                            Map.entry("virtualMachineConfiguration", Map.ofEntries(
                                Map.entry("imageReference", Map.ofEntries(
                                    Map.entry("offer", "RHEL-SAP-HA"),
                                    Map.entry("publisher", "RedHat"),
                                    Map.entry("sku", "8.2"),
                                    Map.entry("version", "8.2.2021091201")
                                )),
                                Map.entry("osProfile", Map.ofEntries(
                                    Map.entry("adminUsername", "azureuser"),
                                    Map.entry("osConfiguration", Map.ofEntries(
                                        Map.entry("disablePasswordAuthentication", true),
                                        Map.entry("osType", "Linux"),
                                        Map.entry("sshKeyPair", Map.ofEntries(
                                            Map.entry("privateKey", "{{privateKey}}"),
                                            Map.entry("publicKey", "{{sshkey}}")
                                        ))
                                    ))
                                )),
                                Map.entry("vmSize", "Standard_M32ts")
                            ))
                        )),
                        Map.entry("deploymentType", "ThreeTier"),
                        Map.entry("highAvailabilityConfig", Map.of("highAvailabilityType", "AvailabilityZone")),
                        Map.entry("networkConfiguration", Map.of("isSecondaryIpEnabled", true))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "sap.bpaas.com")),
                    Map.entry("softwareConfiguration", Map.ofEntries(
                        Map.entry("bomUrl", "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml"),
                        Map.entry("highAvailabilitySoftwareConfiguration", Map.ofEntries(
                            Map.entry("fencingClientId", "serviceprincipalID"),
                            Map.entry("fencingClientPassword", "serviceprincipalPassword")
                        )),
                        Map.entry("sapBitsStorageAccountId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount"),
                        Map.entry("softwareInstallationType", "SAPInstallWithoutOSConfig"),
                        Map.entry("softwareVersion", "SAP S/4HANA 1909 SPS 03")
                    ))
                ))
                .environment("Prod")
                .location("eastus2")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags(Map.of("created by", "azureuser"))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.ThreeTierConfigurationArgs(
                app_resource_group="{{resourcegrp}}",
                application_server=azure_native.workloads.ApplicationServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="8.2",
                            version="8.2.2021091201",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_E4ds_v4",
                    ),
                ),
                central_server=azure_native.workloads.CentralServerConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="8.2",
                            version="8.2.2021091201",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_E4ds_v4",
                    ),
                ),
                database_server=azure_native.workloads.DatabaseConfigurationArgs(
                    instance_count=2,
                    subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                        image_reference=azure_native.workloads.ImageReferenceArgs(
                            offer="RHEL-SAP-HA",
                            publisher="RedHat",
                            sku="8.2",
                            version="8.2.2021091201",
                        ),
                        os_profile=azure_native.workloads.OSProfileArgs(
                            admin_username="azureuser",
                            os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                                disable_password_authentication=True,
                                os_type="Linux",
                                ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                    private_key="{{privateKey}}",
                                    public_key="{{sshkey}}",
                                ),
                            ),
                        ),
                        vm_size="Standard_M32ts",
                    ),
                ),
                deployment_type="ThreeTier",
                high_availability_config=azure_native.workloads.HighAvailabilityConfigurationArgs(
                    high_availability_type="AvailabilityZone",
                ),
                network_configuration=azure_native.workloads.NetworkConfigurationArgs(
                    is_secondary_ip_enabled=True,
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="sap.bpaas.com",
            ),
            software_configuration=azure_native.workloads.SAPInstallWithoutOSConfigSoftwareConfigurationArgs(
                bom_url="https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                high_availability_software_configuration=azure_native.workloads.HighAvailabilitySoftwareConfigurationArgs(
                    fencing_client_id="serviceprincipalID",
                    fencing_client_password="serviceprincipalPassword",
                ),
                sap_bits_storage_account_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                software_installation_type="SAPInstallWithoutOSConfig",
                software_version="SAP S/4HANA 1909 SPS 03",
            ),
        ),
        environment="Prod",
        location="eastus2",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={
            "created by": "azureuser",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "{{resourcegrp}}",
                applicationServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "8.2",
                            version: "8.2.2021091201",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_E4ds_v4",
                    },
                },
                centralServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "8.2",
                            version: "8.2.2021091201",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_E4ds_v4",
                    },
                },
                databaseServer: {
                    instanceCount: 2,
                    subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app",
                    virtualMachineConfiguration: {
                        imageReference: {
                            offer: "RHEL-SAP-HA",
                            publisher: "RedHat",
                            sku: "8.2",
                            version: "8.2.2021091201",
                        },
                        osProfile: {
                            adminUsername: "azureuser",
                            osConfiguration: {
                                disablePasswordAuthentication: true,
                                osType: "Linux",
                                sshKeyPair: {
                                    privateKey: "{{privateKey}}",
                                    publicKey: "{{sshkey}}",
                                },
                            },
                        },
                        vmSize: "Standard_M32ts",
                    },
                },
                deploymentType: "ThreeTier",
                highAvailabilityConfig: {
                    highAvailabilityType: "AvailabilityZone",
                },
                networkConfiguration: {
                    isSecondaryIpEnabled: true,
                },
            },
            osSapConfiguration: {
                sapFqdn: "sap.bpaas.com",
            },
            softwareConfiguration: {
                bomUrl: "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                highAvailabilitySoftwareConfiguration: {
                    fencingClientId: "serviceprincipalID",
                    fencingClientPassword: "serviceprincipalPassword",
                },
                sapBitsStorageAccountId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                softwareInstallationType: "SAPInstallWithoutOSConfig",
                softwareVersion: "SAP S/4HANA 1909 SPS 03",
            },
        },
        environment: "Prod",
        location: "eastus2",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {
            "created by": "azureuser",
        },
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: '{{resourcegrp}}'
              applicationServer:
                instanceCount: 2
                subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: '8.2'
                    version: 8.2.2021091201
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_E4ds_v4
              centralServer:
                instanceCount: 2
                subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: '8.2'
                    version: 8.2.2021091201
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_E4ds_v4
              databaseServer:
                instanceCount: 2
                subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/app
                virtualMachineConfiguration:
                  imageReference:
                    offer: RHEL-SAP-HA
                    publisher: RedHat
                    sku: '8.2'
                    version: 8.2.2021091201
                  osProfile:
                    adminUsername: azureuser
                    osConfiguration:
                      disablePasswordAuthentication: true
                      osType: Linux
                      sshKeyPair:
                        privateKey: '{{privateKey}}'
                        publicKey: '{{sshkey}}'
                  vmSize: Standard_M32ts
              deploymentType: ThreeTier
              highAvailabilityConfig:
                highAvailabilityType: AvailabilityZone
              networkConfiguration:
                isSecondaryIpEnabled: true
            osSapConfiguration:
              sapFqdn: sap.bpaas.com
            softwareConfiguration:
              bomUrl: https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml
              highAvailabilitySoftwareConfiguration:
                fencingClientId: serviceprincipalID
                fencingClientPassword: serviceprincipalPassword
              sapBitsStorageAccountId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount
              softwareInstallationType: SAPInstallWithoutOSConfig
              softwareVersion: SAP S/4HANA 1909 SPS 03
          environment: Prod
          location: eastus2
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags:
            created by: azureuser
    

    Install SAP Software on Single Server System

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DeploymentWithOSConfigurationArgs
            {
                AppLocation = "eastus",
                ConfigurationType = "DeploymentWithOSConfig",
                InfrastructureConfiguration = new AzureNative.Workloads.Inputs.SingleServerConfigurationArgs
                {
                    AppResourceGroup = "test-rg",
                    DeploymentType = "SingleServer",
                    SubnetId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet",
                    VirtualMachineConfiguration = new AzureNative.Workloads.Inputs.VirtualMachineConfigurationArgs
                    {
                        ImageReference = new AzureNative.Workloads.Inputs.ImageReferenceArgs
                        {
                            Offer = "SLES-SAP",
                            Publisher = "SUSE",
                            Sku = "12-sp4-gen2",
                            Version = "2022.02.01",
                        },
                        OsProfile = new AzureNative.Workloads.Inputs.OSProfileArgs
                        {
                            AdminUsername = "azureappadmin",
                            OsConfiguration = new AzureNative.Workloads.Inputs.LinuxConfigurationArgs
                            {
                                DisablePasswordAuthentication = true,
                                OsType = "Linux",
                                SshKeyPair = new AzureNative.Workloads.Inputs.SshKeyPairArgs
                                {
                                    PrivateKey = "{{privateKey}}",
                                    PublicKey = "{{sshkey}}",
                                },
                            },
                        },
                        VmSize = "Standard_E32ds_v4",
                    },
                },
                OsSapConfiguration = new AzureNative.Workloads.Inputs.OsSapConfigurationArgs
                {
                    SapFqdn = "sap.bpaas.com",
                },
                SoftwareConfiguration = new AzureNative.Workloads.Inputs.SAPInstallWithoutOSConfigSoftwareConfigurationArgs
                {
                    BomUrl = "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                    SapBitsStorageAccountId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                    SoftwareInstallationType = "SAPInstallWithoutOSConfig",
                    SoftwareVersion = "SAP S/4HANA 1909 SPS 03",
                },
            },
            Environment = "NonProd",
            Location = "eastus2",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = null,
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DeploymentWithOSConfiguration{
    				AppLocation:       "eastus",
    				ConfigurationType: "DeploymentWithOSConfig",
    				InfrastructureConfiguration: workloads.SingleServerConfiguration{
    					AppResourceGroup: "test-rg",
    					DeploymentType:   "SingleServer",
    					SubnetId:         "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet",
    					VirtualMachineConfiguration: workloads.VirtualMachineConfiguration{
    						ImageReference: workloads.ImageReference{
    							Offer:     "SLES-SAP",
    							Publisher: "SUSE",
    							Sku:       "12-sp4-gen2",
    							Version:   "2022.02.01",
    						},
    						OsProfile: workloads.OSProfile{
    							AdminUsername: "azureappadmin",
    							OsConfiguration: workloads.LinuxConfiguration{
    								DisablePasswordAuthentication: true,
    								OsType:                        "Linux",
    								SshKeyPair: workloads.SshKeyPair{
    									PrivateKey: "{{privateKey}}",
    									PublicKey:  "{{sshkey}}",
    								},
    							},
    						},
    						VmSize: "Standard_E32ds_v4",
    					},
    				},
    				OsSapConfiguration: workloads.OsSapConfiguration{
    					SapFqdn: "sap.bpaas.com",
    				},
    				SoftwareConfiguration: workloads.SAPInstallWithoutOSConfigSoftwareConfiguration{
    					BomUrl:                   "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
    					SapBitsStorageAccountId:  "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
    					SoftwareInstallationType: "SAPInstallWithoutOSConfig",
    					SoftwareVersion:          "SAP S/4HANA 1909 SPS 03",
    				},
    			},
    			Environment:            pulumi.String("NonProd"),
    			Location:               pulumi.String("eastus2"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags:                   nil,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("appLocation", "eastus"),
                    Map.entry("configurationType", "DeploymentWithOSConfig"),
                    Map.entry("infrastructureConfiguration", Map.ofEntries(
                        Map.entry("appResourceGroup", "test-rg"),
                        Map.entry("deploymentType", "SingleServer"),
                        Map.entry("subnetId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet"),
                        Map.entry("virtualMachineConfiguration", Map.ofEntries(
                            Map.entry("imageReference", Map.ofEntries(
                                Map.entry("offer", "SLES-SAP"),
                                Map.entry("publisher", "SUSE"),
                                Map.entry("sku", "12-sp4-gen2"),
                                Map.entry("version", "2022.02.01")
                            )),
                            Map.entry("osProfile", Map.ofEntries(
                                Map.entry("adminUsername", "azureappadmin"),
                                Map.entry("osConfiguration", Map.ofEntries(
                                    Map.entry("disablePasswordAuthentication", true),
                                    Map.entry("osType", "Linux"),
                                    Map.entry("sshKeyPair", Map.ofEntries(
                                        Map.entry("privateKey", "{{privateKey}}"),
                                        Map.entry("publicKey", "{{sshkey}}")
                                    ))
                                ))
                            )),
                            Map.entry("vmSize", "Standard_E32ds_v4")
                        ))
                    )),
                    Map.entry("osSapConfiguration", Map.of("sapFqdn", "sap.bpaas.com")),
                    Map.entry("softwareConfiguration", Map.ofEntries(
                        Map.entry("bomUrl", "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml"),
                        Map.entry("sapBitsStorageAccountId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount"),
                        Map.entry("softwareInstallationType", "SAPInstallWithoutOSConfig"),
                        Map.entry("softwareVersion", "SAP S/4HANA 1909 SPS 03")
                    ))
                ))
                .environment("NonProd")
                .location("eastus2")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags()
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DeploymentWithOSConfigurationArgs(
            app_location="eastus",
            configuration_type="DeploymentWithOSConfig",
            infrastructure_configuration=azure_native.workloads.SingleServerConfigurationArgs(
                app_resource_group="test-rg",
                deployment_type="SingleServer",
                subnet_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet",
                virtual_machine_configuration=azure_native.workloads.VirtualMachineConfigurationArgs(
                    image_reference=azure_native.workloads.ImageReferenceArgs(
                        offer="SLES-SAP",
                        publisher="SUSE",
                        sku="12-sp4-gen2",
                        version="2022.02.01",
                    ),
                    os_profile=azure_native.workloads.OSProfileArgs(
                        admin_username="azureappadmin",
                        os_configuration=azure_native.workloads.LinuxConfigurationArgs(
                            disable_password_authentication=True,
                            os_type="Linux",
                            ssh_key_pair=azure_native.workloads.SshKeyPairArgs(
                                private_key="{{privateKey}}",
                                public_key="{{sshkey}}",
                            ),
                        ),
                    ),
                    vm_size="Standard_E32ds_v4",
                ),
            ),
            os_sap_configuration=azure_native.workloads.OsSapConfigurationArgs(
                sap_fqdn="sap.bpaas.com",
            ),
            software_configuration=azure_native.workloads.SAPInstallWithoutOSConfigSoftwareConfigurationArgs(
                bom_url="https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                sap_bits_storage_account_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                software_installation_type="SAPInstallWithoutOSConfig",
                software_version="SAP S/4HANA 1909 SPS 03",
            ),
        ),
        environment="NonProd",
        location="eastus2",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={})
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            appLocation: "eastus",
            configurationType: "DeploymentWithOSConfig",
            infrastructureConfiguration: {
                appResourceGroup: "test-rg",
                deploymentType: "SingleServer",
                subnetId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "SLES-SAP",
                        publisher: "SUSE",
                        sku: "12-sp4-gen2",
                        version: "2022.02.01",
                    },
                    osProfile: {
                        adminUsername: "azureappadmin",
                        osConfiguration: {
                            disablePasswordAuthentication: true,
                            osType: "Linux",
                            sshKeyPair: {
                                privateKey: "{{privateKey}}",
                                publicKey: "{{sshkey}}",
                            },
                        },
                    },
                    vmSize: "Standard_E32ds_v4",
                },
            },
            osSapConfiguration: {
                sapFqdn: "sap.bpaas.com",
            },
            softwareConfiguration: {
                bomUrl: "https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml",
                sapBitsStorageAccountId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount",
                softwareInstallationType: "SAPInstallWithoutOSConfig",
                softwareVersion: "SAP S/4HANA 1909 SPS 03",
            },
        },
        environment: "NonProd",
        location: "eastus2",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {},
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            appLocation: eastus
            configurationType: DeploymentWithOSConfig
            infrastructureConfiguration:
              appResourceGroup: test-rg
              deploymentType: SingleServer
              subnetId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/testsubnet
              virtualMachineConfiguration:
                imageReference:
                  offer: SLES-SAP
                  publisher: SUSE
                  sku: 12-sp4-gen2
                  version: 2022.02.01
                osProfile:
                  adminUsername: azureappadmin
                  osConfiguration:
                    disablePasswordAuthentication: true
                    osType: Linux
                    sshKeyPair:
                      privateKey: '{{privateKey}}'
                      publicKey: '{{sshkey}}'
                vmSize: Standard_E32ds_v4
            osSapConfiguration:
              sapFqdn: sap.bpaas.com
            softwareConfiguration:
              bomUrl: https://teststorageaccount.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0011ms/S41909SPS03_v0011ms.yaml
              sapBitsStorageAccountId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Storage/storageAccounts/teststorageaccount
              softwareInstallationType: SAPInstallWithoutOSConfig
              softwareVersion: SAP S/4HANA 1909 SPS 03
          environment: NonProd
          location: eastus2
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags: {}
    

    Register existing SAP system as Virtual Instance for SAP solutions.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var sapVirtualInstance = new AzureNative.Workloads.SAPVirtualInstance("sapVirtualInstance", new()
        {
            Configuration = new AzureNative.Workloads.Inputs.DiscoveryConfigurationArgs
            {
                CentralServerVmId = "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
                ConfigurationType = "Discovery",
            },
            Environment = "NonProd",
            Location = "northeurope",
            ResourceGroupName = "test-rg",
            SapProduct = "S4HANA",
            SapVirtualInstanceName = "X00",
            Tags = 
            {
                { "createdby", "abc@microsoft.com" },
                { "test", "abc" },
            },
        });
    
    });
    
    package main
    
    import (
    	workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := workloads.NewSAPVirtualInstance(ctx, "sapVirtualInstance", &workloads.SAPVirtualInstanceArgs{
    			Configuration: workloads.DiscoveryConfiguration{
    				CentralServerVmId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
    				ConfigurationType: "Discovery",
    			},
    			Environment:            pulumi.String("NonProd"),
    			Location:               pulumi.String("northeurope"),
    			ResourceGroupName:      pulumi.String("test-rg"),
    			SapProduct:             pulumi.String("S4HANA"),
    			SapVirtualInstanceName: pulumi.String("X00"),
    			Tags: pulumi.StringMap{
    				"createdby": pulumi.String("abc@microsoft.com"),
    				"test":      pulumi.String("abc"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.workloads.SAPVirtualInstance;
    import com.pulumi.azurenative.workloads.SAPVirtualInstanceArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var sapVirtualInstance = new SAPVirtualInstance("sapVirtualInstance", SAPVirtualInstanceArgs.builder()        
                .configuration(Map.ofEntries(
                    Map.entry("centralServerVmId", "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0"),
                    Map.entry("configurationType", "Discovery")
                ))
                .environment("NonProd")
                .location("northeurope")
                .resourceGroupName("test-rg")
                .sapProduct("S4HANA")
                .sapVirtualInstanceName("X00")
                .tags(Map.ofEntries(
                    Map.entry("createdby", "abc@microsoft.com"),
                    Map.entry("test", "abc")
                ))
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    sap_virtual_instance = azure_native.workloads.SAPVirtualInstance("sapVirtualInstance",
        configuration=azure_native.workloads.DiscoveryConfigurationArgs(
            central_server_vm_id="/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
            configuration_type="Discovery",
        ),
        environment="NonProd",
        location="northeurope",
        resource_group_name="test-rg",
        sap_product="S4HANA",
        sap_virtual_instance_name="X00",
        tags={
            "createdby": "abc@microsoft.com",
            "test": "abc",
        })
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const sapVirtualInstance = new azure_native.workloads.SAPVirtualInstance("sapVirtualInstance", {
        configuration: {
            centralServerVmId: "/subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0",
            configurationType: "Discovery",
        },
        environment: "NonProd",
        location: "northeurope",
        resourceGroupName: "test-rg",
        sapProduct: "S4HANA",
        sapVirtualInstanceName: "X00",
        tags: {
            createdby: "abc@microsoft.com",
            test: "abc",
        },
    });
    
    resources:
      sapVirtualInstance:
        type: azure-native:workloads:SAPVirtualInstance
        properties:
          configuration:
            centralServerVmId: /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Compute/virtualMachines/sapq20scsvm0
            configurationType: Discovery
          environment: NonProd
          location: northeurope
          resourceGroupName: test-rg
          sapProduct: S4HANA
          sapVirtualInstanceName: X00
          tags:
            createdby: abc@microsoft.com
            test: abc
    

    Create SAPVirtualInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new SAPVirtualInstance(name: string, args: SAPVirtualInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def SAPVirtualInstance(resource_name: str,
                           args: SAPVirtualInstanceArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def SAPVirtualInstance(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           configuration: Optional[Union[DeploymentConfigurationArgs, DeploymentWithOSConfigurationArgs, DiscoveryConfigurationArgs]] = None,
                           environment: Optional[Union[str, SAPEnvironmentType]] = None,
                           resource_group_name: Optional[str] = None,
                           sap_product: Optional[Union[str, SAPProductType]] = None,
                           identity: Optional[UserAssignedServiceIdentityArgs] = None,
                           location: Optional[str] = None,
                           managed_resource_group_configuration: Optional[ManagedRGConfigurationArgs] = None,
                           sap_virtual_instance_name: Optional[str] = None,
                           tags: Optional[Mapping[str, str]] = None)
    func NewSAPVirtualInstance(ctx *Context, name string, args SAPVirtualInstanceArgs, opts ...ResourceOption) (*SAPVirtualInstance, error)
    public SAPVirtualInstance(string name, SAPVirtualInstanceArgs args, CustomResourceOptions? opts = null)
    public SAPVirtualInstance(String name, SAPVirtualInstanceArgs args)
    public SAPVirtualInstance(String name, SAPVirtualInstanceArgs args, CustomResourceOptions options)
    
    type: azure-native:workloads:SAPVirtualInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SAPVirtualInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SAPVirtualInstanceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SAPVirtualInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SAPVirtualInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SAPVirtualInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var sapvirtualInstanceResource = new AzureNative.Workloads.SAPVirtualInstance("sapvirtualInstanceResource", new()
    {
        Configuration = 
        {
            { "configurationType", "Deployment" },
            { "appLocation", "string" },
            { "infrastructureConfiguration", 
            {
                { "appResourceGroup", "string" },
                { "deploymentType", "SingleServer" },
                { "subnetId", "string" },
                { "virtualMachineConfiguration", 
                {
                    { "imageReference", 
                    {
                        { "offer", "string" },
                        { "publisher", "string" },
                        { "sharedGalleryImageId", "string" },
                        { "sku", "string" },
                        { "version", "string" },
                    } },
                    { "osProfile", 
                    {
                        { "adminPassword", "string" },
                        { "adminUsername", "string" },
                        { "osConfiguration", 
                        {
                            { "osType", "Linux" },
                            { "disablePasswordAuthentication", false },
                            { "ssh", 
                            {
                                { "publicKeys", new[]
                                {
                                    
                                    {
                                        { "keyData", "string" },
                                    },
                                } },
                            } },
                            { "sshKeyPair", 
                            {
                                { "privateKey", "string" },
                                { "publicKey", "string" },
                            } },
                        } },
                    } },
                    { "vmSize", "string" },
                } },
                { "databaseType", "string" },
                { "dbDiskConfiguration", 
                {
                    { "diskVolumeConfigurations", 
                    {
                        { "string", 
                        {
                            { "count", 0 },
                            { "sizeGB", 0 },
                            { "sku", 
                            {
                                { "name", "string" },
                            } },
                        } },
                    } },
                } },
                { "networkConfiguration", 
                {
                    { "isSecondaryIpEnabled", false },
                } },
            } },
            { "softwareConfiguration", 
            {
                { "softwareInstallationType", "External" },
                { "centralServerVmId", "string" },
            } },
        },
        Environment = "string",
        ResourceGroupName = "string",
        SapProduct = "string",
        Identity = 
        {
            { "type", "string" },
            { "userAssignedIdentities", 
            {
                { "string", "any" },
            } },
        },
        Location = "string",
        ManagedResourceGroupConfiguration = 
        {
            { "name", "string" },
        },
        SapVirtualInstanceName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := workloads.NewSAPVirtualInstance(ctx, "sapvirtualInstanceResource", &workloads.SAPVirtualInstanceArgs{
    	Configuration: map[string]interface{}{
    		"configurationType": "Deployment",
    		"appLocation":       "string",
    		"infrastructureConfiguration": map[string]interface{}{
    			"appResourceGroup": "string",
    			"deploymentType":   "SingleServer",
    			"subnetId":         "string",
    			"virtualMachineConfiguration": map[string]interface{}{
    				"imageReference": map[string]interface{}{
    					"offer":                "string",
    					"publisher":            "string",
    					"sharedGalleryImageId": "string",
    					"sku":                  "string",
    					"version":              "string",
    				},
    				"osProfile": map[string]interface{}{
    					"adminPassword": "string",
    					"adminUsername": "string",
    					"osConfiguration": map[string]interface{}{
    						"osType":                        "Linux",
    						"disablePasswordAuthentication": false,
    						"ssh": map[string]interface{}{
    							"publicKeys": []map[string]interface{}{
    								map[string]interface{}{
    									"keyData": "string",
    								},
    							},
    						},
    						"sshKeyPair": map[string]interface{}{
    							"privateKey": "string",
    							"publicKey":  "string",
    						},
    					},
    				},
    				"vmSize": "string",
    			},
    			"databaseType": "string",
    			"dbDiskConfiguration": map[string]interface{}{
    				"diskVolumeConfigurations": map[string]interface{}{
    					"string": map[string]interface{}{
    						"count":  0,
    						"sizeGB": 0,
    						"sku": map[string]interface{}{
    							"name": "string",
    						},
    					},
    				},
    			},
    			"networkConfiguration": map[string]interface{}{
    				"isSecondaryIpEnabled": false,
    			},
    		},
    		"softwareConfiguration": map[string]interface{}{
    			"softwareInstallationType": "External",
    			"centralServerVmId":        "string",
    		},
    	},
    	Environment:       "string",
    	ResourceGroupName: "string",
    	SapProduct:        "string",
    	Identity: map[string]interface{}{
    		"type": "string",
    		"userAssignedIdentities": map[string]interface{}{
    			"string": "any",
    		},
    	},
    	Location: "string",
    	ManagedResourceGroupConfiguration: map[string]interface{}{
    		"name": "string",
    	},
    	SapVirtualInstanceName: "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var sapvirtualInstanceResource = new SAPVirtualInstance("sapvirtualInstanceResource", SAPVirtualInstanceArgs.builder()
        .configuration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .environment("string")
        .resourceGroupName("string")
        .sapProduct("string")
        .identity(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .location("string")
        .managedResourceGroupConfiguration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .sapVirtualInstanceName("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    sapvirtual_instance_resource = azure_native.workloads.SAPVirtualInstance("sapvirtualInstanceResource",
        configuration={
            configurationType: Deployment,
            appLocation: string,
            infrastructureConfiguration: {
                appResourceGroup: string,
                deploymentType: SingleServer,
                subnetId: string,
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: string,
                        publisher: string,
                        sharedGalleryImageId: string,
                        sku: string,
                        version: string,
                    },
                    osProfile: {
                        adminPassword: string,
                        adminUsername: string,
                        osConfiguration: {
                            osType: Linux,
                            disablePasswordAuthentication: False,
                            ssh: {
                                publicKeys: [{
                                    keyData: string,
                                }],
                            },
                            sshKeyPair: {
                                privateKey: string,
                                publicKey: string,
                            },
                        },
                    },
                    vmSize: string,
                },
                databaseType: string,
                dbDiskConfiguration: {
                    diskVolumeConfigurations: {
                        string: {
                            count: 0,
                            sizeGB: 0,
                            sku: {
                                name: string,
                            },
                        },
                    },
                },
                networkConfiguration: {
                    isSecondaryIpEnabled: False,
                },
            },
            softwareConfiguration: {
                softwareInstallationType: External,
                centralServerVmId: string,
            },
        },
        environment=string,
        resource_group_name=string,
        sap_product=string,
        identity={
            type: string,
            userAssignedIdentities: {
                string: any,
            },
        },
        location=string,
        managed_resource_group_configuration={
            name: string,
        },
        sap_virtual_instance_name=string,
        tags={
            string: string,
        })
    
    const sapvirtualInstanceResource = new azure_native.workloads.SAPVirtualInstance("sapvirtualInstanceResource", {
        configuration: {
            configurationType: "Deployment",
            appLocation: "string",
            infrastructureConfiguration: {
                appResourceGroup: "string",
                deploymentType: "SingleServer",
                subnetId: "string",
                virtualMachineConfiguration: {
                    imageReference: {
                        offer: "string",
                        publisher: "string",
                        sharedGalleryImageId: "string",
                        sku: "string",
                        version: "string",
                    },
                    osProfile: {
                        adminPassword: "string",
                        adminUsername: "string",
                        osConfiguration: {
                            osType: "Linux",
                            disablePasswordAuthentication: false,
                            ssh: {
                                publicKeys: [{
                                    keyData: "string",
                                }],
                            },
                            sshKeyPair: {
                                privateKey: "string",
                                publicKey: "string",
                            },
                        },
                    },
                    vmSize: "string",
                },
                databaseType: "string",
                dbDiskConfiguration: {
                    diskVolumeConfigurations: {
                        string: {
                            count: 0,
                            sizeGB: 0,
                            sku: {
                                name: "string",
                            },
                        },
                    },
                },
                networkConfiguration: {
                    isSecondaryIpEnabled: false,
                },
            },
            softwareConfiguration: {
                softwareInstallationType: "External",
                centralServerVmId: "string",
            },
        },
        environment: "string",
        resourceGroupName: "string",
        sapProduct: "string",
        identity: {
            type: "string",
            userAssignedIdentities: {
                string: "any",
            },
        },
        location: "string",
        managedResourceGroupConfiguration: {
            name: "string",
        },
        sapVirtualInstanceName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:workloads:SAPVirtualInstance
    properties:
        configuration:
            appLocation: string
            configurationType: Deployment
            infrastructureConfiguration:
                appResourceGroup: string
                databaseType: string
                dbDiskConfiguration:
                    diskVolumeConfigurations:
                        string:
                            count: 0
                            sizeGB: 0
                            sku:
                                name: string
                deploymentType: SingleServer
                networkConfiguration:
                    isSecondaryIpEnabled: false
                subnetId: string
                virtualMachineConfiguration:
                    imageReference:
                        offer: string
                        publisher: string
                        sharedGalleryImageId: string
                        sku: string
                        version: string
                    osProfile:
                        adminPassword: string
                        adminUsername: string
                        osConfiguration:
                            disablePasswordAuthentication: false
                            osType: Linux
                            ssh:
                                publicKeys:
                                    - keyData: string
                            sshKeyPair:
                                privateKey: string
                                publicKey: string
                    vmSize: string
            softwareConfiguration:
                centralServerVmId: string
                softwareInstallationType: External
        environment: string
        identity:
            type: string
            userAssignedIdentities:
                string: any
        location: string
        managedResourceGroupConfiguration:
            name: string
        resourceGroupName: string
        sapProduct: string
        sapVirtualInstanceName: string
        tags:
            string: string
    

    SAPVirtualInstance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The SAPVirtualInstance resource accepts the following input properties:

    Configuration Pulumi.AzureNative.Workloads.Inputs.DeploymentConfiguration | Pulumi.AzureNative.Workloads.Inputs.DeploymentWithOSConfiguration | Pulumi.AzureNative.Workloads.Inputs.DiscoveryConfiguration
    Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS
    Environment string | Pulumi.AzureNative.Workloads.SAPEnvironmentType
    Defines the environment type - Production/Non Production.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SapProduct string | Pulumi.AzureNative.Workloads.SAPProductType
    Defines the SAP Product type.
    Identity Pulumi.AzureNative.Workloads.Inputs.UserAssignedServiceIdentity
    Managed service identity (user assigned identities)
    Location string
    The geo-location where the resource lives
    ManagedResourceGroupConfiguration Pulumi.AzureNative.Workloads.Inputs.ManagedRGConfiguration
    Managed resource group configuration
    SapVirtualInstanceName string
    The name of the Virtual Instances for SAP solutions resource
    Tags Dictionary<string, string>
    Resource tags.
    Configuration DeploymentConfigurationArgs | DeploymentWithOSConfigurationArgs | DiscoveryConfigurationArgs
    Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS
    Environment string | SAPEnvironmentType
    Defines the environment type - Production/Non Production.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    SapProduct string | SAPProductType
    Defines the SAP Product type.
    Identity UserAssignedServiceIdentityArgs
    Managed service identity (user assigned identities)
    Location string
    The geo-location where the resource lives
    ManagedResourceGroupConfiguration ManagedRGConfigurationArgs
    Managed resource group configuration
    SapVirtualInstanceName string
    The name of the Virtual Instances for SAP solutions resource
    Tags map[string]string
    Resource tags.
    configuration DeploymentConfiguration | DeploymentWithOSConfiguration | DiscoveryConfiguration
    Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS
    environment String | SAPEnvironmentType
    Defines the environment type - Production/Non Production.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sapProduct String | SAPProductType
    Defines the SAP Product type.
    identity UserAssignedServiceIdentity
    Managed service identity (user assigned identities)
    location String
    The geo-location where the resource lives
    managedResourceGroupConfiguration ManagedRGConfiguration
    Managed resource group configuration
    sapVirtualInstanceName String
    The name of the Virtual Instances for SAP solutions resource
    tags Map<String,String>
    Resource tags.
    configuration DeploymentConfiguration | DeploymentWithOSConfiguration | DiscoveryConfiguration
    Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS
    environment string | SAPEnvironmentType
    Defines the environment type - Production/Non Production.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    sapProduct string | SAPProductType
    Defines the SAP Product type.
    identity UserAssignedServiceIdentity
    Managed service identity (user assigned identities)
    location string
    The geo-location where the resource lives
    managedResourceGroupConfiguration ManagedRGConfiguration
    Managed resource group configuration
    sapVirtualInstanceName string
    The name of the Virtual Instances for SAP solutions resource
    tags {[key: string]: string}
    Resource tags.
    configuration DeploymentConfigurationArgs | DeploymentWithOSConfigurationArgs | DiscoveryConfigurationArgs
    Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS
    environment str | SAPEnvironmentType
    Defines the environment type - Production/Non Production.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    sap_product str | SAPProductType
    Defines the SAP Product type.
    identity UserAssignedServiceIdentityArgs
    Managed service identity (user assigned identities)
    location str
    The geo-location where the resource lives
    managed_resource_group_configuration ManagedRGConfigurationArgs
    Managed resource group configuration
    sap_virtual_instance_name str
    The name of the Virtual Instances for SAP solutions resource
    tags Mapping[str, str]
    Resource tags.
    configuration Property Map | Property Map | Property Map
    Defines if the SAP system is being created using Azure Center for SAP solutions (ACSS) or if an existing SAP system is being registered with ACSS
    environment String | "NonProd" | "Prod"
    Defines the environment type - Production/Non Production.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    sapProduct String | "ECC" | "S4HANA" | "Other"
    Defines the SAP Product type.
    identity Property Map
    Managed service identity (user assigned identities)
    location String
    The geo-location where the resource lives
    managedResourceGroupConfiguration Property Map
    Managed resource group configuration
    sapVirtualInstanceName String
    The name of the Virtual Instances for SAP solutions resource
    tags Map<String>
    Resource tags.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SAPVirtualInstance resource produces the following output properties:

    Errors Pulumi.AzureNative.Workloads.Outputs.SAPVirtualInstanceErrorResponse
    Indicates any errors on the Virtual Instance for SAP solutions resource.
    Health string
    Defines the health of SAP Instances.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Defines the provisioning states.
    State string
    Defines the Virtual Instance for SAP state.
    Status string
    Defines the SAP Instance status.
    SystemData Pulumi.AzureNative.Workloads.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    Errors SAPVirtualInstanceErrorResponse
    Indicates any errors on the Virtual Instance for SAP solutions resource.
    Health string
    Defines the health of SAP Instances.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    ProvisioningState string
    Defines the provisioning states.
    State string
    Defines the Virtual Instance for SAP state.
    Status string
    Defines the SAP Instance status.
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    errors SAPVirtualInstanceErrorResponse
    Indicates any errors on the Virtual Instance for SAP solutions resource.
    health String
    Defines the health of SAP Instances.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Defines the provisioning states.
    state String
    Defines the Virtual Instance for SAP state.
    status String
    Defines the SAP Instance status.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    errors SAPVirtualInstanceErrorResponse
    Indicates any errors on the Virtual Instance for SAP solutions resource.
    health string
    Defines the health of SAP Instances.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    provisioningState string
    Defines the provisioning states.
    state string
    Defines the Virtual Instance for SAP state.
    status string
    Defines the SAP Instance status.
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    errors SAPVirtualInstanceErrorResponse
    Indicates any errors on the Virtual Instance for SAP solutions resource.
    health str
    Defines the health of SAP Instances.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    provisioning_state str
    Defines the provisioning states.
    state str
    Defines the Virtual Instance for SAP state.
    status str
    Defines the SAP Instance status.
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    errors Property Map
    Indicates any errors on the Virtual Instance for SAP solutions resource.
    health String
    Defines the health of SAP Instances.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    provisioningState String
    Defines the provisioning states.
    state String
    Defines the Virtual Instance for SAP state.
    status String
    Defines the SAP Instance status.
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    ApplicationServerConfiguration, ApplicationServerConfigurationArgs

    InstanceCount double
    The number of app server instances.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration Pulumi.AzureNative.Workloads.Inputs.VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    InstanceCount float64
    The number of app server instances.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    instanceCount Double
    The number of app server instances.
    subnetId String
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    instanceCount number
    The number of app server instances.
    subnetId string
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    instance_count float
    The number of app server instances.
    subnet_id str
    The subnet id.
    virtual_machine_configuration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    instanceCount Number
    The number of app server instances.
    subnetId String
    The subnet id.
    virtualMachineConfiguration Property Map
    Gets or sets the virtual machine configuration.

    ApplicationServerConfigurationResponse, ApplicationServerConfigurationResponseArgs

    InstanceCount double
    The number of app server instances.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration Pulumi.AzureNative.Workloads.Inputs.VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    InstanceCount float64
    The number of app server instances.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    instanceCount Double
    The number of app server instances.
    subnetId String
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    instanceCount number
    The number of app server instances.
    subnetId string
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    instance_count float
    The number of app server instances.
    subnet_id str
    The subnet id.
    virtual_machine_configuration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    instanceCount Number
    The number of app server instances.
    subnetId String
    The subnet id.
    virtualMachineConfiguration Property Map
    Gets or sets the virtual machine configuration.

    CentralServerConfiguration, CentralServerConfigurationArgs

    InstanceCount double
    The number of central server VMs.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration Pulumi.AzureNative.Workloads.Inputs.VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    InstanceCount float64
    The number of central server VMs.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    instanceCount Double
    The number of central server VMs.
    subnetId String
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    instanceCount number
    The number of central server VMs.
    subnetId string
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    instance_count float
    The number of central server VMs.
    subnet_id str
    The subnet id.
    virtual_machine_configuration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    instanceCount Number
    The number of central server VMs.
    subnetId String
    The subnet id.
    virtualMachineConfiguration Property Map
    Gets or sets the virtual machine configuration.

    CentralServerConfigurationResponse, CentralServerConfigurationResponseArgs

    InstanceCount double
    The number of central server VMs.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration Pulumi.AzureNative.Workloads.Inputs.VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    InstanceCount float64
    The number of central server VMs.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    instanceCount Double
    The number of central server VMs.
    subnetId String
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    instanceCount number
    The number of central server VMs.
    subnetId string
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    instance_count float
    The number of central server VMs.
    subnet_id str
    The subnet id.
    virtual_machine_configuration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    instanceCount Number
    The number of central server VMs.
    subnetId String
    The subnet id.
    virtualMachineConfiguration Property Map
    Gets or sets the virtual machine configuration.

    CreateAndMountFileShareConfiguration, CreateAndMountFileShareConfigurationArgs

    ResourceGroup string
    The name of file share resource group. The app rg is used in case of missing input.
    StorageAccountName string
    The name of file share storage account name . A custom name is used in case of missing input.
    ResourceGroup string
    The name of file share resource group. The app rg is used in case of missing input.
    StorageAccountName string
    The name of file share storage account name . A custom name is used in case of missing input.
    resourceGroup String
    The name of file share resource group. The app rg is used in case of missing input.
    storageAccountName String
    The name of file share storage account name . A custom name is used in case of missing input.
    resourceGroup string
    The name of file share resource group. The app rg is used in case of missing input.
    storageAccountName string
    The name of file share storage account name . A custom name is used in case of missing input.
    resource_group str
    The name of file share resource group. The app rg is used in case of missing input.
    storage_account_name str
    The name of file share storage account name . A custom name is used in case of missing input.
    resourceGroup String
    The name of file share resource group. The app rg is used in case of missing input.
    storageAccountName String
    The name of file share storage account name . A custom name is used in case of missing input.

    CreateAndMountFileShareConfigurationResponse, CreateAndMountFileShareConfigurationResponseArgs

    ResourceGroup string
    The name of file share resource group. The app rg is used in case of missing input.
    StorageAccountName string
    The name of file share storage account name . A custom name is used in case of missing input.
    ResourceGroup string
    The name of file share resource group. The app rg is used in case of missing input.
    StorageAccountName string
    The name of file share storage account name . A custom name is used in case of missing input.
    resourceGroup String
    The name of file share resource group. The app rg is used in case of missing input.
    storageAccountName String
    The name of file share storage account name . A custom name is used in case of missing input.
    resourceGroup string
    The name of file share resource group. The app rg is used in case of missing input.
    storageAccountName string
    The name of file share storage account name . A custom name is used in case of missing input.
    resource_group str
    The name of file share resource group. The app rg is used in case of missing input.
    storage_account_name str
    The name of file share storage account name . A custom name is used in case of missing input.
    resourceGroup String
    The name of file share resource group. The app rg is used in case of missing input.
    storageAccountName String
    The name of file share storage account name . A custom name is used in case of missing input.

    DatabaseConfiguration, DatabaseConfigurationArgs

    InstanceCount double
    The number of database VMs.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration Pulumi.AzureNative.Workloads.Inputs.VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    DatabaseType string | Pulumi.AzureNative.Workloads.SAPDatabaseType
    The database type.
    DiskConfiguration Pulumi.AzureNative.Workloads.Inputs.DiskConfiguration
    Gets or sets the disk configuration.
    InstanceCount float64
    The number of database VMs.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    DatabaseType string | SAPDatabaseType
    The database type.
    DiskConfiguration DiskConfiguration
    Gets or sets the disk configuration.
    instanceCount Double
    The number of database VMs.
    subnetId String
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    databaseType String | SAPDatabaseType
    The database type.
    diskConfiguration DiskConfiguration
    Gets or sets the disk configuration.
    instanceCount number
    The number of database VMs.
    subnetId string
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    databaseType string | SAPDatabaseType
    The database type.
    diskConfiguration DiskConfiguration
    Gets or sets the disk configuration.
    instance_count float
    The number of database VMs.
    subnet_id str
    The subnet id.
    virtual_machine_configuration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    database_type str | SAPDatabaseType
    The database type.
    disk_configuration DiskConfiguration
    Gets or sets the disk configuration.
    instanceCount Number
    The number of database VMs.
    subnetId String
    The subnet id.
    virtualMachineConfiguration Property Map
    Gets or sets the virtual machine configuration.
    databaseType String | "HANA" | "DB2"
    The database type.
    diskConfiguration Property Map
    Gets or sets the disk configuration.

    DatabaseConfigurationResponse, DatabaseConfigurationResponseArgs

    InstanceCount double
    The number of database VMs.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration Pulumi.AzureNative.Workloads.Inputs.VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    DatabaseType string
    The database type.
    DiskConfiguration Pulumi.AzureNative.Workloads.Inputs.DiskConfigurationResponse
    Gets or sets the disk configuration.
    InstanceCount float64
    The number of database VMs.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    DatabaseType string
    The database type.
    DiskConfiguration DiskConfigurationResponse
    Gets or sets the disk configuration.
    instanceCount Double
    The number of database VMs.
    subnetId String
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    databaseType String
    The database type.
    diskConfiguration DiskConfigurationResponse
    Gets or sets the disk configuration.
    instanceCount number
    The number of database VMs.
    subnetId string
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    databaseType string
    The database type.
    diskConfiguration DiskConfigurationResponse
    Gets or sets the disk configuration.
    instance_count float
    The number of database VMs.
    subnet_id str
    The subnet id.
    virtual_machine_configuration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    database_type str
    The database type.
    disk_configuration DiskConfigurationResponse
    Gets or sets the disk configuration.
    instanceCount Number
    The number of database VMs.
    subnetId String
    The subnet id.
    virtualMachineConfiguration Property Map
    Gets or sets the virtual machine configuration.
    databaseType String
    The database type.
    diskConfiguration Property Map
    Gets or sets the disk configuration.

    DeployerVmPackages, DeployerVmPackagesArgs

    StorageAccountId string
    The deployer VM packages storage account id
    Url string
    The URL to the deployer VM packages file.
    StorageAccountId string
    The deployer VM packages storage account id
    Url string
    The URL to the deployer VM packages file.
    storageAccountId String
    The deployer VM packages storage account id
    url String
    The URL to the deployer VM packages file.
    storageAccountId string
    The deployer VM packages storage account id
    url string
    The URL to the deployer VM packages file.
    storage_account_id str
    The deployer VM packages storage account id
    url str
    The URL to the deployer VM packages file.
    storageAccountId String
    The deployer VM packages storage account id
    url String
    The URL to the deployer VM packages file.

    DeployerVmPackagesResponse, DeployerVmPackagesResponseArgs

    StorageAccountId string
    The deployer VM packages storage account id
    Url string
    The URL to the deployer VM packages file.
    StorageAccountId string
    The deployer VM packages storage account id
    Url string
    The URL to the deployer VM packages file.
    storageAccountId String
    The deployer VM packages storage account id
    url String
    The URL to the deployer VM packages file.
    storageAccountId string
    The deployer VM packages storage account id
    url string
    The URL to the deployer VM packages file.
    storage_account_id str
    The deployer VM packages storage account id
    url str
    The URL to the deployer VM packages file.
    storageAccountId String
    The deployer VM packages storage account id
    url String
    The URL to the deployer VM packages file.

    DeploymentConfiguration, DeploymentConfigurationArgs

    appLocation String
    The geo-location where the SAP system is to be created.
    infrastructureConfiguration Property Map | Property Map
    The infrastructure configuration.
    softwareConfiguration Property Map | Property Map | Property Map
    The software configuration.

    DeploymentConfigurationResponse, DeploymentConfigurationResponseArgs

    appLocation String
    The geo-location where the SAP system is to be created.
    infrastructureConfiguration Property Map | Property Map
    The infrastructure configuration.
    softwareConfiguration Property Map | Property Map | Property Map
    The software configuration.

    DeploymentWithOSConfiguration, DeploymentWithOSConfigurationArgs

    appLocation String
    The geo-location where the SAP system is to be created.
    infrastructureConfiguration Property Map | Property Map
    The infrastructure configuration.
    osSapConfiguration Property Map
    The OS and SAP configuration.
    softwareConfiguration Property Map | Property Map | Property Map
    The software configuration.

    DeploymentWithOSConfigurationResponse, DeploymentWithOSConfigurationResponseArgs

    appLocation String
    The geo-location where the SAP system is to be created.
    infrastructureConfiguration Property Map | Property Map
    The infrastructure configuration.
    osSapConfiguration Property Map
    The OS and SAP configuration.
    softwareConfiguration Property Map | Property Map | Property Map
    The software configuration.

    DiscoveryConfiguration, DiscoveryConfigurationArgs

    CentralServerVmId string
    The virtual machine ID of the Central Server.
    CentralServerVmId string
    The virtual machine ID of the Central Server.
    centralServerVmId String
    The virtual machine ID of the Central Server.
    centralServerVmId string
    The virtual machine ID of the Central Server.
    central_server_vm_id str
    The virtual machine ID of the Central Server.
    centralServerVmId String
    The virtual machine ID of the Central Server.

    DiscoveryConfigurationResponse, DiscoveryConfigurationResponseArgs

    AppLocation string
    The geo-location where the SAP system exists.
    CentralServerVmId string
    The virtual machine ID of the Central Server.
    AppLocation string
    The geo-location where the SAP system exists.
    CentralServerVmId string
    The virtual machine ID of the Central Server.
    appLocation String
    The geo-location where the SAP system exists.
    centralServerVmId String
    The virtual machine ID of the Central Server.
    appLocation string
    The geo-location where the SAP system exists.
    centralServerVmId string
    The virtual machine ID of the Central Server.
    app_location str
    The geo-location where the SAP system exists.
    central_server_vm_id str
    The virtual machine ID of the Central Server.
    appLocation String
    The geo-location where the SAP system exists.
    centralServerVmId String
    The virtual machine ID of the Central Server.

    DiskConfiguration, DiskConfigurationArgs

    DiskVolumeConfigurations Dictionary<string, Pulumi.AzureNative.Workloads.Inputs.DiskVolumeConfiguration>
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    DiskVolumeConfigurations map[string]DiskVolumeConfiguration
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    diskVolumeConfigurations Map<String,DiskVolumeConfiguration>
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    diskVolumeConfigurations {[key: string]: DiskVolumeConfiguration}
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    disk_volume_configurations Mapping[str, DiskVolumeConfiguration]
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    diskVolumeConfigurations Map<Property Map>
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].

    DiskConfigurationResponse, DiskConfigurationResponseArgs

    DiskVolumeConfigurations Dictionary<string, Pulumi.AzureNative.Workloads.Inputs.DiskVolumeConfigurationResponse>
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    DiskVolumeConfigurations map[string]DiskVolumeConfigurationResponse
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    diskVolumeConfigurations Map<String,DiskVolumeConfigurationResponse>
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    diskVolumeConfigurations {[key: string]: DiskVolumeConfigurationResponse}
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    disk_volume_configurations Mapping[str, DiskVolumeConfigurationResponse]
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].
    diskVolumeConfigurations Map<Property Map>
    The disk configuration for the db volume. For HANA, Required volumes are: ['hana/data', 'hana/log', hana/shared', 'usr/sap', 'os'], Optional volume : ['backup'].

    DiskSku, DiskSkuArgs

    Name string | Pulumi.AzureNative.Workloads.DiskSkuName
    Defines the disk sku name.
    Name string | DiskSkuName
    Defines the disk sku name.
    name String | DiskSkuName
    Defines the disk sku name.
    name string | DiskSkuName
    Defines the disk sku name.
    name str | DiskSkuName
    Defines the disk sku name.

    DiskSkuName, DiskSkuNameArgs

    Standard_LRS
    Standard_LRS
    Premium_LRS
    Premium_LRS
    StandardSSD_LRS
    StandardSSD_LRS
    UltraSSD_LRS
    UltraSSD_LRS
    Premium_ZRS
    Premium_ZRS
    StandardSSD_ZRS
    StandardSSD_ZRS
    PremiumV2_LRS
    PremiumV2_LRS
    DiskSkuName_Standard_LRS
    Standard_LRS
    DiskSkuName_Premium_LRS
    Premium_LRS
    DiskSkuName_StandardSSD_LRS
    StandardSSD_LRS
    DiskSkuName_UltraSSD_LRS
    UltraSSD_LRS
    DiskSkuName_Premium_ZRS
    Premium_ZRS
    DiskSkuName_StandardSSD_ZRS
    StandardSSD_ZRS
    DiskSkuName_PremiumV2_LRS
    PremiumV2_LRS
    Standard_LRS
    Standard_LRS
    Premium_LRS
    Premium_LRS
    StandardSSD_LRS
    StandardSSD_LRS
    UltraSSD_LRS
    UltraSSD_LRS
    Premium_ZRS
    Premium_ZRS
    StandardSSD_ZRS
    StandardSSD_ZRS
    PremiumV2_LRS
    PremiumV2_LRS
    Standard_LRS
    Standard_LRS
    Premium_LRS
    Premium_LRS
    StandardSSD_LRS
    StandardSSD_LRS
    UltraSSD_LRS
    UltraSSD_LRS
    Premium_ZRS
    Premium_ZRS
    StandardSSD_ZRS
    StandardSSD_ZRS
    PremiumV2_LRS
    PremiumV2_LRS
    STANDARD_LRS
    Standard_LRS
    PREMIUM_LRS
    Premium_LRS
    STANDARD_SS_D_LRS
    StandardSSD_LRS
    ULTRA_SS_D_LRS
    UltraSSD_LRS
    PREMIUM_ZRS
    Premium_ZRS
    STANDARD_SS_D_ZRS
    StandardSSD_ZRS
    PREMIUM_V2_LRS
    PremiumV2_LRS
    "Standard_LRS"
    Standard_LRS
    "Premium_LRS"
    Premium_LRS
    "StandardSSD_LRS"
    StandardSSD_LRS
    "UltraSSD_LRS"
    UltraSSD_LRS
    "Premium_ZRS"
    Premium_ZRS
    "StandardSSD_ZRS"
    StandardSSD_ZRS
    "PremiumV2_LRS"
    PremiumV2_LRS

    DiskSkuResponse, DiskSkuResponseArgs

    Name string
    Defines the disk sku name.
    Name string
    Defines the disk sku name.
    name String
    Defines the disk sku name.
    name string
    Defines the disk sku name.
    name str
    Defines the disk sku name.
    name String
    Defines the disk sku name.

    DiskVolumeConfiguration, DiskVolumeConfigurationArgs

    Count double
    The total number of disks required for the concerned volume.
    SizeGB double
    The disk size in GB.
    Sku Pulumi.AzureNative.Workloads.Inputs.DiskSku
    The disk SKU details.
    Count float64
    The total number of disks required for the concerned volume.
    SizeGB float64
    The disk size in GB.
    Sku DiskSku
    The disk SKU details.
    count Double
    The total number of disks required for the concerned volume.
    sizeGB Double
    The disk size in GB.
    sku DiskSku
    The disk SKU details.
    count number
    The total number of disks required for the concerned volume.
    sizeGB number
    The disk size in GB.
    sku DiskSku
    The disk SKU details.
    count float
    The total number of disks required for the concerned volume.
    size_gb float
    The disk size in GB.
    sku DiskSku
    The disk SKU details.
    count Number
    The total number of disks required for the concerned volume.
    sizeGB Number
    The disk size in GB.
    sku Property Map
    The disk SKU details.

    DiskVolumeConfigurationResponse, DiskVolumeConfigurationResponseArgs

    Count double
    The total number of disks required for the concerned volume.
    SizeGB double
    The disk size in GB.
    Sku Pulumi.AzureNative.Workloads.Inputs.DiskSkuResponse
    The disk SKU details.
    Count float64
    The total number of disks required for the concerned volume.
    SizeGB float64
    The disk size in GB.
    Sku DiskSkuResponse
    The disk SKU details.
    count Double
    The total number of disks required for the concerned volume.
    sizeGB Double
    The disk size in GB.
    sku DiskSkuResponse
    The disk SKU details.
    count number
    The total number of disks required for the concerned volume.
    sizeGB number
    The disk size in GB.
    sku DiskSkuResponse
    The disk SKU details.
    count float
    The total number of disks required for the concerned volume.
    size_gb float
    The disk size in GB.
    sku DiskSkuResponse
    The disk SKU details.
    count Number
    The total number of disks required for the concerned volume.
    sizeGB Number
    The disk size in GB.
    sku Property Map
    The disk SKU details.

    ErrorDefinitionResponse, ErrorDefinitionResponseArgs

    Code string
    Service specific error code which serves as the substatus for the HTTP error code.
    Details List<Pulumi.AzureNative.Workloads.Inputs.ErrorDefinitionResponse>
    Internal error details.
    Message string
    Description of the error.
    Code string
    Service specific error code which serves as the substatus for the HTTP error code.
    Details []ErrorDefinitionResponse
    Internal error details.
    Message string
    Description of the error.
    code String
    Service specific error code which serves as the substatus for the HTTP error code.
    details List<ErrorDefinitionResponse>
    Internal error details.
    message String
    Description of the error.
    code string
    Service specific error code which serves as the substatus for the HTTP error code.
    details ErrorDefinitionResponse[]
    Internal error details.
    message string
    Description of the error.
    code str
    Service specific error code which serves as the substatus for the HTTP error code.
    details Sequence[ErrorDefinitionResponse]
    Internal error details.
    message str
    Description of the error.
    code String
    Service specific error code which serves as the substatus for the HTTP error code.
    details List<Property Map>
    Internal error details.
    message String
    Description of the error.

    ExternalInstallationSoftwareConfiguration, ExternalInstallationSoftwareConfigurationArgs

    CentralServerVmId string
    The resource ID of the virtual machine containing the central server instance.
    CentralServerVmId string
    The resource ID of the virtual machine containing the central server instance.
    centralServerVmId String
    The resource ID of the virtual machine containing the central server instance.
    centralServerVmId string
    The resource ID of the virtual machine containing the central server instance.
    central_server_vm_id str
    The resource ID of the virtual machine containing the central server instance.
    centralServerVmId String
    The resource ID of the virtual machine containing the central server instance.

    ExternalInstallationSoftwareConfigurationResponse, ExternalInstallationSoftwareConfigurationResponseArgs

    CentralServerVmId string
    The resource ID of the virtual machine containing the central server instance.
    CentralServerVmId string
    The resource ID of the virtual machine containing the central server instance.
    centralServerVmId String
    The resource ID of the virtual machine containing the central server instance.
    centralServerVmId string
    The resource ID of the virtual machine containing the central server instance.
    central_server_vm_id str
    The resource ID of the virtual machine containing the central server instance.
    centralServerVmId String
    The resource ID of the virtual machine containing the central server instance.

    HighAvailabilityConfiguration, HighAvailabilityConfigurationArgs

    HighAvailabilityType string | SAPHighAvailabilityType
    The high availability type.
    highAvailabilityType String | SAPHighAvailabilityType
    The high availability type.
    highAvailabilityType string | SAPHighAvailabilityType
    The high availability type.
    high_availability_type str | SAPHighAvailabilityType
    The high availability type.

    HighAvailabilityConfigurationResponse, HighAvailabilityConfigurationResponseArgs

    HighAvailabilityType string
    The high availability type.
    HighAvailabilityType string
    The high availability type.
    highAvailabilityType String
    The high availability type.
    highAvailabilityType string
    The high availability type.
    high_availability_type str
    The high availability type.
    highAvailabilityType String
    The high availability type.

    HighAvailabilitySoftwareConfiguration, HighAvailabilitySoftwareConfigurationArgs

    FencingClientId string
    The fencing client id.
    FencingClientPassword string
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    FencingClientId string
    The fencing client id.
    FencingClientPassword string
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    fencingClientId String
    The fencing client id.
    fencingClientPassword String
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    fencingClientId string
    The fencing client id.
    fencingClientPassword string
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    fencing_client_id str
    The fencing client id.
    fencing_client_password str
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    fencingClientId String
    The fencing client id.
    fencingClientPassword String
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.

    HighAvailabilitySoftwareConfigurationResponse, HighAvailabilitySoftwareConfigurationResponseArgs

    FencingClientId string
    The fencing client id.
    FencingClientPassword string
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    FencingClientId string
    The fencing client id.
    FencingClientPassword string
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    fencingClientId String
    The fencing client id.
    fencingClientPassword String
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    fencingClientId string
    The fencing client id.
    fencingClientPassword string
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    fencing_client_id str
    The fencing client id.
    fencing_client_password str
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.
    fencingClientId String
    The fencing client id.
    fencingClientPassword String
    The fencing client id secret/password. The secret should never expire. This will be used pacemaker to start/stop the cluster VMs.

    ImageReference, ImageReferenceArgs

    Offer string
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    Publisher string
    The image publisher.
    SharedGalleryImageId string
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    Sku string
    The image SKU.
    Version string
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    Offer string
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    Publisher string
    The image publisher.
    SharedGalleryImageId string
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    Sku string
    The image SKU.
    Version string
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    offer String
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    publisher String
    The image publisher.
    sharedGalleryImageId String
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    sku String
    The image SKU.
    version String
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    offer string
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    publisher string
    The image publisher.
    sharedGalleryImageId string
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    sku string
    The image SKU.
    version string
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    offer str
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    publisher str
    The image publisher.
    shared_gallery_image_id str
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    sku str
    The image SKU.
    version str
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    offer String
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    publisher String
    The image publisher.
    sharedGalleryImageId String
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    sku String
    The image SKU.
    version String
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.

    ImageReferenceResponse, ImageReferenceResponseArgs

    ExactVersion string
    Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
    Offer string
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    Publisher string
    The image publisher.
    SharedGalleryImageId string
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    Sku string
    The image SKU.
    Version string
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    ExactVersion string
    Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
    Offer string
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    Publisher string
    The image publisher.
    SharedGalleryImageId string
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    Sku string
    The image SKU.
    Version string
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    exactVersion String
    Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
    offer String
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    publisher String
    The image publisher.
    sharedGalleryImageId String
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    sku String
    The image SKU.
    version String
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    exactVersion string
    Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
    offer string
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    publisher string
    The image publisher.
    sharedGalleryImageId string
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    sku string
    The image SKU.
    version string
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    exact_version str
    Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
    offer str
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    publisher str
    The image publisher.
    shared_gallery_image_id str
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    sku str
    The image SKU.
    version str
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.
    exactVersion String
    Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'.
    offer String
    Specifies the offer of the platform image or marketplace image used to create the virtual machine.
    publisher String
    The image publisher.
    sharedGalleryImageId String
    Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.
    sku String
    The image SKU.
    version String
    Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available.

    LinuxConfiguration, LinuxConfigurationArgs

    DisablePasswordAuthentication bool
    Specifies whether password authentication should be disabled.
    Ssh Pulumi.AzureNative.Workloads.Inputs.SshConfiguration
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    SshKeyPair Pulumi.AzureNative.Workloads.Inputs.SshKeyPair
    The SSH Key-pair used to authenticate with the VM's.
    DisablePasswordAuthentication bool
    Specifies whether password authentication should be disabled.
    Ssh SshConfiguration
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    SshKeyPair SshKeyPair
    The SSH Key-pair used to authenticate with the VM's.
    disablePasswordAuthentication Boolean
    Specifies whether password authentication should be disabled.
    ssh SshConfiguration
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    sshKeyPair SshKeyPair
    The SSH Key-pair used to authenticate with the VM's.
    disablePasswordAuthentication boolean
    Specifies whether password authentication should be disabled.
    ssh SshConfiguration
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    sshKeyPair SshKeyPair
    The SSH Key-pair used to authenticate with the VM's.
    disable_password_authentication bool
    Specifies whether password authentication should be disabled.
    ssh SshConfiguration
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    ssh_key_pair SshKeyPair
    The SSH Key-pair used to authenticate with the VM's.
    disablePasswordAuthentication Boolean
    Specifies whether password authentication should be disabled.
    ssh Property Map
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    sshKeyPair Property Map
    The SSH Key-pair used to authenticate with the VM's.

    LinuxConfigurationResponse, LinuxConfigurationResponseArgs

    DisablePasswordAuthentication bool
    Specifies whether password authentication should be disabled.
    Ssh Pulumi.AzureNative.Workloads.Inputs.SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    SshKeyPair Pulumi.AzureNative.Workloads.Inputs.SshKeyPairResponse
    The SSH Key-pair used to authenticate with the VM's.
    DisablePasswordAuthentication bool
    Specifies whether password authentication should be disabled.
    Ssh SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    SshKeyPair SshKeyPairResponse
    The SSH Key-pair used to authenticate with the VM's.
    disablePasswordAuthentication Boolean
    Specifies whether password authentication should be disabled.
    ssh SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    sshKeyPair SshKeyPairResponse
    The SSH Key-pair used to authenticate with the VM's.
    disablePasswordAuthentication boolean
    Specifies whether password authentication should be disabled.
    ssh SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    sshKeyPair SshKeyPairResponse
    The SSH Key-pair used to authenticate with the VM's.
    disable_password_authentication bool
    Specifies whether password authentication should be disabled.
    ssh SshConfigurationResponse
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    ssh_key_pair SshKeyPairResponse
    The SSH Key-pair used to authenticate with the VM's.
    disablePasswordAuthentication Boolean
    Specifies whether password authentication should be disabled.
    ssh Property Map
    Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)
    sshKeyPair Property Map
    The SSH Key-pair used to authenticate with the VM's.

    ManagedRGConfiguration, ManagedRGConfigurationArgs

    Name string
    Managed resource group name
    Name string
    Managed resource group name
    name String
    Managed resource group name
    name string
    Managed resource group name
    name str
    Managed resource group name
    name String
    Managed resource group name

    ManagedRGConfigurationResponse, ManagedRGConfigurationResponseArgs

    Name string
    Managed resource group name
    Name string
    Managed resource group name
    name String
    Managed resource group name
    name string
    Managed resource group name
    name str
    Managed resource group name
    name String
    Managed resource group name

    ManagedServiceIdentityType, ManagedServiceIdentityTypeArgs

    None
    None
    UserAssigned
    UserAssigned
    ManagedServiceIdentityTypeNone
    None
    ManagedServiceIdentityTypeUserAssigned
    UserAssigned
    None
    None
    UserAssigned
    UserAssigned
    None
    None
    UserAssigned
    UserAssigned
    NONE
    None
    USER_ASSIGNED
    UserAssigned
    "None"
    None
    "UserAssigned"
    UserAssigned

    MountFileShareConfiguration, MountFileShareConfigurationArgs

    Id string
    The fileshare resource ID
    PrivateEndpointId string
    The private endpoint resource ID
    Id string
    The fileshare resource ID
    PrivateEndpointId string
    The private endpoint resource ID
    id String
    The fileshare resource ID
    privateEndpointId String
    The private endpoint resource ID
    id string
    The fileshare resource ID
    privateEndpointId string
    The private endpoint resource ID
    id str
    The fileshare resource ID
    private_endpoint_id str
    The private endpoint resource ID
    id String
    The fileshare resource ID
    privateEndpointId String
    The private endpoint resource ID

    MountFileShareConfigurationResponse, MountFileShareConfigurationResponseArgs

    Id string
    The fileshare resource ID
    PrivateEndpointId string
    The private endpoint resource ID
    Id string
    The fileshare resource ID
    PrivateEndpointId string
    The private endpoint resource ID
    id String
    The fileshare resource ID
    privateEndpointId String
    The private endpoint resource ID
    id string
    The fileshare resource ID
    privateEndpointId string
    The private endpoint resource ID
    id str
    The fileshare resource ID
    private_endpoint_id str
    The private endpoint resource ID
    id String
    The fileshare resource ID
    privateEndpointId String
    The private endpoint resource ID

    NetworkConfiguration, NetworkConfigurationArgs

    IsSecondaryIpEnabled bool
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    IsSecondaryIpEnabled bool
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    isSecondaryIpEnabled Boolean
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    isSecondaryIpEnabled boolean
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    is_secondary_ip_enabled bool
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    isSecondaryIpEnabled Boolean
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed

    NetworkConfigurationResponse, NetworkConfigurationResponseArgs

    IsSecondaryIpEnabled bool
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    IsSecondaryIpEnabled bool
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    isSecondaryIpEnabled Boolean
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    isSecondaryIpEnabled boolean
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    is_secondary_ip_enabled bool
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed
    isSecondaryIpEnabled Boolean
    Specifies whether a secondary IP address should be added to the network interface on all VMs of the SAP system being deployed

    OSProfile, OSProfileArgs

    AdminPassword string
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    AdminUsername string
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    OsConfiguration Pulumi.AzureNative.Workloads.Inputs.LinuxConfiguration | Pulumi.AzureNative.Workloads.Inputs.WindowsConfiguration
    Specifies Windows operating system settings on the virtual machine.
    AdminPassword string
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    AdminUsername string
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    OsConfiguration LinuxConfiguration | WindowsConfiguration
    Specifies Windows operating system settings on the virtual machine.
    adminPassword String
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    adminUsername String
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    osConfiguration LinuxConfiguration | WindowsConfiguration
    Specifies Windows operating system settings on the virtual machine.
    adminPassword string
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    adminUsername string
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    osConfiguration LinuxConfiguration | WindowsConfiguration
    Specifies Windows operating system settings on the virtual machine.
    admin_password str
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    admin_username str
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    os_configuration LinuxConfiguration | WindowsConfiguration
    Specifies Windows operating system settings on the virtual machine.
    adminPassword String
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    adminUsername String
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    osConfiguration Property Map | Property Map
    Specifies Windows operating system settings on the virtual machine.

    OSProfileResponse, OSProfileResponseArgs

    AdminPassword string
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    AdminUsername string
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    OsConfiguration Pulumi.AzureNative.Workloads.Inputs.LinuxConfigurationResponse | Pulumi.AzureNative.Workloads.Inputs.WindowsConfigurationResponse
    Specifies Windows operating system settings on the virtual machine.
    AdminPassword string
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    AdminUsername string
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    OsConfiguration LinuxConfigurationResponse | WindowsConfigurationResponse
    Specifies Windows operating system settings on the virtual machine.
    adminPassword String
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    adminUsername String
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    osConfiguration LinuxConfigurationResponse | WindowsConfigurationResponse
    Specifies Windows operating system settings on the virtual machine.
    adminPassword string
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    adminUsername string
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    osConfiguration LinuxConfigurationResponse | WindowsConfigurationResponse
    Specifies Windows operating system settings on the virtual machine.
    admin_password str
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    admin_username str
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    os_configuration LinuxConfigurationResponse | WindowsConfigurationResponse
    Specifies Windows operating system settings on the virtual machine.
    adminPassword String
    Specifies the password of the administrator account. Minimum-length (Windows): 8 characters Minimum-length (Linux): 6 characters Max-length (Windows): 123 characters Max-length (Linux): 72 characters Complexity requirements: 3 out of 4 conditions below need to be fulfilled Has lower characters Has upper characters Has a digit Has a special character (Regex match [\W_]) **Disallowed values:** "abc@123", "P@$$w0rd", "P@ssw0rd", "P@ssword123", "Pa$$word", "pass@word1", "Password!", "Password1", "Password22", "iloveyou!" For resetting the password, see How to reset the Remote Desktop service or its login password in a Windows VM For resetting root password, see Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension
    adminUsername String
    Specifies the name of the administrator account. This property cannot be updated after the VM is created. Windows-only restriction: Cannot end in "." Disallowed values: "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5". Minimum-length (Linux): 1 character Max-length (Linux): 64 characters Max-length (Windows): 20 characters.
    osConfiguration Property Map | Property Map
    Specifies Windows operating system settings on the virtual machine.

    OsSapConfiguration, OsSapConfigurationArgs

    DeployerVmPackages Pulumi.AzureNative.Workloads.Inputs.DeployerVmPackages
    The url and storage account ID where deployer VM packages are uploaded
    SapFqdn string
    The FQDN to set for the SAP system
    DeployerVmPackages DeployerVmPackages
    The url and storage account ID where deployer VM packages are uploaded
    SapFqdn string
    The FQDN to set for the SAP system
    deployerVmPackages DeployerVmPackages
    The url and storage account ID where deployer VM packages are uploaded
    sapFqdn String
    The FQDN to set for the SAP system
    deployerVmPackages DeployerVmPackages
    The url and storage account ID where deployer VM packages are uploaded
    sapFqdn string
    The FQDN to set for the SAP system
    deployer_vm_packages DeployerVmPackages
    The url and storage account ID where deployer VM packages are uploaded
    sap_fqdn str
    The FQDN to set for the SAP system
    deployerVmPackages Property Map
    The url and storage account ID where deployer VM packages are uploaded
    sapFqdn String
    The FQDN to set for the SAP system

    OsSapConfigurationResponse, OsSapConfigurationResponseArgs

    DeployerVmPackages Pulumi.AzureNative.Workloads.Inputs.DeployerVmPackagesResponse
    The url and storage account ID where deployer VM packages are uploaded
    SapFqdn string
    The FQDN to set for the SAP system
    DeployerVmPackages DeployerVmPackagesResponse
    The url and storage account ID where deployer VM packages are uploaded
    SapFqdn string
    The FQDN to set for the SAP system
    deployerVmPackages DeployerVmPackagesResponse
    The url and storage account ID where deployer VM packages are uploaded
    sapFqdn String
    The FQDN to set for the SAP system
    deployerVmPackages DeployerVmPackagesResponse
    The url and storage account ID where deployer VM packages are uploaded
    sapFqdn string
    The FQDN to set for the SAP system
    deployer_vm_packages DeployerVmPackagesResponse
    The url and storage account ID where deployer VM packages are uploaded
    sap_fqdn str
    The FQDN to set for the SAP system
    deployerVmPackages Property Map
    The url and storage account ID where deployer VM packages are uploaded
    sapFqdn String
    The FQDN to set for the SAP system

    SAPDatabaseType, SAPDatabaseTypeArgs

    HANA
    HANA
    DB2
    DB2
    SAPDatabaseTypeHANA
    HANA
    SAPDatabaseTypeDB2
    DB2
    HANA
    HANA
    DB2
    DB2
    HANA
    HANA
    DB2
    DB2
    HANA
    HANA
    DB2
    DB2
    "HANA"
    HANA
    "DB2"
    DB2

    SAPEnvironmentType, SAPEnvironmentTypeArgs

    NonProd
    NonProd
    Prod
    Prod
    SAPEnvironmentTypeNonProd
    NonProd
    SAPEnvironmentTypeProd
    Prod
    NonProd
    NonProd
    Prod
    Prod
    NonProd
    NonProd
    Prod
    Prod
    NON_PROD
    NonProd
    PROD
    Prod
    "NonProd"
    NonProd
    "Prod"
    Prod

    SAPHighAvailabilityType, SAPHighAvailabilityTypeArgs

    AvailabilitySet
    AvailabilitySet
    AvailabilityZone
    AvailabilityZone
    SAPHighAvailabilityTypeAvailabilitySet
    AvailabilitySet
    SAPHighAvailabilityTypeAvailabilityZone
    AvailabilityZone
    AvailabilitySet
    AvailabilitySet
    AvailabilityZone
    AvailabilityZone
    AvailabilitySet
    AvailabilitySet
    AvailabilityZone
    AvailabilityZone
    AVAILABILITY_SET
    AvailabilitySet
    AVAILABILITY_ZONE
    AvailabilityZone
    "AvailabilitySet"
    AvailabilitySet
    "AvailabilityZone"
    AvailabilityZone

    SAPInstallWithoutOSConfigSoftwareConfiguration, SAPInstallWithoutOSConfigSoftwareConfigurationArgs

    BomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    SapBitsStorageAccountId string
    The SAP bits storage account id.
    SoftwareVersion string
    The software version to install.
    HighAvailabilitySoftwareConfiguration Pulumi.AzureNative.Workloads.Inputs.HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    BomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    SapBitsStorageAccountId string
    The SAP bits storage account id.
    SoftwareVersion string
    The software version to install.
    HighAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    bomUrl String
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId String
    The SAP bits storage account id.
    softwareVersion String
    The software version to install.
    highAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    bomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId string
    The SAP bits storage account id.
    softwareVersion string
    The software version to install.
    highAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    bom_url str
    The URL to the SAP Build of Materials(BOM) file.
    sap_bits_storage_account_id str
    The SAP bits storage account id.
    software_version str
    The software version to install.
    high_availability_software_configuration HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    bomUrl String
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId String
    The SAP bits storage account id.
    softwareVersion String
    The software version to install.
    highAvailabilitySoftwareConfiguration Property Map
    Gets or sets the HA software configuration.

    SAPInstallWithoutOSConfigSoftwareConfigurationResponse, SAPInstallWithoutOSConfigSoftwareConfigurationResponseArgs

    BomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    SapBitsStorageAccountId string
    The SAP bits storage account id.
    SoftwareVersion string
    The software version to install.
    HighAvailabilitySoftwareConfiguration Pulumi.AzureNative.Workloads.Inputs.HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    BomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    SapBitsStorageAccountId string
    The SAP bits storage account id.
    SoftwareVersion string
    The software version to install.
    HighAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    bomUrl String
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId String
    The SAP bits storage account id.
    softwareVersion String
    The software version to install.
    highAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    bomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId string
    The SAP bits storage account id.
    softwareVersion string
    The software version to install.
    highAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    bom_url str
    The URL to the SAP Build of Materials(BOM) file.
    sap_bits_storage_account_id str
    The SAP bits storage account id.
    software_version str
    The software version to install.
    high_availability_software_configuration HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    bomUrl String
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId String
    The SAP bits storage account id.
    softwareVersion String
    The software version to install.
    highAvailabilitySoftwareConfiguration Property Map
    Gets or sets the HA software configuration.

    SAPProductType, SAPProductTypeArgs

    ECC
    ECC
    S4HANA
    S4HANA
    Other
    Other
    SAPProductTypeECC
    ECC
    SAPProductTypeS4HANA
    S4HANA
    SAPProductTypeOther
    Other
    ECC
    ECC
    S4HANA
    S4HANA
    Other
    Other
    ECC
    ECC
    S4HANA
    S4HANA
    Other
    Other
    ECC
    ECC
    S4_HANA
    S4HANA
    OTHER
    Other
    "ECC"
    ECC
    "S4HANA"
    S4HANA
    "Other"
    Other

    SAPVirtualInstanceErrorResponse, SAPVirtualInstanceErrorResponseArgs

    Properties ErrorDefinitionResponse
    The Virtual Instance for SAP error body.
    properties ErrorDefinitionResponse
    The Virtual Instance for SAP error body.
    properties ErrorDefinitionResponse
    The Virtual Instance for SAP error body.
    properties ErrorDefinitionResponse
    The Virtual Instance for SAP error body.
    properties Property Map
    The Virtual Instance for SAP error body.

    ServiceInitiatedSoftwareConfiguration, ServiceInitiatedSoftwareConfigurationArgs

    BomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    SapBitsStorageAccountId string
    The SAP bits storage account id.
    SapFqdn string
    The FQDN to set for the SAP system during install.
    SoftwareVersion string
    The software version to install.
    SshPrivateKey string
    The SSH private key.
    HighAvailabilitySoftwareConfiguration Pulumi.AzureNative.Workloads.Inputs.HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    BomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    SapBitsStorageAccountId string
    The SAP bits storage account id.
    SapFqdn string
    The FQDN to set for the SAP system during install.
    SoftwareVersion string
    The software version to install.
    SshPrivateKey string
    The SSH private key.
    HighAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    bomUrl String
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId String
    The SAP bits storage account id.
    sapFqdn String
    The FQDN to set for the SAP system during install.
    softwareVersion String
    The software version to install.
    sshPrivateKey String
    The SSH private key.
    highAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    bomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId string
    The SAP bits storage account id.
    sapFqdn string
    The FQDN to set for the SAP system during install.
    softwareVersion string
    The software version to install.
    sshPrivateKey string
    The SSH private key.
    highAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    bom_url str
    The URL to the SAP Build of Materials(BOM) file.
    sap_bits_storage_account_id str
    The SAP bits storage account id.
    sap_fqdn str
    The FQDN to set for the SAP system during install.
    software_version str
    The software version to install.
    ssh_private_key str
    The SSH private key.
    high_availability_software_configuration HighAvailabilitySoftwareConfiguration
    Gets or sets the HA software configuration.
    bomUrl String
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId String
    The SAP bits storage account id.
    sapFqdn String
    The FQDN to set for the SAP system during install.
    softwareVersion String
    The software version to install.
    sshPrivateKey String
    The SSH private key.
    highAvailabilitySoftwareConfiguration Property Map
    Gets or sets the HA software configuration.

    ServiceInitiatedSoftwareConfigurationResponse, ServiceInitiatedSoftwareConfigurationResponseArgs

    BomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    SapBitsStorageAccountId string
    The SAP bits storage account id.
    SapFqdn string
    The FQDN to set for the SAP system during install.
    SoftwareVersion string
    The software version to install.
    SshPrivateKey string
    The SSH private key.
    HighAvailabilitySoftwareConfiguration Pulumi.AzureNative.Workloads.Inputs.HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    BomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    SapBitsStorageAccountId string
    The SAP bits storage account id.
    SapFqdn string
    The FQDN to set for the SAP system during install.
    SoftwareVersion string
    The software version to install.
    SshPrivateKey string
    The SSH private key.
    HighAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    bomUrl String
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId String
    The SAP bits storage account id.
    sapFqdn String
    The FQDN to set for the SAP system during install.
    softwareVersion String
    The software version to install.
    sshPrivateKey String
    The SSH private key.
    highAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    bomUrl string
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId string
    The SAP bits storage account id.
    sapFqdn string
    The FQDN to set for the SAP system during install.
    softwareVersion string
    The software version to install.
    sshPrivateKey string
    The SSH private key.
    highAvailabilitySoftwareConfiguration HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    bom_url str
    The URL to the SAP Build of Materials(BOM) file.
    sap_bits_storage_account_id str
    The SAP bits storage account id.
    sap_fqdn str
    The FQDN to set for the SAP system during install.
    software_version str
    The software version to install.
    ssh_private_key str
    The SSH private key.
    high_availability_software_configuration HighAvailabilitySoftwareConfigurationResponse
    Gets or sets the HA software configuration.
    bomUrl String
    The URL to the SAP Build of Materials(BOM) file.
    sapBitsStorageAccountId String
    The SAP bits storage account id.
    sapFqdn String
    The FQDN to set for the SAP system during install.
    softwareVersion String
    The software version to install.
    sshPrivateKey String
    The SSH private key.
    highAvailabilitySoftwareConfiguration Property Map
    Gets or sets the HA software configuration.

    SingleServerConfiguration, SingleServerConfigurationArgs

    AppResourceGroup string
    The application resource group where SAP system resources will be deployed.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration Pulumi.AzureNative.Workloads.Inputs.VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    DatabaseType string | Pulumi.AzureNative.Workloads.SAPDatabaseType
    The database type.
    DbDiskConfiguration Pulumi.AzureNative.Workloads.Inputs.DiskConfiguration
    Gets or sets the disk configuration.
    NetworkConfiguration Pulumi.AzureNative.Workloads.Inputs.NetworkConfiguration
    Network configuration for the server
    AppResourceGroup string
    The application resource group where SAP system resources will be deployed.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    DatabaseType string | SAPDatabaseType
    The database type.
    DbDiskConfiguration DiskConfiguration
    Gets or sets the disk configuration.
    NetworkConfiguration NetworkConfiguration
    Network configuration for the server
    appResourceGroup String
    The application resource group where SAP system resources will be deployed.
    subnetId String
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    databaseType String | SAPDatabaseType
    The database type.
    dbDiskConfiguration DiskConfiguration
    Gets or sets the disk configuration.
    networkConfiguration NetworkConfiguration
    Network configuration for the server
    appResourceGroup string
    The application resource group where SAP system resources will be deployed.
    subnetId string
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    databaseType string | SAPDatabaseType
    The database type.
    dbDiskConfiguration DiskConfiguration
    Gets or sets the disk configuration.
    networkConfiguration NetworkConfiguration
    Network configuration for the server
    app_resource_group str
    The application resource group where SAP system resources will be deployed.
    subnet_id str
    The subnet id.
    virtual_machine_configuration VirtualMachineConfiguration
    Gets or sets the virtual machine configuration.
    database_type str | SAPDatabaseType
    The database type.
    db_disk_configuration DiskConfiguration
    Gets or sets the disk configuration.
    network_configuration NetworkConfiguration
    Network configuration for the server
    appResourceGroup String
    The application resource group where SAP system resources will be deployed.
    subnetId String
    The subnet id.
    virtualMachineConfiguration Property Map
    Gets or sets the virtual machine configuration.
    databaseType String | "HANA" | "DB2"
    The database type.
    dbDiskConfiguration Property Map
    Gets or sets the disk configuration.
    networkConfiguration Property Map
    Network configuration for the server

    SingleServerConfigurationResponse, SingleServerConfigurationResponseArgs

    AppResourceGroup string
    The application resource group where SAP system resources will be deployed.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration Pulumi.AzureNative.Workloads.Inputs.VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    DatabaseType string
    The database type.
    DbDiskConfiguration Pulumi.AzureNative.Workloads.Inputs.DiskConfigurationResponse
    Gets or sets the disk configuration.
    NetworkConfiguration Pulumi.AzureNative.Workloads.Inputs.NetworkConfigurationResponse
    Network configuration for the server
    AppResourceGroup string
    The application resource group where SAP system resources will be deployed.
    SubnetId string
    The subnet id.
    VirtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    DatabaseType string
    The database type.
    DbDiskConfiguration DiskConfigurationResponse
    Gets or sets the disk configuration.
    NetworkConfiguration NetworkConfigurationResponse
    Network configuration for the server
    appResourceGroup String
    The application resource group where SAP system resources will be deployed.
    subnetId String
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    databaseType String
    The database type.
    dbDiskConfiguration DiskConfigurationResponse
    Gets or sets the disk configuration.
    networkConfiguration NetworkConfigurationResponse
    Network configuration for the server
    appResourceGroup string
    The application resource group where SAP system resources will be deployed.
    subnetId string
    The subnet id.
    virtualMachineConfiguration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    databaseType string
    The database type.
    dbDiskConfiguration DiskConfigurationResponse
    Gets or sets the disk configuration.
    networkConfiguration NetworkConfigurationResponse
    Network configuration for the server
    app_resource_group str
    The application resource group where SAP system resources will be deployed.
    subnet_id str
    The subnet id.
    virtual_machine_configuration VirtualMachineConfigurationResponse
    Gets or sets the virtual machine configuration.
    database_type str
    The database type.
    db_disk_configuration DiskConfigurationResponse
    Gets or sets the disk configuration.
    network_configuration NetworkConfigurationResponse
    Network configuration for the server
    appResourceGroup String
    The application resource group where SAP system resources will be deployed.
    subnetId String
    The subnet id.
    virtualMachineConfiguration Property Map
    Gets or sets the virtual machine configuration.
    databaseType String
    The database type.
    dbDiskConfiguration Property Map
    Gets or sets the disk configuration.
    networkConfiguration Property Map
    Network configuration for the server

    SkipFileShareConfiguration, SkipFileShareConfigurationArgs

    SkipFileShareConfigurationResponse, SkipFileShareConfigurationResponseArgs

    SshConfiguration, SshConfigurationArgs

    PublicKeys List<Pulumi.AzureNative.Workloads.Inputs.SshPublicKey>
    The list of SSH public keys used to authenticate with linux based VMs.
    PublicKeys []SshPublicKey
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys List<SshPublicKey>
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys SshPublicKey[]
    The list of SSH public keys used to authenticate with linux based VMs.
    public_keys Sequence[SshPublicKey]
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys List<Property Map>
    The list of SSH public keys used to authenticate with linux based VMs.

    SshConfigurationResponse, SshConfigurationResponseArgs

    PublicKeys List<Pulumi.AzureNative.Workloads.Inputs.SshPublicKeyResponse>
    The list of SSH public keys used to authenticate with linux based VMs.
    PublicKeys []SshPublicKeyResponse
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys List<SshPublicKeyResponse>
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys SshPublicKeyResponse[]
    The list of SSH public keys used to authenticate with linux based VMs.
    public_keys Sequence[SshPublicKeyResponse]
    The list of SSH public keys used to authenticate with linux based VMs.
    publicKeys List<Property Map>
    The list of SSH public keys used to authenticate with linux based VMs.

    SshKeyPair, SshKeyPairArgs

    PrivateKey string
    SSH private key.
    PublicKey string
    SSH public key
    PrivateKey string
    SSH private key.
    PublicKey string
    SSH public key
    privateKey String
    SSH private key.
    publicKey String
    SSH public key
    privateKey string
    SSH private key.
    publicKey string
    SSH public key
    private_key str
    SSH private key.
    public_key str
    SSH public key
    privateKey String
    SSH private key.
    publicKey String
    SSH public key

    SshKeyPairResponse, SshKeyPairResponseArgs

    PrivateKey string
    SSH private key.
    PublicKey string
    SSH public key
    PrivateKey string
    SSH private key.
    PublicKey string
    SSH public key
    privateKey String
    SSH private key.
    publicKey String
    SSH public key
    privateKey string
    SSH private key.
    publicKey string
    SSH public key
    private_key str
    SSH private key.
    public_key str
    SSH public key
    privateKey String
    SSH private key.
    publicKey String
    SSH public key

    SshPublicKey, SshPublicKeyArgs

    KeyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    KeyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    keyData String
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    keyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    key_data str
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    keyData String
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.

    SshPublicKeyResponse, SshPublicKeyResponseArgs

    KeyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    KeyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    keyData String
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    keyData string
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    key_data str
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.
    keyData String
    SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.

    StorageConfiguration, StorageConfigurationArgs

    TransportFileShareConfiguration Pulumi.AzureNative.Workloads.Inputs.CreateAndMountFileShareConfiguration | Pulumi.AzureNative.Workloads.Inputs.MountFileShareConfiguration | Pulumi.AzureNative.Workloads.Inputs.SkipFileShareConfiguration
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    TransportFileShareConfiguration CreateAndMountFileShareConfiguration | MountFileShareConfiguration | SkipFileShareConfiguration
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    transportFileShareConfiguration CreateAndMountFileShareConfiguration | MountFileShareConfiguration | SkipFileShareConfiguration
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    transportFileShareConfiguration CreateAndMountFileShareConfiguration | MountFileShareConfiguration | SkipFileShareConfiguration
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    transport_file_share_configuration CreateAndMountFileShareConfiguration | MountFileShareConfiguration | SkipFileShareConfiguration
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    transportFileShareConfiguration Property Map | Property Map | Property Map
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.

    StorageConfigurationResponse, StorageConfigurationResponseArgs

    TransportFileShareConfiguration Pulumi.AzureNative.Workloads.Inputs.CreateAndMountFileShareConfigurationResponse | Pulumi.AzureNative.Workloads.Inputs.MountFileShareConfigurationResponse | Pulumi.AzureNative.Workloads.Inputs.SkipFileShareConfigurationResponse
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    TransportFileShareConfiguration CreateAndMountFileShareConfigurationResponse | MountFileShareConfigurationResponse | SkipFileShareConfigurationResponse
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    transportFileShareConfiguration CreateAndMountFileShareConfigurationResponse | MountFileShareConfigurationResponse | SkipFileShareConfigurationResponse
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    transportFileShareConfiguration CreateAndMountFileShareConfigurationResponse | MountFileShareConfigurationResponse | SkipFileShareConfigurationResponse
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    transport_file_share_configuration CreateAndMountFileShareConfigurationResponse | MountFileShareConfigurationResponse | SkipFileShareConfigurationResponse
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.
    transportFileShareConfiguration Property Map | Property Map | Property Map
    The properties of the transport directory attached to the VIS. The default for transportFileShareConfiguration is the createAndMount flow if storage configuration is missing.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    ThreeTierConfiguration, ThreeTierConfigurationArgs

    AppResourceGroup string
    The application resource group where SAP system resources will be deployed.
    ApplicationServer ApplicationServerConfiguration
    The application server configuration.
    CentralServer CentralServerConfiguration
    The central server configuration.
    DatabaseServer DatabaseConfiguration
    The database configuration.
    HighAvailabilityConfig HighAvailabilityConfiguration
    The high availability configuration.
    NetworkConfiguration NetworkConfiguration
    Network configuration common to all servers
    StorageConfiguration StorageConfiguration
    The storage configuration.
    appResourceGroup String
    The application resource group where SAP system resources will be deployed.
    applicationServer ApplicationServerConfiguration
    The application server configuration.
    centralServer CentralServerConfiguration
    The central server configuration.
    databaseServer DatabaseConfiguration
    The database configuration.
    highAvailabilityConfig HighAvailabilityConfiguration
    The high availability configuration.
    networkConfiguration NetworkConfiguration
    Network configuration common to all servers
    storageConfiguration StorageConfiguration
    The storage configuration.
    appResourceGroup string
    The application resource group where SAP system resources will be deployed.
    applicationServer ApplicationServerConfiguration
    The application server configuration.
    centralServer CentralServerConfiguration
    The central server configuration.
    databaseServer DatabaseConfiguration
    The database configuration.
    highAvailabilityConfig HighAvailabilityConfiguration
    The high availability configuration.
    networkConfiguration NetworkConfiguration
    Network configuration common to all servers
    storageConfiguration StorageConfiguration
    The storage configuration.
    app_resource_group str
    The application resource group where SAP system resources will be deployed.
    application_server ApplicationServerConfiguration
    The application server configuration.
    central_server CentralServerConfiguration
    The central server configuration.
    database_server DatabaseConfiguration
    The database configuration.
    high_availability_config HighAvailabilityConfiguration
    The high availability configuration.
    network_configuration NetworkConfiguration
    Network configuration common to all servers
    storage_configuration StorageConfiguration
    The storage configuration.
    appResourceGroup String
    The application resource group where SAP system resources will be deployed.
    applicationServer Property Map
    The application server configuration.
    centralServer Property Map
    The central server configuration.
    databaseServer Property Map
    The database configuration.
    highAvailabilityConfig Property Map
    The high availability configuration.
    networkConfiguration Property Map
    Network configuration common to all servers
    storageConfiguration Property Map
    The storage configuration.

    ThreeTierConfigurationResponse, ThreeTierConfigurationResponseArgs

    AppResourceGroup string
    The application resource group where SAP system resources will be deployed.
    ApplicationServer Pulumi.AzureNative.Workloads.Inputs.ApplicationServerConfigurationResponse
    The application server configuration.
    CentralServer Pulumi.AzureNative.Workloads.Inputs.CentralServerConfigurationResponse
    The central server configuration.
    DatabaseServer Pulumi.AzureNative.Workloads.Inputs.DatabaseConfigurationResponse
    The database configuration.
    HighAvailabilityConfig Pulumi.AzureNative.Workloads.Inputs.HighAvailabilityConfigurationResponse
    The high availability configuration.
    NetworkConfiguration Pulumi.AzureNative.Workloads.Inputs.NetworkConfigurationResponse
    Network configuration common to all servers
    StorageConfiguration Pulumi.AzureNative.Workloads.Inputs.StorageConfigurationResponse
    The storage configuration.
    AppResourceGroup string
    The application resource group where SAP system resources will be deployed.
    ApplicationServer ApplicationServerConfigurationResponse
    The application server configuration.
    CentralServer CentralServerConfigurationResponse
    The central server configuration.
    DatabaseServer DatabaseConfigurationResponse
    The database configuration.
    HighAvailabilityConfig HighAvailabilityConfigurationResponse
    The high availability configuration.
    NetworkConfiguration NetworkConfigurationResponse
    Network configuration common to all servers
    StorageConfiguration StorageConfigurationResponse
    The storage configuration.
    appResourceGroup String
    The application resource group where SAP system resources will be deployed.
    applicationServer ApplicationServerConfigurationResponse
    The application server configuration.
    centralServer CentralServerConfigurationResponse
    The central server configuration.
    databaseServer DatabaseConfigurationResponse
    The database configuration.
    highAvailabilityConfig HighAvailabilityConfigurationResponse
    The high availability configuration.
    networkConfiguration NetworkConfigurationResponse
    Network configuration common to all servers
    storageConfiguration StorageConfigurationResponse
    The storage configuration.
    appResourceGroup string
    The application resource group where SAP system resources will be deployed.
    applicationServer ApplicationServerConfigurationResponse
    The application server configuration.
    centralServer CentralServerConfigurationResponse
    The central server configuration.
    databaseServer DatabaseConfigurationResponse
    The database configuration.
    highAvailabilityConfig HighAvailabilityConfigurationResponse
    The high availability configuration.
    networkConfiguration NetworkConfigurationResponse
    Network configuration common to all servers
    storageConfiguration StorageConfigurationResponse
    The storage configuration.
    app_resource_group str
    The application resource group where SAP system resources will be deployed.
    application_server ApplicationServerConfigurationResponse
    The application server configuration.
    central_server CentralServerConfigurationResponse
    The central server configuration.
    database_server DatabaseConfigurationResponse
    The database configuration.
    high_availability_config HighAvailabilityConfigurationResponse
    The high availability configuration.
    network_configuration NetworkConfigurationResponse
    Network configuration common to all servers
    storage_configuration StorageConfigurationResponse
    The storage configuration.
    appResourceGroup String
    The application resource group where SAP system resources will be deployed.
    applicationServer Property Map
    The application server configuration.
    centralServer Property Map
    The central server configuration.
    databaseServer Property Map
    The database configuration.
    highAvailabilityConfig Property Map
    The high availability configuration.
    networkConfiguration Property Map
    Network configuration common to all servers
    storageConfiguration Property Map
    The storage configuration.

    UserAssignedIdentityResponse, UserAssignedIdentityResponseArgs

    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    ClientId string
    The client ID of the assigned identity.
    PrincipalId string
    The principal ID of the assigned identity.
    clientId String
    The client ID of the assigned identity.
    principalId String
    The principal ID of the assigned identity.
    clientId string
    The client ID of the assigned identity.
    principalId string
    The principal ID of the assigned identity.
    client_id str
    The client ID of the assigned identity.
    principal_id str
    The principal ID of the assigned identity.
    clientId String
    The client ID of the assigned identity.
    principalId String
    The principal ID of the assigned identity.

    UserAssignedServiceIdentity, UserAssignedServiceIdentityArgs

    Type string | Pulumi.AzureNative.Workloads.ManagedServiceIdentityType
    Type of manage identity
    UserAssignedIdentities Dictionary<string, object>
    User assigned identities dictionary
    Type string | ManagedServiceIdentityType
    Type of manage identity
    UserAssignedIdentities map[string]interface{}
    User assigned identities dictionary
    type String | ManagedServiceIdentityType
    Type of manage identity
    userAssignedIdentities Map<String,Object>
    User assigned identities dictionary
    type string | ManagedServiceIdentityType
    Type of manage identity
    userAssignedIdentities {[key: string]: any}
    User assigned identities dictionary
    type str | ManagedServiceIdentityType
    Type of manage identity
    user_assigned_identities Mapping[str, Any]
    User assigned identities dictionary
    type String | "None" | "UserAssigned"
    Type of manage identity
    userAssignedIdentities Map<Any>
    User assigned identities dictionary

    UserAssignedServiceIdentityResponse, UserAssignedServiceIdentityResponseArgs

    Type string
    Type of manage identity
    UserAssignedIdentities Dictionary<string, Pulumi.AzureNative.Workloads.Inputs.UserAssignedIdentityResponse>
    User assigned identities dictionary
    Type string
    Type of manage identity
    UserAssignedIdentities map[string]UserAssignedIdentityResponse
    User assigned identities dictionary
    type String
    Type of manage identity
    userAssignedIdentities Map<String,UserAssignedIdentityResponse>
    User assigned identities dictionary
    type string
    Type of manage identity
    userAssignedIdentities {[key: string]: UserAssignedIdentityResponse}
    User assigned identities dictionary
    type str
    Type of manage identity
    user_assigned_identities Mapping[str, UserAssignedIdentityResponse]
    User assigned identities dictionary
    type String
    Type of manage identity
    userAssignedIdentities Map<Property Map>
    User assigned identities dictionary

    VirtualMachineConfiguration, VirtualMachineConfigurationArgs

    ImageReference ImageReference
    The image reference.
    OsProfile OSProfile
    The OS profile.
    VmSize string
    The virtual machine size.
    imageReference ImageReference
    The image reference.
    osProfile OSProfile
    The OS profile.
    vmSize String
    The virtual machine size.
    imageReference ImageReference
    The image reference.
    osProfile OSProfile
    The OS profile.
    vmSize string
    The virtual machine size.
    image_reference ImageReference
    The image reference.
    os_profile OSProfile
    The OS profile.
    vm_size str
    The virtual machine size.
    imageReference Property Map
    The image reference.
    osProfile Property Map
    The OS profile.
    vmSize String
    The virtual machine size.

    VirtualMachineConfigurationResponse, VirtualMachineConfigurationResponseArgs

    ImageReference ImageReferenceResponse
    The image reference.
    OsProfile OSProfileResponse
    The OS profile.
    VmSize string
    The virtual machine size.
    imageReference ImageReferenceResponse
    The image reference.
    osProfile OSProfileResponse
    The OS profile.
    vmSize String
    The virtual machine size.
    imageReference ImageReferenceResponse
    The image reference.
    osProfile OSProfileResponse
    The OS profile.
    vmSize string
    The virtual machine size.
    image_reference ImageReferenceResponse
    The image reference.
    os_profile OSProfileResponse
    The OS profile.
    vm_size str
    The virtual machine size.
    imageReference Property Map
    The image reference.
    osProfile Property Map
    The OS profile.
    vmSize String
    The virtual machine size.

    WindowsConfiguration, WindowsConfigurationArgs

    WindowsConfigurationResponse, WindowsConfigurationResponseArgs

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:workloads:SAPVirtualInstance Q20 /subscriptions/8e17e36c-42e9-4cd5-a078-7b44883414e0/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/Q20 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi